Thank you for considering contributing. This document explains how to get started.
git clone https://github.com/HiAi-gg/agent-plugins-builder.git
cd agent-plugins-builder
bun installRun the quality gates before submitting anything:
bun run lint
bun run typecheck
bun run testOpen an issue at github.com/HiAi-gg/agent-plugins-builder/issues and include:
- Agent Plugins Builder version (run
agent-plugins --version) - Operating system and Bun version
- Minimal reproduction steps or fixture
- Command used and redacted output
Open an issue describing the use case. For new migration sources, include a link to the source format documentation.
- Fork the repository.
- Create a branch from
main. - Make small, coherent changes. No unrelated refactors.
- Add or update tests for changed behavior.
- Update documentation when public behavior changes:
- New CLI flag → README +
--help - New migration adapter →
docs/MIGRATION_SOURCES.md+docs/COMPATIBILITY.md - New spec version →
docs/AGENT_PLUGINS_SPEC_SUPPORT.md - Breaking change →
CHANGELOG.md
- New CLI flag → README +
- Run
bun run lint,bun run typecheck, andbun run test. All must pass. - Open a pull request and describe what changed, why, and how it was tested.
New source adapters go in packages/sources/src/<source-name>/index.ts.
Each adapter must export:
detect<Source>Project(rootPath: string): booleanmigrate<Source>Project(rootPath: string): Promise<<Source>AdapterResult>
Test your adapter against real fixture data in packages/sources/tests/fixtures/<source-name>/.
- TypeScript strict mode.
- 2-space indentation, LF line endings.
- No
anyin new code unless unavoidable. - Prefer
bun:testover external test frameworks.
If your change depends on Agent Plugins specification behavior, cite the primary source:
Do not implement behavior based on third-party blog posts or assumptions.
This project follows the Contributor Covenant.
By contributing, you agree that your contributions will be licensed under the MIT License.