From aiagentminder
Product brief and roadmap creation
How this skill is triggered — by the user, by Claude, or both
Slash command
/aiagentminder:briefThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create or update `docs/strategy-roadmap.md` — the project's north star, the "why" behind every development decision.
Create or update docs/strategy-roadmap.md — the project's north star, the "why" behind every development decision.
Read CLAUDE.md to understand the project identity (name, type, stack).
If Project Identity is still placeholder brackets, run /aiagentminder:setup first.
Note: Claude Code has a built-in
/plancommand that toggles Plan Mode (read-only exploration). This command (/aiagentminder:brief) is different — it produces a product brief and strategy roadmap.
Ask the user where they are:
A) Rough concept -- "I have a vague idea but need help figuring everything out" B) Clear idea, no details -- "I know what I want but haven't worked out specifics" C) Partial plan or spec -- "I have some docs/notes -- help me fill in gaps" D) Detailed plan or spec -- "I have a writeup -- translate it into a roadmap" E) Existing project -- "The project already has code -- I'm adding AIAgentMinder for governance"
| Starting Point | Approach |
|---|---|
| A) Rough concept | Full interview (all rounds) plus exploratory questions |
| B) Clear idea | Full interview as written below |
| C) Partial plan | Read shared docs, ask only about gaps |
| D) Detailed plan | Generate roadmap directly, clarify ambiguities only |
| E) Existing project | Codebase audit + current-state interview; skip product brief, generate filled state files |
Skip the product planning interview. The goal is to capture current state, not design a product.
Read key files to understand what exists:
CLAUDE.md (if present) -- existing project identity or instructionspackage.json, pyproject.toml, go.mod, Cargo.toml, or equivalent -- stack and dependenciesREADME.md -- project descriptionSummarize what you found: language, framework, rough architecture, apparent project stage.
Ask in a single grouped message:
Do NOT generate docs/strategy-roadmap.md unless the user asks. Instead:
Capture current state in docs/strategy-roadmap.md reflecting actual project status:
Seed DECISIONS.md with retroactive ADR entries for each significant decision identified in Step E2. Use the project's format (Lightweight or Formal -- ask if unknown). Each entry needs alternatives considered and tradeoffs, even if reconstructed from context.
Populate CLAUDE.md Project Identity with actual values from the audit.
Set up SPRINT.md (if not already present — setup may have created it):
SPRINT.md from ${CLAUDE_PLUGIN_ROOT}/templates/SPRINT.md if SPRINT.md does not already exist in the project root.@SPRINT.md to CLAUDE.md after the Context Budget table (Claude Code's native import syntax — loads SPRINT.md every session when the file exists).| SPRINT.md | ~35 lines active | Archived when sprint completes |.Do NOT install code-quality.md, sprint-workflow.md, or architecture-fitness.md into .claude/rules/. These rules are embedded inline in the plugin's agents/dev.md and agents/sprint-master.md. They load automatically when the user runs claude --agent dev or claude --agent sprint-master. Installing copies into .claude/rules/ creates stale duplicates that drift from the agent definitions.
Ask: "Do you want a docs/strategy-roadmap.md too? It's optional for existing projects -- useful if you want a north-star doc for future phases."
Tell the user: "AIAgentMinder is set up. Run /aiagentminder:handoff at the end of each session to checkpoint decisions and key context."
Ask questions in grouped rounds, not one at a time. Adapt based on project type.
All governance features are enabled by default via the plugin's agent definitions. Do not ask the user to opt into individual features.
Tell the user in one line:
"Governance features (TDD, sprint workflow, architecture fitness, scope guardian) load automatically via the plugin agents — run
claude --agent devfor feature work,claude --agent sprint-masterfor sprints."
Install SPRINT.md (if not already present — setup may have created it):
SPRINT.md already exists in the project root. If it does, skip to step 4.SPRINT.md from ${CLAUDE_PLUGIN_ROOT}/templates/SPRINT.md.@SPRINT.md to CLAUDE.md after the Context Budget table (Claude Code's native import syntax — loads SPRINT.md every session when the file exists).| SPRINT.md | ~35 lines active | Archived when sprint completes |.docs/strategy-roadmap.md Human Actions Needed: "Review and approve sprint specs before Claude begins coding — every sprint starts with your approval."Do NOT install code-quality.md, sprint-workflow.md, or architecture-fitness.md into .claude/rules/. These are embedded inline in agents/dev.md and agents/sprint-master.md and load when those agents are invoked. Installing copies into .claude/rules/ creates stale duplicates that drift from the agent definitions.
After Round 2 (or after gathering technical stack information in any starting point), identify decisions that are hard to reverse and surface them proactively. Do not wait for the user to raise them — the value is catching them before they're locked in.
For each significant technical choice, check whether it carries downstream consequences the user may not have considered. Raise it in a single grouped message:
Patterns that trigger a decision point:
| Choice | Consequence to surface |
|---|---|
| Relational DB (Postgres, MySQL) | Search strategy — full-text search needs GIN index or external search service |
| JWT / stateless auth | No server-side revocation — stolen tokens valid until expiry |
| NoSQL (MongoDB, DynamoDB) | Joins are expensive — how will you handle relational data? |
| Monorepo | CI complexity, shared dependency management overhead |
| Microservices | Network latency, distributed tracing, eventual consistency |
| External auth provider (Auth0, Clerk) | Vendor lock-in and per-user pricing at scale |
| ORM vs raw SQL | ORM hides query cost; raw SQL is harder to maintain |
| Server-side rendering | SEO benefit, but state management becomes more complex |
| Third-party API as core dependency | Outage = your outage; rate limits = your limits |
For each decision point identified, say:
"You've chosen [X]. This means [consequence]. [Optional: alternative and its tradeoff.] Do you want to decide [downstream question] now, or defer it?"
If the user decides now: log it. If they defer: add a <!-- TODO: --> marker to the roadmap.
Reversal cost language: When a decision is hard to reverse, say so explicitly. "This choice is hard to change after you have data in it" or "Swapping this later would require a database migration" makes the stakes concrete.
After gathering answers, summarize and confirm: "Does this capture it? Anything to add?"
Fill in docs/strategy-roadmap.md using the lean template. Keep it brief — a product brief, not an enterprise strategy doc. The user can always expand sections later.
1. [Feature] -- Acceptance: [testable criterion]
The "Out of Scope" section in the roadmap should list concrete things the project will NOT do, not vague disclaimers. "Won't support offline mode" is good. "Won't do everything" is useless.
<!-- TODO: [What needs deciding] | WHEN: [deadline] | BLOCKS: [what] -->
docs/strategy-roadmap.mdDECISIONS.md as Format: Lightweight or Format: FormalDECISIONS.md — For each decision surfaced during the Decision Forcing step that the user resolved:
[TOPIC]: [Choice made]. Alternatives: [what else was considered]. Reversal cost: [high/medium/low — and why]. Rationale: [reason].
<!-- TODO: [decision question] | WHEN: [trigger] | BLOCKS: [what] --> marker in the roadmap's Open Questions section.## MVP Goals in CLAUDE.md with Phase 1 deliverables (3-5 testable bullet points)**MCP Servers:** line to Project Identity in CLAUDE.md.claude/rules/ and are loaded automatically each session. SPRINT.md is loaded via @import in CLAUDE.md."npx claudepluginhub lwalden/aiagentminder --plugin aiagentminderGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.