AI Unified Process - stack-agnostic core methodology (requirements, entity model, use cases)
95
95%
Does it follow best practices?
Impact
—
Average score across 12 eval scenarios
High
Do not use without reviewing
Create or update use case specification documents for $ARGUMENTS in docs/use_cases/. Each use case describes a complete interaction between an actor and the system to achieve a goal.
One file per use case, written to docs/use_cases/UC-XXX-<kebab-case-name>.md where:
UC-XXX is the use case's three-digit ID (e.g. UC-001).<kebab-case-name> is the use case name taken verbatim from the use case
diagram (docs/use_cases.puml), lowercased with spaces replaced by hyphens.
Do not paraphrase, expand, or reorder the words.| Use case name in diagram | Correct filename |
|---|---|
Register Account | docs/use_cases/UC-001-register-account.md |
Log In | docs/use_cases/UC-002-log-in.md |
Place Order | docs/use_cases/UC-001-place-order.md |
UC-XXX IDs come from the diagram and never repeat.BR-XXX business-rule IDs are unique within their own file only and
restart at BR-001 in every file — the use case is the namespace. When
referring to a rule of another use case, qualify it with the use case id
(e.g. "UC-005 BR-002"), never by the bare rule id.Use references/use-case.md as the document structure, and see references/example.md for a complete worked example — actor-focused steps, alternative flows that reference specific step numbers, and paired success/failure postconditions.
The normative definition of the format — including the German variant and the tolerances of the AI Unified Process Studio structured editor — is references/format-spec.md. A machine check of both the structure and the rules of this skill is bundled as scripts/validate_use_case.py.
| Status | Description |
|---|---|
| Draft | Initial version, still being written. |
| Reviewed | Complete, awaiting stakeholder review. |
| Approved | Reviewed and approved for implementation. |
| Implemented | Implementation complete, pending testing. |
| Tested | All tests pass, pending final acceptance. |
| Done | Fully implemented, tested, and accepted. |
| Obsolete | No longer valid, superseded by another use case. |
| Do | Don't |
|---|---|
| "User clicks Save button" | "User triggers onClick handler" |
| "System validates the email format" | "System runs regex /^[\w]+@[\w]+$/" |
| "System displays error message" | "System throws ValidationException" |
| "User enters check-in date" | "User populates dateField component" |
| "System stores the reservation" | "System executes INSERT INTO reservations..." |
| "System records the new account" | "System runs INSERT INTO users / SELECT ..." |
| "System sends a confirmation email" | "System opens an SMTP connection to sendmail" |
| "System securely stores the password" | "System hashes the password with bcrypt/SHA + salt" |
| "System signs the user in" | "System issues a JWT / signs a token with expiry" |
Steps describe what the actor and system achieve, never how it is implemented. Keep out protocol and infrastructure terms (SMTP, JWT, bcrypt, hashing, SQL/INSERT/SELECT, HTTP verbs, class and exception names) — those belong in the implementation, not the specification.
Read the docs/requirements.md and docs/use_cases.puml.
Determine the set of use cases to document (one, several, or all in the
diagram — see "Scope" above). Take each UC-XXX ID and name from the diagram.
Use TodoWrite to track progress — one item per use case file.
For each use case, derive the filename with the rule in "File naming" above.
Write the Overview section: Use Case ID, primary actor, goal, and a Status
from the "Status values" list above.
Define preconditions — verifiable facts that must be true before the use case starts.
Write the Main Success Scenario as numbered steps (start at 1, no gaps), alternating actor action and system response, ending with the goal achieved.
Identify all meaningful alternative flows (error conditions, optional paths, exceptional situations) — most real use cases have two or more. Each one must:
(step N) (e.g. Payment is declined (step 7)); andUse case continues at step N. or Use case ends.Define postconditions for both success and failure (both subsections non-empty).
Document applicable business rules with BR-XXX IDs, numbered BR-001,
BR-002, … within the file. Every file starts again at BR-001; rule ids are
scoped to their use case (see "Scope").
Write each use case to its own file completely before moving to the next — never merge two use cases into one file, and never leave a planned file unwritten.
Run the Completeness Checklist below; fix anything that fails.
Final verification (do this before declaring done): list the contents of
docs/use_cases/ and confirm every UC-XXX from your scope has exactly one
file present, named UC-XXX-<kebab-case-name>.md (kebab-case of the diagram
name — e.g. Log In → UC-002-log-in.md, never UC-002-login.md). Rename any
mismatch. Then run the bundled validator over every file you wrote (the script
path is relative to this skill's directory):
python3 scripts/validate_use_case.py --strict docs/use_cases/UC-*.mdFix every reported problem and re-run until it exits cleanly. Errors mean the
Studio structured editor cannot read the file; warnings mean a rule of this
skill is violated — e.g. an implementation-level term (SMTP, JWT, token,
bcrypt, hash, SQL, …) in a step, which must be rewritten at the business
level: a registration or login use case says "System verifies the credentials"
/ "System confirms the account" — never how the password or session is handled.
Mark todo complete.
The validator in step 13 checks all of these mechanically — run it rather than verifying by eye. The list remains the definition of done:
UC-XXX-<kebab-case-name>.md using the name from the diagram, and documents exactly one use case.Use Case ID (UC-XXX), primary actor, goal, and a valid Status value.(step N).Use case continues at step N. or Use case ends. — never open-ended.BR-XXX ID, numbered BR-001, BR-002, … without gaps within its file; every file starts at BR-001 (rule ids are scoped to their use case)..tessl-plugin
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10
scenario-11
scenario-12
skills