Thank you for your interest in contributing! This document provides guidelines for contributing to the AI Context Plugin.
- Claude Code 1.0 or later
- Git
-
Fork and clone the repository
git clone https://github.com/AI-Native-Systems/ai-context-cc-plugins.git cd ai-context-plugin -
Add local marketplace for testing
/plugin marketplace add ./
-
Install for testing
/plugin install ai-context@ans
-
Test the commands
/ai-context:init /ai-context:update /ai-context:digest
- Check existing issues first
- Create a new issue with:
- Clear title describing the problem
- Steps to reproduce
- Expected vs actual behavior
- Claude Code version
- OS and environment details
- Check existing issues/discussions
- Create a feature request with:
- Clear description of the feature
- Use case and motivation
- Potential implementation approach (optional)
-
Fork the repository
-
Create a feature branch
git checkout -b feature/your-feature-name
-
Make your changes
- Follow existing code style
- Update documentation if needed
- Keep changes focused and atomic
-
Test your changes
- Test all three commands
- Verify schema validation still works
- Check edge cases
-
Submit PR
- Clear title and description
- Reference any related issues
- Explain what changed and why
- Use YAML frontmatter for metadata
- Include clear
descriptionfield - Document all boundaries and focus areas
- Keep workflows organized in phases
- Follow JSON Schema Draft 7 format
- Add descriptions to all fields
- Include sensible defaults where appropriate
- Update documentation for new fields
- Keep README up to date
- Use clear, concise language
- Include examples where helpful
- Schema improvements - New fields for common use cases
- Better inference - Smarter detection of conventions
- Multi-language support - Improve detection for more languages
- IDE integrations - Context awareness in other tools
- Examples - Sample
.ai-contextfiles for various project types - Documentation - Tutorials, guides, best practices
- Validation - Better error messages and suggestions
- Typo fixes
- Documentation improvements
- Additional keywords in schema
- Test coverage improvements
ai-context-plugin/
├── .claude-plugin/
│ └── marketplace.json # Marketplace entry point
├── claude-code/plugins/ai-context/
│ ├── .claude-plugin/
│ │ └── plugin.json # Plugin manifest
│ ├── commands/ # Command definitions
│ │ ├── context-init.md
│ │ ├── context-update.md
│ │ └── context-digest.md
│ └── skills/ # Auto-triggered skills
│ ├── context-init/SKILL.md
│ ├── context-update/SKILL.md
│ └── context-digest/SKILL.md
├── schemas/
│ └── ai-context.schema.json # JSON Schema for .ai-context
├── README.md
├── LICENSE
├── CONTRIBUTING.md
├── SECURITY.md
└── package.json
- Open an issue for questions
- Tag with
questionlabel
By contributing, you agree that your contributions will be licensed under the MIT License.