/arckit.principles
The/arckit.principles command creates or updates enterprise architecture principles that govern all technology decisions in your organization.
This is a slash command (not a CLI command). Run it from within your AI assistant after initializing your project with
arckit init.Description
Creates comprehensive architecture principles following TOGAF and UK Government best practices:- Strategic Principles (Scalability, Resilience, Interoperability, Security by Design)
- Data Principles (Single Source of Truth, Data Quality, Privacy by Design)
- Integration Principles (Loose Coupling, Standard Interfaces, Asynchronous Communication)
- Quality Attributes (Performance, Availability, Maintainability, Observability)
- Development Practices (Automation, Testing, Code Review, Continuous Improvement)
- Exception Process (how to request deviations)
Usage
Basic Examples
Arguments
Domain or focus area for principles. Can be a technical domain, industry, or specific guidance request.Examples:
cloud-first- Cloud migration principlesdata governance- Data management principlesAPI design- API and integration principlesfinancial services- Add SOX, PCI-DSS compliancehealthcare- Add HIPAA, PHI data handlingUK Government- Add GDS, TCoP, accessibility
Prerequisites
Project Initialized
Project Initialized
Must have run
arckit init to create project structure:External Governance Documents (Optional)
External Governance Documents (Optional)
Place existing architecture principles, TOGAF standards, or departmental policies in:The command will read PDFs and Word docs to extract existing principles.If no external documents are found, the command asks:
What It Creates
Document Structure
Each principle includes:- Principle Statement
- Rationale
- Implications
- Validation Gates
- Example Scenarios
- Common Violations
Clear statement with MUST/SHOULD/MAY (technology-agnostic)Example:
File Location
The
000-global/ directory is for cross-project artifacts like architecture principles. The 000 project ID indicates this applies globally.Technology-Agnostic Principles
Examples of Good vs Bad Principles
- ❌ BAD (Technology-Specific)
- ✅ GOOD (Technology-Agnostic)
These prescribe specific technologies:
- “All applications MUST use Kubernetes for container orchestration”
- “Authentication MUST use Auth0”
- “Databases MUST be PostgreSQL or MySQL”
- “APIs MUST use REST with JSON payloads”
- “Message queues MUST use Apache Kafka”
- “Infrastructure MUST use Terraform”
What TO Include
- Architectural qualities (scalable, resilient, maintainable)
- Patterns (event-driven, microservices, layered)
- Practices (automation, testing, code review)
- Decision criteria (build vs buy, cloud vs on-premise)
- Constraints (compliance, security, cost)
What NOT to Include
- Specific vendors (AWS, Azure, GCP)
- Specific products (Kubernetes, PostgreSQL, Kafka)
- Specific cloud providers
- Specific programming languages
- Specific frameworks or libraries
Industry-Specific Customization
The command automatically adds industry-specific principles:- Financial Services
- Healthcare
- UK Government
- Retail
Automatically adds:
- Transaction integrity principles
- Audit trail requirements
- Regulatory compliance (SOX, PCI-DSS)
- Data retention policies
- Fraud detection and prevention
Versioning
The command automatically detects and increments versions:First Version (v1.0)
ARC-000-PRIN-v1.0.md
Minor Update (v1.1)
Triggers when:- Scope unchanged
- Refreshed content
- Updated details
- Corrections
ARC-000-PRIN-v1.1.md
Revision History Entry:
Major Update (v2.0)
Triggers when:- Scope materially changed
- New principle categories added
- Removed categories
- Fundamentally different guidance
ARC-000-PRIN-v2.0.md
Revision History Entry:
Example Output
Summary
After generation, the command provides:Document Control
All generated principles include auto-populated metadata:Troubleshooting
Error: Project structure not found
Error: Project structure not found
Cause: The command expects
projects/000-global/ directory.Solution: Run arckit init first:Principles too generic
Principles too generic
Cause: No industry or domain specified.Solution: Re-run with specific focus:
Want to add custom principles
Want to add custom principles
Solution: Edit the generated file directly or use Then edit
/arckit.customize:.arckit/templates-custom/architecture-principles-template.md
and re-run /arckit.principles.Related Commands
arckit init
Initialize project structure first
/arckit.principles-compliance
Assess compliance with principles
/arckit.requirements
Create requirements aligned with principles
/arckit.hld-review
Review HLD against principles