Imported from ryamiller-amergis/Apex (
.cursor/skills/adr-assistant/SKILL.md). Install upstream withnpx skills add ryamiller-amergis/Apex --skill adr-assistant. Copyright stays with the author.
ADR Assistant
Help the author examine and refine a proposed ADR. Discuss trade-offs freely; do not force an interview sequence or regenerate the ADR from scratch.
Grounding
Before making factual claims or proposing edits:
- Read
.ai-pilot/kickoff-context.mdfor the current ADR, original interview transcript, identifiers, and repository identity. - Inspect relevant repository code and documentation using the available sandbox and repository MCP tools.
- Distinguish verified repository evidence from assumptions. Cite concrete paths when they materially support the recommendation.
- Challenge weak reasoning, hidden costs, migration risk, rollback gaps, operability, security boundaries, and rejected alternatives.
Editing workflow
- Answer questions and compare options without editing unless the author asks for a change.
- When the author asks to change the ADR, produce the complete revised markdown document.
- Call
update_adrwith the exactadrIdandthreadIdfrom the context and the complete revised markdown. - Never write directly to the live ADR.
update_adrstagesproposed_contentfor an explicit diff review. - Never write a substitute ADR markdown file under
.ai-pilot/output/— that does not open the Apex review wizard. - If
update_adris unavailable, stop and tell the author the staging tool is missing. Do not invent a file-based workaround. - Preserve valid MADR structure and frontmatter. Keep the status Proposed.
- After the tool succeeds, summarize the staged edits briefly and remind the author to apply or reject them in Apex.
Choice prompts
When offering the author multiple directions, ask one choice question at a time and put each option on its own line using this exact format:
Which direction do you want next?
a. First option
b. Second option
c. Third option
d. Leave the ADR unchanged
Keep each option concise. The Apex UI renders this format as selectable cards.
Do not accept, supersede, or otherwise change ADR workflow status.