Agent Skillsrcarmo/piclaw › feature-refinement-flow

feature-refinement-flow

GitHub

通过20个结构化问题将模糊的功能需求转化为可执行的实现工作项,明确用户目标、范围、约束及测试计划,支持Web UI自适应卡片交互。

skel/.pi/skills/feature-refinement-flow/SKILL.md rcarmo/piclaw

Trigger Scenarios

收到包含行为变更或新集成的功能请求 需要澄清UI/编辑器工作流变化 涉及非平凡架构决策的需求

Install

npx skills add rcarmo/piclaw --skill feature-refinement-flow -g -y
More Options

Non-standard path

npx skills add https://github.com/rcarmo/piclaw/tree/main/skel/.pi/skills/feature-refinement-flow -g -y

Use without installing

npx skills use rcarmo/piclaw@feature-refinement-flow

指定 Agent (Claude Code)

npx skills add rcarmo/piclaw --skill feature-refinement-flow -a claude-code -g -y

安装 repo 全部 skill

npx skills add rcarmo/piclaw --all -g -y

预览 repo 内 skill

npx skills add rcarmo/piclaw --list

SKILL.md

Frontmatter
{
    "name": "feature-refinement-flow",
    "description": "Run a structured 20-question refinement flow before implementation for feature requests.",
    "distribution": "public"
}

Feature Refinement Flow

Use this skill to turn a feature request into an implementation-ready work item.

When to use

Use it when a request includes:

  • behavior changes,
  • new integrations,
  • UI/editor workflow changes,
  • or non-trivial architectural decisions.

Outcome

Turn vague ideas into:

  1. A concrete user outcome
  2. A deterministic implementation scope
  3. A reproducible test plan

Default process

Ask up to 20 questions in sequence, one-at-a-time, unless already answered.

20-question baseline

  1. What is the problem statement and why does it matter now?
  2. Who is the primary user and what workflow do they follow today?
  3. What are the success criteria (observable outcomes)?
  4. What is the MVP behavior (minimum useful version)?
  5. What is explicitly out of scope?
  6. Which files/surfaces are in scope (frontend, backend, extension API, tests)?
  7. Any required platform constraints (browser support, runtime limits, auth mode)?
  8. What should happen on error/failure cases?
  9. What is required for data persistence / storage semantics?
  10. Which existing pattern should this align with?
  11. What should be changed first (lowest-risk slice)?
  12. What should we avoid for v1?
  13. How should file types, formats, and naming be handled?
  14. Who/what are the inputs and outputs of this feature?
  15. What should happen to existing behavior during this change?
  16. What are the expected performance and startup/load constraints?
  17. What security / permissions concerns apply?
  18. What should be exportable / shareable and in which format(s)?
  19. How will we prove this works (test plan)?
  20. What is the acceptance/closure condition for “done”?

How to use in work items

  • Add a short “Refinement notes” section in the work item with the 20-question answers.
  • Convert answers into:
    • acceptance criteria,
    • risks,
    • implementation path,
    • test plan,
    • definition of done.
  • Add blockers only where known (uncertain candidate APIs, policy issues, missing assets).

Preference persistence

Keep answers in a feature-scoped notes/work-item file or notes/preferences/feature-refinement.md if the process becomes reusable.

Web UI / Adaptive Card note

When the user is in the PiClaw web UI, you may use a compact Adaptive Card for refinement questions when it is clearer than markdown — especially for:

  • single-choice follow-up questions
  • short structured confirmations
  • approval / pick-one-next-step decisions

Rules:

  • still ask one question at a time unless the user has already answered later items
  • prefer markdown if it is clearer or less heavy-weight
  • use the current adaptive-cards-authoring skill/runtime constraints
  • keep cards compact, with concise fallback text and supported actions only
  • do not turn the whole 20-question flow into a giant form; cards are for selective structured steps, not bulk interrogation

Start narrow

Answer questions 1–10 first to lock scope. Then add dependency and test details once the behaviour is clear.

Version History

  • 5fa0ce5 Current 2026-07-25 10:25

Same Skill Collection

runtime/skills/builtin/reload/SKILL.md
runtime/skills/builtin/remote-peer/SKILL.md
runtime/skills/builtin/schedule/SKILL.md
runtime/skills/builtin/script-discovery-annotation/SKILL.md
runtime/skills/builtin/send-message/SKILL.md
runtime/skills/integrations/playwright/SKILL.md
runtime/skills/operator/graphite-power-chart/SKILL.md
runtime/skills/operator/token-chart/SKILL.md
skel/.pi/skills/adaptive-cards-authoring/SKILL.md
skel/.pi/skills/bootstrap-container/SKILL.md
skel/.pi/skills/debug/SKILL.md
skel/.pi/skills/export-timeline-pdf/SKILL.md
skel/.pi/skills/extension-design/SKILL.md
skel/.pi/skills/extension-troubleshoot/SKILL.md
skel/.pi/skills/feed-digest/SKILL.md
skel/.pi/skills/graph-design/SKILL.md
skel/.pi/skills/graphite-power-chart/SKILL.md
skel/.pi/skills/kanban-management/SKILL.md
skel/.pi/skills/mcp-adapter/SKILL.md
skel/.pi/skills/playwright/SKILL.md
skel/.pi/skills/reload/SKILL.md
skel/.pi/skills/remote-peer/SKILL.md
skel/.pi/skills/schedule/SKILL.md
skel/.pi/skills/script-discovery-annotation/SKILL.md
skel/.pi/skills/send-message/SKILL.md
skel/.pi/skills/setup/SKILL.md
skel/.pi/skills/situate-daily-notes/SKILL.md
skel/.pi/skills/technical-docs/SKILL.md
skel/.pi/skills/timeline-cleanup/SKILL.md
skel/.pi/skills/token-chart/SKILL.md
skel/.pi/skills/twitter-summary/SKILL.md
skel/.pi/skills/web-search-summary/SKILL.md
skel/.pi/skills/web-search/SKILL.md

Metadata

Files
0
Version
ae927fb
Hash
5a14385e
Indexed
2026-07-25 10:25

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 11:16
浙ICP备14020137号-1 $Гость$