ワンクリックで
wardley
Generate or update the project's Wardley Map by analyzing the codebase. Produces an OWM source file, SVG, and PNG.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Generate or update the project's Wardley Map by analyzing the codebase. Produces an OWM source file, SVG, and PNG.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
Check whether C4 architecture diagrams are up to date with source code
Regenerate C4 architecture diagrams (C3 component + C4 code views) from source code
Create or update a problem ticket per PROBLEM-MANAGEMENT.md. Supports creating new problems, updating root cause analysis, transitioning status, and closing problems.
Create or update the project's RISK-POLICY.md per ISO 31000 and the risk-scorer agent. Examines the project to derive business-specific impact levels.
SOC 職業分類に基づく
| name | wardley |
| description | Generate or update the project's Wardley Map by analyzing the codebase. Produces an OWM source file, SVG, and PNG. |
| allowed-tools | Read, Write, Edit, Bash, Glob, Grep |
Analyze the codebase and generate a Wardley Map of the project's value chain.
docs/wardley-map.owm (OWM source)docs/wardley-map.svg (rendered SVG)docs/wardley-map.png (rendered PNG)docs/wardley-map.md (analysis with embedded map image)Read the project's README, homepage, main entry point, or package description to determine what need the project serves. The anchor must be a specific need, not a person. "Software delivery insight" not "Reader". "Real-time cricket stats" not "User". The anchor should distinguish this project from others.
Self-test: If two different projects could share this anchor, it is too generic. The anchor should answer "what does someone come to this project to get?" not "what topic does this project cover?"
Need vs means: The anchor should be an outcome the user has after they leave, not a capability the provider offers. If the anchor sounds like a service description (expertise, guidance, consulting), rewrite it as the result: "AI Delivery Expertise" becomes "Reliable AI-Built Software." "Analytics consulting" becomes "Data-driven decisions."
Scan the project to identify components. Look for:
Adapt the scan to the project type. A web app has pages and components. An API has endpoints and middleware. A CLI has commands and parsers. A library has modules and public API surface.
Platform dependencies: For each custom or genesis component, identify which platform or API it depends on that the project does not control. If that platform does not appear in the inventory, add it as a component.
For each component, determine its evolution stage:
| Stage | Evolution (x) | Characteristics |
|---|---|---|
| Genesis | 0.00 to 0.17 | Novel, no off-the-shelf equivalent, high uncertainty |
| Custom-Built | 0.17 to 0.37 | Understood but bespoke, built for this project |
| Product | 0.37 to 0.63 | Standardised, configurable, multiple providers exist |
| Commodity | 0.63 to 1.00 | Utility, interchangeable, barely noticed when working |
Visibility (y-axis): 1.0 = directly serves the user need, 0.0 = deep infrastructure the user never thinks about.
Visibility reality check: For each component, ask: "Does the user directly interact with this or see its output?" If yes (login screens, dashboards, error messages), visibility should be above 0.5 even if the component feels like infrastructure. Auth systems the user sees should not be positioned like databases the user never sees.
Aim for 8 to 12 components. Rules:
Hidden-but-critical check: Look for components that are invisible to the user but gate or constrain visible components. CI/CD pipelines, compliance gates, and release processes may have low visibility but high strategic impact. If such a component can block a release or degrade quality, consider whether it needs a dependency link to the component it constrains — not just to the infrastructure it uses.
For each component, ask: is this evolving? Signs of evolution:
Add evolve annotations for components that are actively moving.
Inertia check: For commodity components, note switching cost (high or low). For custom components, note whether competitors or the ecosystem are building similar things. Use these observations in the Risk section of the analysis.
A->B means "A needs B to function." Not "A influences B" or "A produces B." Only draw links that represent real runtime or build-time dependencies. Fewer lines with clear meaning beats many lines that add noise.
User-facing pair check: For every pair of components with visibility above 0.7, ask: does one need the other to get traffic, data, or users? If articles drive traffic that service pages convert, that is a dependency even though both connect to the anchor.
Write docs/wardley-map.owm using OWM syntax:
title Project Value Chain
anchor User Need [0.95, 0.55]
component Name [visibility, evolution]
evolve Component Name 0.45
From->To
node ${CLAUDE_SKILL_DIR}/owm-to-svg.mjs
Read the generated PNG and check:
If the map has issues, adjust positions in the OWM file and re-render.
Orphan check: Look for components with only one inbound link and no outbound links. For each orphan, choose one:
Domain context check: Can a reader unfamiliar with the domain understand why the anchor is hard to serve? If the challenge is non-obvious (real-time constraints, hostile environments, regulatory pressure), add a one-line OWM comment (// context: ...) above the anchor explaining the constraint. This comment will not render but documents intent for future updates.
Write docs/wardley-map.md with the following structure:
# Wardley Map

## Analysis
### Differentiation
(Which components are custom/genesis? These are the competitive advantage. If multiple components depend on the same custom component, note that convergence is also concentration risk. State what would happen if that component became untenable.)
### Evolution
(What is moving? In which direction? What does that mean for investment? Check whether any evolving component has dependents that amplify its impact. If A depends on B and B is evolving, investment in B has a multiplier effect. Name the multiplier.)
### Risk
(Which custom components could be replaced by commodities? Which commodities could change?)
### Decisions
(Does the map surface any strategic choices the project should make?)
The image path should be relative to docs/ since the PNG lives in the same directory. Keep the analysis concise and actionable. Each section should be 2 to 4 sentences.
Analysis quality rules:
If docs/wardley-map.owm already exists, read it first. Compare against the current codebase:
evolve arrows for things in motion