
Use Case Specification
Creates a reusable use case specification file that defines the business problem...
Install
npx skills add awslabs/agent-plugins --skill use-case-specification -g -a claude-code -y- Repository
- awslabs/agent-plugins933
- Category
- AI and agents
- Updated
- 20d ago
- License
- Apache-2.0
- Context cost
- Lightabout 883 tokens
- Runs scripts
- No, instructions only
What it does
Creates a reusable use case specification file that defines the business problem, stakeholders, and measurable success criteria for model customization, as recommended by the AWS Responsible AI Lens. Use as the default first step in any model customization plan. Skip only if the user explicitly declines or already has a use case specification to reuse. Captures problem statement, primary users, and LLM-as-a-Judge success tenets.
Use Case Specification
Multi-turn conversation to gather use case details and produce a use case specification document.
Principles
- One thing at a time. Each response advances exactly one decision or collects one piece of information.
- Confirm before proceeding. Wait for the user to approve the spec before considering this skill complete.
- Infer, don't interrogate. Use what's already known from the conversation. Only ask when you truly can't infer.
- Do NOT ask about base model selection. Model selection is handled exclusively by the model-selection skill.
Workflow
Step 0: Check for Existing Spec
Before starting discovery, check if a *_use_case_spec.md file already exists in the project. If it does, present it to the user and ask whether they want to reuse it, modify it, or start fresh.
Phase 1: Discovery (1, 3 turns)
Review what is already known from the conversation so far, then identify what is still missing. You need these three things:
- What is the problem the user is trying to solve with model customization
- Who will use the finetuned model and in what context
- Which success criteria can be used to evaluate how well the custom model performs compared to the base model on a test set. Success criteria must be measurable by an LLM-as-a-Judge (e.g., response accuracy, tone adherence), not things like latency or throughput.
Guidelines:
- Infer as much as possible from what the user has already said
- If the user gave examples, use them to fill gaps rather than asking again
- Only ask clarifying questions when you cannot infer the information needed for Phase 2
- If everything is already clear, say "You've given me a clear picture. I'll put together a use case specification now." and move to Phase 2.
⏸ Wait for user after each clarifying question.

