跳到正文
Skillpedia
技术文档48k · #4251

context-driven-development

它能做什么

这个工具可以帮你整理软件项目的重要信息。它能确保团队每个人都清楚要做什么、为什么做、怎么做,以及使用哪些工具,并让这些信息始终保持最新。

适用场景

  • ✓当你开始一个新的软件项目时。
  • ✓当团队需要了解项目规则和工具时。
  • ✓当你想让项目文档保持持续更新时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/context-driven-development/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/context-driven-development/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我们应该怎样整理项目文档,才能让 AI 更好地理解该做什么?”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具会创建并管理一组文档文件,作为项目指南。这些文件会说明项目目标、使用的工具以及团队的工作方式,确保 AI 遵循同样的规则。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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 development
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • Use the workflow, artifact relationships, and validation checklist below when detailed implementation guidance is required.

Use this skill when

  • Setting up new projects with Conductor
  • Understanding the relationship between context artifacts
  • Maintaining consistency across AI-assisted development sessions
  • Onboarding team members to an existing Conductor project
  • Deciding when to update context documents
  • Managing greenfield vs brownfield project contexts

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

product.md - Defines 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
  • Business priorities evolve

product-guidelines.md - Defines HOW to Communicate

Purpose: Establishes brand voice, messaging standards, and communication patterns.

Contents:

  • Brand voice and tone guidelines
  • Terminology and glossary
  • Error message conventions
  • User-facing copy standards
  • Documentation style

Update when:

  • Brand guidelines change
  • New terminology is introduced
  • Communication patterns need refinement

tech-stack.md - Defines 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 - Defines HOW to Work

Purpose: Establishes development practices, quality gates, and team workflows.

Contents:

  • Development methodology (TDD, 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 - Tracks 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 directories

Update when:

  • New tracks are created
  • Track status changes
  • Tracks are completed or archived

Context 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 needed
  • Completed track → Update product.md to reflect new capabilities
  • Workflow change → Update all affected track plans

…

常见问题

什么是“上下文工件”(context artifacts)?

这些文档用来描述项目,比如整体愿景、技术工具和工作流程。它们是所有人共同遵循的唯一信息来源。

“context precede code”是什么意思?

意思是在编写任何代码之前,先清楚地定义要做什么以及怎么做。这样可以避免混乱,并确保所有人达成一致。

这对 AI 有什么帮助?

提供清晰、一致的上下文后,AI 就能生成更准确、更符合项目目标的结果,而不是靠猜测或套用通用的指令。

详情

作者的原始描述

Guide for implementing and maintaining context as a managed artifact alongside code, enabling consistent AI interactions and team alignment through structured project documentation.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4251
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能