All skills
wshobson avatar

/context-driven-development

@be57c0b
by Seth Hobsonwshobson/agents40k stars
4,281

Creates and maintains project context artifacts (product.md, tech-stack.md, workflow.md, tracks.md) in a `conductor/` directory. Scaffolds new projects from scratch, extracts context from existing codebases, validates artifact consistency before implementation, and synchronizes documents as the project evolves. Use when setting up a project, creating or updating product docs, managing a tech stack file, defining development workflows, tracking work units, onboarding to an existing codebase, or running project scaffolding.

Use this Skill: https://skilld.dev/gh/wshobson/agents/context-driven-development

This session only. Nothing lands on disk.

referencesartifact-templates.md

≈723 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Artifact Templates

Starter templates for each Conductor context artifact. Copy and fill in for new projects.

Contributed by @fernandezbaptiste (#437)

product.md

# [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

# 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

# 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

# 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

# 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.`

Source: SKILL.md on GitHub

No alerts2d5 checks · Risk SAFE
  • Gen Agent Trust Hub2d

    This skill provides a framework for project documentation and management through structured markdown files. It contains no executable scripts or malicious code. However, it presents a low-risk surface for indirect prompt injection because it instructs the agent to read and prioritize information from user-managed text files that could potentially contain untrusted instructions.

  • Socket2d

    No alerts

  • Snyk2d

    Risk: LOW · No issues

  • Runlayer7mo

    2 files scanned · No issues

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at be57c0b. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 days ago.

Activeupdated 4 months ago
version
1.0.0
  • Documentation
  • context
  • project-setup
  • onboarding
  • artifacts
  • scaffolding
  • workflow
  • knowledge-management

README badge

README badge for wshobson/agents/context-driven-development

Creates and maintains project context artifacts (product.md, tech-stack.md, workflow.md, tracks.md) in a conductor/ directory to enable consistent AI interactions and team alignment. Use when scaffolding projects, extracting context from existing codebases, validating artifact consistency, or onboarding to a codebase.

Generated from the current SKILL.md.

What files does this skill create and maintain?
The skill creates and manages four context artifacts in a `conductor/` directory: product.md (product vision and goals), tech-stack.md (technology decisions), workflow.md (development process), and tracks.md (work units and tracking). These are stored alongside code and updated as the project evolves.
Can I use this skill to extract context from an existing codebase?
Yes. The skill can analyze existing codebases and extract context to populate the conductor artifacts, not just scaffold new projects from scratch.
Does this skill validate that context artifacts are consistent with each other?
Yes. The skill includes validation logic to check artifact consistency before implementation work begins, helping catch conflicts across product, tech, workflow, and tracking documents.
How does this skill help during AI-assisted development?
By maintaining structured context artifacts, the skill enables consistent AI interactions across multiple sessions and helps align team members on project direction, tech choices, and workflows without repeating setup work.
Does this work for both new projects and existing codebases?
Yes. The skill handles greenfield projects (scaffolding from scratch) and brownfield projects (extracting and structuring context from existing code).

Generated from the current SKILL.md. These answers refresh after source changes.