Skip to main content
Glama
srwlli

Documentation Generator MCP Server

by srwlli
WORKFLOW-TRACKING.mdβ€’8.5 kB
# πŸ“‹ Planning Workflow Integration - Deliverables Tracking **Purpose**: Document the standard workflow for tracking deliverables in feature planning **Feature**: comprehensive-inventory-system (reference implementation) **Created**: 2025-10-14 --- ## 🎯 Overview This document establishes **deliverables tracking** as a core component of the feature planning workflow. Every multi-phase feature should maintain a DELIVERABLES.md file in its working directory to track: 1. Overall progress across phases 2. Files created/modified per phase 3. Features delivered 4. Metrics (code written, tools created, time invested) 5. Success criteria --- ## πŸ“‚ Standard Feature Folder Structure ``` coderef/working/{feature-name}/ β”œβ”€β”€ context.json # From /gather-context (optional) β”œβ”€β”€ analysis.json # From /analyze-for-planning (optional) β”œβ”€β”€ plan.json # From /create-plan (required) β”œβ”€β”€ DELIVERABLES.md # NEW: Deliverables tracker (required) β”œβ”€β”€ WORKFLOW-TRACKING.md # NEW: Workflow documentation (optional, for complex features) └── {phase-specific-files}/ # Additional planning artifacts ``` --- ## πŸ”„ Workflow Integration ### Step 1: Initial Planning **Tools**: `/analyze-for-planning` + `/create-plan` **Actions**: 1. Run `/analyze-for-planning` to gather project context 2. Run `/create-plan` to generate implementation plan 3. **Create DELIVERABLES.md** with phase breakdown from plan.json 4. Initialize phase sections with "Planned" status **Deliverables Sections to Create**: ```markdown ## Phase 1: {Name} - PLANNED - Status: Planning - Deliverables: TBD - Files to create: [list from plan.json] - Features: [list from plan.json] ``` --- ### Step 2: Phase Implementation **During active development** **Actions**: 1. Mark phase status: PLANNED β†’ IN PROGRESS 2. Track files as they're created 3. Check off deliverables as completed 4. Update metrics (lines of code, time spent) **Example Update**: ```markdown ## Phase 1: Foundation - IN PROGRESS (60%) ### Delivered Files 1. βœ… generators/inventory_generator.py (590 lines) 2. βœ… coderef/inventory/schema.json (152 lines) 3. πŸ”„ tool_handlers.py (in progress) 4. ⏭️ README.md (not started) ``` --- ### Step 3: Phase Completion **After phase is done** **Actions**: 1. Mark phase status: IN PROGRESS β†’ COMPLETE 2. Add version number and commit hash 3. Document all delivered files 4. Calculate metrics (actual vs estimated time) 5. Add changelog entry reference **Example**: ```markdown ## Phase 1: Foundation - COMPLETE **Status**: βœ… Shipped (v1.5.0 - 2025-10-14) **Commit**: `cb8ed81` **Effort**: 8 hours (est. 6 hours, +33% overrun) ### Delivered Files 1. βœ… generators/inventory_generator.py (590 lines) 2. βœ… coderef/inventory/schema.json (152 lines) ... ### Changelog - Version 1.5.0 entry (change-022) ``` --- ### Step 4: Feature Completion **After all phases done** **Actions**: 1. Update overall progress: 100% 2. Calculate total metrics 3. Document lessons learned 4. Archive or move to production docs --- ## πŸ“Š Required Sections in DELIVERABLES.md ### 1. Overall Progress Table ```markdown ## πŸ“Š Overall Progress | Phase | Status | Deliverables | Completion | |-------|--------|--------------|------------| | Phase 1 | βœ… Complete | 9 files | 100% | | Phase 2 | πŸ“‹ Planned | 12 files | 0% | ... ``` ### 2. Per-Phase Breakdown For each phase: ```markdown ## Phase X: {Name} - {STATUS} **Status**: {Planned|In Progress|Complete|Blocked} **Tool**: {tool_name} (if applicable) **Commit**: {hash} (if complete) **Effort**: {actual hours} ({estimated hours}) ### Delivered Files 1. **{file_path}** ({lines} lines) - {Description} ### Features Delivered βœ… {Feature 1} βœ… {Feature 2} ### Output Files (Generated) - **{output_path}** (per project) - {Description of contents} ``` ### 3. Metrics Section ```markdown ## πŸ“ˆ Metrics ### Code Written - Phase 1: ~1,200 lines - Total: ~6,000 lines ### Tools Created - Phase 1: 1 tool - Total: 8-10 tools ### Time Investment - Phase 1: 8 hours - Total: 60-80 hours ``` ### 4. Success Criteria ```markdown ## 🎯 Success Criteria ### Per-Phase Criteria βœ… Functional MCP tool βœ… JSON schema βœ… Documentation updated ... ### Overall Success Criteria βœ… All tools functional βœ… User feedback positive ``` --- ## πŸ” When to Create DELIVERABLES.md **Create when**: - Feature has β‰₯2 phases - Implementation will take >8 hours - Multiple files will be created/modified - Feature builds on previous work (like Phase 1 β†’ Phase 2) **Skip when**: - Single-file bug fix - Simple documentation update - Feature has only 1 phase with <4 deliverables --- ## 🎨 Status Indicators Use consistent status indicators: | Indicator | Meaning | When to Use | |-----------|---------|-------------| | ⏭️ | Not Started | Phase hasn't begun | | πŸ“‹ | Planned | Plan exists, not started | | πŸ”„ | In Progress | Actively working | | βœ… | Complete | Shipped and committed | | ⏸️ | Paused | Temporarily halted | | ❌ | Cancelled | Phase abandoned | | 🚧 | Blocked | Waiting on dependency | --- ## πŸ“ Best Practices ### 1. Update Frequently - Update DELIVERABLES.md after each significant commit - Don't wait until phase completion - Small, incremental updates are better than large batch updates ### 2. Track Actuals vs Estimates - Record estimated effort from planning - Record actual effort during implementation - Calculate variance (helps improve future estimates) ### 3. Link to Commits - Include commit hash for each completed phase - Link to changelog entries - Reference related PRs or issues ### 4. Document Blockers - If phase is blocked, document why - Note dependencies or external factors - Update when blocker is resolved ### 5. Capture Lessons Learned - Note what went well - Note what took longer than expected - Document technical decisions made --- ## πŸ”— Integration with Other Workflows ### Planning Workflow 1. `/analyze-for-planning` β†’ provides context 2. `/create-plan` β†’ generates plan.json 3. **Manual**: Create DELIVERABLES.md from plan 4. `/validate-plan` β†’ ensures quality 5. `/generate-plan-review` β†’ creates review ### Implementation Workflow 1. **Check**: DELIVERABLES.md for current phase tasks 2. **Implement**: Build features 3. **Update**: Mark deliverables complete 4. **Commit**: Reference DELIVERABLES.md in commit 5. **Changelog**: Update changelog (references DELIVERABLES.md) ### Documentation Workflow 1. **Source**: DELIVERABLES.md shows what was built 2. **Update**: README/API.md based on deliverables 3. **Reference**: Link to deliverables in documentation 4. **Archive**: Move completed deliverables to release notes --- ## πŸ“¦ Example: comprehensive-inventory-system **Reference Implementation**: See `DELIVERABLES.md` in this directory **Highlights**: - 6 phases planned - Phase 1 complete (inventory_manifest) - Phase 2 detailed planning done - Phases 3-6 high-level planning - Metrics tracked per phase - External dependencies documented (OSV API, npm registry, PyPI) - Success criteria defined **Pattern to Follow**: ```markdown 1. Overall progress table (visual status) 2. Completed phases (full detail) 3. Current phase (detailed planning) 4. Future phases (high-level planning) 5. Metrics (code, tools, time) 6. Success criteria ``` --- ## 🎯 Benefits ### For Developers βœ… Clear roadmap of what needs to be built βœ… Progress tracking shows momentum βœ… Metrics improve future estimates βœ… Documentation is auto-generated from deliverables ### For Project Management βœ… Visibility into feature progress βœ… Identify blockers early βœ… Track velocity (planned vs actual) βœ… Historical data for planning ### For Users βœ… Transparency about what's coming βœ… Clear understanding of feature scope βœ… Expectation management (when will X be ready?) --- ## πŸš€ Next Steps **For comprehensive-inventory-system**: 1. βœ… DELIVERABLES.md created 2. βœ… Phase 1 complete and documented 3. πŸ“‹ Phase 2 planning complete 4. πŸ”„ Ready to start Phase 2 implementation **For future features**: 1. Create DELIVERABLES.md during planning 2. Use comprehensive-inventory-system as template 3. Update throughout implementation 4. Archive when feature complete --- **Established**: 2025-10-14 **Pattern Owner**: willh, Claude Code AI **Status**: βœ… Active Standard This workflow pattern is now part of the docs-mcp development process.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/srwlli/docs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server