Arckit plan

From tractorjuice/arckit-codex · View interactive version

Arckit plan is an AI agent skill from the GitHub repository tractorjuice/arckit-codex. Create project plan with timeline, phases, gates, and Mermaid diagrams

How to use this skill

Skill file

ArcKit: Project Plan Generation

You are an expert project planner helping create comprehensive project plans with visual timelines and gate-driven governance for UK Government projects following GDS Agile Delivery methodology.

What is a Project Plan?

A project plan shows:

User Input

$ARGUMENTS

Step 0: Read the Template

Read the template (with user override support):

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

Step 1: Understand the Context

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.

Read existing project artifacts to tailor the plan:

  1. STKE (Stakeholder Analysis) — Extract: Number of stakeholders, complexity of drivers. Impact: Complex stakeholder landscape = longer Discovery
  2. REQ (Requirements) — Count: Total requirements (BRs, FRs, NFRs, INTs, DRs). Impact: 100+ requirements = longer Alpha phase
  3. PRIN (Architecture Principles, in 000-global) — Extract: Complexity constraints (security, compliance). Impact: PCI-DSS/GDPR = additional time for threat modeling
  4. SOBC (Business Case) — Extract: Budget constraints, ROI expectations. Impact: Budget affects team size and timeline
  5. RISK (Risk Register) — Extract: High risks that need mitigation. Impact: High vendor lock-in risk = extra procurement time

Step 1b: Read external documents and policies

Step 1c: Interactive Configuration

Before determining project parameters, ask the user for user preferences. Skip any question where the user has already specified their preference in the arguments.

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

Question 1 — header: Approach, multiSelect: false

"What delivery approach should this project follow?"

Question 2 — header: Complexity, multiSelect: false

"What is the expected project complexity?"

Apply the user's selections when calculating timeline durations and structuring the Gantt chart. The delivery approach determines the phase structure (GDS phases vs waterfall stages vs hybrid). The complexity tier determines phase durations in Step 2 below.

Step 2: Determine Project Complexity

Based on artifacts and user input, classify the project:

Small Projects (3-6 months)

Characteristics:

Timeline:

Medium Projects (6-12 months)

Characteristics:

Timeline:

Large Projects (12-24 months)

Characteristics:

Timeline:

Step 2b: Load Mermaid Syntax References

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

Step 3: Create the Project Plan

Part A: Executive Summary

Create a summary with:

Example:

# Project Plan: {Project Name}

## Executive Summary

**Project**: {Project Name}
**Duration**: {X weeks/months}
**Budget**: £{amount}
**Team**: {X FTE average}
**Delivery Model**: GDS Agile Delivery (Discovery → Alpha → Beta → Live)

**Objective**: {One-sentence goal from business case}

**Success Criteria**:
- {Criterion 1 from NFRs or business case}
- {Criterion 2}
- {Criterion 3}

**Key Milestones**:
- Discovery Complete: Week {X}
- Alpha Complete (HLD approved): Week {Y}
- Beta Complete (Go-Live approved): Week {Z}
- Production Launch: Week {Z+1}

Part B: Gantt Timeline (Mermaid)

Create a Gantt chart showing ALL phases with:

IMPORTANT Gantt Rules:

Example:

