Thank you for considering contributing to {{PLUGIN_NAME}}!
-
Fork and clone the repository:
git clone https://github.com/YOUR_USERNAME/{{REPO_NAME}}.git cd {{REPO_NAME}} -
Install dependencies:
# ShellCheck (for validation) # macOS brew install shellcheck # Ubuntu/Debian sudo apt-get install shellcheck # Windows (via chocolatey) choco install shellcheck
-
Install git hooks:
cp hooks/pre-commit.sh .git/hooks/pre-commit chmod +x .git/hooks/pre-commit
-
Create skill directory:
mkdir -p skills/your-skill-name
-
Create skill.md with frontmatter:
--- name: your-skill-name description: Brief description of what this skill does license: MIT ---
-
Add skill content:
- Activation triggers
- Behaviour description
- Examples
- Version history
-
Validate:
./scripts/validate-all.sh
-
Create a feature branch:
git checkout -b feature/your-feature-name
-
Make your changes
-
Run validation:
./scripts/validate-all.sh
-
Run tests (if applicable):
./tests/test-all.sh
-
Commit with conventional commit format:
git commit -m "feat: Add new skill for X" git commit -m "fix: Resolve issue with Y" git commit -m "docs: Update README"
-
Push and create PR:
git push origin feature/your-feature-name
We use Conventional Commits:
feat:- New featurefix:- Bug fixdocs:- Documentation changesstyle:- Code style changes (formatting)refactor:- Code refactoringtest:- Adding or updating testschore:- Maintenance tasks
All contributions must meet these standards:
# Zero warnings required
shellcheck scripts/*.sh- Directories:
lowercase-with-hyphens - Skills: Match directory name in frontmatter
- Pattern:
^[a-z0-9-]+$
- Valid JSON syntax
- Author/Owner as objects:
{"name": "..."} - Semantic versioning:
x.y.z
- Update CHANGELOG.md for user-facing changes
- Add inline comments for complex logic
- Update README.md if needed
- Test manually with
/plugin install . - Run validation:
./scripts/validate-all.sh - Ensure GitHub Actions pass
- Update documentation if needed
- Add to CHANGELOG.md under [Unreleased]
- Ensure all checks pass:
- ShellCheck
- JSON validation
- Frontmatter validation
- Security scan
- Request review from maintainers
- Address feedback if requested
- Squash commits if needed before merge
Reviewers will check:
- ✅ Follows naming conventions
- ✅ ShellCheck passes with zero warnings
- ✅ JSON/YAML is valid
- ✅ Documentation is updated
- ✅ No hardcoded secrets
- ✅ Commits follow conventional format
- ✅ Tests pass (if applicable)
- 📖 Check README.md for usage
- 🔍 Review existing skills for examples
- 💬 Open an issue for questions
- 📧 Contact: {{AUTHOR_EMAIL}}
By contributing, you agree that your contributions will be licensed under the MIT License.