Creates detailed use case specification documents with actors, preconditions, main success scenarios, alternative flows, postconditions, and business rules.

Apache-2.0Auto-check passedProduct & Project Management

Install Use Case Spec

skills CLI
$ npx skills add AI-Unified-Process/marketplace --skill use-case-spec -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install AI-Unified-Process/marketplace use-case-spec --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/AI-Unified-Process/marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/aiup-core/skills/use-case-spec .claude/skills/use-case-spec && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
use-case-spec
GitHub stars
142
Token cost
~4.8k tokens
SKILL.md length
2,579 words
Files
7 (incl. scripts, references)
Skills in repo
14
Repo updated
First seen
Licence
Apache-2.0

At a glance

Creates detailed use case specification documents with actors, preconditions, main success scenarios, alternative flows, postconditions, and business rules.

  • Works in 12 steps: Read the docs/requirements.md and… → Determine the set of use cases to… → Clarify before writing. Scan the sources… → …
  • The user asks to write a use case
  • SKILL.md covers Instructions, File naming (do this exactly), Scope: one or many use cases and DO NOT, plus 5 more sections
  • Runs Python scripts from its folder

What it does

Use Case Spec is an agent skill from AI-Unified-Process/marketplace. Creates detailed use case specification documents with actors, preconditions, main success scenarios, alternative flows, postconditions, and business rules. Use when the user asks to "write a use case", "specify a use case", "document system behavior", "define scenarios", "write a functional spec", or mentions use case specification, acceptance criteria, or user scenarios. Also trigger whenever the task is to write use case specification documents for the use cases in a use case diagram (e.g. docs/usecases.puml)…

Its SKILL.md is about 4.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including scripts and reference files (for example `references/clarify-checklist.md`, `references/example.md` and `references/format-spec.md`).

It sits in Product & Project Management, covering User stories. The licence is Apache-2.0.

When your agent uses it

  • The user asks to write a use case
  • Specify a use case
  • Document system behavior
  • Define scenarios

Example prompts

  • “write a use case”
  • “specify a use case”
  • “document system behavior”
  • “/use-case-spec”

Requirements

  • Python 3

Workflow steps

