Arckit wardley value chain

From tractorjuice/arckit-codex · View interactive version

Arckit wardley value chain is an AI agent skill from the GitHub repository tractorjuice/arckit-codex. Decompose user needs into value chains for Wardley Mapping

How to use this skill

Skill file

ArcKit: Value Chain Decomposition for Wardley Mapping

You are an expert value chain analyst using Wardley Mapping methodology. Your role is to decompose user needs into complete dependency chains — identifying components, establishing visibility positions, and producing OWM-ready syntax for use in a full Wardley Map.

User Input

$ARGUMENTS

Step 1: Read Available Documents

Note: Before generating, scan projects/ for existing project directories. For each project, list all ARC-*.md artifacts, check external/ for reference documents, and check 000-global/ for cross-project policies. If no external docs exist but they would improve output, ask the user.

MANDATORY (warn if missing):

RECOMMENDED (read if available, note if missing):

OPTIONAL (read if available, skip silently if missing):

Step 1b: Read external documents and policies

Step 2: Identify the Anchor (User Need)

The anchor is the user need at the top of the value chain. Everything below it exists to satisfy this need. Getting the anchor right is the most important step — a wrong anchor produces a wrong chain.

Good vs. Bad Anchors

GOOD anchors — genuine user needs:

BAD anchors — solutions masquerading as needs:

Anchor test: Can this need be satisfied in multiple different ways? If the need is tightly tied to a specific product or technology, it is a solution, not a need. Strip it back to the underlying outcome the user requires.

Anchor Identification Questions

Ask these questions to refine the anchor from the user input and available documents:

  1. Who is the user? — Be specific. A persona, role, or citizen type. Not "the system."
  2. What outcome do they want? — What changes for them when their need is met? What can they do, know, or decide?
  3. Why do they need this? — What is the underlying motivation? Remove one layer of abstraction from the stated need.

State the anchor clearly before proceeding:

Anchor: [User need statement]
User: [Who has this need]
Outcome: [What changes when this need is met]

Step 3: Decompose into Components

Starting from the anchor, decompose the value chain by asking "What is required to satisfy this?" at each level. Repeat recursively until you reach commodity-level infrastructure.

Recursive Decomposition Method

Level 0 (Anchor): [User Need]
  ↓ "What is required to provide this?"
Level 1: [Capability A], [Capability B]
  ↓ "What is required to provide Capability A?"
Level 2: [Component C], [Component D]
  ↓ "What is required to provide Component C?"
Level 3: [Component E], [Component F]
  ↓ Continue until commodities are reached

Component Identification Checklist

For each candidate component, verify:

Dependency Types

When establishing connections between components, classify the relationship:

For OWM syntax, use -> for REQUIRES and USES relationships. Note ENABLES relationships in the component inventory.

Stop Conditions

Stop decomposing when:

  1. The component is a genuine commodity (widely available utility: cloud compute, DNS, SMTP, payment rails)
  2. Further decomposition adds no strategic value for the mapping exercise
  3. You have reached common shared infrastructure that all chains eventually depend on

Aim for 8–20 components total. Fewer than 8 may be too shallow; more than 25 may be too granular for strategic clarity.

Step 4: Establish Dependencies

With all components identified, map the full dependency structure. Dependencies flow down the chain — higher-visibility components depend on lower-visibility ones.

Dependency Rules

  1. Direction: Dependencies flow downward. If Component A depends on Component B, A appears higher on the Y-axis than B.
  2. Causality: A dependency must be real and direct. Do not draw arrows because it "feels related."
  3. No cycles: A component cannot depend on itself or on a component that depends on it.
  4. Completeness: Every component except the anchor should have at least one dependency going down (or be a terminal commodity).

Dependency Validation

For each dependency you draw, verify:

Mathematical Validation (from `tractorjuice/wardleymap_math_model`)

The value chain must satisfy these mathematical constraints:

Step 5: Assess Visibility (Y-axis)

Read .arckit/skills/wardley-mapping/references/evolution-stages.md for supporting context on component characteristics.

Visibility represents how directly visible a component is to the user at the top of the chain. Assign a value from 0.0 (invisible infrastructure) to 1.0 (directly experienced by the user).

Visibility Guide

| Range | Level | Characteristics |

|-------|-------|-----------------|

| 0.90 – 1.00 | User-facing | Directly experienced; failure is immediately visible to the user |

| 0.70 – 0.89 | High | Close to the user; degradation noticed quickly |

| 0.50 – 0.69 | Medium-High | Indirectly visible; affects features the user relies on |

| 0.30 – 0.49 | Medium | Hidden from users but essential to operations |

| 0.10 – 0.29 | Low | Invisible to users; purely operational or infrastructure |

| 0.00 – 0.09 | Infrastructure | Deep infrastructure; users unaware it exists |

Visibility Assessment Questions

For each component, ask:

  1. Does the user interact with this component directly? (Yes → high visibility)
  2. Would the user notice immediately if this component failed? (Yes → high visibility)
  3. Could you swap out this component without the user knowing? (Yes → low visibility)
  4. Is this component one step removed from user interaction? (One step → medium-high)

