From ctx
Records architectural decisions in DECISIONS.md via Y-statement or full format with context, alternatives, rationale, and consequences. Use after resolving trade-offs or non-obvious choices to inform future sessions.
npx claudepluginhub activememory/ctx --plugin ctxThis skill is limited to using the following tools:
Record an architectural decision in DECISIONS.md.
Generates Architecture Decision Records (ADRs) capturing context, rationale, alternatives, and consequences in numbered, status-tracked Markdown format.
Write an Architecture Decision Record — document what was decided, why, what alternatives were considered, and what trade-offs were accepted. Use when asked to "write an ADR", "document this decision", or "why did we choose X".
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Share bugs, ideas, or general feedback.
Record an architectural decision in DECISIONS.md.
For lightweight decisions, use a single statement:
"In the context of [situation], facing [constraint], we decided for [choice] and against [alternatives], to achieve [benefit], accepting that [trade-off]."
Example:
"In the context of needing a CLI framework, facing Go ecosystem options, we decided for Cobra and against urfave/cli, to achieve better subcommand support, accepting that it has more boilerplate."
For significant decisions, gather:
If the user provides only a title, ask:
For quick decisions, offer the Y-statement format instead.
When a decision supersedes an earlier one:
When decisions are related:
Quick format:
ctx add decision "Use Cobra for CLI framework" \
--context "Need CLI framework for Go project" \
--rationale "Better subcommand support than urfave/cli, team familiarity" \
--consequence "More boilerplate, but clearer command structure"
Full format with alternatives:
ctx add decision "Use PostgreSQL for primary database" \
--context "Need ACID-compliant database for e-commerce transactions" \
--rationale "PostgreSQL offers JSONB, full-text search, and team has experience. Chose over MySQL (weaker JSON) and MongoDB (no multi-doc ACID)." \
--consequence "Single database handles transactions and search. Team needs PostgreSQL-specific training."
Before recording, verify: