
Context Driven Development
Bootstrap Conductor-style context artifacts—product.md and tech-stack.md—from copy-paste templates so agents and humans share one project truth before building.
Install
npx skills add https://github.com/wshobson/agents --skill context-driven-developmentWhat is this skill?
- Starter product.md template with problem, solution, personas, feature table, metrics, and phased roadmap
- Starter tech-stack.md template for languages, dependencies, infrastructure, CI/CD, and dev tools
- Conductor context artifact pattern for new projects (community contribution #437)
- Markdown tables for features, metrics, and stack rows ready for agent-filled drafts
Adoption & trust: 7.2k installs on skills.sh; 36.5k GitHub stars; 3/3 security scanners passed (skills.sh audits).
Recommended Skills
Journey fit
Validate is the canonical shelf because templates force problem, users, features, and stack choices while scope is still being nailed down. Scope subphase fits structured product definition, roadmap phases, and stack decisions before heavy implementation.
Common Questions / FAQ
Is Context Driven Development safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Context Driven Development
# Artifact Templates Starter templates for each Conductor context artifact. Copy and fill in for new projects. > Contributed by [@fernandezbaptiste](https://github.com/fernandezbaptiste) ([#437](https://github.com/wshobson/agents/pull/437)) ## product.md ```markdown # [Product Name] > One-line description of what this product does. ## Problem What problem does this solve and for whom? ## Solution High-level approach to solving the problem. ## Target Users | Persona | Needs | Pain Points | |---|---|---| | Persona 1 | What they need | What frustrates them | ## Core Features | Feature | Status | Description | |---|---|---| | Feature A | planned | What it does | | Feature B | implemented | What it does | ## Success Metrics | Metric | Target | Current | |---|---|---| | Metric 1 | target value | - | ## Roadmap - **Phase 1**: scope - **Phase 2**: scope ``` ## tech-stack.md ```markdown # Tech Stack ## Languages & Frameworks | Technology | Version | Purpose | |---|---|---| | Python | 3.12 | Backend API | | React | 18.x | Frontend UI | ## Key Dependencies | Package | Version | Rationale | |---|---|---| | FastAPI | 0.100+ | REST API framework | | SQLAlchemy | 2.x | ORM and database access | ## Infrastructure | Component | Choice | Notes | |---|---|---| | Hosting | AWS ECS | Production containers | | Database | PostgreSQL 16 | Primary data store | | CI/CD | GitHub Actions | Build and deploy | ## Dev Tools | Tool | Purpose | Config | |---|---|---| | pytest | Testing (target: 80% coverage) | pyproject.toml | | ruff | Linting + formatting | ruff.toml | ``` ## workflow.md ```markdown # Workflow ## Methodology TDD with trunk-based development. ## Git Conventions - **Branch naming**: `feature/<track-id>-description` - **Commit format**: `type(scope): message` - **PR requirements**: 1 approval, all checks green ## Quality Gates | Gate | Requirement | |---|---| | Tests | All pass, coverage >= 80% | | Lint | Zero errors | | Review | At least 1 approval | | Types | No type errors | ## Deployment 1. PR merged to main 2. CI runs tests + build 3. Auto-deploy to staging 4. Manual promotion to production ``` ## tracks.md ```markdown # Tracks ## Active | ID | Title | Status | Priority | Assignee | |---|---|---|---|---| | TRACK-001 | Feature name | in-progress | high | @person | ## Completed | ID | Title | Completed | |---|---|---| | TRACK-000 | Initial setup | 2024-01-15 | ``` ## product-guidelines.md ```markdown # Product Guidelines ## Voice & Tone - Professional but approachable - Direct and concise - Technical where needed, plain language by default ## Terminology | Term | Use | Don't Use | |---|---|---| | workspace | preferred | project, repo | | track | preferred | ticket, issue | ## Error Messages Format: `[Component] What happened. What to do next.` Example: `[Auth] Session expired. Please sign in again.` ``` # context-driven-development — detailed patterns and worked examples ## Core 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: 1. **Context precedes code**: Define what you're building and how before implementation 2. **Living documentation**: Context artifacts evolve with the project 3. **Single source of truth**: One canonical location for each type of information 4. **AI alignment**: Consistent context produces consistent AI behavior ## The Workflow Follow the **Context → Spec & Plan → Implement** workflow: 1. **Context Phase**: Establish or verify project context artifacts exist and are current 2. **Specification Phase**: Define requirements and acceptance criteria for work units 3. **Planning Phase**: Break specifications into phased, actionable tasks 4. **Implementation Phase**: Execute tasks following established workflow patterns ## Artifact Relationships