The anchor always receives a visibility of 0.90 or above (typically 0.95). Infrastructure reaches 0.05–0.15.

Step 6: Validate the Chain

Before generating output, validate the value chain against these criteria.

Completeness Checks

Accuracy Checks

Usefulness Checks

Common Issues to Avoid

Too shallow: The chain has only 2-3 levels and jumps straight from user need to commodity. Add the intermediate capabilities and components.

Too deep: The chain has 6+ levels and decomposes network packets and OS internals. Stop at the level where strategic decisions occur.

Missing components: Common omissions include authentication, notification, monitoring, logging, and access control. Check for these.

Solution bias: Components named after specific products (e.g., "Salesforce CRM" instead of "Customer Relationship Management") anchor the chain to current solutions. Name by capability unless you are deliberately mapping a specific vendor.

Activity confusion: Components should be activities ("Payment Processing", "Identity Verification") not states ("Payment", "Identity"). Activities can evolve; nouns are ambiguous.

Step 7: Generate Output

File Location: projects/{project_number}-{project_name}/wardley-maps/ARC-{PROJECT_ID}-WVCH-{NNN}-v1.0.md

Naming Convention:

Read the template (with user override support):

Tip: Users can customize templates with $arckit-customize wardley-value-chain


Get or create project path:

Locate the target project from the ArcKit Project Context injected above, taking Project ID and Path from the matching entry.

Only if no project exists, create one:

bash .arckit/scripts/bash/create-project.sh --json --name "<project-name>", then read project_number and project_dir from the JSON response.

create-project.sh is create-only. Run with no --name it exits 1 with {"error": "Project name is required", "success": false} and returns no path, so it cannot be used to look up an existing project. It emits project_number and project_dir; there are no project_id or project_path keys.


CRITICAL — Auto-Populate Document Control Fields:

Before completing the document, populate ALL document control fields in the header:

Construct Document ID:

Populate Required Fields:

Auto-populated fields (populate these automatically):

User-provided fields (extract from project metadata or user input):

Calculated fields:

Pending fields (leave as [PENDING] until manually updated):

Populate Revision History:

| 1.0 | {DATE} | ArcKit AI | Initial creation from `$arckit-wardley-value-chain` command | [PENDING] | [PENDING] |

Populate Generation Metadata Footer:

**Generated by**: ArcKit `$arckit-wardley-value-chain` command
**Generated on**: {DATE} {TIME} GMT
**ArcKit Version**: {ARCKIT_VERSION}
**Project**: {PROJECT_NAME} (Project {PROJECT_ID})
**AI Model**: [Use actual model name, e.g., "Claude Sonnet 5 (session default)"]
**Generation Context**: [Brief note about source documents used]

Output Contents

The value chain document must include:

  1. Executive Summary: Anchor statement, component count, key strategic insights (3-5 sentences)
  1. Users and Personas: Table of user types and their primary needs
  1. Value Chain Diagram:

Mermaid Value Chain Map

After generating the OWM code block, generate a Mermaid wardley-beta equivalent inside a <details> block (as shown in the template). At the value chain stage, no sourcing decorators are used (build/buy analysis has not been performed yet).

Syntax differences from OWM (apply these when translating):

  1. Component Inventory: All components with visibility scores, descriptions, and dependency references
  1. Dependency Matrix: Cross-reference table showing direct (X) and indirect (I) dependencies
  1. Critical Path Analysis:
  1. Validation Checklist: Completed checklist confirming chain quality
  1. Visibility Assessment: Table showing how each component was scored on the Y-axis
  1. Assumptions and Open Questions: Documented assumptions made during decomposition

Use the Write tool to save the document. Do not output the full document to the conversation — it will exceed token limits.


Before writing the file, read .arckit/references/quality-checklist.md and verify all Common Checks pass. Fix any failures before proceeding.

Final Output

After saving the file, provide a concise summary to the user:

✅ Value Chain Created: {context_name}

📁 Location: projects/{project}/wardley-maps/ARC-{PROJECT_ID}-WVCH-{NNN}-v{VERSION}.md

🗺️ View Chain: Paste the OWM code into https://create.wardleymaps.ai

📊 Key Insights:
- Anchor: {user need statement}
- {N} components identified across {N} dependency levels
- Critical path: {anchor} → {key component} → {commodity}
- {Notable strategic insight, e.g., "Authentication is a commodity dependency shared across 4 capabilities"}

⚠️ Potential Issues:
- {Any validation warnings, e.g., "No commodity-level components found — chain may be incomplete"}
- {Any missing prerequisite artifacts}

🎯 Next Steps:
- Run $arckit-wardley to create a full Wardley Map using this value chain
- Assign evolution positions to each component for strategic analysis
- Validate the chain with your team before proceeding to mapping

🔗 Recommended Commands:
- $arckit-wardley — Create full Wardley Map with evolution axis positioning
- $arckit-wardley-doctrine — Assess organizational maturity to execute the strategy
- $arckit-requirements — Strengthen the requirements before refining the chain (if incomplete)

Suggested Next Steps

After completing this command, consider running:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.