sw-use-case-coder

Generate code scaffolding from tech-stack.yaml and use-cases.md definitions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Converts high-level use-case descriptions into ready-to-build code scaffolding across multiple stacks by reading requirements/tech-stack.yaml and requirements/use-cases.md, then bootstraps projects in the workspace root.

Core Features & Use Cases

  • Reads tech-stack.yaml and use-cases.md to determine the required code scaffolding
  • Generates an organized requirements/code/<uc-slug>/ folder with starter templates for frontend and backend
  • Supports iterative regeneration to refine and extend generated code without overwriting existing working files

Quick Start

Run /sw-use-case-coder with your selection (e.g. UC-001 or all) to generate scaffolding in requirements/code.

Frequently Asked Questions about sw-use-case-coder

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

FAQPage Schema
How do I generate production-ready code scaffolding from use-case descriptions?

Generate production-ready code scaffolding by providing high-level use-case descriptions in a markdown file alongside a tech-stack configuration, which the system reads to bootstrap starter templates directly into your project workspace.

Can I iteratively regenerate code scaffolding without overwriting existing files?

Iterative regeneration refines existing code scaffolding without deleting valid files, allowing you to extend templates progressively while preserving working code already written in the generated directories.

What is the best way to bootstrap a project across multiple tech stacks?

Bootstrap projects across multiple stacks by defining your requirements in a dedicated YAML configuration file, which maps the selected use cases to organized frontend and backend starter templates.

How do I scaffold frontend and backend code for specific use cases in a monorepo?

Scaffold frontend and backend code for specific use cases in a monorepo by running the generator with a selected use-case identifier, which writes structured starter templates into configured workspace root paths.

Does code scaffolding from use-case definitions support multiple project structures?

Code scaffolding from use-case definitions supports multiple project structures by writing generated files into the workspace root or configured monorepo paths, adapting to your existing layout.

What format do I need to define tech stacks and use cases for project bootstrapping?

Define tech stacks and use cases for project bootstrapping using a YAML file for stack configuration and a markdown file for descriptions, which are parsed to determine the required code scaffolding.