sw-use-case-creator

Generate use-case documents from user stories or vision descriptions.

3|1|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/chfle/lehnert-claude-skills --skill sw-use-case-creator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sw-use-case-creator
Source: https://github.com/chfle/lehnert-claude-skills/tree/main/skills/sw-use-case-creator
Command: npx skills add https://github.com/chfle/lehnert-claude-skills --skill sw-use-case-creator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Drafting comprehensive use-case documents from scattered requirements is time-consuming and error-prone. This skill automates the transformation of user stories or vision notes into a cohesive set of use cases, ensuring consistency and traceability across requirements.

Core Features & Use Cases

  • Reads from requirements/user-stories.md (primary) or requirements/vision.md (fallback) and derives structured use cases.
  • Generates a complete requirements/use-cases.md with actors, preconditions, postconditions, main flows, alternative flows, exceptions, and acceptance criteria.
  • Operates silently and respects language detection to reply in the user's language.

Quick Start

Provide a user story or vision document or run the /sw-use-case-creator command to generate the use cases.

Frequently Asked Questions about sw-use-case-creator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate use cases from user stories automatically?

To generate use cases from user stories automatically, provide a user story or vision document and the tool derives 5–10 structured use cases, writing them to requirements/use-cases.md with actors, preconditions, main flows, and exceptions.

What is the best way to turn a vision document into structured requirements?

The best way to turn a vision document into structured requirements is using an automated use-case creator that reads requirements/vision.md as a fallback, extracting actors, postconditions, alternative flows, and acceptance criteria into a cohesive document.

How to write use cases with alternative flows and acceptance criteria from epics?

Writing use cases with alternative flows and acceptance criteria from epics involves parsing the epic descriptions to identify actors and main flows, then systematically documenting exceptions and deriving specific acceptance criteria for each generated use case.

Can I use user-stories.md to create complete use-case documents?

Yes, you can use requirements/user-stories.md to create complete use-case documents; the tool reads it as the primary input source, preserves links to original user stories, and outputs a comprehensive use-cases.md file.

Does the generated use-case document support multiple languages?

Yes, the generated use-case document supports multiple languages by detecting the user's input language and writing all derived actors, preconditions, main flows, and acceptance criteria in that target language.

What are the limitations of automating use-case generation from user stories?

A limitation of automating use-case generation is that it requires a pre-existing user-stories.md or vision.md file as input, and the output is limited to deriving 5–10 use cases, which may not cover highly complex or niche project scopes.