From refinery
Use when creating, updating, or compacting Architecture Decision Records. Use when user says 'adr', 'create ADR', 'record decision', 'registrar decisión', 'decision record', or needs to document a technical decision.
npx claudepluginhub weorbitant/workbench-dev --plugin refineryThis skill is limited to using the following tools:
Read `${CLAUDE_PLUGIN_ROOT}/config.yaml`.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Retrieves current documentation, API references, and code examples for libraries, frameworks, SDKs, CLIs, and services via Context7 CLI. Ideal for API syntax, configs, migrations, and setup queries.
Uses ctx7 CLI to fetch current library docs, manage AI coding skills (install/search/generate), and configure Context7 MCP for AI editors.
Read ${CLAUDE_PLUGIN_ROOT}/config.yaml.
If it does not exist, this skill can still operate. Log a warning but continue.
Check docs_sources — if configured, search existing documentation for related decisions before creating a new ADR.
From $ARGUMENTS and conversation context, determine the action:
$ARGUMENTS is a topic/title for a new ADR$ARGUMENTS is a path to an existing ADR fileIf unclear, ask the user.
Detect the language of the conversation:
Search for existing ADRs in the project:
Glob: docs/adr/*.md, doc/adr/*.md, adr/*.md, docs/decisions/*.md
If ADRs exist:
If creating a new ADR, gather:
For each option, assess:
If the user has already done a feasibility analysis (using analyze-feasibility), incorporate those findings.
If {config.docs_sources} is configured:
Load the appropriate language template from references/.
Fill in all sections of the template. Ensure:
ADR files go in: docs/adr/YYYY-MM-DD-<slug>.md
Where:
YYYY-MM-DD is today's date<slug> is the kebab-case version of the titleIf the docs/adr/ directory does not exist, create it.
Check for existing ADRs with sequential numbering:
Glob: docs/adr/*.md
If existing ADRs use a numbered prefix (e.g., 001-, 002-), follow that convention.
After writing the file: