Master backend architectures, REST API design, microservices, and server-side development across multiple languages. Use this as a central index to access specialized sub-skills.
日本語の概要は準備中です。原文の説明を表示しています。
5W1H Decision Framework Tool. Use for: (1) Systematic decision-making before creating todos, (2) Preventing duplicate implementation, (3) Detecting avoidance behavior, (4) Ensuring agile refactor compliance with executor/dispatcher separation
インストールする前に、エージェントに与えられる指示の中身を確認できます。
| Principle | Description | Validation |
|---|---|---|
| Systematic Thinking | Every decision requires 5W1H analysis | All 6 questions answered |
| No Duplication | Check existing implementation first | Who analysis complete |
| No Avoidance | Reject escape language | Why validation passed |
| Agile Compliance | Executor/Dispatcher separation | How task type matched |
| TDD Integration | Test-first strategy required | How includes TDD steps |
| File | Purpose |
|---|---|
.claude/output-styles/5w1h-format.md | System-level format enforcement |
.claude/methodologies/5w1h-self-awareness-methodology.md | Complete methodology |
.claude/methodologies/agile-refactor-methodology.md | Agent collaboration rules |
.claude/methodologies/claude-self-check-methodology.md | Avoidance language detection |
CLAUDE.md | Project development guidelines |
Format (Agile Refactor Compliant):
Who: {Executor Agent} (executor) | {Dispatcher} (dispatcher)
Valid Patterns:
| Scenario | Who Format |
|---|---|
| Agent implements code | parsley-flutter-developer (executor) | rosemary-project-manager (dispatcher) |
| Main thread dispatches | rosemary-project-manager (self-execute - dispatch/review) |
| Documentation agent | thyme-documentation-integrator (executor) | rosemary-project-manager (dispatcher) |
Checks:
Single Responsibility Verification:
What: [Function Name]
- Description: [One sentence description]
- Input: [Explicit input types]
- Output: [Explicit output types]
- Exception: [Error handling]
Checks:
Event-Driven Format:
When: [Event Name]
- Trigger: [User action / System event]
- Event: [EventName]
- Side Effects: [List all side effects]
- Integration: [Event system integration point]
Checks:
Architecture Layer Format:
Where: [Layer] / [Component]
- Architecture: [Domain/Application/Infrastructure/Presentation]
- Component: [Specific class or module]
- UseCase: [UseCase call chain]
- Call Path: UI -> UseCase -> Domain -> Service
Checks:
Requirement Traceability Format:
Why: [Requirement Reference]
- Requirement ID: [UC-XXX]
- Business Value: [User benefit]
- User Scenario: [Specific use case]
- Document: [docs/app-requirements-spec.md#UC-XXX]
Avoidance Language Detection (BLOCKED):
| Category | Blocked Phrases |
|---|---|
| Quality Compromise | "too complex", "workaround", "temporary fix", "quick fix" |
| Simplification | "simpler approach", "easier way", "simplify" |
| Problem Ignoring | "ignore for now", "skip for now", "deal with later" |
| Test Compromise | "simplify test", "lower test standard", "basic test only" |
| Code Escape | "comment out", "disable", "temporarily disable" |
Checks:
Task Type Format (Required):
How: [Task Type: {TYPE}] {Strategy Description}
Task Types and Valid Executors:
| Task Type | Valid Executor | Description |
|---|---|---|
Implementation | Agent (parsley, sage, etc.) | Code implementation |
Dispatch | Main Thread (rosemary) | Task assignment |
Review | Main Thread (rosemary) | Acceptance check |
Documentation | thyme / rosemary | Document updates |
Analysis | lavender / rosemary | Problem analysis |
Planning | rosemary / lavender | Strategy planning |
Violation Detection:
| Who Executor | How Task Type | Result |
|---|---|---|
| rosemary-project-manager | Implementation | BLOCKED |
| parsley-flutter-developer | Dispatch | BLOCKED |
| Any agent | Implementation | ALLOWED |
| rosemary-project-manager | Dispatch/Review | ALLOWED |
Checks:
5W1H-{YYYYMMDD}-{HHMMSS}-{random}
Who: {agent} (executor) | rosemary-project-manager (dispatcher)
- Domain: {Responsible class/module}
- Existing: {Search result for duplicates}
What: {Function Name}
- Description: {One sentence}
- Input: {Types}
- Output: {Types}
When: {Event Trigger}
- Trigger: {User action / System event}
- Side Effects: {List}
Where: {Layer / Component}
- Architecture: {Clean Architecture layer}
- UseCase: {Call chain}
Why: {Requirement}
- Requirement ID: {UC-XXX}
- Business Value: {User benefit}
How: [Task Type: {TYPE}] {Strategy}
1. Write failing test
2. Implement to pass test
3. Refactor
4. Integration verification
// VIOLATION
Who: parsley-flutter-developer
- Implement ISBN validation
// FIX
Who: parsley-flutter-developer (executor) | rosemary-project-manager (dispatcher)
- Domain: BookValidator in Book Aggregate
- Existing: Searched, no duplicate found
// VIOLATION
How: TDD implementation strategy
1. Write test
2. Implement
// FIX
How: [Task Type: Implementation] TDD implementation strategy
1. Write failing test for ISBN validation
2. Implement BookValidator.validateISBN()
3. Refactor for readability
4. Integrate with AddBookUseCase
// VIOLATION
Who: rosemary-project-manager (self-execute)
How: [Task Type: Implementation] Build Domain event classes
// FIX
Who: parsley-flutter-developer (executor) | rosemary-project-manager (dispatcher)
How: [Task Type: Implementation] Build Domain event classes
// VIOLATION
Why: Need to simplify the complex validation
- Using a simpler approach for now
// FIX
Why: UC-001 Book Addition Requirement
- Requirement ID: UC-001
- Business Value: Ensure user input data format correctness
- User Scenario: User manually inputs ISBN and needs immediate validation
5W1H-{YYYYMMDD}-{HHMMSS}-{random}
Example: 5W1H-20250925-191735-a7b3c2
# Generate new session token
uv run .claude/skills/5w1h-decision/scripts/generate_token.py
# Validate 5W1H content
uv run .claude/skills/5w1h-decision/scripts/validate_5w1h.py "content"
The 5W1H checker is integrated into PreToolUse Hook:
Since v0.25.1, 5W1H format is enforced at the system level via Output Style:
File Location: .claude/output-styles/5w1h-format.md
Enforcement Mechanism:
Relationship with Other Mechanisms:
| Mechanism | Level | Purpose | Enforcement |
|---|---|---|---|
| Output Style | System | Response format structure | Automatic (system prompt) |
| PreToolUse Hook | Tool | Todo creation validation | Before TodoWrite |
| UserPromptSubmit Hook | Session | Token generation + reminder | Each user input |
| SKILL | Reference | Documentation + scripts | On-demand |
Key Advantage:
ALL items must be checked before creating todo.
Missing any item = BLOCKED
5W1H-{TOKEN}
Who: {agent} (executor) | rosemary-project-manager (dispatcher)
What: {Single responsibility function}
When: {Event trigger with side effects}
Where: {Architecture layer / Component}
Why: {Requirement ID + Business value}
How: [Task Type: {TYPE}] {TDD strategy steps}
| Type | Executor | Example |
|---|---|---|
| Implementation | parsley, sage, pepper | Write code |
| Dispatch | rosemary | Assign task |
| Review | rosemary | Accept deliverable |
| Documentation | thyme | Update docs |
| Analysis | lavender | Design analysis |
| Planning | rosemary | Strategy planning |
| Block | Reason |
|---|---|
| "too complex" | Escaping difficulty |
| "simpler approach" | Compromising quality |
| "for now" | Temporary solution |
| "skip" | Avoiding problem |
| "later" | Deferring issue |
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Master backend architectures, REST API design, microservices, and server-side development across multiple languages. Use this as a central index to access specialized sub-skills.
日本語の概要は準備中です。原文の説明を表示しています。
在每次回复中使用固定前缀并列出本次实际参考的指令/文件,便于校验是否遵循上下文与规则。
日本語の概要は準備中です。原文の説明を表示しています。
Automate 21risk tasks via Rube MCP (Composio). Always search tools first for current schemas.
日本語の概要は準備中です。原文の説明を表示しています。
Automate 2chat tasks via Rube MCP (Composio). Always search tools first for current schemas.
日本語の概要は準備中です。原文の説明を表示しています。
Arquitecto de Soluciones Principal y Consultor Tecnológico de Andru.ia. Diagnostica y traza la hoja de ruta óptima para proyectos de IA en español.
日本語の概要は準備中です。原文の説明を表示しています。
[00] META. Orchestrate skills into dynamic chains for complex tasks. Analyzes the task, discovers available skills, builds an optimal chain, explains why each skill is needed, and executes step-by-step with user confirmation. Use for any complex task requiring multiple thinking/research/analysis steps. Triggers on "plan this", "how to approach", "what's the strategy", "build a plan", or any multi-step problem requiring skill orchestration.
日本語の概要は準備中です。原文の説明を表示しています。