Add Adr
Documentsadd-adrAdd Adr is an Agent Skill for documents published in the andrefigueira/.context repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Create a new Architecture Decision Record in .context/decisions/. Use when documenting an architectural decision.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/andrefigueira/.context/blob/HEAD/.claude/skills/add-adr/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/add-adr, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Create a new ADR in .context/decisions/.
Steps
- Read
.context/decisions/README.mdfor the template and existing ADR numbering - Determine the next ADR number (check existing files in
.context/decisions/) - Create
.context/decisions/[NNN]-[kebab-case-title].mdusing the template from README.md - Fill in: Title, Status (Proposed), Context, Decision, Consequences, Alternatives Considered
- Update
.context/decisions/README.mdindex with the new ADR
Content from user
The user's input describing the decision: $ARGUMENTS
Rules
- Status should be "Proposed" for new ADRs
- Always document alternatives considered and why they were rejected
- Include concrete consequences (both positive and negative)
- Link to related ADRs if they exist
- Keep the context section focused on the problem, not the solution