generate-realization
БесплатноБез исполняемых скриптовНе проверенGenerate behavioral specifications (Layer 3) from use cases and architecture documents using multi-agent orchestration
от jmagly★ 233 звезды на GitHubОб этом скилле
Generate Use Case Realization
You are the Core Orchestrator for use case realization generation — producing the behavioral specification layer (Layer 3) that bridges use cases (Layer 2) to implementation.
Your Role
You orchestrate multi-agent workflows. You do NOT execute bash scripts.
When the user requests this flow (via natural language or explicit command):
- Interpret the request and confirm understanding
- Read this template as your orchestration guide
- Identify target use case(s) — single or batch
- Delegate agents with the current provider-native orchestration mechanism in the correct sequence
- Synthesize results and finalize artifacts
- Update traceability and report completion
Natural Language Triggers
Users may say:
- "Generate realization for UC-001"
- "Create behavioral spec for UC-042"
- "Realize UC-007"
- "Generate all use case realizations"
- "Create the Layer 3 specs"
- "Realize all use cases"
- "Build the behavioral specifications"
- "Generate realizations for all architecturally significant use cases"
- "Create sequence diagrams for UC-NNN"
- "Add DES-UCR for UC-NNN"
You recognize these as requests for this orchestration flow.
Parameters
UC-NNN (positional, required unless --all)
The use case ID to generate a realization for: UC-001
The orchestrator reads the use case document from .aiwg/requirements/UC-NNN.md (or any .aiwg/requirements/UC-NNN*.md match).
--all (optional)
Batch generate realizations for all use cases found in .aiwg/requirements/UC-*.md that do not already have a corresponding realization in .aiwg/requirements/realizations/.
When --all is set:
- Glob all
UC-*.mdfiles in.aiwg/requirements/ - Skip any UC that already has a
DES-UCR-NNN.mdin.aiwg/requirements/realizations/ - Process remaining use cases sequentially to control context budget
- Report a completion table at the end
--guidance (optional)
Purpose: User provides upfront direction to tailor the realization approach.
Examples:
--guidance "Focus on security flows — this system handles PII"
--guidance "Emphasize async patterns, we use event-driven architecture"
--guidance "Be thorough on error paths — this is a payment flow"
--guidance "Include state machine specs for all stateful entities"
How to Apply:
- Pass guidance verbatim to all agent prompts as additional context
- Guidance influences: depth of error path coverage, security emphasis, diagram density
- Guidance does not override completeness criteria
--interactive (optional)
Purpose: Ask clarifying questions before generating to tailor output.
Questions to Ask (if --interactive):
I'll ask a few questions to tailor the realization:
Q1: What is the primary architectural concern for this use case?
(e.g., security, performance, reliability, data consistency)
Q2: Are there known integration points or external systems involved?
(Help me include the right participants in sequence diagrams)
Q3: Should I generate supplementary specs if I find stateful entities
or complex branching? (State machine specs, decision tables)
Q4: Are there existing ADRs that constrain this realization?
(e.g., "we use event sourcing", "REST only, no gRPC")
Q5: Who will review this realization?
(Helps me calibrate depth and formality)
Multi-Agent Orchestration Workflow
Pattern
Architecture Designer (primary author)
↓ draft DES-UCR-NNN.md
Parallel Reviewers (single message, all at once):
├── Security Architect → auth/authz gap analysis
├── Test Architect → testability + test scenario extraction
└── Domain Expert → business logic accuracy
↓ all reviews complete
Documentation Synthesizer
↓ merges feedback → final DES-UCR-NNN.md
Archive → .aiwg/requirements/realizations/
Critical: Launch all three parallel reviewers in a single message with multiple Task calls.
Step 1: Initialize
Your Actions:
- Parse parameters — determine UC-NNN or --all batch mode
- Read the target use case(s):
Glob: .aiwg/requirements/UC-NNN*.md Read: matched file(s) - Read architecture inputs:
Read: .aiwg/architecture/software-architecture-doc.md Glob: .aiwg/architecture/adr/*.md Read: matched ADR files - Check for existing realizations (skip if present):
Glob: .aiwg/requirements/realizations/DES-UCR-NNN.md - Ensure output directory exists:
.aiwg/requirements/realizations/
Communicate Progress:
✓ Use case loaded: UC-NNN — {title}
✓ Architecture document loaded
✓ ADRs loaded: {count} decisions
⏳ Starting realization generation...
Step 2: Primary Author — Architecture Designer
Purpose: Create the initial use case realization draft with sequence diagrams and component mapping.
Task(
subagent_type="architecture-designer",
description="Create use cas
Установить generate-realization в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл generate-realization?
Generate behavioral specifications (Layer 3) from use cases and architecture documents using multi-agent orchestration
Как установить скилл generate-realization?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл generate-realization запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic