OpenParable
Skip to content
← Back to skills

Add Adr

Documents
add-adr

Add 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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. 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

  1. Read .context/decisions/README.md for the template and existing ADR numbering
  2. Determine the next ADR number (check existing files in .context/decisions/)
  3. Create .context/decisions/[NNN]-[kebab-case-title].md using the template from README.md
  4. Fill in: Title, Status (Proposed), Context, Decision, Consequences, Alternatives Considered
  5. Update .context/decisions/README.md index 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