adr-author
Skill1.5k starsChanged 2 months agoMITView on GitHub
Authoring skill for Architecture Decision Records (ADRs) supporting capture, from-planner-handoff, and adopt-template entry modes with selectable Y-Statement or MADR v4.0.0 output templates, supersession lineage, and ASR trigger evaluation.
5 other projects use a version of this.
Trending
Less talk lately.about the whole repository
Most recently taken up by
- Bioconductor/ai-agent-skillstheir own version, first seen Aug 18, 2026
- Atypical-Consulting/AdrMcptheir own version, first seen Jul 8, 2026
- JayRHa/AgentSkillstheir own version, first seen Jun 9, 2026
- kwhorne/elyra-skillstheir own version, first seen May 22, 2026
- delexw/claude-code-misctheir own version, first seen Mar 28, 2026
Who's talking about microsoft/hve-core
- A Hacker News story“Microsoft/Hve-Core”Hacker News · Mar 8, 2026 · 3 points
- @github-trending.bsky.social“📦 microsoft / hve-core ⭐ 169 (+6) 🗒 PowerShell A refined collection of Hypervelocity Engineering …”Bluesky · Mar 5, 2026 · 1 likes
- A Hacker News story“A refined collection of Hypervelocity Engineering components”Hacker News · Feb 20, 2026 · 1 points
- sudosubin/agents.nix“agent-skills.github.microsoft.hve-core: init at 3.3.101”GitHub · Oct 3, 2026
- nayounsang/younsang-codex-plugin“strict-review 보강”GitHub · Sep 26, 2026
The biggest 5 of 21 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 21
Talked about on GitHub, Hacker News and Bluesky (21 times).
On GitHub · 18
- Oct 3, 2026agent-skills.github.microsoft.hve-core: init at 3.3.101 — sudosubin/agents.nix0 reactions
- Sep 26, 2026strict-review 보강 — nayounsang/younsang-codex-plugin0 reactions
- Jul 22, 2026chore: add Copilot cloud-sandbox and dev container with hve-core-all — JoshLuedeman/fabric-worldcup0 reactions
- Jul 22, 2026chore: Copilot cloud-sandbox setup + dev container with hve-core-all — JoshLuedeman/vCamService0 reactions
- Jul 22, 2026chore: add Copilot cloud-sandbox setup + dev container (hve-core-all plugin) — JoshLuedeman/cosmosdb-to-sql-migration-tool0 reactions
13 more on GitHub
- Jul 22, 2026chore: add Copilot cloud-sandbox setup + dev container with hve-core-all plugin — JoshLuedeman/my-scripts0 reactions
- Jul 20, 2026security: hve-core freshness needs attention (6 drifted, 0 check errors) — microsoft/physical-ai-toolchain0 reactions · 10 comments
- May 4, 2026feat(agents): thin GHCP cloud-agent wrapper exposing hve-core RPI — microsoft/physical-ai-toolchain0 reactions
- Apr 14, 2026Spec driven development — devndive/links0 reactions
- Apr 11, 2026Chore releases — googleapis/release-please0 reactions
- Mar 29, 2026Test: performance issues with many custom agents registered — microsoft/vscode0 reactions · 2 comments
- Mar 25, 2026Support git symlinks in plugin install on Windows — github/copilot-cli0 reactions · 3 comments
- Mar 21, 2026chore(submodules): bump external/microsoft-hve-core from `e49a1b5` to `0fbd111` — Anselmoo/copilot-plugin-manager0 reactions · 3 comments
- Mar 9, 2026feat(ai-rules): added Copilot generation, external agent fetch, and AI workflows cookbook — rios0rios0/guide0 reactions
- Feb 28, 2026mar 2026 — kimtth/azure-openai-llm-notes0 reactions
- Feb 12, 2026docs(community): document GitHub Discussions usage and create welcome post — microsoft/edge-ai0 reactions
- Feb 12, 2026fix(docs): replace Azure DevOps references in CONTRIBUTING.md with GitHub equivalents — microsoft/edge-ai0 reactions
- Feb 6, 2026chore: migrate CODEOWNERS to team-based fallback pattern — microsoft/edge-ai0 reactions
On Hacker News · 2
- Mar 8, 2026Microsoft/Hve-Core3 points
- Feb 20, 2026A refined collection of Hypervelocity Engineering components1 point
On Bluesky · 1
- Mar 5, 2026📦 microsoft / hve-core ⭐ 169 (+6) 🗒 PowerShell A refined collection of Hypervelocity Engineering components (instructions, prompts,… — @github-trending.bsky.social1 likes and repost
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- JayRHa/AgentSkills★ 11same name
- Bioconductor/ai-agent-skills★ 8same name
- delexw/claude-code-misc★ 2same name
- Atypical-Consulting/AdrMcp★ 1same name
- kwhorne/elyra-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository81 other files it gives its agents.
- .github/skills/hve-core/vally-tests/references/agents.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- accessibilitySkill
- code-reviewSkill
- hve-artifact-authoringSkill
- python-foundationalSkill
- analysis-authoringSkill
- data-catalogSkill
- dataopsSkill
- data-science-engineering-foundationSkill
- evaluation-designSkill
- feasibilitySkill
- ml-experimentationSkill
- demo-setupSkill
- dt-coaching-foundationSkill
- dt-curriculumSkill
- dt-methodsSkill
- dt-rpi-integrationSkill
- ux-artifactsSkill
- ux-coachingSkill
- engagement-reportingSkill
- cavemanSkill
- copilot-otel-metricsSkill
- customer-card-renderSkill
- demo-videoSkill
- hve-demo-materialSkill
- muralSkill
- powerpointSkill
- tts-voiceoverSkill
- video-to-gifSkill
- vscode-playwrightSkill
- architecture-diagramsSkill
- c4-architectureSkill
- documentationSkill
- hve-builderSkill
- prompt-analyzeSkill
- prompt-builderSkill
- prompt-refactorSkill
- pull-requestSkill
- vally-testsSkill
- hve-slidesSkill
- hve-core-installerSkill
- architecture-reviewSkill
- backlog-executeSkill
- backlog-managementSkill
- backlog-planSkill
- experiment-designSkill
- functional-plannerSkill
- gitlabSkill
- jiraSkill
- outcome-hypothesisSkill
- performance-slo-plannerSkill
- privacy-standardsSkill
- proposal-responseSkill
- rai-plannerSkill
- requirements-authorSkill
- security-planningSkill
- rai-standardsSkill
- rpi-challengerSkill
- rpi-implementSkill
- The first 60 shown.
The file
Files
adr-author
Overview
This skill encodes the per-phase authoring conventions for Architecture Decision Records consumed by the ADR Creator agent. It also supports direct invocation when no ADR Creator state file exists. Direct callers first run the session recovery and bootstrap protocol from adr-identity.instructions.md: resolve or create .copilot-tracking/adr-plans/{projectSlug}/state.json, confirm entryMode, projectSlug, and outputTemplate, then continue at the phase recorded in state. It supports three entry modes and two output templates and converges all of them at the Govern phase, where the final ADR file is written and lineage is updated atomically.
Entry modes (state.entryMode):
- capture — Interactive authoring driven by user answers to Frame and Decide questions.
- from-planner-handoff — Entry from an upstream planner (Security, RAI, SSSC) with pre-populated Frame fields. Frame still requires user confirmation before exit.
- adopt-template — One-time setup mode that ingests a project's pre-existing ADR template and emits both the first ADR and a committed
.adr-config.yml.
Output templates (state.outputTemplate):
- y-statement — Compact Y-Statement-shaped ADR for low-stakes or reversible decisions. Compressed Frame; ASR triggers optional.
- madr-v4 — Long-form MADR v4.0.0 ADR for architecturally significant decisions. ASR trigger evaluation required during Frame.
Entry mode and output template are independent: a from-planner-handoff session can target either y-statement or madr-v4, and a capture session can do the same. The adopt-template mode produces output shaped by the user's normalized template.
Lifecycle at a glance:
| Mode | Phase sequence | Output |
capture | Frame → Decide → Govern | Shaped by outputTemplate (y-statement or madr-v4) |
from-planner-handoff | Frame (confirm pre-populated) → Decide → Govern | Shaped by outputTemplate (y-statement or madr-v4) |
adopt-template | Ingest → Normalize → Derive Questions → Fill → Govern | First ADR + .adr-config.yml per the BYO contract |
The state machine, hard exit gates, autonomy tiers (manual, partial, full), and the canonical state.json schema are defined in adr-identity.instructions.md. This skill provides the authoring activities and artifact contracts; it does not redefine the state machine.
Frame
Activities:
- Scope — capture the decision in one or two sentences; bound it to a single project.
- Decision-makers — record
deciders,consulted,informed(RACI-aligned). Prefer a role or team handle over a personal name, and never record personal contact details, secrets, credentials, or third-party or customer PII in any ADR field. - Drivers — list decision drivers (functional needs, business goals).
- Constraints — list non-negotiables (regulatory, platform, contractual, time).
- ASR trigger evaluation — required when
state.outputTemplate == 'madr-v4'. Evaluate triggers against the rubric inadr-standards.instructions.mdand record results instate.asrTriggers[]. Defer the rubric and full taxonomy to that file and toreferences/asr-trigger-taxonomy.md. - Diagram-format prompt — when
state.userPreferences.diagramFormatis unset, check the architecture-diagrams root state at.copilot-tracking/architecture-diagrams/state.json; if that file providesuserPreferences.diagramFormat, use it. Otherwise ask the user forasciiormermaid, persist the answer tostate.userPreferences.diagramFormat, and persist it to the architecture-diagrams root state for standalone reuse. When a caller, handoff, or existing ADR state already providesstate.userPreferences.diagramFormat, treat that value as authoritative and do not ask again. Required before Frame can exit.
Hard exit gate (restated from adr-identity.instructions.md):
The Frame phase cannot advance without all of the following recorded: scope statement, deciders list, decision drivers, ASR triggers determination (when
outputTemplate == 'madr-v4'), anduserPreferences.diagramFormat. The user must confirm the Frame summary before advancing.
Output artifacts:
- Frame section of the in-progress ADR draft (working draft only; not yet written to disk).
- Updated
state.jsonfields:scope,deciders,consulted,informed,drivers,constraints,asrTriggers(whenoutputTemplate == 'madr-v4'),userPreferences.diagramFormat.
Decide
Activities:
- Option enumeration — at least two considered options. A single-option ADR is rejected at this gate.
- Evaluation criteria — score each option against the drivers and constraints captured in Frame.
- Decision outcome selection — name the chosen option and articulate the rationale.
- Consequences — document positive, negative, and neutral consequences. Negative consequences are not optional; an ADR with no documented downside is rejected at this gate.
Y-Statement assembly (when state.outputTemplate == 'y-statement'):
Compose the chosen option using the verbatim six-slot formula in
templates/y-statement.md:In the context of (USE CASE), facing (CONCERN), we decided for (OPTION) and against (ALTERNATIVES), to achieve (QUALITY), accepting (DOWNSIDE).
- The Y-Statement is the entire Decide output for the
y-statementtemplate. The full MADR options table is omitted.
Hard exit gate:
The Decide phase cannot advance without at least two considered options, the chosen option, and the decision rationale recorded. The user must confirm the Decide summary before advancing.
Govern
This phase converges all three entry modes and is the only phase that writes ADR files to disk.
Activities:
- MADR v4 frontmatter assembly — render the ADR frontmatter from
templates/madr-v4.md. The template is reproduced verbatim from MADR v4.0.0 (CC0); seereferences/standards-excerpts.mdfor attribution. Mergetemplates/madr-v4-frontmatter-overlay.mdon top to inject hve-core extension fields (id,deciders,tags,supersedes,superseded-by,related,asr_triggers) without modifying the verbatim upstream template (GP-17). - Diagram render — based on
state.userPreferences.diagramFormat, embed the diagram body from eithertemplates/diagram-ascii.mdortemplates/diagram-mermaid.md. Skill callers do not branch on platform; the template selection is purely data-driven. When the diagram is derived from infrastructure source files (Terraform, Bicep, ARM), invoke thearchitecture-diagramsskill with the authoritative format recorded instate.userPreferences.diagramFormat, and embed that output in place of the scaffold fragment. Standalone diagram generation uses the architecture-diagrams root state contract rather than ADR state. - Lineage validation — apply the six supersession rules summarized below; full text is in
references/lineage-rules.md. - Frontmatter validation — invoke
scripts/validate_frontmatter.pyagainst the staged ADR file. The script returns a non-zero exit code on schema or enum violations and is the single authority for frontmatter shape. - Lineage allocator — invoke
scripts/update_lineage.pyto mutate.adr-config.yml. The allocator is the only writer oflast_decision_id. Manual edits tolast_decision_idare forbidden. - Final write — write the ADR to
docs/planning/adrs/{NNNN}-{slug}.md. The path is derived from the allocator-issuedNNNNand the slugified ADR title. - Handoff trigger — emit the dual-format (ADO + GitHub) work items per
adr-handoff.instructions.md. This skill stops at handoff emission; routing is the agent's responsibility.
Govern uses the autonomy and disclaimer banners required by adr-identity.instructions.md and shared/disclaimer-language.instructions.md. Do not duplicate those texts here; load them at runtime.
Supersession Lineage Rules (Summary)
Brief enumeration. Full normative text and edge cases live in references/lineage-rules.md.
supersedesandsuperseded-byare each a scalar string ornull.- Single-parent supersession — a given ADR has at most one
superseded-by. - Status transition — the superseding ADR's
statusbecomesaccepted; the superseded ADR'sstatusbecomessuperseded. - Lineage updates are atomic — both ADR files MUST be updated in the same Govern phase.
- The lineage allocator (
scripts/update_lineage.py) is the single writer oflast_decision_idin.adr-config.yml; manual edits are forbidden.
Status Taxonomy
ADR status is one of six closed values. Full definitions and lifecycle transitions live in adr-standards.instructions.md.
proposed— under active drafting; not yet decided.accepted— decision adopted; current authority for the scope.rejected— considered and declined; retained for historical context.deprecated— no longer recommended but not yet replaced.superseded— replaced by a newer ADR via the lineage rules below.withdrawn— proposal withdrawn before decision.
ASR Trigger Catalog (Summary)
ASR (Architecturally Significant Requirement) triggers are evaluated only when state.outputTemplate == 'madr-v4'. The closed enum has eight values:
costperformancesecuritycomplianceavailabilityscalabilitymaintainabilityevolvability
The trigger rubric, evaluation prompts, and example mappings are defined in adr-standards.instructions.md and elaborated in references/asr-trigger-taxonomy.md. Do not introduce trigger values outside the closed enum.
Adopt-Template Lifecycle
Five-step pointer. Full lifecycle, including GP-13 (the .adr-config.yml schema and the 2-layer config resolution), lives in adr-byo-template.instructions.md.
- Ingest — accept the user's existing ADR template file or template directory.
- Normalize — invoke
scripts/normalize_template.pyto convert the template into the canonical ADR frontmatter and section structure. - Derive Questions — generate the Frame and Decide question set from the normalized template's required fields.
- Fill — execute the derived questions to populate the first ADR.
- Govern — run the standard Govern phase. When
lineage_fieldsare absent from the adopted template, the agent MUST warn the user and require an explicit confirmation before writing; this is the warn-and-confirm Govern behavior referenced inadr-byo-template.instructions.md.
Templates
templates/madr-v4.md— MADR v4.0.0 ADR template (verbatim, CC0). Used by Govern frontmatter assembly whenstate.outputTemplate == 'madr-v4'.templates/y-statement.md— Six-slot Y-Statement formula for Decide assembly whenstate.outputTemplate == 'y-statement'.templates/diagram-ascii.md— ASCII diagram block, selected whenstate.userPreferences.diagramFormat == "ascii".templates/diagram-mermaid.md— Mermaid diagram block, selected whenstate.userPreferences.diagramFormat == "mermaid".
References
references/standards-excerpts.md— MADR v4.0.0 verbatim text and CC0 attribution; Y-Statement attribution; status taxonomy.references/lineage-rules.md— Full text of the six supersession rules with edge cases and worked examples.references/asr-trigger-taxonomy.md— Full ASR trigger taxonomy, rubric prompts, and examples for each of the eight enum values.
Scripts
scripts/render_template.py— Renders a template fromtemplates/against a Frame+Decide payload to produce an in-memory ADR draft. Path-traversal guarded: refuses any output path outsidedocs/planning/adrs/.scripts/validate_frontmatter.py— Validates ADR frontmatter against the MADR v4 schema and the closed enums. Returns non-zero on violation. Path-traversal guarded against the same root.scripts/update_lineage.py— Single writer oflast_decision_idin.adr-config.yml. Mutates predecessor ADRs'superseded-byatomically with the new ADR'ssupersedes. Path-traversal guarded.scripts/normalize_template.py— Converts a user-supplied ADR template into the canonical structure used bytemplates/madr-v4.md. Used only by theadopt-templatelifecycle. Path-traversal guarded.scripts/scan_sensitive_content.py: deterministic disclosure-risk scanner accepting file paths or stdin and emitting masked JSON findings. Base behavior detects high-confidence PII.--publicadds internal URL detection.--dataindependently adds structured sensitive-column, connection, credential, sample-row, and international identifier detection.--denylist <path>independently adds case-insensitive literal customer-term detection from a UTF-8 file, resolved through the same allow-root guard as scanned paths and capped by file size, term count, and minimum term length.--allow-root <dir>adds a directory to that guard. The flags combine by union without changing no-flag ADR behavior. Required before durable ADR writes and external or handoff emission.
Scanner report contract
The scanner prints one JSON object to standard output on every terminal path, including error paths, so callers can assert on fields rather than parse prose. The object carries schema_version (scan-sensitive-content-v1), status (completed or error), modes (booleans for public, data, and denylist), denylist_rule_count, findings, and summary with high, warn, and total counts. On status error it also carries error with a stable code and a message. Exit codes are 0 for a completed scan with no high-confidence finding, 1 for a completed scan with at least one high-confidence finding, and 2 for an error. A caller that requires denylist enforcement asserts modes.denylist is true and denylist_rule_count is greater than zero, so an empty or unloaded denylist cannot silently disable the gate.
All scripts treat their working directory as untrusted input. The ADR authoring scripts reject paths that resolve outside the project ADR root. scan_sensitive_content.py scans content that is not an ADR, so it rejects paths that resolve outside its allow roots: this skill's directory, the repository root, the parent directory of each path passed on the command line, and any directory supplied through --allow-root.
Source Attribution
templates/madr-v4.md— reproduced byte-identical from MADR v4.0.0 (tag4.0.0, filetemplate/adr-template.md), released under CC0-1.0. CC0 does not require attribution; it is recorded here for transparency. Upstream typographical anomalies (for example, the unbalanced quotation in thestatus:placeholder) are preserved intentionally to keep the file diff-clean against the upstream release.
Mandatory Load Directives
The ADR Creator agent enforces a phase→section load contract per adr-identity.instructions.md. Each phase MUST load its section of this skill before executing phase work, and MUST append the section anchor to state.phaseSkillsLoaded:
| Phase | Section anchor | Required phaseSkillsLoaded entry |
| Frame | #frame | adr-author#frame |
| Decide | #decide | adr-author#decide |
| Govern | #govern | adr-author#govern |
The agent loads sections via read_file against this skill file and records the entry in state.phaseSkillsLoaded before any phase work executes. Re-entering a previously loaded phase does not require reloading; the agent checks phaseSkillsLoaded first.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

