/pica-business-analyst:writing-use-cases [the process or the TO-BE model]from pica-business-analyst
Writes structured use cases with actors, preconditions, main/alternate flows, and postconditions. Groups them into features for client sign-off and SOW carving.
Ships in pica-business-analyst. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This is where scope stops being a boundary and becomes a list. Phase 1 could only say which areas; the feature scope says which features, and features are groups of use cases.
Works best with: the TO-BE process model and the business rules. Also useful: the roles and permissions, which decide who the actor can be.
1. One goal, one actor, one outcome. A use case that serves two actors is two use cases. The test: could these be built in different sprints by different people?
2. Write the preconditions as state, not as narrative. "The payment is in pending and
the approver is not the submitter" is checkable. "The payment is ready" is not.
3. Number the main flow, and make every step an action by somebody. If a step has no actor, it is a system behaviour and belongs to the systems analyst.
4. Write the alternate flows, and name what triggers each. These are where the screens nobody designed come from. An alternate flow with no trigger is a note.
5. Write the postcondition. What is true afterwards that was not true before. If nothing changed, the use case did not do anything.
6. Group into features, then cut into releases. A feature is a set of use cases a client would recognise as one thing. The release cut is the PM's call, but it can only happen once this grouping exists.
7. Give everything an ID and never reuse one. UC-07 stays UC-07 even if it is dropped.
The SOW will reference these, and a reused ID makes two contracts mean different things.
Every use case traces up to a pain point and down to at least one screen. Every alternate flow names its trigger. Every feature names the use cases inside it.
Use cases that are really features. "Manage users" is four use cases wearing one name.
No alternate flows. Then the build invents them, at the quality of whoever hits them.
Reusing an ID after dropping a requirement. Sequential and never reused — this is what makes the carve into SOWs possible.
node <pica>/roles/business-analyst/scripts/trace-check.mjs .pica/state.json
node <pica>/roles/business-analyst/scripts/requirements-check.mjs .pica/state.json
both return zero findings.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 skills in this plugin
npx claudepluginhub vqdungwork/pica --plugin pica-business-analystOther plugins' skills for the same job