speckit-clarify
Skill này làm gì
Skill này rà soát bản đặc tả tính năng, tìm những phần còn mơ hồ và đặt một số câu hỏi cụ thể. Skill dành cho người lên kế hoạch tính năng phần mềm theo phương pháp Spec Kit.
Khi nào nên dùng
- ✓Khi bản đặc tả tính năng còn mơ hồ và bạn muốn AI tìm ra những gì đang thiếu.
- ✓Khi bạn sắp lập kế hoạch cho một tính năng và cần trả lời các câu hỏi mở quan trọng trước.
- ✓Khi bạn muốn câu trả lời được lưu thẳng vào tài liệu đặc tả.
Liên kết skill
https://github.com/unoplatform/uno/blob/master/.claude/skills/speckit-clarify/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy đọc bản đặc tả tính năng của tôi, hỏi tôi những câu chưa rõ quan trọng nhất và lưu câu trả lời vào tài liệu.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill rà soát bản đặc tả, hỏi tối đa năm câu hỏi trọng tâm và thêm câu trả lời của bạn vào đặc tả. Nhờ vậy tài liệu rõ ràng trước khi bắt đầu lập kế hoạch.
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.
User Input
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty).
Pre-Execution Checks
Check for extension hooks (before clarification):
- Check if
.specify/extensions.ymlexists in the project root. - If it exists, read it and look for entries under the
hooks.before_clarifykey - If the YAML cannot be parsed or is invalid, skip hook checking silently and continue normally
- Filter out hooks where
enabledis explicitlyfalse. Treat hooks without anenabledfield as enabled by default. - For each remaining hook, do not attempt to interpret or evaluate hook
conditionexpressions:- If the hook has no
conditionfield, or it is null/empty, treat the hook as executable - If the hook defines a non-empty
condition, skip the hook and leave condition evaluation to the HookExecutor implementation
- If the hook has no
- When constructing slash commands from hook command names, replace dots (
.) with hyphens (-). For example,speckit.git.commit→/speckit-git-commit. - For each executable hook, output the following based on its
optionalflag:- Optional hook (
optional: true):## Extension Hooks **Optional Pre-Hook**: {extension} Command: `/{command}` Description: {description} Prompt: {prompt} To execute: `/{command}` - Mandatory hook (
optional: false):## Extension Hooks **Automatic Pre-Hook**: {extension} Executing: `/{command}` EXECUTE_COMMAND: {command} Wait for the result of the hook command before proceeding to the Outline.
- Optional hook (
- If no hooks are registered or
.specify/extensions.ymldoes not exist, skip silently
Outline
Goal: Detect and reduce ambiguity or missing decision points in the active feature specification and record the clarifications directly in the spec file.
Note: This clarification workflow is expected to run (and be completed) BEFORE invoking /speckit.plan. If the user explicitly states they are skipping clarification (e.g., exploratory spike), you may proceed, but must warn that downstream rework risk increases.
Execution steps:
Run
.specify/scripts/powershell/check-prerequisites.ps1 -Json -PathsOnlyfrom repo root once (combined--json --paths-onlymode /-Json -PathsOnly). Parse minimal JSON payload fields:FEATURE_DIRFEATURE_SPEC- (Optionally capture
IMPL_PLAN,TASKSfor future chained flows.) - If JSON parsing fails, abort and instruct user to re-run
/speckit.specifyor verify feature branch environment. - For single quotes in args like "I'm Groot", use escape syntax: e.g 'I'''m Groot' (or double-quote if possible: "I'm Groot").
Load the current spec file. Perform a structured ambiguity & coverage scan using this taxonomy. For each category, mark status: Clear / Partial / Missing. Produce an internal coverage map used for prioritization (do not output raw map unless no questions will be asked).
Functional Scope & Behavior:
- Core user goals & success criteria
- Explicit out-of-scope declarations
- User roles / personas differentiation
Domain & Data Model:
- Entities, attributes, relationships
- Identity & uniqueness rules
- Lifecycle/state transitions
- Data volume / scale assumptions
Interaction & UX Flow:
- Critical user journeys / sequences
- Error/empty/loading states
- Accessibility or localization notes
Non-Functional Quality Attributes:
- Performance (latency, throughput targets)
- Scalability (horizontal/vertical, limits)
- Reliability & availability (uptime, recovery expectations)
- Observability (logging, metrics, tracing signals)
- Security & privacy (authN/Z, data protection, threat assumptions)
- Compliance / regulatory constraints (if any)
Integration & External Dependencies:
- External services/APIs and failure modes
- Data import/export formats
- Protocol/versioning assumptions
Edge Cases & Failure Handling:
- Negative scenarios
- Rate limiting / throttling
- Conflict resolution (e.g., concurrent edits)
Constraints & Tradeoffs:
- Technical constraints (language, storage, hosting)
- Explicit tradeoffs or rejected alternatives
Terminology & Consistency:
- Canonical glossary terms
- Avoided synonyms / deprecated terms
Completion Signals:
- Acceptance criteria testability
- Measurable Definition of Done style indicators
Misc / Placeholders:
- TODO marke
Câu hỏi thường gặp
Skill sẽ hỏi tối đa bao nhiêu câu?
Skill hỏi nhiều nhất năm câu, được chọn để hữu ích nhất cho đặc tả.
Câu trả lời của tôi được ghi ở đâu?
Câu trả lời được ghi lại vào tài liệu đặc tả tính năng.
Nên dùng skill này khi nào?
Dùng sau khi đã soạn xong đặc tả và trước khi bắt đầu lập kế hoạch.
Chi tiết
Mô tả gốc của tác giả
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
repo: unoplatform/uno
Độ phổ biến
- Sao GitHub
- 10k
- Vị trí xếp hạng
- #11997
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
speckit-analyze
10kKiểm tra spec tính năng, kế hoạch và danh sách tác vụ có khớp với nhau không và chỉ ra các chỗ thiếu, mà không thay đổi file nào.
speckit-checklist
10kGiúp agent của bạn tạo checklist kiểm tra xem yêu cầu của một tính năng có rõ ràng, đầy đủ và nhất quán trước khi bắt đầu làm.
speckit-constitution
10kGiúp agent của bạn viết hoặc cập nhật hiến pháp dự án, gồm các nguyên tắc định hướng ngắn, và giữ các mẫu kế hoạch liên quan nhất quán.
speckit-git-commit
10kGiúp agent của bạn tự động lưu các thay đổi hiện tại lên Git sau mỗi bước Spec Kit, theo cài đặt commit trong file cấu hình của dự án.
Skill tương tự
knowledge-capture
394kDạy agent của bạn lưu các quyết định, sở thích và sự kiện quan trọng vào kho Knowledge dưới dạng ghi chú ngắn có ghi nguồn.
knowledge-claim-consolidation
394kGiúp agent của bạn dọn gọn kho Knowledge bằng cách gộp các khẳng định trùng lặp, chuyển chúng đến đúng trang chủ đề và loại bỏ những cái lỗi thời.
knowledge-correct
394kCho phép agent của bạn sửa hoặc rút lại một khẳng định hoặc trang Knowledge cụ thể theo yêu cầu của bạn, và giữ nhật ký những gì đã thay đổi.