MCP Prompts Refinement
Status: ✅ Complete · Priority: Medium · Created: 2025-11-20 · Tags: mcp, ux, prompts, ai-agents
Project: lean-spec
Team: Core Development
Overview
Refine MCP prompts based on actual usage patterns. Add commonly used prompts for project progress overview and roadmap planning. Revise existing prompts that are rarely used.
Problem: Current MCP prompts don't align with actual workflow needs. Missing key prompts for common tasks like project overview and roadmap planning. Existing prompts rarely used.
Solution: Add two new high-value prompts (project progress, roadmap planning) and revise/remove underused prompts.
Design
Current Prompts Analysis
Existing prompts:
create-feature-spec- Guided feature spec creationfind-related-specs- Discover related specs by topicupdate-spec-status- Quick status update workflow
Usage assessment:
create-feature-spec: Redundant - agents can usecreatetool directlyfind-related-specs: Partially useful but too narrow - agents already search withsearch/listtoolsupdate-spec-status: Good for quick updates, keep but simplify
New Prompts to Add
1. Project Progress Overview
Name: project-progress-overview
Purpose: Generate comprehensive project status report combining specs, git history, and metrics
Args: None (zero arguments for simplicity)
Prompt template:
Analyze project progress and provide a comprehensive overview:
1. **Spec Analysis**: Review all specs, group by status, highlight blockers
2. **Recent Activity**: Check git commits (last 2 weeks), identify key changes
3. **Velocity Metrics**: Calculate completion rate, avg time in each status
4. **Risk Assessment**: Identify stalled specs, missing dependencies
5. **Next Steps**: Recommend priority actions based on current state
2. Project Roadmap Planning
Name: plan-project-roadmap
Purpose: Interactive roadmap planning with phases, tasks, and dependencies
Args:
goal(string, required) - High-level project goal or milestone
Prompt template:
Plan project roadmap for: {goal}
1. Review existing specs and current project state
2. Break down goal into phases/milestones
3. Identify key tasks and dependencies for each phase
4. Create specs for major work items
5. Establish realistic timeline based on project velocity
6. Set up dependency relationships between specs
7. Identify risks and mitigation strategies
Provide actionable next steps to implement this roadmap.
Prompts to Revise/Remove
Remove:
create-feature-spec- Too narrow, agents should use tools directly
Revise:
find-related-specs→ Remove (redundant with tools)update-spec-status→ Simplified to only required args (specPath, status)
Keep as-is: None need to remain exactly as-is
Plan
- Analyze current prompt usage patterns
- Create
project-progress-overviewprompt file - Create
plan-project-roadmapprompt file - Remove
create-feature-specprompt - Simplify
update-spec-statusprompt (removed optional args) - Remove
find-related-specs(redundant with tools) - Update prompt registry
- Build and test changes
- Validate with real usage scenarios
Test
Manual Testing:
- Invoke
project-progress-overviewin Copilot/Claude - Invoke
plan-project-roadmapwith sample goal - Verify removed prompts don't appear in MCP prompt list
- Verify revised prompts work as expected
Validation Criteria:
- New prompts generate useful, actionable output
- Prompts leverage existing MCP tools effectively
- Prompt templates are clear and guide AI behavior
- No regression in existing MCP functionality
Notes
Design Rationale:
- Focus on high-level workflow prompts, not micro-tasks
- Prompts should orchestrate tool usage, not replace tools
- Keep prompts minimal - signal-to-noise principle applies here too
- Prompts are for common patterns, not one-off tasks
Changes Summary:
Added:
project-progress-overview- Comprehensive project status report combining specs, git history, and metricsplan-project-roadmap- Interactive roadmap planning with phases, tasks, and dependencies
Removed:
create-feature-spec- Too narrow, agents usecreatetool directlyfind-related-specs- Redundant withsearch/listtools
Modified:
update-spec-status- Simplified to only required arguments (specPath, status)
Simplification Rationale:
- Too many optional arguments cause confusion
project-progress-overviewnow has zero arguments (always includes metrics, uses 2-week timeframe)plan-project-roadmaphas one required argument (goal), always reviews existing workupdate-spec-statuskeeps only required args, agents can callupdatetool directly for other fields
Implementation Notes:
- All prompts include explicit tool usage guidance
- Prompts generate actionable workflows, not just instructions
- New prompts leverage multiple tools in sequence (board, stats, list, deps, git commands)
- Simplified prompt registry to focus on high-value workflows