skills/arckit-pages/SKILL.md
Generate documentation site with governance dashboard, document viewer, and Mermaid diagram support
npx skillsauth add tractorjuice/arckit-codex arckit-pagesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are an expert web developer helping generate a documentation site that displays all ArcKit project documents with full Mermaid diagram rendering support.
The Pages Generator creates a docs/index.html file that:
It also writes a docs/llms.txt index (per the llmstxt.org standard) so LLM agents and crawlers can efficiently discover and fetch every artifact in the repository. The file is regenerated on each run, except when it exists without the ArcKit generation marker — hand-curated docs/llms.txt files are preserved.
User Request: $ARGUMENTS
Generate a documentation site for this ArcKit repository.
The sync-guides hook runs before this command and handles everything:
.md files from plugin to docs/guides/.git/config for repo name, owner, URLpages-template.html → writes docs/index.htmldocs/manifest.jsondocs/llms.txt (llmstxt.org format) for LLM/agent discovery, unless a hand-curated version exists without the ArcKit generation markerCRITICAL: The hook's hook context contains ALL document stats you need. Use ONLY those stats for the Step 5 summary. Do NOT call any tools — no Read, Write, Glob, Grep, or Bash. Do NOT read manifest.json or any other file. The hook has already written docs/index.html, docs/manifest.json, and docs/llms.txt with correct data. Go directly to Step 5 and output the summary using the stats from the hook context.
The following reference sections document the manifest structure and data tables used by the hook. They are preserved here for maintenance reference only — the command does not need to process them.
Guide grouping metadata is loaded by the hook from
config/guide-groups.mjs. Do not duplicate filename-to-category tables in this
command text. The hook writes each top-level guide with:
category: functional guide category, for example Architecture or
Plugin Operationssection: top-level Pages group, for example Core Workflows,
Plugin and Extension Operations, or Overlay Packspack: optional overlay/community pack name, for example
UK G-Cloud Supplier Overlaystatus: lifecycle maturity badgeThe hook also writes guideSectionOrder and guideCategoryOrder into
docs/manifest.json so the browser UI and llms.txt can sort guides without
filename-only heuristics.
DDaT Role Guides (in docs/guides/roles/):
Role guides map ArcKit commands to DDaT Capability Framework roles. These are stored separately from command guides.
| DDaT Family | Role Guide Files | |-------------|-----------------| | Architecture | enterprise-architect, solution-architect, data-architect, security-architect, business-architect, technical-architect, network-architect | | Chief Digital and Data | cto-cdio, cdo, ciso | | Product and Delivery | product-manager, delivery-manager, business-analyst, service-owner | | Data | data-governance-manager, performance-analyst | | IT Operations | it-service-manager | | Software Development | devops-engineer |
Add role guides to a separate roleGuides array in manifest.json (not the guides array). Use titles from the hook's guideTitles map for docs/guides/roles/*.md paths (suffix already stripped). Map the DDaT family from the filename using the table above. Use the commandCount reference table below to populate commandCount.
Role guide commandCount reference:
| File | commandCount | |------|-------------| | enterprise-architect | 12 | | solution-architect | 10 | | data-architect | 4 | | security-architect | 5 | | business-architect | 5 | | technical-architect | 5 | | network-architect | 3 | | cto-cdio | 5 | | cdo | 4 | | ciso | 5 | | product-manager | 5 | | delivery-manager | 6 | | business-analyst | 4 | | service-owner | 3 | | data-governance-manager | 4 | | performance-analyst | 4 | | it-service-manager | 3 | | devops-engineer | 3 |
Use Glob to check projects/000-global/ for global artifacts:
projects/000-global/
├── ARC-000-PRIN-v1.0.md # Architecture Principles (global)
├── policies/ # Governance policies
│ └── *.pdf, *.docx, *.md
├── external/ # Enterprise-wide reference documents
│ └── *.pdf, *.docx, *.md, *.srt, *.vtt
└── {other global documents}
Use Glob to check projects/ for all project folders. Documents use standardized naming: ARC-{PROJECT_ID}-{TYPE}-v{VERSION}.md
projects/
├── 001-{project-name}/
│ ├── # Core Documents (ARC-001-{TYPE}-v1.0.md pattern)
│ ├── ARC-001-REQ-v1.0.md # Requirements
│ ├── ARC-001-STKE-v1.0.md # Stakeholder Drivers
│ ├── ARC-001-RISK-v1.0.md # Risk Register
│ ├── ARC-001-SOBC-v1.0.md # Strategic Outline Business Case
│ ├── ARC-001-DATA-v1.0.md # Data Model
│ ├── ARC-001-TRAC-v1.0.md # Traceability Matrix
│ ├── ARC-001-SOW-v1.0.md # Statement of Work
│ ├── ARC-001-EVAL-v1.0.md # Evaluation Criteria
│ ├── ARC-001-BKLG-v1.0.md # Product Backlog
│ ├── ARC-001-PLAN-v1.0.md # Project Plan
│ ├── ARC-001-ROAD-v1.0.md # Roadmap
│ ├── ARC-001-STRAT-v1.0.md # Architecture Strategy
│ ├── ARC-001-DPIA-v1.0.md # DPIA
│ ├── ARC-001-SNOW-v1.0.md # ServiceNow Design
│ ├── ARC-001-DEVOPS-v1.0.md # DevOps Strategy
│ ├── ARC-001-MLOPS-v1.0.md # MLOps Strategy
│ ├── ARC-001-FINOPS-v1.0.md # FinOps Strategy
│ ├── ARC-001-OPS-v1.0.md # Operational Readiness
│ ├── ARC-001-TCOP-v1.0.md # TCoP Review
│ ├── ARC-001-SECD-v1.0.md # Secure by Design
│ ├── ARC-001-SECD-MOD-v1.0.md # MOD Secure by Design
│ ├── ARC-001-AIPB-v1.0.md # AI Playbook Assessment
│ ├── ARC-001-ATRS-v1.0.md # ATRS Record
│ ├── ARC-001-PRIN-COMP-v1.0.md # Principles Compliance
│ ├── ARC-001-DECK-v1.0.html # Executive Deck (HTML — e.g. AntV Infographic, Reveal.js)
│ │
│ ├── # Multi-instance Documents (subdirectories)
│ ├── diagrams/
│ │ └── ARC-001-DIAG-{NNN}-v1.0.md # Diagrams
│ ├── decisions/
│ │ └── ARC-001-ADR-{NNN}-v1.0.md # ADRs
│ ├── wardley-maps/
│ │ └── ARC-001-WARD-{NNN}-v1.0.md # Wardley Maps
│ ├── data-contracts/
│ │ └── ARC-001-DMC-{NNN}-v1.0.md # Data Mesh Contracts
│ ├── research/
│ │ ├── ARC-001-RSCH-{NNN}-v1.0.md # Research Findings
│ │ ├── ARC-001-DSCT-{NNN}-v1.0.md # Data Source Discovery
│ │ ├── ARC-001-AWRS-{NNN}-v1.0.md # AWS Research
│ │ ├── ARC-001-AZRS-{NNN}-v1.0.md # Azure Research
│ │ ├── ARC-001-GCRS-{NNN}-v1.0.md # GCP Research
│ │ ├── ARC-001-GOVR-{NNN}-v1.0.md # Government Reuse Assessment
│ │ ├── ARC-001-GCSR-{NNN}-v1.0.md # Government Code Search Report
│ │ └── ARC-001-GLND-{NNN}-v1.0.md # Government Landscape Analysis
│ ├── reviews/
│ │ ├── ARC-001-HLDR-v1.0.md # HLD Review
│ │ └── ARC-001-DLDR-v1.0.md # DLD Review
│ ├── vendors/
│ │ ├── {vendor-slug}-profile.md # Vendor profiles (flat)
│ │ └── {vendor-name}/ # Vendor documents (nested)
│ │ ├── hld*.md
│ │ ├── dld*.md
│ │ └── proposal*.md
│ ├── tech-notes/ # Tech notes (from $arckit-research)
│ │ └── {topic-slug}.md
│ ├── data-sources/ # Data-source profiles (from $arckit-datascout)
│ │ └── {provider-slug}-profile.md
│ └── external/
│ ├── README.md # (excluded from listing)
│ ├── rfp-document.pdf
│ ├── legacy-spec.docx
│ └── architecture-board.vtt
├── 002-{another-project}/
│ └── ...
└── ...
Only include these known artifact types. Match by type code pattern ARC-{PID}-{TYPE}-*.md:
| Category | Type Code | Pattern | Display Name |
|----------|-----------|---------|--------------|
| Discovery | | | |
| | REQ | ARC-*-REQ-*.md | Requirements |
| | STKE | ARC-*-STKE-*.md | Stakeholder Drivers |
| | RSCH | ARC-*-RSCH-*.md | Research Findings |
| Planning | | | |
| | SOBC | ARC-*-SOBC-*.md | Strategic Outline Business Case |
| | PLAN | ARC-*-PLAN-*.md | Project Plan |
| | ROAD | ARC-*-ROAD-*.md | Roadmap |
| | STRAT | ARC-*-STRAT-*.md | Architecture Strategy |
| | BKLG | ARC-*-BKLG-*.md | Product Backlog |
| Architecture | | | |
| | PRIN | ARC-*-PRIN-*.md | Architecture Principles |
| | HLDR | ARC-*-HLDR-*.md | High-Level Design Review |
| | DLDR | ARC-*-DLDR-*.md | Detailed Design Review |
| | DATA | ARC-*-DATA-*.md | Data Model |
| | WARD | ARC-*-WARD-*.md | Wardley Map |
| | DIAG | ARC-*-DIAG-*.md | Architecture Diagrams |
| | DFD | ARC-*-DFD-*.md | Data Flow Diagram |
| | ADR | ARC-*-ADR-*.md | Architecture Decision Records |
| | WDOC | ARC-*-WDOC-*.md | Wardley Doctrine Assessment |
| | WGAM | ARC-*-WGAM-*.md | Wardley Gameplay Analysis |
| | WCLM | ARC-*-WCLM-*.md | Wardley Climate Assessment |
| | WVCH | ARC-*-WVCH-*.md | Wardley Value Chain |
| Architecture (Community-contributed — TOGAF ADM Overlay) | | | |
| | ADMP | ARC-*-ADMP-*.md | ADM Preliminary / Architecture Vision |
| | BPCM | ARC-*-BPCM-*.md | Business Capability Map |
| | APP | ARC-*-APP-*.md | Application Inventory |
| | APPR | ARC-*-APPR-*.md | Application Rationalisation |
| | TRANS | ARC-*-TRANS-*.md | Transition Architecture |
| | REPO | ARC-*-REPO-*.md | Architecture Repository |
| Architecture (Community-contributed — AI Agent Architecture Overlay) | | | |
| | AAGI | ARC-*-AAGI-*.md | Agent Inventory |
| | AAGR | ARC-*-AAGR-*.md | Agent Architecture Specification |
| | AAIN | ARC-*-AAIN-*.md | Agent Integration Architecture |
| Governance | | | |
| | RISK | ARC-*-RISK-*.md | Risk Register |
| | TRAC | ARC-*-TRAC-*.md | Traceability Matrix |
| | PRIN-COMP | ARC-*-PRIN-COMP-*.md | Principles Compliance |
| | ANAL | ARC-*-ANAL-*.md | Analysis Report |
| | CONF | ARC-*-CONF-*.md | Conformance Assessment |
| | GAPS | ARC-*-GAPS-*.md | Gap Analysis |
| Governance (Community-contributed — TOGAF ADM Overlay) | | | |
| | GAPA | ARC-*-GAPA-*.md | TOGAF Gap Analysis |
| | BORD | ARC-*-BORD-*.md | Architecture Board Charter |
| | ACHG | ARC-*-ACHG-*.md | Architecture Change Request |
| Governance (Community-contributed — AI Agent Architecture Overlay) | | | |
| | AAOV | ARC-*-AAOV-*.md | Agent Governance Framework |
| | AASE | ARC-*-AASE-*.md | Agent Security Architecture |
| | AAMT | ARC-*-AAMT-*.md | Agent Maturity Assessment |
| Compliance | | | |
| | TCOP | ARC-*-TCOP-*.md | TCoP Assessment |
| | SECD | ARC-*-SECD-*.md | Secure by Design |
| | SECD-MOD | ARC-*-SECD-MOD-*.md | MOD Secure by Design |
| | AIPB | ARC-*-AIPB-*.md | AI Playbook Assessment |
| | ATRS | ARC-*-ATRS-*.md | ATRS Record |
| | DPIA | ARC-*-DPIA-*.md | Data Protection Impact Assessment |
| | JSP936 | ARC-*-JSP936-*.md | JSP 936 Assessment |
| | SVCASS | ARC-*-SVCASS-*.md | Service Assessment |
| Operations | | | |
| | SNOW | ARC-*-SNOW-*.md | ServiceNow Design |
| | DEVOPS | ARC-*-DEVOPS-*.md | DevOps Strategy |
| | MLOPS | ARC-*-MLOPS-*.md | MLOps Strategy |
| | FINOPS | ARC-*-FINOPS-*.md | FinOps Strategy |
| | OPS | ARC-*-OPS-*.md | Operational Readiness |
| | PLAT | ARC-*-PLAT-*.md | Platform Design |
| Procurement | | | |
| | SOW | ARC-*-SOW-*.md | Statement of Work |
| | EVAL | ARC-*-EVAL-*.md | Evaluation Criteria |
| | DOS | ARC-*-DOS-*.md | DOS Requirements |
| | GCLD | ARC-*-GCLD-*.md | G-Cloud Search |
| | GCLC | ARC-*-GCLC-*.md | G-Cloud Clarifications |
| | SUPP | ARC-*-SUPP-*.md | Supplier Profile |
| | SVCD | ARC-*-SVCD-*.md | Service Design |
| | SDD | ARC-*-SDD-*.md | Service Definition Document |
| | DECL | ARC-*-DECL-*.md | Supplier Declaration |
| | PRIC | ARC-*-PRIC-*.md | Pricing Document |
| | SECA | ARC-*-SECA-*.md | Security Assertions |
| | GCMP | ARC-*-GCMP-*.md | G-Cloud Competitor Benchmark |
| | GCRV | ARC-*-GCRV-*.md | G-Cloud Submission Review |
| | DMC | ARC-*-DMC-*.md | Data Mesh Contract |
| | VEND | ARC-*-VEND-*.md | Vendor Evaluation |
| | | vendors/*/*.md | Vendor Documents |
| Research | | | |
| | AWRS | ARC-*-AWRS-*.md | AWS Research |
| | AZRS | ARC-*-AZRS-*.md | Azure Research |
| | GCRS | ARC-*-GCRS-*.md | GCP Research |
| | DSCT | ARC-*-DSCT-*.md | Data Source Discovery |
| | TNDR | ARC-*-TNDR-*.md | Procurement Market Intelligence |
| | CMPT | ARC-*-CMPT-*.md | Competitor Landscape |
| | GOVR | ARC-*-GOVR-*.md | Government Reuse Assessment |
| | GCSR | ARC-*-GCSR-*.md | Government Code Search Report |
| | GLND | ARC-*-GLND-*.md | Government Landscape Analysis |
| | GRNT | ARC-*-GRNT-*.md | Grants Research |
| | | data-sources/*-profile.md | Data Source Profiles (from $arckit-datascout) |
| | | tech-notes/*.md | Tech Notes (from $arckit-research) |
| | | vendors/*-profile.md | Vendor Profiles (from $arckit-research) |
| Reporting | | | |
| | STORY | ARC-*-STORY-*.md | Project Story |
| | PRES | ARC-*-PRES-*.md | Presentation (MARP) |
| | DECK | ARC-*-DECK-*.html | Executive Deck (HTML) |
| Compliance (Community-contributed — EU) | | | |
| | RGPD | ARC-*-RGPD-*.md | GDPR Compliance Assessment |
| | NIS2 | ARC-*-NIS2-*.md | NIS2 Compliance Assessment |
| | AIACT | ARC-*-AIACT-*.md | EU AI Act Compliance Assessment |
| | DORA | ARC-*-DORA-*.md | DORA Compliance Assessment |
| | CRA | ARC-*-CRA-*.md | EU Cyber Resilience Act Assessment |
| | DSA | ARC-*-DSA-*.md | EU Digital Services Act Assessment |
| | DATAACT | ARC-*-DATAACT-*.md | EU Data Act Compliance Assessment |
| Compliance (Community-contributed — French Government) | | | |
| | CNIL | ARC-*-CNIL-*.md | CNIL / French GDPR Assessment |
| | SECNUM | ARC-*-SECNUM-*.md | SecNumCloud 3.2 Assessment |
| | DINUM | ARC-*-DINUM-*.md | DINUM Standards Assessment |
| | ANSSI | ARC-*-ANSSI-*.md | ANSSI Security Posture Assessment |
| | DR | ARC-*-DR-*.md | Diffusion Restreinte Handling Assessment |
| | ALGO | ARC-*-ALGO-*.md | Public Algorithm Transparency Notice |
| | PSSI | ARC-*-PSSI-*.md | Information System Security Policy |
| Architecture (Community-contributed — French Government) | | | |
| | CARTO | ARC-*-CARTO-*.md | ANSSI Information System Cartography |
| Governance (Community-contributed — French Government) | | | |
| | IRN | ARC-*-IRN-*.md | IRN — Indice de Résilience Numérique |
| | EBIOS | ARC-*-EBIOS-*.md | EBIOS Risk Manager Study |
| Procurement (Community-contributed — French Government) | | | |
| | MARPUB | ARC-*-MARPUB-*.md | French Public Procurement |
| | REUSE | ARC-*-REUSE-*.md | Public Code Reuse Assessment |
| Compliance (Community-contributed — Austrian Government) | | | |
| | ATDSG | ARC-*-ATDSG-*.md | Austrian Data Protection Assessment |
| | ATNISG | ARC-*-ATNISG-*.md | Austrian NISG (NIS2) Assessment |
| Procurement (Community-contributed — Austrian Government) | | | |
| | BVERGG | ARC-*-BVERGG-*.md | Austrian Public Procurement (BVergG 2018) |
| Compliance (Community-contributed — UAE Federal Overlay) | | | |
| | PDPL | ARC-*-PDPL-*.md | UAE PDPL Compliance Assessment |
| | IAS | ARC-*-IAS-*.md | UAE IAS Statement of Applicability |
| | AICH | ARC-*-AICH-*.md | UAE AI Charter Compliance Assessment |
| Architecture (Community-contributed — UAE Federal Overlay) | | | |
| | CRES | ARC-*-CRES-*.md | UAE Sovereign Cloud Residency Assessment |
| | UPASS | ARC-*-UPASS-*.md | UAE Pass Integration Design |
| | AUTI | ARC-*-AUTI-*.md | UAE AI Autonomy Tier Posture |
| Governance (Community-contributed — UAE Federal Overlay) | | | |
| | CLAS | ARC-*-CLAS-*.md | UAE Smart Data Classification Register |
| | ZBUR | ARC-*-ZBUR-*.md | UAE Zero Bureaucracy Service Review |
| | DREC | ARC-*-DREC-*.md | UAE Digital Records Plan |
| | DSHR | ARC-*-DSHR-*.md | UAE Data Sharing Agreement |
| | NPRA | ARC-*-NPRA-*.md | UAE National Priorities Alignment Statement |
| Procurement (Community-contributed — UAE Federal Overlay) | | | |
| | FPRO | ARC-*-FPRO-*.md | UAE Federal Procurement Strategy |
| Compliance (Community-contributed — Canada Federal Overlay) | | | |
| | FITAA | ARC-*-FITAA-*.md | Canada FITAA Compliance Assessment |
| | PIA | ARC-*-PIA-*.md | Canada Privacy Impact Assessment |
| | ATIP | ARC-*-ATIP-*.md | Canada ATIP Reconciliation |
| | AIA | ARC-*-AIA-*.md | Canada Algorithmic Impact Assessment |
| | SOIA | ARC-*-SOIA-*.md | Canada Security of Information Act Handling Plan |
| | OLA | ARC-*-OLA-*.md | Canada Official Languages Act Review |
| Architecture (Community-contributed — Canada Federal Overlay) | | | |
| | ITSG | ARC-*-ITSG-*.md | Canada ITSG-33 Statement of Applicability |
| | CACR | ARC-*-CACR-*.md | Canada Sovereign Cloud Residency Assessment |
| Governance (Community-contributed — Canada Federal Overlay) | | | |
| | CHRT | ARC-*-CHRT-*.md | Canada Charter Rights Design Review |
| | DIGSTD | ARC-*-DIGSTD-*.md | Canada GC Digital Standards Conformance |
| | OCAP | ARC-*-OCAP-*.md | Canada First Nations OCAP Sovereignty Assessment |
| Procurement (Community-contributed — Canada Federal Overlay) | | | |
| | PROC | ARC-*-PROC-*.md | Canada Federal Procurement Strategy |
| Compliance (Community-contributed — USA Federal Civilian Overlay) | | | |
| | FIPS199 | ARC-*-FIPS199-*.md | US FIPS 199 System Categorization |
| | FRSSP | ARC-*-FRSSP-*.md | US FedRAMP System Security Plan |
| | FRRR | ARC-*-FRRR-*.md | US FedRAMP Readiness Assessment Report |
| | AIRMF | ARC-*-AIRMF-*.md | US NIST AI RMF Assessment |
| | AIIA | ARC-*-AIIA-*.md | US AI Impact Assessment (M-24-10 / M-25-21) |
| | USPIA | ARC-*-USPIA-*.md | US Privacy Impact Assessment (E-Gov §208) |
| | SBOM | ARC-*-SBOM-*.md | US SBOM + Secure-Software Self-Attestation |
| Architecture (Community-contributed — USA Federal Civilian Overlay) | | | |
| | NIST | ARC-*-NIST-*.md | US NIST SP 800-53 Rev 5 Tailored Control Set |
| | ZTA | ARC-*-ZTA-*.md | US CISA Zero Trust Maturity Posture |
| | ICAM | ARC-*-ICAM-*.md | US ICAM Architecture |
| Compliance (Community-contributed — Australian Federal / DISP-supplier Overlay) | | | |
| | AUE8 | ARC-*-AUE8-*.md | AU Essential Eight Maturity Posture |
| | AUISM | ARC-*-AUISM-*.md | AU ISM Statement of Applicability |
| | AUPIA | ARC-*-AUPIA-*.md | AU Privacy Impact Assessment (Privacy Act 1988) |
| | AUNDB | ARC-*-AUNDB-*.md | AU Notifiable Data Breach Response Playbook |
| | AUOT | ARC-*-AUOT-*.md | AU OT Security Assessment |
| | AUSOCI | ARC-*-AUSOCI-*.md | AU SOCI CIRMP Governance Pack |
| | AUAESCSF | ARC-*-AUAESCSF-*.md | AU AESCSF Maturity Assessment |
| | AUENERGY | ARC-*-AUENERGY-*.md | AU Energy Compliance Pack |
| | MMOD | ARC-*-MMOD-*.md | Maturity Model Assessment |
| | AUAIA | ARC-*-AUAIA-*.md | AU AI Assurance Baseline (DTA AI Policy v2.0) |
| | AUDISP | ARC-*-AUDISP-*.md | AU DISP Member Self-Attestation Pack |
| Governance (Community-contributed — Australian Federal / DISP-supplier Overlay) | | | |
| | AUDSS | ARC-*-AUDSS-*.md | AU DTA Digital Service Standard Conformance |
| | AUPSPF | ARC-*-AUPSPF-*.md | AU Protective Security Policy Framework Scorecard |
| Compliance (Community-contributed — UK Financial Services Payments Overlay) | | | |
| | FSSCA | ARC-*-FSSCA-*.md | UK PSD2 SCA-RTS Exemption Design |
| | FSSAFE | ARC-*-FSSAFE-*.md | UK EMI / PI Safeguarding Assessment |
| | FSCD | ARC-*-FSCD-*.md | UK FCA Consumer Duty Board Report |
| | FSCTP | ARC-*-FSCTP-*.md | UK Critical Third Parties Dependency Assessment |
| Compliance (Community-contributed — UK NHS Clinical Safety Overlay) | | | |
| | NHSDTAC | ARC-*-NHSDTAC-*.md | NHS Digital Technology Assessment Criteria (DTAC v3) |
| | NHSMDR | ARC-*-NHSMDR-*.md | UK MDR + EU MDR SaMD/AIaMD Classification |
Single source of truth: this table mirrors
arckit-claude/config/doc-types.mjs. When adding new commands, register the type code indoc-types.mjsfirst (so the hook resolves category + display name) and then add the row here so$arckit-pagesincludes the artifact in the dashboard.
NHS DCB0129 / DCB0160 Marcus Baw files:
SAFETY.md,SAFETY-CASE.md,HAZARD-LOG.md(and thedeployment/variants) deliberately do NOT carry anARC-prefix or a doc-type code — they follow the Marcus Baw SAFETY.md spec convention. They pass throughvalidate-arc-filenameuntouched and do not appear in the$arckit-pagesdashboard as discrete ARC artefacts. Other artefacts cross-reference them by relative path.
The hook generates docs/manifest.json with this structure:
{
"generated": "2026-01-22T10:30:00Z",
"repository": {
"name": "{repo-name}"
},
"defaultDocument": "projects/000-global/ARC-000-PRIN-v1.0.md",
"guides": [
{
"path": "docs/guides/requirements.md",
"title": "Requirements Guide",
"category": "Discovery",
"status": "live"
},
{
"path": "docs/guides/principles.md",
"title": "Principles Guide",
"category": "Architecture",
"status": "live"
}
],
"roleGuides": [
{
"path": "docs/guides/roles/enterprise-architect.md",
"title": "Enterprise Architect",
"family": "Architecture",
"commandCount": 12
},
{
"path": "docs/guides/roles/product-manager.md",
"title": "Product Manager",
"family": "Product and Delivery",
"commandCount": 5
}
],
"global": [
{
"path": "projects/000-global/ARC-000-PRIN-v1.0.md",
"title": "Architecture Principles",
"category": "Architecture",
"documentId": "ARC-000-PRIN-v1.0",
"isDefault": true
}
],
"globalExternal": [
{
"path": "projects/000-global/external/enterprise-architecture.pdf",
"title": "enterprise-architecture.pdf",
"type": "pdf"
}
],
"globalPolicies": [
{
"path": "projects/000-global/policies/security-policy.pdf",
"title": "security-policy.pdf",
"type": "pdf"
}
],
"projects": [
{
"id": "001-project-name",
"name": "Project Name",
"documents": [
{
"path": "projects/001-project-name/ARC-001-REQ-v1.0.md",
"title": "Requirements",
"category": "Discovery",
"documentId": "ARC-001-REQ-v1.0"
},
{
"path": "projects/001-project-name/ARC-001-STKE-v1.0.md",
"title": "Stakeholder Drivers",
"category": "Discovery",
"documentId": "ARC-001-STKE-v1.0"
}
],
"diagrams": [
{
"path": "projects/001-project-name/diagrams/ARC-001-DIAG-001-v1.0.md",
"title": "System Context Diagram",
"documentId": "ARC-001-DIAG-001-v1.0"
}
],
"research": [
{
"path": "projects/001-project-name/research/ARC-001-RSCH-001-v1.0.md",
"title": "Technology Research",
"documentId": "ARC-001-RSCH-001-v1.0"
}
],
"decisions": [
{
"path": "projects/001-project-name/decisions/ARC-001-ADR-001-v1.0.md",
"title": "ADR-001: Cloud Provider Selection",
"documentId": "ARC-001-ADR-001-v1.0"
}
],
"wardleyMaps": [
{
"path": "projects/001-project-name/wardley-maps/ARC-001-WARD-001-v1.0.md",
"title": "Technology Landscape",
"documentId": "ARC-001-WARD-001-v1.0"
}
],
"dataContracts": [
{
"path": "projects/001-project-name/data-contracts/ARC-001-DMC-001-v1.0.md",
"title": "Customer Data Contract",
"documentId": "ARC-001-DMC-001-v1.0"
}
],
"reviews": [
{
"path": "projects/001-project-name/reviews/ARC-001-HLDR-v1.0.md",
"title": "High-Level Design Review",
"documentId": "ARC-001-HLDR-v1.0"
},
{
"path": "projects/001-project-name/reviews/ARC-001-DLDR-v1.0.md",
"title": "Detailed Design Review",
"documentId": "ARC-001-DLDR-v1.0"
}
],
"vendors": [
{
"name": "Acme Corp",
"documents": [
{
"path": "projects/001-project-name/vendors/acme-corp/hld-v1.md",
"title": "HLD v1.0"
}
]
}
],
"vendorProfiles": [
{
"path": "projects/001-project-name/vendors/aws-profile.md",
"title": "AWS"
}
],
"techNotes": [
{
"path": "projects/001-project-name/tech-notes/aws-lambda.md",
"title": "AWS Lambda"
}
],
"dataSourceProfiles": [
{
"path": "projects/001-project-name/data-sources/companies-house-profile.md",
"title": "Companies House"
}
],
"external": [
{
"path": "projects/001-project-name/external/rfp-document.pdf",
"title": "rfp-document.pdf",
"type": "pdf"
}
]
}
]
}
Use the stats from the hook's hook context (under "Document Stats") to fill in the summary:
Documentation Site Generated
Files Created:
- docs/index.html (main page)
- docs/manifest.json (document index)
- docs/llms.txt (LLM/agent index, llmstxt.org format — skipped if hand-curated)
Repository: {repo}
Projects Found: {count}
Documents Indexed: {total_documents}
Document Breakdown:
- Guides: {guides_count}
- DDaT Role Guides: {role_guides_count}
- Global: {global_count}
- Project Documents: {project_doc_count}
- Diagrams: {diagram_count}
- ADRs: {adr_count}
- Wardley Maps: {wardley_map_count}
- Data Contracts: {data_contract_count}
- Research: {research_count}
- Reviews: {review_count}
- Vendor Documents: {vendor_doc_count}
- Vendor Profiles: {vendor_profile_count}
- Vendor Scores: {scored_vendor_count} scored across {scored_project_count} project(s)
- Tech Notes: {tech_note_count}
- Data Source Profiles: {data_source_profile_count}
Features:
- Dashboard view with KPI cards, charts, and governance checklist (default landing page)
- Sidebar navigation for all projects
- Markdown rendering with syntax highlighting
- Mermaid diagram support (auto-rendered)
- GOV.UK Design System styling
- Responsive mobile layout
- Uses relative paths — works on any static hosting provider
Health Integration:
- Run `$arckit-health JSON=true` to generate docs/health.json
- Re-run `$arckit-pages` to display health data on the dashboard
Deployment:
The site uses relative paths and can be deployed to any static hosting provider:
- **GitHub Pages**: Settings > Pages > Source "Deploy from branch" > Branch "main", folder "/docs"
- **Netlify/Vercel**: Set publish directory to the repo root (docs/index.html references ../projects/)
- **Any static host**: Serve the entire repo directory; docs/index.html loads files via relative paths
Next Steps:
- Commit and push the docs/ folder
- Deploy to your hosting provider of choice
- Access your documentation site
#dashboard) is the default landing page — it shows automatically when no hash is presentdefaultDocument in manifest.json to the principles path (for backward compatibility and direct linking)docs/index.html is search-engine ready: a unique <title>, meta description, Open Graph / Twitter cards, a Schema.org @graph (Organization / SoftwareSourceCode / WebSite), and a <link rel="canonical">.sync-guides hook resolves the canonical and og:url to your published site URL on a best-effort basis: a docs/CNAME (custom domain on GitHub Pages) takes precedence, otherwise the default project Pages URL https://<owner>.github.io/<repo>/. Deploying elsewhere (Netlify, Vercel) without a CNAME? Update the canonical and og:url in the generated HTML to match your real URL.llms.txt or AI-specific files are required for indexing — the docs/llms.txt this command writes is harmless to Google and only aids non-Google agents.<meta name="robots" content="noindex"> via a .arckit/templates-custom/pages-template.html override.Remember: The sync-guides hook handles ALL I/O before this command runs — guide sync, title extraction, repo info, template processing, project scanning, and manifest generation. The command MUST output the Step 5 summary using ONLY the stats from the hook's hook context. Do NOT call any tools — no Read, no Glob, no Write, no Bash. The hook's stats are the single source of truth.
databases
Plan transition architectures with work packages, migration waves, and acceptance criteria
research
Perform gap analysis — capability matrix, gap severity scoring, workstream mapping
tools
Map business capabilities, value streams, and maturity for Phase A Business Architecture
development
Build architecture repository — patterns library, standards register, reusable building blocks