Thank you for your interest in contributing to ArcKit! This document provides guidelines for contributing to the project.
-
Fork the repository on GitHub
-
Clone your fork locally:
git clone https://github.com/YOUR-USERNAME/arc-kit.git cd arc-kit -
Create a branch for your changes:
git checkout -b feature/your-feature-name
If you find a bug, please create an issue with:
- Clear title describing the problem
- Steps to reproduce
- Expected vs actual behaviour
- Your environment (OS, Claude Code version, etc.)
- Any error messages or logs
For new features:
- Explain the use case and problem it solves
- Describe the proposed solution
- Consider UK Government standards compliance
- Discuss alternatives you've considered
Documentation contributions are highly valued:
- Fix typos or clarify existing guides
- Add examples or use cases
- Improve command descriptions
- Expand troubleshooting sections
To add a new ArcKit command:
-
Create the command file in
arckit-claude/commands/:--- description: Brief description of what the command does --- Detailed prompt text following ArcKit patterns...
-
Follow ArcKit patterns:
- Use UK Government standards (GDS, TCoP, Secure by Design)
- Include comprehensive sections
- Provide examples and templates
- Add traceability to other artifacts
-
Create command guide in
docs/guides/:- Explain when to use the command
- Show integration with other commands
- Document common gaps and fixes
- Include real-world examples
-
Multi-AI support:
- Run
python scripts/converter.pyto generate Gemini TOML and Codex Markdown from the plugin command
- Run
-
Update documentation:
- Update
CHANGELOG.md - Add to
README.mdif major feature
- Update
For scripts or tools:
- Follow existing code style
- Add comments explaining complex logic
- Test thoroughly before submitting
- Update relevant documentation
All ArcKit commands should follow this structure:
---
description: One-line description (imperative mood)
---
# [Command Name]
## Purpose
Explain what this command generates and why it's needed.
## When to Run
Describe the GDS Agile Delivery phase and prerequisites.
## What It Generates
List the artifacts created.
## Template Structure
Detail the sections included in the output.
## Integration with Other Commands
Explain how this command relates to other ArcKit artifacts.
## Example
Provide a real-world example scenario.- Use UK English spelling (organisation, analyse, colour)
- Follow GOV.UK content design principles
- Use active voice
- Keep sentences short and clear
- Use bullet points for lists
- Include code examples in fenced blocks
Follow conventional commits:
<type>(<scope>): <description>
[optional body]
[optional footer]
Types:
feat: New feature or commandfix: Bug fixdocs: Documentation changesrefactor: Code refactoringtest: Adding testschore: Maintenance tasks
Examples:
feat(commands): add /arckit.security-review command
docs(guides): improve wardley mapping examples
fix(init): correct template file paths
-
Update documentation for any changes
-
Test your changes:
- Test with Claude Code
- Test with Codex CLI (if applicable)
- Test with Gemini CLI (if applicable)
-
Update CHANGELOG.md under "Unreleased" section
-
Create pull request with:
- Clear title following commit message convention
- Description of changes and motivation
- Reference any related issues
- Screenshots for UI changes
-
Code review:
- Address reviewer feedback
- Keep discussions focused and professional
- Be patient - maintainers review when available
Before submitting:
-
Test command execution:
# Claude Code (requires ArcKit plugin: /plugin marketplace add tractorjuice/arc-kit) /arckit.your-command Test description # Gemini CLI gemini /arckit:your-command Test description
-
Verify output quality:
- Check all sections are present
- Verify UK Government standards compliance
- Ensure traceability references are correct
- Test with different project scenarios
-
Check integration:
- Run related commands before and after
- Verify traceability matrix includes new artifacts
- Test
/arckit.analyzedetects relevant gaps
All contributions must align with:
- GDS Service Manual: Agile delivery phases (Discovery → Alpha → Beta → Live)
- Technology Code of Practice (TCoP): 14 points for technology projects
- Secure by Design: Security principles and patterns
- GDS Service Standard: 14 points for government services
- Digital Marketplace: DOS and G-Cloud procurement frameworks
- Use lowercase with hyphens:
/arckit.data-model - Be descriptive but concise
- Use verbs for actions:
/arckit.analyze,/arckit.review - Use nouns for artifacts:
/arckit.requirements,/arckit.runbook - Group related commands:
/arckit.hld-review,/arckit.lld-review
- Issues: https://github.com/tractorjuice/arc-kit/issues
- Discussions: Use GitHub Discussions for questions
- Email: Contact the maintainer for private inquiries
- Be respectful and inclusive
- Focus on constructive feedback
- Assume good intentions
- Help others learn and grow
- Follow UK Civil Service values where applicable
By contributing, you agree that your contributions will be licensed under the same MIT License that covers the project.
Thank you for helping improve ArcKit! Your contributions help UK Government projects deliver better, more compliant solutions.