Agent SkillsPaca-AI/paca › paca-clarify

paca-clarify

GitHub

用于澄清模糊或不完整的Paca任务或规范。通过识别歧义、提出针对性问题并重构描述以包含明确的验收标准,提升任务定义的清晰度与可测试性。

services/ai-agent/src/skills/paca-clarify/SKILL.md Paca-AI/paca

Trigger Scenarios

任务描述不清或缺少边缘情况 缺乏可测试的完成条件 需要改进或完善规格说明

Install

npx skills add Paca-AI/paca --skill paca-clarify -g -y
More Options

Non-standard path

npx skills add https://github.com/Paca-AI/paca/tree/master/services/ai-agent/src/skills/paca-clarify -g -y

Use without installing

npx skills use Paca-AI/paca@paca-clarify

指定 Agent (Claude Code)

npx skills add Paca-AI/paca --skill paca-clarify -a claude-code -g -y

安装 repo 全部 skill

npx skills add Paca-AI/paca --all -g -y

预览 repo 内 skill

npx skills add Paca-AI/paca --list

SKILL.md

Frontmatter
{
    "name": "paca-clarify",
    "triggers": [
        "\/paca-clarify"
    ],
    "description": "Clarify a vague or incomplete Paca task or specification by identifying ambiguities, asking targeted questions, and rewriting the description with explicit acceptance criteria. Use when a task is unclear, missing edge cases, lacks a testable done condition, or when someone asks to improve or flesh out a spec."
}

You are clarifying a task or specification in Paca. Use Paca MCP tools throughout — never create local files.

If no task is specified, call list_tasks and surface tasks that have no acceptance criteria or have a very short description — those are the best candidates for clarification. Present them and ask which to work on.


Step 1 — Load project context

  1. Resolve the target from the user's message:
    • #42 or ABC-42get_task_by_number
    • Paca task URL → parse the task ID → get_task
    • Doc title / keyword / path → list_docsread_doc
    • If the task or document is not found, tell the user clearly ("Task #99 was not found in project X") and ask them to verify the reference.
  2. Call list_docs and read documents that provide context for this task — requirements, architecture, BDD scenarios, prior decisions. Reading broadly here means you won't ask questions the docs already answer.
  3. If it's a task, call list_task_activities to read prior comments, decisions, and any clarifications already given.

Step 2 — Identify ambiguities

Read the task description or document carefully and find:

  • Scope gaps — what is in vs. out is not stated
  • Missing edge cases — error states, empty states, permission boundaries, concurrency
  • Undefined terms — domain words that could mean different things in this codebase
  • Unstated assumptions — things the author assumed but did not write down
  • Acceptance criteria gaps — no measurable, testable "done" condition

Only surface real ambiguities. Skip things that are clearly inferable from context or docs you just read.

Step 3 — Ask clarifying questions

Present a numbered list of at most 6 questions, grouped by theme (scope / edge cases / definitions). Err on the side of fewer, better questions over many shallow ones.

Post these where the requester will actually see them, not just in this conversation — for a task, that's add_task_comment with an @username mention, which sends a real notification. For a document with no linked task, add_doc_comment exists but @mentions there do NOT notify anyone — the person only sees it if they reopen the doc; if the doc is linked to a task, ask there instead. Wait for the user's answers — typically a reply that mentions you back — before writing anything.

Example format:

**Scope**
1. Should this cover X, or is X a separate initiative?
2. Does this apply to guest users, or only authenticated users?

**Edge cases**
3. What should happen when Y is empty?

**Acceptance criteria**
4. What does "success" look like — a UI state, an API response, something else?

Step 4 — Update the spec in Paca

Once the user answers:

  • Task: call update_task with an improved description including explicit acceptance criteria. Don't just append — rewrite the description so it stands alone without this conversation.
  • Document: call write_doc with the resolved content and any new decisions recorded as a "Decisions" section.

Do not create a new document — update the existing one.

Report back: what was clarified and the task/doc number and title that was updated.


Tool reference

Tasks: get_task · get_task_by_number · update_task · list_tasks Comments: add_task_comment · list_task_activities · add_doc_comment · list_doc_activities Documents: read_doc · write_doc · list_docs Projects: list_projects

Version History

  • acf4909 Current 2026-07-19 18:24

Same Skill Collection

services/ai-agent/src/skills/paca-breakdown/SKILL.md
services/ai-agent/src/skills/paca-do/SKILL.md
services/ai-agent/src/skills/paca-doc/SKILL.md
services/ai-agent/src/skills/paca-epic/SKILL.md
services/ai-agent/src/skills/paca-estimate/SKILL.md
services/ai-agent/src/skills/paca-prioritize/SKILL.md
services/ai-agent/src/skills/paca-sprint/SKILL.md
services/ai-agent/src/skills/paca-test/SKILL.md
services/ai-agent/src/skills/paca-workflow/SKILL.md
skills/paca-breakdown/SKILL.md
skills/paca-clarify/SKILL.md
skills/paca-do/SKILL.md
skills/paca-doc/SKILL.md
skills/paca-epic/SKILL.md
skills/paca-estimate/SKILL.md
skills/paca-prioritize/SKILL.md
skills/paca-setup/SKILL.md
skills/paca-sprint/SKILL.md
skills/paca-test/SKILL.md
skills/paca-workflow/SKILL.md
skills/paca/SKILL.md

Metadata

Files
0
Version
acf4909
Hash
e0dce885
Indexed
2026-07-19 18:24

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-21 20:03
浙ICP备14020137号-1 $お客様$