From prd-tools
Analyze an existing PRD for inconsistencies, missing information, ambiguities, and structure issues
How this command is triggered — by the user, by Claude, or both
Slash command
/prd-tools:analyzeThe summary Claude sees in its command listing — used to decide when to auto-load this command
# PRD Analyzer - Analyze Command You are initiating the PRD analysis workflow. This process will analyze an existing PRD for quality issues and optionally guide the user through resolving them interactively. ## Workflow ### Step 1: Validate File Verify the PRD file exists at the provided path. If not found: - Check if user provided relative path and try common locations - Use Glob to search for similar filenames - Ask user for correct path if needed ### Step 2: Read PRD Content Read the entire PRD file using the Read tool. ### Step 3: Detect Depth Level Analyze the PRD content to de...
You are initiating the PRD analysis workflow. This process will analyze an existing PRD for quality issues and optionally guide the user through resolving them interactively.
Verify the PRD file exists at the provided path. If not found:
Read the entire PRD file using the Read tool.
Analyze the PRD content to detect its depth level:
Full-Tech Indicators (check first):
API Specifications section OR ### 7.4 API or similarPOST /api/, GET /api/, etc.)Testing Strategy sectionDetailed Indicators:
## 1., ### 2.1)Technical Architecture section**US-001**: or similar format)High-Level Indicators:
Detection Priority:
Check for settings at .claude/prd-tools.local.md to get:
The analysis report should be saved in the same directory as the PRD with .analysis.md suffix:
specs/PRD-User-Auth.mdspecs/PRD-User-Auth.analysis.mdExtract the PRD filename and construct the report path.
Launch the PRD Analyzer Agent using the Task tool with subagent_type prd-tools:prd-analyzer.
Provide this context in the prompt:
Analyze the PRD at: {prd_path}
PRD Content:
{full_prd_content}
Detected Depth Level: {depth_level}
Report Output Path: {report_path}
Author: {author_from_settings or "Not specified"}
Instructions:
1. Load the analysis skill and reference files
2. Perform systematic analysis based on the depth level
3. Generate the analysis report
4. Present findings summary
5. Ask if user wants to enter update mode
6. If yes, guide through interactive resolution
7. Update report with final resolution status
Once you have launched the Analyzer Agent, your role is complete. The agent will handle:
/prd-tools:analyze specs/PRD-User-Authentication.md
This will:
specs/PRD-User-Authentication.analysis.mdnpx claudepluginhub sequenzia/claude-plugins --plugin prd-tools/prd-quality-guardEvaluates PRD quality as a gate, scoring EAC, EFC+Metrics, Discovery+Scope dimensions and detecting antipatterns. Returns PASS, CONDITIONAL, or FAIL decision.
/refineAnalyzes existing PRD for gaps using a section checklist, generates markdown gap analysis, and refines via targeted interactive questions.
/prd-reviewerReviews PRD file across 9 dimensions including structure, business logic, testability, traceability, and metadata; runs trace_lint.py first and grades issues as P0, P1, P2.
/refine-prdRefines existing PRD file by reviewing for issues like missing IDs/ACs/priorities, user-selecting fixes, incorporating feedback, and outputting version-bumped PRD with health summaries and readiness scores.
/parse-prd-with-researchParses PRD file using research-enhanced mode to generate detailed tasks with best practices, security, performance optimizations, edge cases, and deployment steps.
/createprdConverts user-provided requirements document (notes, PRD, spec, RFC, meeting notes) into master PRD at .spec_system/PRD/PRD.md. Prompts for missing info, backs up existing PRDs before updates.