Chuyển đến nội dung
Skillpedia
Viết lách280k · #190

intent-driven-development

Skill này làm gì

Công cụ này giúp biến những ý tưởng mơ hồ về sản phẩm hoặc thay đổi kỹ thuật thành hướng dẫn rõ ràng và có thể kiểm thử. Nó xác định cần làm gì và cách kiểm tra xem đã làm đúng hay chưa.

Khi nào nên dùng

  • ✓Khi bạn muốn ý tưởng về một tính năng được rõ ràng hơn.
  • ✓Khi bạn muốn định nghĩa cách kiểm thử một thay đổi trước khi triển khai.
  • ✓Khi lên kế hoạch cho các thay đổi quan trọng về bảo mật, dữ liệu hoặc tích hợp.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/affaan-m/ECC/blob/main/pi/core/skills/intent-driven-development/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Biến ý tưởng 'thêm chức năng xuất dữ liệu dashboard ra CSV' thành các tiêu chí nghiệm thu.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ trước tiên phân tích bối cảnh kỹ thuật hiện có. Sau đó, nó xác định mức độ chi tiết cần thiết và đặt ra những câu hỏi tối thiểu để làm rõ yêu cầu, tập trung vào các kết quả có thể quan sát và kiểm thử.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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

…

Câu hỏi thường gặp

'Tiêu chí nghiệm thu' là gì?

Đây là các quy tắc rõ ràng xác định khi nào một tính năng được hoàn thành và hoạt động đúng, giống như một danh sách kiểm tra để đảm bảo mọi thứ đã được làm như mong đợi.

Khi nào KHÔNG nên dùng công cụ này?

Công cụ không dành cho các sửa lỗi đơn giản, gỡ lỗi code, review code, hoặc khi điều kiện kiểm thử đã quá rõ ràng.

Công cụ xử lý các thay đổi rủi ro như thế nào?

Với các thay đổi phức tạp hoặc rủi ro cao (như bảo mật hoặc di chuyển dữ liệu), nó tạo một kế hoạch chi tiết hơn và xin xác nhận của bạn trước khi tiếp tục.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
280k
Vị trí xếp hạng
#190
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự