context-driven-development
БесплатноБез исполняемых скриптовНе проверенTreat project context as a managed artifact alongside code. Use structured context documents (product.md, tech-stack.md, workflow.md) to enable consistent AI…
от lxyeternal★ 68 звёзд на GitHubОб этом скилле
Context-Driven Development
Treat 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.
Installation
OpenClaw / Moltbot / Clawbot
npx clawhub@latest install context-driven-development
WHAT This Skill Does
Creates and maintains a set of context documents that:
- Define what you're building and why (product.md)
- Specify technology choices and constraints (tech-stack.md)
- Establish how the team works (workflow.md)
- Track what's happening (tracks.md)
WHEN to Use
Use for:
- Setting up new projects with AI-assisted development
- Onboarding team members to existing codebases
- Ensuring consistent AI behavior across sessions
- Documenting decisions that affect code generation
- Managing projects with multiple contributors or AI assistants
Skip for:
- Solo experiments or throwaway prototypes
- Single-file scripts
- Projects without AI assistance
Keywords: context, project setup, documentation, AI alignment, team workflow, product vision, tech stack
Core Philosophy
Context precedes code.
Living documentation.
Single source of truth.
AI alignment.
- Context precedes code — Define what you're building and how before implementation
- Living documentation — Context artifacts evolve with the project
- Single source of truth — One canonical location for each type of information
- AI alignment — Consistent context produces consistent AI behavior
The Workflow
Context → Spec & Plan → Implement
- Context Phase: Establish or verify project context artifacts exist and are current
- Specification Phase: Define requirements and acceptance criteria for work units
- Planning Phase: Break specifications into phased, actionable tasks
- Implementation Phase: Execute tasks following established workflow patterns
The Context Documents
product.md — WHAT and WHY
Purpose: Captures product vision, goals, target users, and business context.
Contents:
- Product name and one-line description
- Problem statement and solution approach
- Target user personas
- Core features and capabilities
- Success metrics and KPIs
- Product roadmap (high-level)
Update when:
- Product vision or goals change
- New major features are planned
- Target audience shifts
tech-stack.md — WITH WHAT
Purpose: Documents technology choices, dependencies, and architectural decisions.
Contents:
- Primary languages and frameworks
- Key dependencies with versions
- Infrastructure and deployment targets
- Development tools and environment
- Testing frameworks
- Code quality tools
Update when:
- Adding new dependencies
- Upgrading major versions
- Changing infrastructure
- Adopting new tools or patterns
workflow.md — HOW to Work
Purpose: Establishes development practices, quality gates, and team workflows.
Contents:
- Development methodology (TDD, trunk-based, etc.)
- Git workflow and commit conventions
- Code review requirements
- Testing requirements and coverage targets
- Quality assurance gates
- Deployment procedures
Update when:
- Team practices evolve
- Quality standards change
- New workflow patterns are adopted
tracks.md — WHAT'S HAPPENING
Purpose: Registry of all work units with status and metadata.
Contents:
- Active tracks with current status
- Completed tracks with completion dates
- Track metadata (type, priority, assignee)
- Links to individual track specs
Update when:
- New work starts
- Work status changes
- Work completes
Directory Structure
context/
├── product.md # Product vision and goals
├── tech-stack.md # Technology choices
├── workflow.md # Development practices
├── tracks.md # Work unit registry
└── styleguides/ # Language-specific conventions
├── python.md
├── typescript.md
└── ...
Setup: New Project (Greenfield)
For new projects, create all artifacts from scratch:
Create
context/product.md:- Define the problem you're solving
- Describe target users
- List core features for v1
- Define success metrics
Create
context/tech-stack.md:- Choose languages and frameworks
- Document key dependencies with versions
- Specify infrastructure targets
- List development tools
Create
context/workflow.md:- Define branching strategy
- Set commit conventions
- Establish testing requirements
- Document deployment process
Create
context/tracks.md:- Start with empty registry
- Add work units as they're created
Setup: Existing Project (Brownfield)
For existing codebases, extract context from what exists:
Analyze the codebase:
- Read package.json, requirements.txt, go.mod, etc.
- Look at existing README and docs
- Check git history for patterns
**Cre
Установить context-driven-development в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл context-driven-development?
Treat project context as a managed artifact alongside code. Use structured context documents (product.md, tech-stack.md, workflow.md) to enable consistent AI interactions and team alignment. Essential for projects using AI-assisted development.
Как установить скилл context-driven-development?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл context-driven-development запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic