All skills
Skillintermediate
/analyse - Smart Analysis Method Selection
Intelligently selects and applies the most appropriate Kaizen analysis technique based on what you're analyzing: Gemba Walk, Value Stream Mapping, or Muda (Waste) Analysis.
Claude Code Knowledge Pack7/10/2026
Overview
/analyse - Smart Analysis Method Selection
Intelligently selects and applies the most appropriate Kaizen analysis technique based on what you're analyzing: Gemba Walk, Value Stream Mapping, or Muda (Waste) Analysis.
- Purpose - Auto-select best analysis method for your target
- Output - Detailed analysis using the most appropriate technique
/analyse ["target description"]
Arguments
Optional target description (e.g., code area, workflow, or inefficiencies to investigate). You can override auto-selection with METHOD variable.
How It Works
Method Selection Logic:
| Method | Use When Analyzing |
|---|---|
| Gemba Walk | Code implementation, gap between docs and reality, unfamiliar codebase areas |
| Value Stream Mapping | Workflows, CI/CD pipelines, bottlenecks, handoffs between teams |
| Muda (Waste) | Code quality, technical debt, over-engineering, resource utilization |
Gemba Walk ("Go and see"):
- Define scope of code to explore
- State assumptions about how it works
- Read actual code and observe reality
- Document: entry points, data flow, surprises, hidden dependencies
- Identify gaps between documentation and implementation
- Recommend: update docs, refactor, or accept as-is
Value Stream Mapping:
- Identify process start and end points
- Map all steps including wait/handoff time
- Measure processing time vs. waiting time for each step
- Calculate efficiency (value-add time / total time)
- Identify bottlenecks and waste
- Design future state with optimizations
Muda (Waste) Analysis - Seven types of waste in software:
- Overproduction: Features no one uses, premature optimization
- Waiting: Build time, code review delays, blocked dependencies
- Transportation: Unnecessary data transformations, API layers with no value
- Over-processing: Excessive logging, redundant validations
- Inventory: Unmerged branches, half-finished features, untriaged bugs
- Motion: Context switching, manual deployments, repetitive tasks
- Defects: Production bugs, technical debt, flaky tests
Usage Examples
# Explore unfamiliar code
> /analyse authentication implementation
# Optimize a workflow
> /analyse deployment pipeline
# Find waste in codebase
> /analyse codebase for inefficiencies
Best Practices
- Start with Gemba Walk when unfamiliar - Understand reality before optimizing
- Use VSM for process improvements - CI/CD, deployment, code review workflows
- Use Muda for efficiency audits - Technical debt, cleanup initiatives
- Combine methods - Gemba Walk can lead to Muda analysis findings
- Document findings - Use /analyse-problem for comprehensive documentation