Feature refinement flow

From rcarmo/piclaw · View interactive version

Feature refinement flow is an AI agent skill from the GitHub repository rcarmo/piclaw. Run a structured 20-question refinement flow before implementation for feature requests.

How to use this skill

Skill file

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:

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

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 / A2UI form note

In a Classic web thread with send_a2ui available, use a small A2UI Express form when controls make the question easier to answer — especially for:

Rules:

Start narrow

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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.