From claudna
Use when you have specific product issues to triage or want to discover enhancement opportunities through gap analysis. Supports --output github to create issues and --output session for chat-only analysis.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claudna:product-enhance [--auto] [--output github|session] [focus-area][--auto] [--output github|session] [focus-area]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Persona:** Product-minded engineering lead. Think like a PM who can read code. Understand intent first, then produce phased design docs. Concrete observations ranked by impact — no buzzwords.
Persona: Product-minded engineering lead. Think like a PM who can read code. Understand intent first, then produce phased design docs. Concrete observations ranked by impact — no buzzwords.
Parse $ARGUMENTS at invocation:
--auto: Fully non-interactive. Implies --output github. Uses triage path, skips discovery/interview. See orchestration guide Section 10.--output github: Write enhancement proposals as GitHub Issues. See output guide (skills/_shared/output-guide.md).--output session: Present findings in chat only, no persistence./claudna:product-vision/claudna:tech-debt/claudna:security-auditdigraph product_enhance {
rankdir=TB;
node [fontname="Helvetica" fontsize=10];
edge [fontname="Helvetica" fontsize=9];
start [label="User invokes\n/product-enhance" shape=doublecircle];
enter_plan [label="EnterPlanMode" shape=box style="filled,bold" fillcolor=lightyellow];
entry [label="Step 1: Ask scope\nand entry point" shape=box];
recon [label="Step 1B: Codebase Recon\nExplore subagents" shape=box];
confirm_recon [label="Codebase picture\naccurate?" shape=diamond];
path_choice [label="Triage or\nDiscovery?" shape=diamond];
triage [label="Step 1C: Triage Intake\nCollect user's list" shape=box];
triage_validate [label="Validate items\nvs codebase" shape=box];
triage_confirm [label="Validation\ncorrect?" shape=diamond];
interview [label="Step 2: Intent Interview\nGroups A → B → C" shape=box];
gap [label="Step 3: Gap Analysis\nIntent vs Implementation" shape=box];
gap_confirm [label="Gap analysis\naccurate?" shape=diamond];
proposals [label="Step 4: Enhancement Proposals\nRanked by impact:effort" shape=box];
user_selects [label="User selects\nenhancements?" shape=diamond];
exit_plan [label="ExitPlanMode" shape=box style="filled,bold" fillcolor=lightyellow];
generate [label="Step 5: Generate Design Docs\nPlan subagents" shape=box];
done [label="Summary\nReady for /claudna:implement-plan" shape=box style=filled fillcolor=lightgreen];
start -> enter_plan;
enter_plan -> entry;
entry -> recon;
recon -> confirm_recon;
confirm_recon -> recon [label="incorrect"];
confirm_recon -> path_choice [label="confirmed"];
path_choice -> triage [label="has list"];
path_choice -> interview [label="discover"];
triage -> triage_validate;
triage_validate -> triage_confirm;
triage_confirm -> triage_validate [label="corrections"];
triage_confirm -> proposals [label="confirmed"];
interview -> gap;
gap -> gap_confirm;
gap_confirm -> gap [label="corrections"];
gap_confirm -> proposals [label="confirmed"];
proposals -> user_selects;
user_selects -> proposals [label="adjust"];
user_selects -> exit_plan [label="selected"];
exit_plan -> generate;
generate -> done;
}
Enter Plan Mode. Call EnterPlanMode. Steps 1–4 are read-only. If the user declines, proceed normally.
Ask the user: "Are you coming in with specific issues, or should we discover enhancement opportunities together?" Also ask what to focus on and what to skip.
Scratch directory: /tmp/product-enhance-<YYYY-MM-DD_HHMMSS>/research/. Launch Explore subagents covering structure, modules, entry points, docs, tests, dependencies, recent git history. Do NOT read CLAUDE.md/MEMORY.md in orchestrator. Disk-write per orchestration guide, Section 2. Present a Codebase Context summary; ask user to confirm.
Collect the user's list (any format). Launch Explore subagents to validate each item (responsible code, reproducibility, partial support, root causes). Disk-write to research/<issue-slug>.md. Present a Triage Validation table, confirm, then skip to Step 4.
Ask questions one group at a time (A: Core Purpose, B: Current State, C: Aspirations), waiting between groups. See intent-interview-questions.md for the full list. Capture answers as structured notes.
Compare Step 2 answers against Step 1B findings via Explore subagents (disk-write to research/<gap-slug>.md). Present as a numbered table using the six categories from gap-categories.md. Ask user to confirm.
Both paths converge here. Rank enhancements by impact-to-effort ratio (H/M/L for Impact, Effort, Risk). Each gets a 2-3 sentence description. Ask user to select by number; do NOT proceed until confirmed. Call ExitPlanMode.
Output to documentation/planning/phases/<session_name>_<YYYY-MM-DD>/, prefixed 01_, 02_ by implementation order. 00_OVERVIEW.md: context, dependency graph, parallel phases, total effort. Archive per Section 8; Plan agents per Section 9, reading from scratch research dir. Plan agents must also read skills/_shared/planning-standard.md.
Present a Product Enhancement Summary, then direct user to /claudna:implement-plan. This skill produces plans, not code.
Follow skills/_shared/pre-handoff-checklist.md for the full procedure. Run on each phase doc in documentation/planning/phases/<session>/<NN>_*.md and 00_OVERVIEW.md. Apply in all modes.
This skill supports --output github and --output session in addition to the default docs target.
Follow the output guide at skills/_shared/output-guide.md:
github: write each finding as a doc (frontmatter + the Section 4 body skeleton) and delegate to /claudna:publish <file> --to github-issue --repo <repo> — publish validates, dedups, and applies labels from tags:. Apply enhancement label to all issues. Map impact ranking to priority labels.session: produce the doc, then /claudna:publish <file> --to session prints it to chat (Section 5)docs (default): follow the subagent workflow in the orchestration guideAfter creating issues, present the batch summary and return issue URLs for audit tracking.
When --auto is set (see orchestration guide Section 10):
$ARGUMENTSskills/_shared/orchestration-guide.md §10.C as the FINAL output of the run — a fenced ```json block with no text after:{
"skill": "product-enhance",
"outcome": "completed",
"artifacts": {
"issues_created": ["https://github.com/org/repo/issues/123", "..."],
"proposals_ranked": 8,
"session_dir": "documentation/planning/phases/<session>/"
},
"summary": "<2-3 line digest of proposals filed>",
"next": null,
"errors": [],
"blocker_description": null
}
outcome is completed on success, blocked if codebase reconnaissance can't run.npx claudepluginhub claudfather/claudna --plugin claudnaProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.