Context-Driven Development
Guide for implementing and maintaining context as a managed artifact alongside code, enabling consistent AI interactions and team alignment through structured project documentation.
Do not use this skill when
The task is unrelated to context-driven developmentYou need a different domain or tool outside this scopeInstructions
Clarify goals, constraints, and required inputs.Apply relevant best practices and validate outcomes.Provide actionable steps and verification.If detailed examples are required, open resources/implementation-playbook.md.Use this skill when
Setting up new projects with ConductorUnderstanding the relationship between context artifactsMaintaining consistency across AI-assisted development sessionsOnboarding team members to an existing Conductor projectDeciding when to update context documentsManaging greenfield vs brownfield project contextsCore Philosophy
Context-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.
Key principles:
Context precedes code: Define what you're building and how before implementationLiving documentation: Context artifacts evolve with the projectSingle source of truth: One canonical location for each type of informationAI alignment: Consistent context produces consistent AI behaviorThe Workflow
Follow the Context → Spec & Plan → Implement workflow:
Context Phase: Establish or verify project context artifacts exist and are currentSpecification Phase: Define requirements and acceptance criteria for work unitsPlanning Phase: Break specifications into phased, actionable tasksImplementation Phase: Execute tasks following established workflow patternsArtifact Relationships
product.md - Defines WHAT and WHY
Purpose: Captures product vision, goals, target users, and business context.
Contents:
Product name and one-line descriptionProblem statement and solution approachTarget user personasCore features and capabilitiesSuccess metrics and KPIsProduct roadmap (high-level)Update when:
Product vision or goals changeNew major features are plannedTarget audience shiftsBusiness priorities evolveproduct-guidelines.md - Defines HOW to Communicate
Purpose: Establishes brand voice, messaging standards, and communication patterns.
Contents:
Brand voice and tone guidelinesTerminology and glossaryError message conventionsUser-facing copy standardsDocumentation styleUpdate when:
Brand guidelines changeNew terminology is introducedCommunication patterns need refinementtech-stack.md - Defines WITH WHAT
Purpose: Documents technology choices, dependencies, and architectural decisions.
Contents:
Primary languages and frameworksKey dependencies with versionsInfrastructure and deployment targetsDevelopment tools and environmentTesting frameworksCode quality toolsUpdate when:
Adding new dependenciesUpgrading major versionsChanging infrastructureAdopting new tools or patternsworkflow.md - Defines HOW to Work
Purpose: Establishes development practices, quality gates, and team workflows.
Contents:
Development methodology (TDD, etc.)Git workflow and commit conventionsCode review requirementsTesting requirements and coverage targetsQuality assurance gatesDeployment proceduresUpdate when:
Team practices evolveQuality standards changeNew workflow patterns are adoptedtracks.md - Tracks WHAT'S HAPPENING
Purpose: Registry of all work units with status and metadata.
Contents:
Active tracks with current statusCompleted tracks with completion datesTrack metadata (type, priority, assignee)Links to individual track directoriesUpdate when:
New tracks are createdTrack status changesTracks are completed or archivedContext Maintenance Principles
Keep Artifacts Synchronized
Ensure changes in one artifact reflect in related documents:
New feature in product.md → Update tech-stack.md if new dependencies neededCompleted track → Update product.md to reflect new capabilitiesWorkflow change → Update all affected track plansUpdate tech-stack.md When Adding Dependencies
Before adding any new dependency:
Check if existing dependencies solve the needDocument the rationale for new dependenciesAdd version constraintsNote any configuration requirementsUpdate product.md When Features Complete
After completing a feature track:
Move feature from "planned" to "implemented" in product.mdUpdate any affected success metricsDocument any scope changes from original planVerify Context Before Implementation
Before starting any track:
Read all context artifactsFlag any outdated informationPropose updates before proceedingConfirm context accuracy with stakeholdersGreenfield vs Brownfield Handling
Greenfield Projects (New)
For new projects:
Run /conductor:setup to create all artifacts interactivelyAnswer questions about product vision, tech preferences, and workflowGenerate initial style guides for chosen languagesCreate empty tracks registryCharacteristics:
Full control over context structureDefine standards before code existsEstablish patterns earlyBrownfield Projects (Existing)
For existing codebases:
Run /conductor:setup with existing codebase detectionSystem analyzes existing code, configs, and documentationPre-populate artifacts based on discovered patternsReview and refine generated contextCharacteristics:
Extract implicit context from existing codeReconcile existing patterns with desired patternsDocument technical debt and modernization plansPreserve working patterns while establishing standardsBenefits
Team Alignment
New team members onboard faster with explicit contextConsistent terminology and conventions across the teamShared understanding of product goals and technical decisionsAI Consistency
AI assistants produce aligned outputs across sessionsReduced need to re-explain context in each interactionPredictable behavior based on documented standardsInstitutional Memory
Decisions and rationale are preservedContext survives team changesHistorical context informs future decisionsQuality Assurance
Standards are explicit and verifiableDeviations from context are detectableQuality gates are documented and enforceableDirectory Structure
conductor/
├── index.md # Navigation hub linking all artifacts
├── product.md # Product vision and goals
├── product-guidelines.md # Communication standards
├── tech-stack.md # Technology preferences
├── workflow.md # Development practices
├── tracks.md # Work unit registry
├── setup_state.json # Resumable setup state
├── code_styleguides/ # Language-specific conventions
│ ├── python.md
│ ├── typescript.md
│ └── ...
└── tracks/
└── <track-id>/
├── spec.md
├── plan.md
├── metadata.json
└── index.md
Context Lifecycle
Creation: Initial setup via /conductor:setupValidation: Verify before each trackEvolution: Update as project growsSynchronization: Keep artifacts alignedArchival: Document historical decisionsContext Validation Checklist
Before starting implementation on any track, validate context:
Product Context
[ ] product.md reflects current product vision[ ] Target users are accurately described[ ] Feature list is up to date[ ] Success metrics are definedTechnical Context
[ ] tech-stack.md lists all current dependencies[ ] Version numbers are accurate[ ] Infrastructure targets are correct[ ] Development tools are documentedWorkflow Context
[ ] workflow.md describes current practices[ ] Quality gates are defined[ ] Coverage targets are specified[ ] Commit conventions are documentedTrack Context
[ ] tracks.md shows all active work[ ] No stale or abandoned tracks[ ] Dependencies between tracks are notedCommon Anti-Patterns
Avoid these context management mistakes:
Stale Context
Problem: Context documents become outdated and misleading.
Solution: Update context as part of each track's completion process.
Context Sprawl
Problem: Information scattered across multiple locations.
Solution: Use the defined artifact structure; resist creating new document types.
Implicit Context
Problem: Relying on knowledge not captured in artifacts.
Solution: If you reference something repeatedly, add it to the appropriate artifact.
Context Hoarding
Problem: One person maintains context without team input.
Solution: Review context artifacts in pull requests; make updates collaborative.
Over-Specification
Problem: Context becomes so detailed it's impossible to maintain.
Solution: Keep artifacts focused on decisions that affect AI behavior and team alignment.
Integration with Development Tools
IDE Integration
Configure your IDE to display context files prominently:
Pin conductor/product.md for quick referenceAdd tech-stack.md to project notesCreate snippets for common patterns from style guidesGit Hooks
Consider pre-commit hooks that:
Warn when dependencies change without tech-stack.md updateRemind to update product.md when feature branches mergeValidate context artifact syntaxCI/CD Integration
Include context validation in pipelines:
Check tech-stack.md matches actual dependenciesVerify links in context documents resolveEnsure tracks.md status matches git branch stateSession Continuity
Conductor supports multi-session development through context persistence:
Starting a New Session
Read index.md to orient yourselfCheck tracks.md for active workReview relevant track's plan.md for current taskVerify context artifacts are currentEnding a Session
Update plan.md with current progressNote any blockers or decisions madeCommit in-progress work with clear statusUpdate tracks.md if status changedHandling Interruptions
If interrupted mid-task:
Mark task as [~] with note about stopping pointCommit work-in-progress to feature branchDocument any uncommitted decisions in plan.mdBest Practices
Read context first: Always read relevant artifacts before starting workSmall updates: Make incremental context changes, not massive rewritesLink decisions: Reference context when making implementation choicesVersion context: Commit context changes alongside code changesReview context: Include context artifact reviews in code reviewsValidate regularly: Run context validation checklist before major workCommunicate changes: Notify team when context artifacts change significantlyPreserve history: Use git to track context evolution over timeQuestion staleness: If context feels wrong, investigate and updateKeep it actionable: Every context item should inform a decision or behavior