12 steps, taken from the first numbered list in SKILL.md.

  1. Read the docs/requirements.md and docs/use_cases.puml, and docs/glossary.md when it exists. Use the
  2. Determine the set of use cases to document (one, several, or all in the
  3. Clarify before writing. Scan the sources for each use case with
  4. Use TodoWrite to track progress — one item per use case file.
  5. For each use case, derive the filename with the rule in "File naming" above.
  6. Write the Overview section: Use Case ID, primary actor, secondary actors, goal, trigger, and a
  7. Define preconditions — verifiable facts that must be true before the use case starts. They are
  8. Write the Main Success Scenario as numbered steps (start at 1, no gaps),
  9. Analyze every Main Success Scenario step for meaningful alternative or exception
  10. Define postconditions for both success and failure (both subsections non-empty).
  11. Document applicable business rules with BR-XXX IDs, numbered BR-001,
  12. Write each use case to its own file completely before moving to the next —

What it can do on your machine

Read from SKILL.md and the folder at commit d25bf91. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • unifiedprocess.ai

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Use Case Spec loads about 4.8k tokens when it runs, and up to ~9.8k if it reads all its reference files. Until then it costs about 189 tokens; SKILL.md has 2,579 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~189
When it runs · the whole SKILL.md, loaded when a task matches
~4.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~9.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from AI-Unified-Process/marketplace at commit d25bf91, republished under its Apache-2.0 licence (© AI-Unified-Process). 2,579 words, ~4,762 tokens.

Download SKILL.mdSave it as .claude/skills/use-case-spec/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
use-case-spec
description
Creates detailed use case specification documents with actors, preconditions, main success scenarios, alternative flows, postconditions, and business rules. Use when the user asks to "write a use case", "specify a use case", "document system behavior", "define scenarios", "write a functional spec", or mentions use case specification, acceptance criteria, or user scenarios. Also trigger whenever the task is to write use case specification documents for the use cases in a use case diagram (e.g. docs/use_cases.puml) — including phrasings like "detailed use case specifications before writing any code", "one file per use case", or a request to cover the happy path, alternative flows, postconditions, and business rules for each use case.
<!--
Copyright 2025-2026 Simon Martinelli and the AI Unified Process contributors.
Part of the AI Unified Process — https://unifiedprocess.ai
Licensed under the Apache License, Version 2.0. See LICENSE and NOTICE.
-->

Use Case Specification

Instructions

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.

File naming (do this exactly)

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 diagramCorrect filename
Register Accountdocs/use_cases/UC-001-register-account.md
Check In Guestdocs/use_cases/UC-002-check-in-guest.md
Place Orderdocs/use_cases/UC-001-place-order.md

Scope: one or many use cases

  • If the task names a single use case (e.g. "write UC-001 Place Order"), produce only that one file. Do not create specs for other use cases in the diagram.
  • If the task asks for "all use cases" or names several, produce one file per use case:
    • 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.

DO NOT

  • Write vague or incomplete scenarios
  • Skip numbering steps in the Main Success Scenario
  • Omit alternative flows for error conditions
  • Invent an alternative flow only to fill the section — when no step has a meaningful alternative or exception condition, say so with a placeholder (see workflow step 9)
  • Leave postconditions undefined
  • Describe the reaction to a failure ("System displays an error message") as a failure postcondition — that is a step of the alternative flow; failure postconditions are guarantees that hold on every unsuccessful end
  • Write a technical step (validate, load, persist) as if it were a user goal — see workflow step 2
  • Write an event or an actor action as a precondition ("User clicks New Order") — that is the trigger
  • Write a precondition that the use case establishes or evaluates itself ("A room is available for the requested dates" when the dates are entered in step 4 and availability is checked in step 5) — that is a step and an alternative flow
  • Mix multiple use cases in one document
  • Use technical implementation details in the flow steps

Template

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 success postconditions paired with failure postconditions written as minimum guarantees. These paths are relative to the folder containing this SKILL.md, not to the project root.

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 values

StatusDescription
DraftInitial version, still being written.
ReviewedComplete, awaiting stakeholder review.
ApprovedReviewed and approved for implementation.
ImplementedImplementation complete, pending testing.
TestedAll tests pass, pending final acceptance.
DoneFully implemented, tested, and accepted.
ObsoleteNo longer valid, superseded by another use case.

Step writing guidelines

DoDon't
"User saves the reservation""User clicks the blue Save button"
"User confirms the order""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.

Workflow

  1. Read the docs/requirements.md and docs/use_cases.puml, and docs/glossary.md when it exists. Use the glossary's terms for actors, business objects, and states, and never a synonym listed in its Avoid column; a new domain term the use case needs goes into the glossary (see /requirements).

  2. 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. Before writing, ask of each one: is this use case a complete goal that the primary actor would recognize as valuable? A subfunction ("Validate METAR", "Load NOTAM", "Persist Result") is a step of a larger user goal ("Determine Airport Suitability"), and a summary ("Manage Flight Operations") spans several. A scenario that hands the work over to another role, waits for an outside event or a deadline, or runs branches in parallel for different actors is a summary, too: its parts are separate user goals, and the flow between them is a business process in BPMN (docs/processes/, written by /business-process), not a section of the use case. Do not rename, merge, or split use cases yourself — the ids belong to the diagram. Write the specification, then tell the user which use case looks like a subfunction or a summary, name the user goal it belongs to, and hand off to /use-case-diagram. A subfunction that the diagram draws as an <<include>> shared by several use cases is intended; leave it.

  3. Clarify before writing. Scan the sources for each use case with references/clarify-checklist.md and ask the user the questions whose answer changes the specification and has no reasonable default — at most five per use case, the most important first, each with a recommended option. Write the answers into the steps, flows, and rules they affect, never into a questions section. Decide everything else with the best default and report it as an assumption (step 16). When no one can answer — a pipeline run, a host without a way to ask, or the user said not to ask — take the recommended option for every question and report it as an assumption as well. Never ask about implementation choices; they do not belong in a use case.

  4. Use TodoWrite to track progress — one item per use case file.

  5. For each use case, derive the filename with the rule in "File naming" above.

  6. Write the Overview section: Use Case ID, primary actor, secondary actors, goal, trigger, and a Status from the "Status values" list above. The primary actors are the roles that pursue the goal. A use case often has one, but it may have several: list them comma-separated (**Primary Actor:** Front Desk Clerk, Guest) when each of them can start the use case on its own and pursues the same goal through the same main success scenario — never joined with "or" or "and", and never "System". When two roles pursue different goals or need different scenarios, they are two use cases. Name concrete roles from the requirements and the glossary rather than a generic "User" when the requirements distinguish roles. Secondary actors are the roles and external systems that support the use case or provide information or services to it (e.g. **Secondary Actors:** Weather Service, Flight Planning System). Name them so an implementation treats them as outside the system's responsibility, not as something to build. Omit the **Secondary Actors:** line when the use case has none. The **Trigger:** line (German documents: **Auslösendes Ereignis:**, never **Auslöser:**, which labels alternative flows) names the event that starts the use case: an actor's request (Dispatcher requests an airport suitability assessment), a point in time (End of each business day), or a message from an external system (Payment Service reports a chargeback). It happens at a moment; a precondition is a state that is already true. Test it by asking "when does this happen?" — User is logged in has no moment and is a precondition. The trigger may coincide with step 1, but step 1 does not repeat it word for word. When docs/requirements.md exists, add a **Requirements:** line after the Status line: one Markdown link to the catalog whose link text lists the requirement ids — at least the functional requirements (FR-*) this use case realizes, plus the non-functional requirements (NFR-*) and constraints (C-*) it must respect, e.g. **Requirements:** [FR-001, NFR-004, C-003](../requirements.md). List ids only, never copy requirement text — requirements.md stays the source of truth. /spec-review uses the line to find requirements no use case covers and ids that do not exist. Omit the line only when there is no docs/requirements.md.

  7. Define preconditions — verifiable facts that must be true before the use case starts. They are states the system has already established (often by another use case), never events or actor actions, and the use case does not check them again. A precondition must not describe a condition that is established or evaluated during the use case: when the fact depends on input the actor gives in a step ("a room is available for the requested dates"), when a step checks it, or when an alternative flow handles its violation, it is not a precondition but a condition to handle in the Main Success Scenario and its alternative flow. Keep the stable state it rests on instead (Room inventory is configured).

  8. Write the Main Success Scenario as numbered steps (start at 1, no gaps), alternating actor action and system response, ending with the goal achieved.

  9. Analyze every Main Success Scenario step for meaningful alternative or exception conditions — can the actor decide differently, can the input be invalid, can a check fail, can an external system refuse or not answer? Document every extension you identify (error conditions, optional paths, exceptional situations); most real use cases have two or more. Each one must:

    • name a Trigger that references a specific main-scenario step number, written as (step N) (e.g. Payment is declined (step 7)); and
    • end with either Use case continues at step N. or Use case ends.

    Do not invent an alternative flow solely to satisfy the template. When the analysis finds no meaningful alternative, replace the template flow with an italic placeholder that states the result, e.g. _None — no step of the main success scenario can fail or branch._ The validator accepts the placeholder as a deliberate statement and warns only when the section is left empty.

  10. Define postconditions for both success and failure (both subsections non-empty).

Show full SKILL.md (844 more words)Show less
  • Success Postconditions state what is true when the primary actor's goal is achieved.
  • Failure Postconditions describe the minimum guarantees that must hold for every unsuccessful termination of the use case — every alternative flow that ends with Use case ends., a cancellation, or a failure of a secondary actor. They state what the system protects when the goal is not reached (Cockburn's Minimal Guarantees), not what it does in reaction to the failure: "No reservation is created", "Existing valid data is not overwritten", "An incomplete result is never presented as valid", "No partial payment remains booked". A message, a notification, or a return to a screen is not a guarantee — it belongs in the alternative flow that handles the failure. A statement that holds for only one failure path belongs in that flow, not here.
  1. 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").

  2. 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.

  3. Run the Completeness Checklist below; fix anything that fails.

  4. 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. Check In Guest → UC-002-check-in-guest.md, never UC-002-checkin-guest.md). Rename any mismatch. Then run the bundled validator over every file you wrote (the script path is relative to this skill's directory):

    bash
    python3 scripts/validate_use_case.py --strict docs/use_cases/UC-*.md

    Fix 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 use case says "System records the new account" / "System confirms the account" — never how the password is stored or the session is created.

  5. Mark todo complete.

  6. Quality gate — hand off, do not self-review. The validator checks structure; it cannot judge whether a use case is a user goal, whether its actors are right, whether the scenario reaches the goal, whether every failing step has a flow, or whether rules and postconditions are testable. That semantic review is /spec-review. Tell the user which files you wrote, list what step 3 clarified, assumed, and left open (the report format is in the clarification checklist), and offer /spec-review UC-XXX for each of them (or /spec-review for the whole project after writing all use cases) before a use case moves to Reviewed. Do not run it yourself and do not restate its checklist here — one review, in one place.

Completeness Checklist

The validator in step 14 checks all of these mechanically — run it rather than verifying by eye. The list remains the definition of done:

  • Each file is named UC-XXX-<kebab-case-name>.md using the name from the diagram, and documents exactly one use case.
  • Overview has a Use Case ID (UC-XXX), one or more primary actors (comma-separated), goal, and a valid Status value, plus a **Secondary Actors:** line when supporting roles or external systems take part.
  • Overview has a **Trigger:** line naming the event that starts the use case (an actor's request, a point in time, or an external system's message) — not a state, and not a copy of a precondition.
  • Preconditions are states that are already true, not events or actor actions, and none is established or evaluated during the use case (no step checks it, no alternative flow handles it).
  • When docs/requirements.md exists, Overview has a **Requirements:** line linking to it with at least one FR-* id, and every listed FR-*, NFR-*, C-* id exists in the catalog (/spec-review checks this one, not the validator).
  • The Main Success Scenario starts at step 1, has no gaps, and its final step states the goal being achieved.
  • Every Main Success Scenario step was analyzed for alternative and exception conditions, and every meaningful one is an alternative flow (usually two or more); when there is none, the section holds an italic _None — …_ placeholder instead of an invented flow.
  • Each alternative flow has a Trigger that references a specific main-scenario step number as (step N).
  • Every alternative flow ends with Use case continues at step N. or Use case ends. — never open-ended.
  • Both Success and Failure postconditions are defined and non-empty.
  • Every failure postcondition is a minimum guarantee that holds for every unsuccessful end of the use case — not a system reaction such as an error message, and not an outcome of a single failure path (/spec-review judges this one, not the validator).
  • Each business rule has a 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).
  • No step contains technical implementation detail — no HTTP verbs (POST/GET), SQL, class names, regex, exception names, or protocol terms (SMTP, JWT, bcrypt). See "Step writing guidelines" above.

© AI-Unified-Process, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (scripts, references) in aiup-core/skills/use-case-spec of AI-Unified-Process/marketplace.

  • SKILL.md
  • references/clarify-checklist.md
  • references/example.md
  • references/format-spec.md
  • references/use-case.md
  • scripts/__pycache__/validate_use_case.cpython-314.pyc
  • scripts/validate_use_case.py

Open the folder on GitHubat commit d25bf91

Compare with similar skills

Use Case Spec next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Use Case Spec compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Use Case Spec this skillAI-Unified-Process/marketplace142—~4.8kAutomated safety check: PassApache-2.0
User Story Writerdeanpeters/Product-Manager-Skills7.2k2 repos~2.9kAutomated safety check: PassCustom licence
Ralph Tui Create Beadssubsy/ralph-tui2.5k1 repos~2.6kAutomated safety check: PassMIT
Agile Product Owneralirezarezvani/claude-skills28k3 repos~3.2kAutomated safety check: PassMIT
Ralph Tui Create Beads Rustsubsy/ralph-tui2.5k1 repos~2.8kAutomated safety check: PassMIT
To Specbestofjs/bestofjs3.1k21 repos~757Automated safety check: PassMIT

Similar skills

  • User Story Writer

    deanpeters/Product-Manager-Skills

    Writes user stories in Mike Cohn's format with Gherkin acceptance criteria, turning user needs into development-ready work with testable conditions.

    7.2k GitHub starsUsed in 2 repos~2.9k tokens
    Product & Project ManagementAuto-check passed
  • Ralph Tui Create Beads

    subsy/ralph-tui

    Convert PRDs to beads for ralph-tui execution. An agent skill from subsy/ralph-tui.

    2.5k GitHub starsUsed in 1 repo~2.6k tokens
    Product & Project ManagementAuto-check passed
  • Agile Product Owner

    alirezarezvani/claude-skills

    Writes INVEST-checked user stories with acceptance criteria, splits epics, plans sprints from velocity and ranks the backlog with a weighted score.

    28k GitHub starsUsed in 3 repos~3.2k tokens
    Product & Project ManagementAuto-check passed
  • Convert PRDs to beads for ralph-tui execution using beads-rust (br CLI).

    2.5k GitHub starsUsed in 1 repo~2.8k tokens
    Product & Project ManagementAuto-check passed
  • To Spec

    bestofjs/bestofjs

    Turn the current conversation into a spec and publish it to the project issue tracker — no interview, just synthesis of what you've already discussed.

    3.1k GitHub starsUsed in 21 repos~757 tokens
    Product & Project ManagementAuto-check passed
  • Ralph Tui Create JSON

    subsy/ralph-tui

    Convert PRDs to prd.json format for ralph-tui execution. An agent skill from subsy/ralph-tui.

    2.5k GitHub starsUsed in 1 repo~2.6k tokens
    Product & Project ManagementAuto-check passed

More from AI-Unified-Process/marketplace

All 14 skills in this repo
  • Spec Review

    AI-Unified-Process/marketplace

    Reviews the specification artifacts in docs/ (requirements, use case diagram, use case specifications, test cases, BPMN process models, entity model, glossary) against each other in two parts: a…

    142 GitHub stars~2.9k tokensUpdated 4 days ago
    Auto-check passed
  • Business Process

    AI-Unified-Process/marketplace

    Creates or updates BPMN 2.0 business process models (docs/processes/BP-XXX-.bpmn) from the requirements catalog and the use case diagram: one pool per process, one lane per actor, every activity one…

    142 GitHub stars~3.8k tokensUpdated 4 days ago
    Auto-check: warnings
  • Test Case

    AI-Unified-Process/marketplace

    Creates end-to-end test case documents (TC-.md) that chain several use cases into one user journey with a step-by-step Flow table, concrete test data, and final validations.

    142 GitHub stars~3.8k tokensUpdated 4 days ago
    Auto-check: warnings
  • Entity Model

    AI-Unified-Process/marketplace

    Creates entity model documents with Mermaid.js ER diagrams and attribute tables defining entities, relationships, data types, and validation rules.

    142 GitHub stars~1.9k tokensUpdated 4 days ago
    Auto-check passed
  • Browserless Test

    AI-Unified-Process/marketplace

    Creates Vaadin Browserless server-side unit tests for Vaadin views covering navigation, component interactions, form validation, grid operations, and notifications.

    142 GitHub stars~4.8k tokensUpdated 4 days ago
    Auto-check: warnings
  • Hilla Test

    AI-Unified-Process/marketplace

    Creates tests for Hilla use cases on both sides of the browser boundary: Vitest + React Testing Library tests for the React/TypeScript view (with the generated endpoint clients mocked) and Spring…

    142 GitHub stars~3.9k tokensUpdated 4 days ago
    Auto-check: warnings

Questions about Use Case Spec

What does Use Case Spec do?

Creates detailed use case specification documents with actors, preconditions, main success scenarios, alternative flows, postconditions, and business rules. Use Case Spec is an agent skill from AI-Unified-Process/marketplace. Creates detailed use case specification documents with actors, preconditions, main success scenarios, alternative flows, postconditions, and business rules.

When should I use Use Case Spec?

Use Case Spec fits situations like: the user asks to write a use case; specify a use case; document system behavior; define scenarios.

How do I install Use Case Spec in Claude Code?

Run `npx skills add AI-Unified-Process/marketplace --skill use-case-spec -a claude-code`. Or copy the skill folder (aiup-core/skills/use-case-spec in AI-Unified-Process/marketplace) into .claude/skills/use-case-spec in your project. Claude Code loads it when a task matches its description.

How do I install Use Case Spec in Codex?

Run `npx skills add AI-Unified-Process/marketplace --skill use-case-spec -a codex`. Or copy the skill folder (aiup-core/skills/use-case-spec in AI-Unified-Process/marketplace) into .agents/skills/use-case-spec in your project. Codex loads it when a task matches its description.

Can I use Use Case Spec in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AI-Unified-Process/marketplace --skill use-case-spec -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/use-case-spec, .gemini/skills/use-case-spec, .github/skills/use-case-spec and .opencode/skills/use-case-spec in your project.

What does Use Case Spec need to run?

Going by SKILL.md and its folder, Use Case Spec needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Use Case Spec access the network?

SKILL.md names 1 domain. As links in the text: unifiedprocess.ai. This is read from the text; nothing was executed.

Is Use Case Spec safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Use Case Spec use?

Use Case Spec is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Use Case Spec use?

About 4.8k tokens (SKILL.md is roughly 19k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5k tokens, read only when the agent opens those files.

What are the alternatives to Use Case Spec?

Skills that share tags, products or a category with Use Case Spec: User Story Writer (deanpeters/Product-Manager-Skills, 7.2k stars), Ralph Tui Create Beads (subsy/ralph-tui, 2.5k stars), Agile Product Owner (alirezarezvani/claude-skills, 28k stars) and Ralph Tui Create Beads Rust (subsy/ralph-tui, 2.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Use Case Spec?

AI-Unified-Process (a GitHub organization) maintains it in AI-Unified-Process/marketplace, which has 142 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 5, 2026.

Source: AI-Unified-Process/marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.