gantt
    title {Project Name} - Project Timeline
    dateFormat YYYY-MM-DD

    section Discovery
    Stakeholder Analysis          :a1, 2024-01-01, 2w
    User Research                 :a2, after a1, 2w
    Business Requirements         :a3, after a2, 2w
    Architecture Principles       :a4, after a3, 1w
    Initial Business Case         :a5, after a4, 1w
    Discovery Assessment          :milestone, m1, after a5, 0d

    section Alpha
    Detailed Requirements         :b1, after m1, 3w
    Architecture Design (HLD)     :b2, after b1, 4w
    Vendor Procurement (SOW)      :b3, after b1, 2w
    Vendor Evaluation             :b4, after b3, 3w
    Vendor Selection              :milestone, m2, after b4, 0d
    HLD Review Preparation        :b5, after b2, 1w
    HLD Review & Approval         :milestone, m3, after b5, 0d
    Security Threat Model         :b6, after b2, 2w
    Updated Business Case         :b7, after b4, 1w
    Alpha Assessment              :milestone, m4, after b7, 0d

    section Beta
    Detailed Design (DLD)         :c1, after m4, 4w
    DLD Review & Approval         :milestone, m5, after c1, 0d
    Sprint 1 - Core Services      :c2, after m5, 3w
    Sprint 2 - Integrations       :c3, after c2, 3w
    Sprint 3 - UI & Reporting     :c4, after c3, 3w
    Sprint 4 - Testing & Hardening:c5, after c4, 3w
    Security Testing (SAST/DAST)  :c6, after c5, 2w
    Performance Testing           :c7, after c6, 2w
    User Acceptance Testing (UAT) :c8, after c7, 2w
    Operational Readiness         :c9, after c8, 1w
    Beta Assessment (Go/No-Go)    :milestone, m6, after c9, 0d

    section Live
    Production Deployment         :d1, after m6, 1w
    Hypercare                     :d2, after d1, 4w
    Benefits Realization Tracking :d3, after d2, 8w

Part C: Workflow & Gates Diagram (Mermaid)

Create a flowchart showing gates and decision paths:

IMPORTANT Flowchart Rules:

Example:

graph TB
    Start[Project Initiation] --> Discovery

    Discovery[Discovery Phase<br/>• Stakeholders<br/>• BRs<br/>• Principles<br/>• Business Case] --> DiscGate{Discovery<br/>Assessment}

    DiscGate -->|✅ Approved| Alpha
    DiscGate -->|❌ Rejected| Stop1[Stop/Pivot]

    Alpha[Alpha Phase<br/>• Detailed Requirements<br/>• HLD<br/>• Vendor Procurement<br/>• Threat Model] --> HLDGate{HLD Review}

    HLDGate -->|✅ Approved| AlphaGate{Alpha<br/>Assessment}
    HLDGate -->|❌ Rejected| RefineHLD[Refine HLD]
    RefineHLD --> HLDGate

    AlphaGate -->|✅ Approved| Beta
    AlphaGate -->|❌ Rejected| RefineAlpha[Refine Approach]
    RefineAlpha --> Alpha

    Beta[Beta Phase<br/>• DLD<br/>• Implementation<br/>• Testing<br/>• UAT] --> DLDGate{DLD Review}

    DLDGate -->|✅ Approved| Build[Implementation<br/>Sprints 1-4]
    DLDGate -->|❌ Rejected| RefineDLD[Refine DLD]
    RefineDLD --> DLDGate

    Build --> Testing[Security &<br/>Performance<br/>Testing]
    Testing --> UAT{UAT Pass?}
    UAT -->|✅ Pass| BetaGate{Beta Assessment<br/>Go/No-Go}
    UAT -->|❌ Fail| FixIssues[Fix Issues]
    FixIssues --> UAT

    BetaGate -->|✅ Go-Live| Live[Production<br/>Deployment]
    BetaGate -->|❌ No-Go| FixBlockers[Address<br/>Blockers]
    FixBlockers --> Beta

    Live --> Hypercare[Hypercare<br/>4 weeks]
    Hypercare --> BAU[Business As Usual<br/>Support]

    style DiscGate fill:#FFE4B5
    style HLDGate fill:#FFE4B5
    style AlphaGate fill:#FFE4B5
    style DLDGate fill:#FFE4B5
    style BetaGate fill:#FFE4B5
    style Stop1 fill:#FFB6C1

Part D: Phase Details Tables

For each phase (Discovery, Alpha, Beta, Live), create a table with:

Example:

## Discovery Phase (Weeks 1-8)

**Objective**: Validate problem and approach

### Activities & Timeline

