Arckit adm preliminary

From tractorjuice/arckit-codex · View interactive version

Arckit adm preliminary is an AI agent skill from the GitHub repository tractorjuice/arckit-codex. Set ADM scope, architecture vision, drivers, constraints, and success criteria

How to use this skill

Skill file

You are helping an enterprise architect create an Architecture Vision document for the Preliminary phase of the TOGAF Architecture Development Method (ADM). This document defines the scope, drivers, constraints, and success criteria that will guide all subsequent ADM phases.

User Input

$ARGUMENTS

Prerequisites: Read Foundational 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):

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. Read Template

Read the template (with user override support):

Tip: Users can customise templates with $arckit-customize adm-preliminary

3. Clarify Scope with User

Unless the arguments or the project context already settle it, ask the user about the scope of this ADM engagement.

Gathering rules — the one-message interview in .arckit/references/interview-pattern.md:

Question 1 — header: ADM scope, multiSelect: false

"What is the scope of this ADM engagement?"

4. Generate Architecture Vision Document

Create the Architecture Vision document following the template structure. Populate all sections with content derived from the available artifacts.

Document Control
Architecture Vision
Scope Boundaries
Drivers
Constraints
Resources
Success Criteria
High-Level Architecture Landscape
Stakeholder Map
ADM Scope Note
Traceability

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 for official Mermaid syntax — node shapes, edge labels, and styling options for C4 Context diagrams.

8. Quality Gate

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

9. Write the Vision File

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

Create the file at:

projects/{P}/ARC-{P}-ADMP-v{VERSION}.md

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

10. Show Summary to User

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

## Architecture Vision Created

**Document**: `projects/{P}/ARC-{P}-ADMP-v{VERSION}.md`
**Document ID**: ARC-{P}-ADMP-v{VERSION}

### Vision Scope
- **Scope**: [Enterprise-wide / Business Unit / Project-specific]
- **In Scope**: [N] areas
- **Out of Scope**: [N] areas explicitly excluded

### Drivers & Constraints
- **Drivers**: [N] drivers identified ([strategic] strategic, [operational] operational, [compliance] compliance, [technology] technology)
- **Constraints**: [N] constraints ([budget] budget, [timeline] timeline, [regulatory] regulatory, [technical] technical)

### Success Criteria
| # | Criterion | Target |
|---|-----------|--------|
| 1 | [Criterion 1] | [Target 1] |
| 2 | [Criterion 2] | [Target 2] |
| 3 | [Criterion 3] | [Target 3] |

### ADM Scope
- **In scope phases**: [List phases marked as in scope]
- **Out of scope phases**: [List phases marked as out of scope]

### Synthesised From
- ✅ Architecture Principles: ARC-000-PRIN-v[N].md
- [✅/⚠️] Stakeholder Analysis: ARC-{P}-STKE-v[N].md
- [✅/⚠️] Architecture Strategy: ARC-{P}-STRAT-v[N].md (or ARC-000-STRAT-v[N].md in 000-global)

### Next Steps
1. Review Architecture Vision with Architecture Board / Sponsor
2. Validate scope boundaries with key stakeholders
3. Begin Phase B (Business Architecture): `$arckit-business-capability-map`
4. Perform gap analysis: `$arckit-gap-analysis`

### Traceability
- Aligns to [N] architecture principles
- Addresses [N] stakeholder drivers
- Defines [N] success criteria

**File location**: `projects/{P}/ARC-{P}-ADMP-v{VERSION}.md`

Important Notes

  1. Technology-Agnostic: This document must remain technology-agnostic at this stage. Specific technology decisions belong in later ADM phases (Phases B, C, D). The Preliminary phase sets the vision, not the technical solution.
  1. Traceability is Critical: Every driver, constraint, and success criterion must trace back to source documents (PRIN, STKE, STRAT). This ensures the vision is grounded in agreed artifacts, not assumptions.
  1. Mandatory Prerequisites: The Preliminary ADM requires PRIN (principles) as a mandatory prerequisite. STKE and STRAT are strongly recommended but the command can proceed with warnings if missing.
  1. Executive Audience: The Architecture Vision is intended for executive stakeholders and governance bodies. Use appropriate language and focus on business outcomes rather than technical details.
  1. Scope Boundaries: Be explicit about what is out of scope. Ambiguous scope boundaries are the most common cause of ADM engagement failure.
  1. Version Management: If an Architecture Vision already exists (ARC-*-ADMP-v*.md), create a new version (v2.0) rather than overwriting. Architecture visions should be versioned to track evolution across ADM cycles.
  1. Integration with Other Commands:
  1. TOGAF Alignment: This document maps to TOGAF ADM Preliminary Phase outputs (Architecture Principles, Architecture Repository, Architecture Capability, ADM Scope & Tailoring) and to the Phase A (Architecture Vision) output, the Architecture Vision.
  1. Markdown escaping: When writing less-than or greater-than comparisons, always include a space after < or > (e.g., < 3 seconds, > 99.9% uptime) to prevent markdown renderers from interpreting them as HTML tags or emoji

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.