How Template Customization Works
ArcKit uses a two-tier template system:- Default templates live in
.arckit/templates/(refreshed byarckit init) - Your customizations go in
.arckit/templates-custom/(preserved across updates) - Commands automatically check for custom templates first, falling back to defaults
- Your customizations are preserved when upgrading ArcKit
- Default templates can be updated without losing your changes
- Easy to see what you’ve customized vs defaults
The /arckit.customize Command
Copy a Specific Template
.arckit/templates-custom/requirements-template.md for editing.
Copy All Templates
List Available Templates
Template Info
Template Loading Logic
When you run an ArcKit command (e.g.,/arckit.requirements):
- Command checks: Does
.arckit/templates-custom/requirements-template.mdexist? - If YES → Uses YOUR customized template
- If NO → Uses default from
.arckit/templates/
Common Customizations
Remove UK Government Sections
For non-UK Gov projects:Change Document Control Fields
Add organization-specific fields:Modify Requirement Prefixes
Change from BR/FR/NFR to your organization’s taxonomy:Update Priority Levels
Change MoSCoW to your framework:Add Organization Branding
Customize Classification Banners
Customizing the Pages Template
Thepages-template.html generates a documentation website. Common customizations:
Change Styling
Remove UK-Specific Sections
Add Organization Logo
Customize Footer
Keeping Templates Updated
When ArcKit releases new template features:Compare Your Template with Default
- Your custom template:
.arckit/templates-custom/requirements-template.md - New default template:
.arckit/templates/requirements-template.md - Use a diff tool to see what changed:
Selective Adoption
You don’t have to adopt all changes. Cherry-pick what’s valuable:- New compliance sections: Copy if relevant to your industry
- New requirement types: Adopt if your projects need them
- Updated formatting: Adopt if it improves clarity
- UK Gov specifics: Skip if not applicable
Reverting to Default
To stop using a custom template:Real-World Examples
Financial Services
Customization: Add PCI-DSS compliance sectionHealthcare (US)
Customization: Add HIPAA complianceManufacturing (Automotive)
Customization: Add ISO 26262 (functional safety)Defense/Government
Customization: Add clearance and classificationTemplate Versioning
Custom templates inherit version numbers from the defaults:- Which default version your customization is based on
- When to review for updates
- Whether breaking changes have occurred
Best Practices
1. Start Small
Don’t customize everything at once. Start with your most-used templates:- Requirements (
requirements-template.md) - Risk Register (
risk-register-template.md) - Architecture Principles (
architecture-principles-template.md)
2. Document Your Changes
Add a note at the top of custom templates:3. Version Control
Commit custom templates to git:4. Review Quarterly
Set a calendar reminder to check for template updates:- Check ArcKit release notes
- Compare your custom templates with new defaults
- Adopt useful changes selectively
5. Share Across Projects
If you have multiple ArcKit projects:Troubleshooting
Command Not Using My Custom Template
Symptom: Command generates document from default template Causes:- Filename mismatch (check spelling and hyphens)
- Template in wrong directory (must be
.arckit/templates-custom/) - Template has wrong extension (must be
.mdfor markdown,.htmlfor HTML)
Template Validation Errors
Symptom: Command fails with “Template validation failed” Causes:- Missing required placeholders (e.g.,
[PROJECT_ID],[VERSION]) - Invalid markdown syntax
- Broken document control section
Custom Template Out of Date
Symptom: Generated documents missing new features Fix:- Check
CHANGELOG.mdfor template changes - Diff your custom template against new default
- Manually merge new sections you want to keep
Further Reading
- Sprint Planning Guide - Customize backlog templates
- Traceability Guide - Customize traceability matrix
- Upgrading Guide - Preserve customizations during upgrades