跳到正文
Skillpedia
写作280k · #190

intent-driven-development

它能做什么

这个工具帮助你把关于产品或技术改动的模糊想法,转化为清晰、可测试的指令。它会明确需要做什么,以及如何验证是否做对了。

适用场景

  • ✓想让某个功能构想更清晰时。
  • ✓在动手实现之前,想先定义如何测试某项改动时。
  • ✓规划安全、数据或集成方面的重要改动时。

技能链接

https://github.com/affaan-m/ECC/blob/main/pi/core/skills/intent-driven-development/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“把“为仪表盘数据添加导出为 CSV 的功能”这个想法,整理成验收标准。”

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

工作原理

工具会先分析可用的技术上下文,然后判断所需的详细程度,并提出少量问题来澄清需求,重点关注可观察、可测试的结果。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Intent-Driven Development

Produce useful acceptance criteria without turning specification into ceremony. Inspect available context first, expose genuine ambiguity, and choose verification methods that fit the work and its risk.

When to Activate

  • User asks to clarify a feature, define acceptance criteria, or de-risk a change before implementation
  • Request touches security, authentication, persistent data, migrations, external APIs, or compliance
  • User wants to prepare a handoff artifact for another agent or team
  • Request is ambiguous enough that the expected outcome is not yet observable or testable
  • User explicitly invokes this skill with /intent-driven-development

Do not activate for trivial edits, straightforward one-line fixes, active debugging sessions, code review requests, or implementation requests whose acceptance conditions are already clear.

How It Works

  1. Inspect context first — reads the repository, docs, schemas, and test infrastructure for technical facts before asking any question, while treating product/business constraints as something only the user or a product artifact can supply
  2. Choose depth — selects Quick Capture (3-7 criteria, low/moderate risk) or Full Acceptance Brief (security, data, migration, cross-system changes) based on the risk profile
  3. Ask minimally — only asks questions whose answers cannot be inferred and that materially change scope or behavior
  4. Write observable criteria — each AC-NNN describes a starting condition, trigger, expected outcome, prohibited side effect, verification method, and priority; no vague words like "correctly" or "securely" without evidence
  5. Proceed or hand off — for clear requests with no blocking risks, records criteria and continues; for risky changes, presents blockers and waits for confirmation
  6. Handle revision — if an AC fails mid-implementation due to architectural constraints, marks it [revised], updates scope or verification method, increments the revision number, and re-presents only the changed criteria

Examples

Quick Capture — "Add CSV export to the dashboard"

Goal: Authenticated users can download dashboard data as a CSV file.
In scope: Export of currently filtered rows; filename includes date.
Out of scope: Scheduled exports, email delivery, Excel format.
Assumptions: Max row count is under 10k; no PII in exported fields.

AC-001: Export generates file with correct headers
- Scenario: authenticated user, at least one data row visible
- Action: click "Export CSV"
- Expected: browser downloads file with columns [id, name, created_at]
- Must not: expose internal fields or rows belonging to other users
- Verification: automated integration test + manual schema spot-check
- Priority: Required

Full Acceptance Brief trigger — "Migrate user auth to OAuth"

Auth change + external dependency + existing session data → Full Brief with Risk Review table, blocking decisions on session invalidation strategy, and explicit rollback AC.

Existing spec review — user pastes a PRD

Skill reviews it for missing scope boundaries, unverifiable requirements ("the system shall be fast"), and silent assumptions, then returns corrected or supplemental criteria without restarting discovery.

Operating Rules

  1. Inspect the available repository, documentation, issue, design, and test context before asking for technical facts that can be discovered locally.
  2. Do not infer product or business constraints from code. Business rules, compliance and regulatory obligations, contractual SLAs, pricing, data-retention policy, prioritization, and target users cannot be read from a repository. Treat them as unknown until the user supplies them or an authoritative product artifact (PRD, contract, policy document) states them. Record them as assumptions flagged for confirmation, never as discovered facts. The repository tells you how the system behaves today, not what the business requires it to do.
  3. Ask only questions whose answers are required and cannot be safely inferred. Group short, related questions when that saves unnecessary turns.
  4. Do not block implementation by default. When the user has asked to implement a sufficiently clear change, record key assumptions and acceptance criteria briefly, then proceed or hand them to the implementation workflow.
  5. Require explicit user confirmation before proceeding only when an unresolved decision could

…

常见问题

什么是“验收标准”(acceptance criteria)?

这是一些清晰的规则,用来界定一个功能何时算完成、何时算正确工作。它就像一份检查清单,确保每件事都按预期完成。

什么时候不应该使用这个工具?

简单的修复、代码调试、代码审查,或者测试条件已经非常明显的情况,都不需要使用它。

遇到有风险的改动时会怎样处理?

对于复杂或高风险的改动(比如涉及安全或数据迁移),它会制定更详细的计划,并在继续之前请你确认。

详情

作者的原始描述

Turn ambiguous or high-impact product and engineering changes into scoped, verifiable acceptance criteria before or alongside implementation. Use when a user asks to clarify a feature, define acceptance criteria, de-risk a security/data/migration/integration change, prepare implementation requirements for another agent, or make a complex request testable. Do not trigger for trivial edits, straight

repo: affaan-m/ECC

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能