Documentation section: Contributing
Development
The tools and just recipes for working on this repository, and the versioning rules a pull request
must follow.
Requires bun and, for the git hooks,
lefthook and
just.
just setup-skillsclears and re-links this repository’sskills/pm-*into.claude/skills/and.agents/skills/, so the agents working here use the skills as they are being edited.just setup-skills --cliusesbunx skills add ./ -yinstead, which copies them.just validatechecks skill frontmatter, the README and managed-section tables, thepm-setupinventory, the section markers, the template placeholders, the export schema, the managed section installed inAGENTS.md, and thatdocs-site/still matches thepm-docs-sitetemplates.just docsserves this repository’s own project site (its plan fromplanning/planning.json, the README, these docs, and every skill) at http://localhost:4321;just docs-checktests, type-checks, and builds it.just lint-checkrunsjust validateand lints all Markdown;just lint-fixapplies Markdown fixes.just installverifies the tools and installs the git hooks (commitlint on commit,just lint-checkon push).
This repository manages itself with these skills: planning/ is its live
PM state, and docs-site/ is the site pm-docs-site builds from it.
Versions and releases
Section titled “Versions and releases”just bump patch|minor|majorwrites the next release version topackage.json;majoralso raises the rules version.just version-checkcompares the version withmain(also run on push).
The package.json major is the rules/skills version (rules v17 ship as
17.x.y), and this repository must run what it ships: its own
planning/config.md and AGENTS.md carry the same rules version. CI runs
the same checks on every push and pull request to main. A pull request
that changes anything under skills/ must raise the rules version past the
one on main (just bump major, then pm-setup), to a version that is not
already tagged. Pull requests that touch nothing under skills/ (docs, CI,
scripts, package metadata) keep the rules version, and may bump the minor
or patch. The repository-only release skill in .agents/skills/release/
picks the bump and commits it; it is not installed into consuming projects.
Adding a skill
Section titled “Adding a skill”Adding a skill means creating skills/<name>/SKILL.md and listing it in the
README table, the managed-section table, the pm-setup inventory, and the
pm-help skill guide; just validate fails otherwise. Full conventions are
in AGENTS.md.
Where each file lives: Repository layout.