Agent skill
feature-refinement-flow
Run a structured 20-question refinement flow before implementation for feature requests.
Install this agent skill to your Project
npx add-skill https://github.com/rcarmo/piclaw/tree/main/skel/.pi/skills/feature-refinement-flow
SKILL.md
Feature Refinement Flow
Use this skill to turn a feature request into a clear, implementation-ready work item.
When to use
Invoke when a request includes:
- behavior changes,
- new integrations,
- UI/editor workflow changes,
- or non-trivial architectural decisions.
Goal
Turn vague ideas into:
- A concrete user outcome
- A deterministic implementation scope
- A reproducible test plan
Default process
Ask up to 20 questions in sequence, one-at-a-time, unless already answered.
20-question baseline
- What is the problem statement and why does it matter now?
- Who is the primary user and what workflow do they follow today?
- What are the success criteria (observable outcomes)?
- What is the MVP behavior (minimum useful version)?
- What is explicitly out of scope?
- Which files/surfaces are in scope (frontend, backend, extension API, tests)?
- Any required platform constraints (browser support, runtime limits, auth mode)?
- What should happen on error/failure cases?
- What is required for data persistence / storage semantics?
- Which existing pattern should this align with?
- What should be changed first (lowest-risk slice)?
- What should we avoid for v1?
- How should file types, formats, and naming be handled?
- Who/what are the inputs and outputs of this feature?
- What should happen to existing behavior during this change?
- What are the expected performance and startup/load constraints?
- What security / permissions concerns apply?
- What should be exportable / shareable and in which format(s)?
- How will we prove this works (test plan)?
- 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.
Practical tip
Prefer narrow first, iterate later: lock scope by answering 1–10 first, then expand with dependency/testing details only after behavior is clear.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
autoresearch-create
Set up and run an autonomous experiment loop for any optimization target. Gathers what to optimize, then starts the loop immediately. Use when asked to "run autoresearch", "optimize X in a loop", "set up autoresearch for X", or "start experiments".
portainer-container-compare-chart
Compare two containers using native portainer tool data collection and render SVG/CSV outputs.
proxmox-guest-compare-chart
Compare two Proxmox guests using native proxmox tool data collection and render SVG/CSV outputs.
schedule
Schedule a task to run later or on a recurring basis. Prefer the schedule_task tool; fallback to IPC only if needed.
reload
Reinstall piclaw from workspace source and force-restart the running process. Use after making code changes to piclaw.
send-message
Send a message to the chat immediately without waiting for the current task to finish. Useful for acknowledging requests or sending progress updates while working.
Didn't find tool you were looking for?