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_progress
to 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!