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.
How this skill is triggered — by the user, by Claude, or both
Slash command
/refinery:adrThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Read `${CLAUDE_PLUGIN_ROOT}/config.yaml`.
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:
npx claudepluginhub weorbitant/workbench-dev --plugin refineryFetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Applies a firm's KYC/AML rules grid to parsed onboarding records: assigns risk rating, checks required documents, outputs rule outcomes with citations, and routes for escalation.
Generates daily or weekly digests of activity from connected sources (chat, email, docs, tasks, CRM), highlighting action items, decisions, mentions, and project updates.