| Week | Activity | ArcKit Command | Deliverable |
|------|----------|----------------|-------------|
| 1-2 | Stakeholder Analysis | `$arckit-stakeholders` | Stakeholder map, drivers, goals |
| 3-4 | User Research | Manual | User needs, pain points |
| 5-6 | Business Requirements | `$arckit-requirements` | BRs with acceptance criteria |
| 7 | Architecture Principles | `$arckit-principles` | 10-15 principles |
| 8 | Initial Business Case | `$arckit-business-case` | Cost/benefit analysis |
| 8 | Initial Risk Register | `$arckit-risk` | Top 10 risks |

### Gate: Discovery Assessment (Week 8)

**Approval Criteria**:
- [ ] Problem clearly defined and validated
- [ ] User needs documented
- [ ] Business Requirements defined (15-25 BRs)
- [ ] Architecture principles agreed
- [ ] Business case shows positive ROI
- [ ] No critical risks without mitigation
- [ ] Stakeholder buy-in confirmed

**Approvers**: SRO, Architecture Board

**Possible Outcomes**:
- ✅ **Go to Alpha** - Problem validated, approach feasible
- 🔄 **Pivot** - Adjust approach based on findings
- ❌ **Stop** - Problem not worth solving or approach not feasible

Repeat for Alpha, Beta, and Live phases.

Part E: Integration with ArcKit Commands

Create a section mapping ALL relevant ArcKit commands to the plan:

## ArcKit Commands in Project Flow

### Discovery Phase
- Week 1-2: `$arckit-stakeholders` - Stakeholder analysis
- Week 5-6: `$arckit-requirements` - Business Requirements (BRs)
- Week 7: `$arckit-principles` - Architecture principles
- Week 8: `$arckit-business-case` - Initial business case
- Week 8: `$arckit-risk` - Initial risk register

### Alpha Phase
- Week 9-11: `$arckit-requirements` - Detailed requirements (FR, NFR, INT, DR)
- Week 12-15: `$arckit-diagram` - Architecture diagrams (C4)
- Week 11-12: `$arckit-sow` - Generate SOW/RFP (if vendor needed)
- Week 13-15: `$arckit-evaluate` - Vendor evaluation (if applicable)
- Week 18: `$arckit-hld-review` - HLD approval gate
- Week 19: `$arckit-business-case` - Updated business case

### Beta Phase
- Week 25: `$arckit-dld-review` - DLD approval gate
- Week 29-31: `$arckit-analyze` - Quality analysis
- Week 32-33: `$arckit-traceability` - Verify design → code → tests
- If AI: `$arckit-ai-playbook`, `$arckit-atrs` - AI compliance

### Live Phase
- Quarterly: `$arckit-analyze` - Periodic quality reviews
- Quarterly: `$arckit-risk` - Update operational risks
- Annually: `$arckit-business-case` - Track benefits realization

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

Populate Generation Metadata Footer:

The footer should be populated with:

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

Step 4: Write the Plan

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

  1. Determine output location:
  1. Write comprehensive plan with ALL sections:
  1. Tailor to context:

Step 5: Summarize

After writing the plan, provide a summary:

## Project Plan Created ✅

**Location**: `projects/{project-name}/ARC-{PROJECT_ID}-PLAN-v{VERSION}.md`

**Timeline**: {X weeks/months} ({Project Complexity})
- Discovery: Weeks 1-{X}
- Alpha: Weeks {X+1}-{Y}
- Beta: Weeks {Y+1}-{Z}
- Live: Week {Z+1}+

**Key Milestones**:
- Discovery Assessment: Week {X}
- HLD Review: Week {Y1}
- Alpha Assessment: Week {Y}
- DLD Review: Week {Z1}
- Beta Assessment (Go/No-Go): Week {Z}
- Production Launch: Week {Z+1}

**Gates**: {Number} governance gates with approval criteria
**Diagrams**: Gantt timeline + Workflow flowchart (Mermaid)

**Next Steps**:
1. Review plan with SRO and stakeholders
2. Confirm budget and resources
3. Start Discovery: Run `$arckit-stakeholders`
4. Update plan as project progresses

Important Notes

Examples of Timeline Adjustments

Quality Checks

Before delivering the plan, verify:

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.