Getting Started: Workflow & Development Guidance
This guide shows you how to use the new workflow guidance and development guidance tools to get intelligent recommendations for your specific project goals.
๐ฏ Overviewโ
The MCP ADR Analysis Server now includes two powerful meta-tools that act as intelligent assistants:
get_workflow_guidance- Recommends optimal tool sequences based on your goalsget_development_guidance- Translates architectural decisions into specific coding tasks
These tools solve the "tool discovery" problem and ensure you follow best practices to achieve your goals efficiently.
๐ Quick Startโ
Step 1: Get Workflow Guidanceโ
Start by describing what you want to accomplish:
Tool Call:
get_workflow_guidance
Parameters:
{
"goal": "analyze new project and set up architectural documentation",
"projectContext": "new_project",
"availableAssets": ["codebase"],
"timeframe": "thorough_review",
"primaryConcerns": ["maintainability", "scalability"]
}
What You Get:
- ๐ Recommended Tool Sequence - Step-by-step workflow
- ๐ Alternative Approaches - Different paths based on constraints
- โฑ๏ธ Timeline Estimates - Realistic time expectations
- ๐ Success Metrics - How to measure progress
- ๐ก Pro Tips - Best practices and common pitfalls
Step 2: Get Development Guidanceโ
Once you have architectural decisions, get specific implementation guidance:
Tool Call:
get_development_guidance
Parameters:
{
"developmentPhase": "implementation",
"adrsToImplement": ["ADR-001: REST API Design", "ADR-002: Database Schema"],
"technologyStack": ["TypeScript", "Node.js", "PostgreSQL"],
"teamContext": {
"size": "small_team",
"experienceLevel": "mixed"
},
"focusAreas": ["API design", "testing strategy"]
}
What You Get:
- ๐๏ธ Implementation Roadmap - Phase-by-phase development plan
- ๐ Specific Coding Tasks - ADRs translated to actionable tasks
- ๐งช Testing Strategy - Comprehensive testing approach
- ๐ Quality Gates - Success criteria and checkpoints
- ๐ Deployment Guidance - Environment and deployment strategy
๐ Common Scenariosโ
Scenario 1: New Project Analysisโ
Goal: Analyze a new React TypeScript project and set up architectural documentation.
{
"goal": "analyze new project and set up architectural documentation",
"projectContext": "new_project",
"availableAssets": ["codebase"],
"timeframe": "thorough_review"
}
Expected Workflow:
analyze_project_ecosystemโ Discover technology stackget_architectural_contextโ Generate architectural insights + ADR setupsuggest_adrsโ Get ADR recommendationsgenerate_adr_from_decisionโ Create specific ADRsget_development_guidanceโ Get implementation roadmap
Scenario 2: Legacy System Modernizationโ
Goal: Modernize a legacy codebase with proper architectural documentation.
{
"goal": "modernize legacy system with architectural documentation",
"projectContext": "legacy_codebase",
"availableAssets": ["codebase", "documentation"],
"timeframe": "comprehensive_audit",
"primaryConcerns": ["technical_debt", "maintainability", "security"]
}
Expected Workflow:
analyze_project_ecosystemโ Understand current stateget_architectural_contextโ Assess architectural maturitysuggest_adrsโ Identify modernization decisionsgenerate_rulesโ Extract current patternsget_development_guidanceโ Create modernization roadmap
Scenario 3: Security Audit & Complianceโ
Goal: Perform security audit and implement data protection measures.
{
"goal": "security audit and data protection implementation",
"projectContext": "existing_without_adrs",
"primaryConcerns": ["security", "compliance"],
"timeframe": "comprehensive_audit"
}
Expected Workflow:
analyze_content_securityโ Identify sensitive datagenerate_content_maskingโ Create masking strategyconfigure_custom_patternsโ Set up security patternsvalidate_content_maskingโ Verify protectionget_development_guidanceโ Implement security measures
Scenario 4: PRD to Implementationโ
Goal: Convert a Product Requirements Document to a working implementation.
{
"goal": "convert PRD to implementation plan",
"projectContext": "greenfield",
"availableAssets": ["PRD.md"],
"timeframe": "thorough_review"
}
Expected Workflow:
generate_adrs_from_prdโ Convert PRD to ADRsgenerate_adr_todo(phase: "both", linkAdrs: true) โ Create TDD implementation tasksget_development_guidanceโ Get detailed development plancompare_adr_progressโ Validate implementation quality and detect mock patternsanalyze_deployment_progressโ Track implementation
๐ง Development Guidance Deep Diveโ
The get_development_guidance tool provides phase-specific guidance:
Planning Phaseโ
{
"developmentPhase": "planning",
"technologyStack": ["TypeScript", "React", "Node.js"],
"teamContext": {"size": "small_team", "experienceLevel": "mixed"}
}
Focus: Project structure, tooling setup, development workflow
Implementation Phaseโ
{
"developmentPhase": "implementation",
"adrsToImplement": ["ADR-001: API Design"],
"focusAreas": ["API design", "database schema"]
}
Focus: Specific coding tasks, design patterns, implementation strategies
Testing Phaseโ
{
"developmentPhase": "testing",
"focusAreas": ["unit testing", "integration testing", "e2e testing"]
}
Focus: Testing strategies, quality gates, automation setup
Deployment Phaseโ
{
"developmentPhase": "deployment",
"focusAreas": ["CI/CD pipeline", "environment setup", "monitoring"]
}
Focus: Deployment strategies, environment configuration, monitoring setup
Validation & Quality Assurance Phaseโ
{
"developmentPhase": "validation",
"focusAreas": ["mock detection", "ADR compliance", "production readiness"]
}
Focus: Implementation validation, mock vs production detection, ADR goal compliance
๐งช Enhanced TDD and Validation Workflowโ
The MCP server now includes sophisticated validation capabilities to ensure high-quality implementations:
New Validation-Focused Scenariosโ
Scenario 5: TDD Implementation with Validationโ
Goal: Implement ADRs using test-driven development with comprehensive validation.
{
"goal": "implement ADRs using TDD with quality validation",
"projectContext": "existing_with_adrs",
"availableAssets": ["codebase", "ADRs"],
"timeframe": "thorough_review",
"primaryConcerns": ["code_quality", "test_coverage", "production_readiness"]
}
Expected Workflow:
generate_adr_todo(phase: "test") โ Generate test specifications- Implement mock tests based on specifications
generate_adr_todo(phase: "production") โ Generate implementation tasks- Implement production code to pass tests
compare_adr_progress(strictMode: true) โ Validate against ADR goals and detect mock patternsget_development_guidanceโ Refine implementation based on validation results
Scenario 6: Quality Assurance and Mock Detectionโ
Goal: Validate existing implementations and detect mock code masquerading as production.
{
"goal": "validate implementation quality and detect mock patterns",
"projectContext": "existing_with_adrs",
"availableAssets": ["codebase", "ADRs", "todo.md"],
"primaryConcerns": ["production_readiness", "ADR_compliance"]
}
Expected Workflow:
compare_adr_progress(deepCodeAnalysis: true) โ Comprehensive validationgenerate_rulesโ Extract architectural rulesvalidate_rulesโ Check rule complianceget_development_guidanceโ Create remediation plan for issues found
Key Validation Parametersโ
When using workflow guidance, consider these validation-specific parameters:
{
"validationRequirements": {
"mockDetection": true,
"adrCompliance": true,
"functionalValidation": true,
"strictMode": true
},
"qualityGates": ["test_coverage", "error_handling", "integration_tests"],
"productionCriteria": ["real_database_connections", "proper_error_handling", "input_validation"]
}
๐ก Pro Tipsโ
1. Start with Workflow Guidanceโ
Always begin with get_workflow_guidance to get the optimal tool sequence for your specific situation.
2. Be Specific with Goalsโ
The more specific your goal description, the better the recommendations:
- โ "analyze project"
- โ "analyze React TypeScript project for security vulnerabilities and performance optimization"
3. Provide Contextโ
Include your team context and constraints for tailored recommendations:
{
"teamContext": {
"size": "solo",
"experienceLevel": "junior"
},
"timeline": "2 weeks to MVP"
}
4. Use Focus Areasโ
Specify focus areas to get targeted guidance:
{
"focusAreas": ["API design", "testing strategy", "deployment pipeline"]
}
5. Iterate and Refineโ
Use the guidance as a starting point and refine based on your specific findings and constraints.
6. Always Validate Implementation Qualityโ
Include validation steps in every workflow:
{
"includeValidation": true,
"validationLevel": "strict",
"mockDetection": true,
"adrCompliance": true
}
7. Use TDD Approach for New Implementationsโ
For new ADR implementations, always use the two-phase TDD approach:
- Phase 1: Generate test specifications with
generate_adr_todo(phase: "test") - Phase 2: Generate implementation tasks with
generate_adr_todo(phase: "production") - Validation: Use
compare_adr_progressto ensure production readiness
8. Prevent Mock Code in Productionโ
Always run compare_adr_progress with strictMode: true to prevent common issues:
- Mock implementations being considered production-ready
- Missing error handling and input validation
- Inadequate integration testing
- Configuration issues that prevent real deployment
๐ฏ Success Metricsโ
Track your progress using the success metrics provided by the tools:
- Immediate Indicators: Quick wins and early signals
- Progress Milestones: Key checkpoints in your workflow
- Final Outcomes: Ultimate success criteria for your goals
๐ Integration with Other Toolsโ
The workflow and development guidance tools work seamlessly with all other MCP tools:
- Analysis Tools:
analyze_project_ecosystem,get_architectural_context - ADR Tools:
suggest_adrs,generate_adr_from_decision,discover_existing_adrs - TDD Tools:
generate_adr_todo(enhanced with phase-based approach) - Validation Tools:
compare_adr_progress,generate_rules,validate_rules - Quality Tools:
analyze_content_security,generate_content_masking - Utility Tools:
check_ai_execution_status,manage_cache
๐ Next Stepsโ
- Try the workflow guidance with your current project
- Follow the recommended tool sequence
- Use development guidance to implement architectural decisions
- Track progress using the provided success metrics
- Iterate and improve based on your results
The workflow and development guidance tools transform the MCP server into a complete development lifecycle assistant that guides you from architectural planning all the way through to working code!