From groundrules
Use when a structural decision has been made (tech, pattern, tradeoff, naming) and you want to record it as a numbered ADR in docs/decisions/, with the index updated.
How this skill is triggered — by the user, by Claude, or both
Slash command
/groundrules:add-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
You will create a new **Architecture Decision Record** in the current project. All output is in **English**.
You will create a new Architecture Decision Record in the current project. All output is in English.
docs/decisions/ exists in the cwd. Otherwise: warn the user the project doesn't have the groundrules structure and suggest /groundrules:bootstrap first. Stop.ls docs/decisions/[0-9]*.md 2>/dev/null0000-template.md)0003)0001If $ARGUMENTS is non-empty, use it as the raw title (the first line).
Otherwise, ask via AskUserQuestion (a single call, max 3 questions):
Proposed (recommended) / AcceptedSkeleton (just the template with placeholders to fill) / Pre-filled (ask 2 more questions for Context and Decision, 1-2 sentences each)If Pre-filled mode, make a 2nd call:
Convert the title to kebab-case for the filename:
Example: "Database choice for the analytics module" → database-choice-for-the-analytics-module
Final name: NNNN-{slug}.md
${CLAUDE_PLUGIN_ROOT}/skills/bootstrap/templates/adr-template.mdNNNN — Short decision title → NNNN — {provided title}**Date**: YYYY-MM-DD → today's date in ISO**Status**: Proposed | Accepted | ... → **Status**: {chosen status}<!-- generated-by: groundrules vX.Y.Z --> to the current plugin version (read from ${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json)Pre-filled mode: replace the Context and Decision sections with the provided sentences (leave Alternatives/Consequences/Notes with their placeholders)docs/decisions/NNNN-{slug}.md via Write.Read docs/decisions/README.md. Find the table row matching the last existing ADR (or the | 0000 | Template | — | — | row if it's the first ADR).
Insert after that row a new row:
| [NNNN](NNNN-{slug}.md) | {Title} | {Status} | {Date} |
Use the Edit tool with old_string = the previous row, new_string = the previous row + \n + the new row.
Show the user:
Skeleton mode: fill Context and DecisionNEVER commit automatically — let the user decide when to commit.
generated-by signature for consistency with the other project files.npx claudepluginhub lozit/groundrules --plugin groundrulesFetches 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.