openup-create-use-case

Create a use case specification from template

6 stars

Best use case

openup-create-use-case is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Create a use case specification from template

Teams using openup-create-use-case should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/openup-create-use-case/SKILL.md --create-dirs "https://raw.githubusercontent.com/GermanDZ/open-up-for-ai-agents/main/docs-eng-process/.claude-templates/skills/openup-create-use-case/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/openup-create-use-case/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How openup-create-use-case Compares

Feature / Agentopenup-create-use-caseStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Create a use case specification from template

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Create Use Case

This skill creates a use case specification from the OpenUP template.

## When to Use

Use this skill when:
- Need to document user interactions with the system
- In Inception or Elaboration phase defining requirements
- Capturing functional requirements from user perspective
- Need to specify preconditions, flows, and postconditions
- Creating test scenarios from requirements

## When NOT to Use

Do NOT use this skill when:
- Need non-functional requirements (use architecture notebook)
- Looking for technical specifications (use design documents)
- Documenting internal system behavior (use technical design)
- Use case already exists (update existing file)

## Success Criteria

After using this skill, verify:
- [ ] Use case file exists in `docs/use-cases/`
- [ ] Use case name and primary actor are defined
- [ ] Basic flow is documented
- [ ] Alternative flows are identified
- [ ] Pre/postconditions are specified

## Process

### Load Project Config (context + rules — do this first)

Before drafting, layer in project-owned context and rules so the artifact reflects
facts and standards the framework can't infer. Full mechanism + precedence:
`docs-eng-process/project-config.md`.

1. If `docs/project-config.yaml` exists, read it. If it is **absent, skip this
   step** — framework defaults apply unchanged.
2. Inject `context:` into your working prompt wrapped in
   `<project-context>…</project-context>`, and `rules.<TYPE>` (if present) wrapped
   in `<project-rules>…</project-rules>`. For this skill `<TYPE>` is **`use-case`**.
3. Project rules are **additive** to the framework rubric — precedence is
   **framework rubric → project rules → task-spec safeguards**. A project rule may
   add a criterion but may **not** waive a framework rubric criterion or a safeguard.
4. Before marking this artifact complete, confirm every injected `<project-rules>`
   item is satisfied alongside the framework rubric.

### 1. Create Use Cases Directory

Ensure `docs/use-cases/` directory exists.

### 2. Generate Filename

Create filename from use case name: `docs/use-cases/<use-case-name>.md`

### 3. Copy Template

Copy `docs-eng-process/templates/use-case-specification.md` to the new file.

### 4. Fill in Use Case

Update the use case specification with:
- **Use case name**: `$ARGUMENTS[use_case_name]`
- **Primary actor**: `$ARGUMENTS[primary_actor]`
- **Description**: `$ARGUMENTS[description]`
- **Preconditions**: What must be true before starting
- **Basic flow**: Step-by-step main interaction
- **Alternative flows**: Alternative paths and edge cases
- **Postconditions**: What is true after completion

### 5. Validate Completeness

Ensure the use case includes:
- Clear name and description
- Identified actors
- Basic flow of events
- Key alternative flows
- Pre/postconditions

## Output

Returns:
- Path to created use case file
- Use case ID (for tracking)
- Sections filled in

## Common Errors

| Error | Cause | Solution |
|-------|-------|----------|
| Template not found | Template path incorrect | Verify `docs-eng-process/templates/use-case-specification.md` exists |
| Invalid filename | Use case name has invalid characters | Sanitize filename, replace spaces with dashes |
| Missing actors | Actors not identified | Identify primary and secondary actors from vision/requirements |

## References

- Use Case Template: `docs-eng-process/templates/use-case-specification.md`
- Use Case Work Product: `docs-eng-process/openup-knowledge-base/core/common/workproducts/use_case.md`

## See Also

- [openup-create-vision](../create-vision/SKILL.md) - Define project vision first
- [openup-detail-use-case](../detail-use-case/SKILL.md) - Transform high-level use case into detailed scenarios
- [openup-create-test-plan](../create-test-plan/SKILL.md) - Generate tests from use cases
- [openup-elaboration](../../openup-phases/elaboration/SKILL.md) - Elaboration phase use case detail

Related Skills

openup-transition

6
from GermanDZ/open-up-for-ai-agents

Initialize and manage Transition phase activities - deploy to users

openup-tdd-workflow

6
from GermanDZ/open-up-for-ai-agents

Guide Test-Driven Development cycle adapted for AI agents with a pragmatic approach

openup-sync-spec

6
from GermanDZ/open-up-for-ai-agents

Back-propagate pure refactors to stale artifacts; classify the diff, refuse behaviour-changes, propose targeted edits for approval (read-only by default)

openup-start-iteration

6
from GermanDZ/open-up-for-ai-agents

Begin a new OpenUP iteration with proper phase context and task selection

openup-shared-vision

6
from GermanDZ/open-up-for-ai-agents

Create shared technical vision for team alignment

openup-retrospective

6
from GermanDZ/open-up-for-ai-agents

Generate iteration retrospective with feedback and action items

openup-request-input

6
from GermanDZ/open-up-for-ai-agents

Create an input request document for asynchronous stakeholder communication

openup-readiness

6
from GermanDZ/open-up-for-ai-agents

Compute the change-folder dependency DAG and print READY/BLOCKED/collision report for PM intake

openup-quick-task

6
from GermanDZ/open-up-for-ai-agents

Fast iteration mode for small changes - simplified workflow with minimal overhead

openup-plan-feature

6
from GermanDZ/open-up-for-ai-agents

Generate iteration plan and roadmap entry for a feature idea

openup-phase-review

6
from GermanDZ/open-up-for-ai-agents

Check phase completion criteria and prepare for phase review

openup-orchestrate

6
from GermanDZ/open-up-for-ai-agents

Run a full orchestrated iteration — PM decomposes the goal, delegates to specialist roles, collects outputs, and synthesizes results