Thanks for your interest in @windyroad/agent-plugins. This guide covers how to contribute code, decisions, and bug reports.
- Problems: open an issue first using the Report a problem template under
.github/ISSUE_TEMPLATE/. You do not need to pre-classify it as a bug or a feature -- this project practises ITIL problem management, so triage decides the category. Drive-by PRs without an issue are harder to merge because the problem framing is missing. - Security vulnerabilities: do not open a public issue. See SECURITY.md.
- Usage questions: use Discussions, not issues.
This is an npm workspaces monorepo. Each plugin lives in its own package under packages/:
packages/
agent-plugins/ # umbrella installer
architect/ # @windyroad/architect
c4/ # @windyroad/c4
itil/ # @windyroad/itil
...
The packages/*/ layout is set by ADR-002. New plugins go under packages/<name>/. Repo-local skills (not published) live under .claude/skills/ per ADR-030.
git clone https://github.com/windyroad/agent-plugins.git
cd agent-plugins
npm install
npm testnpm test runs the bats suite over hooks, skills, and shared utilities. The test runner is bats per ADR-005. Add tests under packages/<plugin>/hooks/test/, packages/<plugin>/skills/<skill>/test/, or packages/<plugin>/agents/test/ -- the glob in package.json picks them up automatically.
- Branch off
main. - Make your change with tests where applicable.
- Add a changeset for any change to a published package:
npx changeset. Pick the affected packages and the bump type (patch / minor / major). Skip changesets for repo-internal changes (docs, CI tweaks, repo-local skills) -- the changeset bot will not flag them. - Verify versions are in sync:
npm run check:plugin-manifests. The CI gate checks that eachpackages/<name>/plugin.jsonversionmatches the package'spackage.jsonversion. See ADR-021. - Open the PR. CI runs
npm test, plugin-manifest sync check, and install-utils drift check. - Maintainers review against the existing decisions in
docs/decisions/and the persona jobs indocs/jtbd/.
- Follow Conventional Commits (
feat:,fix:,docs:,chore:, etc.). - Reference problem tickets in the commit message when the work closes one (e.g.
fix(itil): ... (closes P058)). - Sign-off is not required.
New patterns, conventions, or cross-package designs go through ADRs (Architecture Decision Records) under docs/decisions/. Use the skill:
/wr-architect:create-adr
The skill walks you through MADR 4.0 structure. The architect agent reviews edits against existing ADRs to catch conflicts -- see ADR-013 for the structured-interaction policy.
Bugs and process friction get tracked as problem tickets under docs/problems/. From inside Claude Code:
/wr-itil:manage-problem
The skill follows ITIL problem management with WSJF prioritisation. Problem tickets transition through .open.md → .known-error.md → .verifying.md → .closed.md as the work progresses (see ADR-022).
Most of the work in this repo is done through the suite's own governance skills. They commit their own work per ADR-014 and run risk assessments before pushing. If you contribute to a governance skill (architect, jtbd, tdd, risk-scorer, etc.), the skill's own commit gate applies to your changes too.
Be kind. Engage in good faith. Critique ideas, not people. Maintainers reserve the right to lock or remove discussions, issues, or PRs that derail into personal attacks.
By contributing, you agree your contributions are licensed under the project's MIT license (see the license field in package.json).