Arckit strategy

From tractorjuice/arckit-codex · View interactive version

Arckit strategy is an AI agent skill from the GitHub repository tractorjuice/arckit-codex. Synthesise strategic artifacts into executive-level Architecture Strategy document

How to use this skill

Skill file

You are helping an enterprise architect create an Architecture Strategy document. This document synthesises insights from multiple strategic artifacts (principles, stakeholders, wardley maps, roadmap, business case) into a single coherent executive-level narrative.

User Input

$ARGUMENTS

Prerequisites: Read Strategic Artifacts

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):

Prerequisites 1b: Read external documents and policies

Instructions

1. Identify or Create Project

Identify the target project from the hook context. If the user specifies a project that doesn't exist yet, create a new project:

  1. Use Glob to list projects/*/ directories and find the highest NNN-* number (or start at 001 if none exist)
  2. Calculate the next number (zero-padded to 3 digits, e.g., 002)
  3. Slugify the project name (lowercase, replace non-alphanumeric with hyphens, trim)
  4. Use the Write tool to create projects/{NNN}-{slug}/README.md with the project name, ID, and date — the Write tool will create all parent directories automatically
  5. Also create projects/{NNN}-{slug}/external/README.md with a note to place external reference documents here
  6. Set PROJECT_ID = the 3-digit number, PROJECT_PATH = the new directory path

2. Gather Strategic Context

Read all available documents identified in the Prerequisites section above. Build a mental model of:

3. Read Strategy Template

Load the strategy template structure:

Read the template (with user override support):

Tip: Users can customize templates with $arckit-customize strategy

4. Generate Architecture Strategy

Create a comprehensive Architecture Strategy document that synthesises insights from the strategic artifacts. The document should:

Document Control
Executive Summary
Strategic Drivers (from stakeholders)
Guiding Principles (from principles)
Current State Assessment
Target State Vision
Technology Evolution Strategy (from Wardley maps)
Strategic Themes & Investment Areas
Delivery Roadmap Summary (from roadmap)
Investment Summary
Strategic Risks & Mitigations (from risk register)
Success Metrics & KPIs
Governance Model
Traceability
Next Steps & Recommendations

5. UK Government Specifics

If the user indicates this is a UK Government project, include:

6. MOD Specifics

If this is a Ministry of Defence project, include:

7. Load Mermaid Syntax References

Read .arckit/skills/mermaid-syntax/references/flowchart.md and .arckit/skills/mermaid-syntax/references/gantt.md for official Mermaid syntax — node shapes, edge labels, date formats, task statuses, and styling options.

8. Mermaid Diagram Requirements

Include at least 2 Mermaid diagrams:

  1. Architecture Vision Diagram (graph/flowchart showing target architecture)
  2. Strategic Timeline (Gantt chart showing phases and milestones)

Syntax Rules:


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-strategy` command | [PENDING] | [PENDING] |

Populate Generation Metadata Footer:

The footer should be populated with:

**Generated by**: ArcKit `$arckit-strategy` 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]

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

9. Write the Strategy File

IMPORTANT: The strategy document will be a LARGE document (typically 350-500 lines). You MUST use the Write tool to create the file, NOT output the full content in chat.

Create the file at:

projects/[PROJECT_ID]/ARC-{PROJECT_ID}-STRAT-v{VERSION}.md

Use the Write tool with the complete strategy content following the template structure.

10. Show Summary to User

After writing the file, show a concise summary (NOT the full document):

## Architecture Strategy Created

**Document**: `projects/[PROJECT_ID]/ARC-{PROJECT_ID}-STRAT-v{VERSION}.md`
**Document ID**: ARC-[PROJECT_ID]-STRAT-v[VERSION]

### Strategy Overview
- **Strategic Horizon**: FY [START_YEAR] - FY [END_YEAR] ([N] years)
- **Total Investment**: £[AMOUNT] ([% CAPEX] / [% OPEX])
- **Expected ROI**: [%]% by FY [YEAR]
- **Risk Appetite**: [LOW / MEDIUM / HIGH]

### Key Strategic Decisions
- **Build vs Buy**: [Build / Buy / Hybrid]
- **Cloud Strategy**: [Cloud-Native / Hybrid / On-Premises]
- **Vendor Strategy**: [Single / Multi / Platform]

### Strategic Themes
1. **[Theme 1]**: £[INVESTMENT] - [Brief description]
2. **[Theme 2]**: £[INVESTMENT] - [Brief description]
3. **[Theme 3]**: £[INVESTMENT] - [Brief description]
4. **[Theme 4]**: £[INVESTMENT] - [Brief description]

### Strategic Outcomes
1. [Measurable outcome 1]
2. [Measurable outcome 2]
3. [Measurable outcome 3]
4. [Measurable outcome 4]
5. [Measurable outcome 5]

### Synthesised From
- ✅ Architecture Principles: ARC-000-PRIN-v[N].md
- ✅ Stakeholder Analysis: ARC-[PID]-STKE-v[N].md
- [✅/⚠️] Wardley Maps: [Status]
- [✅/⚠️] Architecture Roadmap: [Status]
- [✅/⚠️] Strategic Business Case: [Status]
- [✅/⚠️] Risk Register: [Status]

### Top Strategic Risks
1. **[Risk 1]**: [Mitigation summary]
2. **[Risk 2]**: [Mitigation summary]
3. **[Risk 3]**: [Mitigation summary]

### Next Steps
1. Review strategy with Strategy Board / Architecture Review Board
2. Validate investment with Finance / Spending Review
3. Confirm strategic direction with Executive Sponsor
4. Create detailed requirements: `$arckit-requirements`
5. Expand roadmap: `$arckit-roadmap`
6. Begin detailed design: `$arckit-diagram`

### Traceability
- Aligns to [N] architecture principles
- Addresses [N] stakeholder drivers
- Delivers [N] strategic outcomes
- Mitigates [N] strategic risks

**File location**: `projects/[PROJECT_ID]/ARC-{PROJECT_ID}-STRAT-v{VERSION}.md`

Important Notes

  1. Synthesis, Not Generation: This command synthesises existing artifacts into a coherent narrative. It should NOT generate new information but rather consolidate and present existing strategic decisions.
  1. Use Write Tool: The strategy document is typically 350-500 lines. ALWAYS use the Write tool to create it. Never output the full content in chat.
  1. Mandatory Prerequisites: Unlike other commands, this command has TWO mandatory prerequisites (principles AND stakeholders). Strategy cannot be created without understanding both the decision framework and the stakeholder drivers.
  1. Executive Audience: The strategy document is intended for executive stakeholders (CTO, CIO, Strategy Board). Use appropriate language and focus on business outcomes rather than technical details.
  1. Traceability is Critical: Every element of the strategy should trace back to source documents. This ensures the strategy is grounded in agreed artifacts, not assumptions.
  1. Gap Identification: If recommended documents are missing, include a "Gaps" section noting what additional artifacts would strengthen the strategy (e.g., "A Wardley Map would improve build vs buy decisions").
  1. Principles Compliance: Show how each strategic theme aligns to specific principles. This demonstrates that strategy is principles-driven.
  1. Integration with Other Commands:
  1. Version Management: If a strategy already exists (ARC--STRAT-v.md), write the next version beside it rather than overwriting it, as .arckit/references/version-detection.md describes: a changed vision, strategic themes or investment envelope is a major increment, refreshed detail a minor one. Strategies should be versioned to track evolution.
  1. Financial Years: For UK Government, use "FY 2024/25" notation (April-March). For US/other contexts, use appropriate fiscal year notation.

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.