Ctx add decision

From ActiveMemory/ctx · View interactive version

Ctx add decision is an AI agent skill from the GitHub repository ActiveMemory/ctx. Record architectural decision. Use when a trade-off is resolved or a non-obvious design choice is made that future sessions need to know.

How to use this skill

Skill file

Record an architectural decision in DECISIONS.md.

When to Use

When NOT to Use

Decision Formats

Quick Format (Y-Statement)

"In the context of [situation], facing [constraint], we decided

for [choice] and against [alternatives], to achieve

[benefit], accepting that [trade-off]."

Full Format

Gather: Context, Alternatives, Decision, Rationale, Consequence.

Execution

ctx decision add "Use Cobra for CLI framework" \
  --context "Need CLI framework for Go project" \
  --rationale "Better subcommand support, team familiarity" \
  --consequence "More boilerplate, but clearer command structure"

Quality Checklist

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.