Use this skill when working with Conductor's context-driven
Add this skill
npx mdskills install sickn33/context-driven-developmentComprehensive methodology with clear artifacts, workflow phases, and synchronization rules
1---2name: context-driven-development3description: Use this skill when working with Conductor's context-driven4 development methodology, managing project context artifacts, or understanding5 the relationship between product.md, tech-stack.md, and workflow.md files.6metadata:7 version: 1.0.08---910# Context-Driven Development1112Guide for implementing and maintaining context as a managed artifact alongside code, enabling consistent AI interactions and team alignment through structured project documentation.1314## Do not use this skill when1516- The task is unrelated to context-driven development17- You need a different domain or tool outside this scope1819## Instructions2021- Clarify goals, constraints, and required inputs.22- Apply relevant best practices and validate outcomes.23- Provide actionable steps and verification.24- If detailed examples are required, open `resources/implementation-playbook.md`.2526## Use this skill when2728- Setting up new projects with Conductor29- Understanding the relationship between context artifacts30- Maintaining consistency across AI-assisted development sessions31- Onboarding team members to an existing Conductor project32- Deciding when to update context documents33- Managing greenfield vs brownfield project contexts3435## Core Philosophy3637Context-Driven Development treats project context as a first-class artifact managed alongside code. Instead of relying on ad-hoc prompts or scattered documentation, establish a persistent, structured foundation that informs all AI interactions.3839Key principles:40411. **Context precedes code**: Define what you're building and how before implementation422. **Living documentation**: Context artifacts evolve with the project433. **Single source of truth**: One canonical location for each type of information444. **AI alignment**: Consistent context produces consistent AI behavior4546## The Workflow4748Follow the **Context → Spec & Plan → Implement** workflow:49501. **Context Phase**: Establish or verify project context artifacts exist and are current512. **Specification Phase**: Define requirements and acceptance criteria for work units523. **Planning Phase**: Break specifications into phased, actionable tasks534. **Implementation Phase**: Execute tasks following established workflow patterns5455## Artifact Relationships5657### product.md - Defines WHAT and WHY5859Purpose: Captures product vision, goals, target users, and business context.6061Contents:6263- Product name and one-line description64- Problem statement and solution approach65- Target user personas66- Core features and capabilities67- Success metrics and KPIs68- Product roadmap (high-level)6970Update when:7172- Product vision or goals change73- New major features are planned74- Target audience shifts75- Business priorities evolve7677### product-guidelines.md - Defines HOW to Communicate7879Purpose: Establishes brand voice, messaging standards, and communication patterns.8081Contents:8283- Brand voice and tone guidelines84- Terminology and glossary85- Error message conventions86- User-facing copy standards87- Documentation style8889Update when:9091- Brand guidelines change92- New terminology is introduced93- Communication patterns need refinement9495### tech-stack.md - Defines WITH WHAT9697Purpose: Documents technology choices, dependencies, and architectural decisions.9899Contents:100101- Primary languages and frameworks102- Key dependencies with versions103- Infrastructure and deployment targets104- Development tools and environment105- Testing frameworks106- Code quality tools107108Update when:109110- Adding new dependencies111- Upgrading major versions112- Changing infrastructure113- Adopting new tools or patterns114115### workflow.md - Defines HOW to Work116117Purpose: Establishes development practices, quality gates, and team workflows.118119Contents:120121- Development methodology (TDD, etc.)122- Git workflow and commit conventions123- Code review requirements124- Testing requirements and coverage targets125- Quality assurance gates126- Deployment procedures127128Update when:129130- Team practices evolve131- Quality standards change132- New workflow patterns are adopted133134### tracks.md - Tracks WHAT'S HAPPENING135136Purpose: Registry of all work units with status and metadata.137138Contents:139140- Active tracks with current status141- Completed tracks with completion dates142- Track metadata (type, priority, assignee)143- Links to individual track directories144145Update when:146147- New tracks are created148- Track status changes149- Tracks are completed or archived150151## Context Maintenance Principles152153### Keep Artifacts Synchronized154155Ensure changes in one artifact reflect in related documents:156157- New feature in product.md → Update tech-stack.md if new dependencies needed158- Completed track → Update product.md to reflect new capabilities159- Workflow change → Update all affected track plans160161### Update tech-stack.md When Adding Dependencies162163Before adding any new dependency:1641651. Check if existing dependencies solve the need1662. Document the rationale for new dependencies1673. Add version constraints1684. Note any configuration requirements169170### Update product.md When Features Complete171172After completing a feature track:1731741. Move feature from "planned" to "implemented" in product.md1752. Update any affected success metrics1763. Document any scope changes from original plan177178### Verify Context Before Implementation179180Before starting any track:1811821. Read all context artifacts1832. Flag any outdated information1843. Propose updates before proceeding1854. Confirm context accuracy with stakeholders186187## Greenfield vs Brownfield Handling188189### Greenfield Projects (New)190191For new projects:1921931. Run `/conductor:setup` to create all artifacts interactively1942. Answer questions about product vision, tech preferences, and workflow1953. Generate initial style guides for chosen languages1964. Create empty tracks registry197198Characteristics:199200- Full control over context structure201- Define standards before code exists202- Establish patterns early203204### Brownfield Projects (Existing)205206For existing codebases:2072081. Run `/conductor:setup` with existing codebase detection2092. System analyzes existing code, configs, and documentation2103. Pre-populate artifacts based on discovered patterns2114. Review and refine generated context212213Characteristics:214215- Extract implicit context from existing code216- Reconcile existing patterns with desired patterns217- Document technical debt and modernization plans218- Preserve working patterns while establishing standards219220## Benefits221222### Team Alignment223224- New team members onboard faster with explicit context225- Consistent terminology and conventions across the team226- Shared understanding of product goals and technical decisions227228### AI Consistency229230- AI assistants produce aligned outputs across sessions231- Reduced need to re-explain context in each interaction232- Predictable behavior based on documented standards233234### Institutional Memory235236- Decisions and rationale are preserved237- Context survives team changes238- Historical context informs future decisions239240### Quality Assurance241242- Standards are explicit and verifiable243- Deviations from context are detectable244- Quality gates are documented and enforceable245246## Directory Structure247248```249conductor/250├── index.md # Navigation hub linking all artifacts251├── product.md # Product vision and goals252├── product-guidelines.md # Communication standards253├── tech-stack.md # Technology preferences254├── workflow.md # Development practices255├── tracks.md # Work unit registry256├── setup_state.json # Resumable setup state257├── code_styleguides/ # Language-specific conventions258│ ├── python.md259│ ├── typescript.md260│ └── ...261└── tracks/262 └── <track-id>/263 ├── spec.md264 ├── plan.md265 ├── metadata.json266 └── index.md267```268269## Context Lifecycle2702711. **Creation**: Initial setup via `/conductor:setup`2722. **Validation**: Verify before each track2733. **Evolution**: Update as project grows2744. **Synchronization**: Keep artifacts aligned2755. **Archival**: Document historical decisions276277## Context Validation Checklist278279Before starting implementation on any track, validate context:280281### Product Context282283- [ ] product.md reflects current product vision284- [ ] Target users are accurately described285- [ ] Feature list is up to date286- [ ] Success metrics are defined287288### Technical Context289290- [ ] tech-stack.md lists all current dependencies291- [ ] Version numbers are accurate292- [ ] Infrastructure targets are correct293- [ ] Development tools are documented294295### Workflow Context296297- [ ] workflow.md describes current practices298- [ ] Quality gates are defined299- [ ] Coverage targets are specified300- [ ] Commit conventions are documented301302### Track Context303304- [ ] tracks.md shows all active work305- [ ] No stale or abandoned tracks306- [ ] Dependencies between tracks are noted307308## Common Anti-Patterns309310Avoid these context management mistakes:311312### Stale Context313314Problem: Context documents become outdated and misleading.315Solution: Update context as part of each track's completion process.316317### Context Sprawl318319Problem: Information scattered across multiple locations.320Solution: Use the defined artifact structure; resist creating new document types.321322### Implicit Context323324Problem: Relying on knowledge not captured in artifacts.325Solution: If you reference something repeatedly, add it to the appropriate artifact.326327### Context Hoarding328329Problem: One person maintains context without team input.330Solution: Review context artifacts in pull requests; make updates collaborative.331332### Over-Specification333334Problem: Context becomes so detailed it's impossible to maintain.335Solution: Keep artifacts focused on decisions that affect AI behavior and team alignment.336337## Integration with Development Tools338339### IDE Integration340341Configure your IDE to display context files prominently:342343- Pin conductor/product.md for quick reference344- Add tech-stack.md to project notes345- Create snippets for common patterns from style guides346347### Git Hooks348349Consider pre-commit hooks that:350351- Warn when dependencies change without tech-stack.md update352- Remind to update product.md when feature branches merge353- Validate context artifact syntax354355### CI/CD Integration356357Include context validation in pipelines:358359- Check tech-stack.md matches actual dependencies360- Verify links in context documents resolve361- Ensure tracks.md status matches git branch state362363## Session Continuity364365Conductor supports multi-session development through context persistence:366367### Starting a New Session3683691. Read index.md to orient yourself3702. Check tracks.md for active work3713. Review relevant track's plan.md for current task3724. Verify context artifacts are current373374### Ending a Session3753761. Update plan.md with current progress3772. Note any blockers or decisions made3783. Commit in-progress work with clear status3794. Update tracks.md if status changed380381### Handling Interruptions382383If interrupted mid-task:3843851. Mark task as `[~]` with note about stopping point3862. Commit work-in-progress to feature branch3873. Document any uncommitted decisions in plan.md388389## Best Practices3903911. **Read context first**: Always read relevant artifacts before starting work3922. **Small updates**: Make incremental context changes, not massive rewrites3933. **Link decisions**: Reference context when making implementation choices3944. **Version context**: Commit context changes alongside code changes3955. **Review context**: Include context artifact reviews in code reviews3966. **Validate regularly**: Run context validation checklist before major work3977. **Communicate changes**: Notify team when context artifacts change significantly3988. **Preserve history**: Use git to track context evolution over time3999. **Question staleness**: If context feels wrong, investigate and update40010. **Keep it actionable**: Every context item should inform a decision or behavior401
Full transparency — inspect the skill content before installing.