From skill-issue
Creates concrete plans of record from ideas, code, or specs for nontrivial tasks crossing module/service boundaries or needing architectural choices.
npx claudepluginhub crown-dev-studios/skill-issue --plugin skill-issueThis skill uses the workspace's default tool permissions.
Create a plan of record that serves as both spec and execution plan. The plan is rooted in what actually exists, preserves the canonical architecture direction, and makes it possible to hand off execution without losing intent.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Create a plan of record that serves as both spec and execution plan. The plan is rooted in what actually exists, preserves the canonical architecture direction, and makes it possible to hand off execution without losing intent.
Plans are written to docs/plans/active/ with date-prefixed filenames:
docs/plans/active/YYYY-MM-DD-<descriptive-name>.md
For large efforts, emit multiple plan files using the same heading structure.
---
title: <plan title>
date: YYYY-MM-DD
status: proposed | active | completed
---
# <Plan Title>
## Current State & What Exists
What the system looks like today. What code, patterns, services, and workflows already exist that are relevant. What the plan should reuse, extend, or deliberately replace.
Reference specific files and line numbers:
- `src/path/to/file.ts:42-78` — description of what this code does
- `src/path/to/other.ts:15-30` — description of relevance
## Constraints
Hard limits that shape the solution. Language/runtime constraints, platform constraints, repo conventions, existing APIs, migration realities, time/scope limits, compatibility expectations.
## Invariants
Things that must remain true after the change. Behavioral guarantees, trust boundaries, safety properties, data integrity rules, architectural rules that cannot be broken.
## Non-Goals
Work intentionally excluded. Prevents scope creep. Makes it clear what becomes a follow-up issue instead of being smuggled into the current plan.
## Options Considered
Viable approaches that meet the quality bar. Typically 2–4. No straw men, no hacky shortcuts.
### Option A: <name>
<description and key tradeoff>
### Option B: <name>
<description and key tradeoff>
### Selected: <option>
<why this option strengthens the intended architecture>
## Canonical Architecture Direction
The chosen path and why it strengthens the intended architecture.
## Model & API Boundaries
Data model changes, new types, service boundaries, and API surface affected by the change. Define the shape of the model and the contracts between services.
## Architecture
Data flow and service responsibility diagrams. Use Mermaid fenced code blocks.
```mermaid
graph LR
A[Service] --> B[Service]
Error conventions for the change. How errors are surfaced, logged, and traced. Includes:
Ordered implementation steps grouped for incremental execution and validation. Structured along API boundaries and implementation layers.
<what changes, what it touches, how to validate>
<what changes, what it touches, how to validate>
The specific conditions that must be true for the work to be considered complete.
Concrete evidence that proves the change is correct. Tests, manual behavior checks, reproduction evidence, concurrency checks, screenshots, logs, or targeted commands. Not vague assertions of confidence.
## Review Lenses
Verify each lens against the plan before finalizing. Full enforcement happens post-implementation.
- [ ] **DRY.** No duplication that creates maintenance drag.
- [ ] **Service and API boundaries.** Responsibilities stay in the correct layer. No leaked abstractions (e.g., internal types exposed across service boundaries, implementation details surfacing in consumer APIs).
- [ ] **Concurrency safety.** Language-specific correctness addressed.
- [ ] **Performance gaps.** No N+1 queries, accidental serial work, or unnecessary blocking.
- [ ] **Pattern conformity.** No new patterns that cut against the existing codebase without strong justification.
- [ ] **Type safety.** Typed boundaries preserved or improved.
- [ ] **Testing philosophy.** Verification plan aligns with testing-philosophy principles.
- [ ] **Error handling and observability.** Errors fail fast, logging and tracing are explicit, state is visible to agents.
## Constraints On This Skill
- This skill researches and writes the plan only. It must never generate implementation code.
- File references use paths relative to the repository root.
- All plan template headings are mandatory. Mark sections N/A when not relevant.