adr-plan
The adr-plan skill analyzes development tasks by exploring affected codebases, identifying design alternatives, and generating Architecture Decision Records with ordered implementation steps. Use it when planning significant architectural changes or complex features where multiple approaches exist and team coordination is needed, as it produces actionable work units with clear dependencies and acceptance criteria.
git clone --depth 1 https://github.com/NikiforovAll/claude-code-rules /tmp/adr-plan && cp -r /tmp/adr-plan/plugins/handbook-team-stack/skills/adr-plan ~/.claude/skills/adr-planSKILL.md
# ADR Plan: Task Analysis → Architecture Decision Record Analyze a task, explore the codebase, and produce an ADR with concrete implementation steps. ## Phase 1: Analyze 1. Read the task description, active plan, or task list 2. Explore affected areas of the codebase — do it concurrently for independent modules 3. Map blast radius — search for consumers of functions/types/routes being changed 4. Identify alternatives worth considering (at least 2) Do this silently. ## Phase 2: Detect ADR Setup Check if the project has an ADR directory: ``` ls docs/adr/ || ls adr/ || ls doc/adr/ ``` - **Found** → use existing directory, detect next number from existing files - **Not found** → run `npx adr init en`, then proceed ## Phase 3: Produce ADR Content Write the ADR using `npx adr new "<title>"`, then edit the generated file with the following structure: ```markdown # ADR-NNNN: [Title] ## Status Proposed ## Context [What problem are we solving? What constraints exist?] ## Decision [What we chose and why] ## Alternatives Considered | Option | Pros | Cons | |--------|------|------| | ... | ... | ... | ## Implementation Steps ### Step 1: [Description] - **Files:** [files to create/modify] - **Depends on:** [previous step or "none"] - **Done when:** [concrete acceptance criteria] ### Step 2: [Description] ... ## Consequences - [Positive and negative outcomes, tradeoffs accepted] ``` ### Guidelines - **Steps are ordered by dependency** — each step lists what it depends on - **Steps are parallelizable when independent** — note which steps can run concurrently - **Each step has concrete "done when" criteria** — no vague outcomes - **Alternatives table is honest** — include the option you chose and why others lost - Keep it short. 1-2 pages max. No padding. ## Phase 4: Present to User Show the ADR content and the file path. The user may: - **Approve** → ADR stays as-is - **Adjust** → edit and re-present - **Cancel** → delete the file ## Important - The ADR is a planning artifact, not documentation for posterity - Steps should map naturally to work units (a team member could own one or more steps) - If the task is too simple for an ADR (single file, obvious fix), say so and skip - Do not write implementation code — this is planning only
Generate a .NET code coverage report scoped to files changed in the current branch. Runs tests with coverage collection and produces filtered HTML reports.
This skill should be used when investigating .NET project dependencies, understanding why packages are included, listing references, or auditing for outdated/vulnerable packages.
Run script-like CSharp programs using dotnet run file.cs. Use this skill when users want to execute CSharp code directly, write one-liner scripts via stdin, or learn about run file directives.
This skill should be used when working with Verify snapshot tests in .NET projects. Use when updating verified snapshots after intentional code changes, accepting new snapshots, discovering verify tests, or troubleshooting snapshot mismatches. Trigger phrases include "verify tests", "update snapshots", "accept snapshots", "verified files", ".verified.txt".
>
This skill should be used when the user wants to manage Git worktrees - creating worktrees from local or remote branches, listing active worktrees with details, deleting worktrees, or switching between worktrees. Ideal for working on multiple branches simultaneously without stashing changes.
Expert guidance for using the GitLab CLI (glab) to manage GitLab issues, merge requests, CI/CD pipelines, repositories, and other GitLab operations from the command line. Use this skill when the user needs to interact with GitLab resources or perform GitLab workflows.
This skill should be used when users want to discover, browse, or audit cc-handbook marketplace plugins. Shows all available plugins with installation status, versions, and component breakdown (skills, agents, commands, MCP/LSP servers, hooks). Trigger phrases include "discover plugins", "list handbook plugins", "what plugins are available", "browse marketplace".