A reusable methodology + workflow framework for AI-assisted projects.
Status: active — implemented and self-hosting (project-kit adopts its own methodology). The installable methodology lives under .pkit/; the current version is recorded in .pkit/VERSION.
CLI binary: pkit (per PRJ-001)
project-kit packages a working methodology — workflow rules, a decision-record system, an agent matrix, hard rules, schemas, scripts — into something that can be installed into any project and kept in sync as the methodology evolves.
The pattern: when an improvement is made in one project (a clearer hard rule, a sharper agent prompt, a better schema), it lands in project-kit and propagates outward to the projects that have adopted it.
- Not a library. No imports from
project-kitinto runtime code. Other projects do not depend on it as a runtime artifact. - Not a packaged product. It installs via a direct git URL — no registry (per PRJ-004).
- Not a substitute for thinking. The methodology is opinionated but not exhaustive — projects still make their own architectural decisions (and record them as PRJ / ADR records).
The kit installs / synchronises a fixed set of files and conventions into a target project under .pkit/, plus the host-side glue an AI harness expects. The areas:
decisions/— the decision-record system. Two namespaces:core/(kit-shipped,COR-prefixed) andproject/(yours,PRJ-prefixed). Home of the no-shared-files invariant.capabilities/— opt-in installable disciplines (per COR-017).project-management(issue lifecycle, board state machine, label axes, PR conventions),evidence,software-engineering. Adopters install the ones they need.rules/— universal hard rules + tool hygiene, loaded into every adopter'sCLAUDE.md.agents/— agent definitions (persistent roles AI harnesses delegate against), deployed by the adapter.skills/— installable, harness-agnostic agent skills.schemas/— YAML schemas + JSON Schema companions; the structured source of truth capabilities read at runtime.adapters/— translate kit content into the format/locations a specific harness expects (claude-codetoday).lifecycle/— packaging, manifest schema, upgrade + migration framework.cli/— thepkitcommand-line surface.
.pkit/README.md is the adopter-facing entry point that maps these areas.
Two operations on a target project:
-
pkit init— first-time install. Propagates kit-owned content, seeds project-side files, and merges adapter-owned config into a fresh repo. -
pkit sync— refresh kit-owned content in a project that's already initialised, without clobbering project-owned files (the no-shared-files invariant guarantees the two never collide).
Upgrades across kit versions go through pkit upgrade, which runs any migrations the new version ships (per COR-010).
pkit is implemented in Python (per PRJ-003). The principal commands:
pkit init First install: propagate + seed + merge.
pkit sync Refresh kit-owned content from the source kit.
pkit merge Re-run merge delivery on adapter-owned config files.
pkit upgrade Move the project to a newer backbone version (runs migrations).
pkit status Show how project-kit is wired in this project.
pkit validate Check project state against the kit's invariants.
pkit version [bump ...] Show or bump the version.
pkit new <kind> ... Scaffold a decision, adapter, migration, area, agent, capability, ...
pkit capabilities ... Manage capabilities: list, install (kit-shipped), register (in-repo/incubated), ...
pkit --help lists the full surface (including agents, schemas, migrations, scratchpad, permissions, and per-capability subcommand groups such as pkit project-management ...). See .pkit/cli/README.md for the per-command contract.
- Adopting or navigating the kit:
.pkit/README.md— maps every area; start at.pkit/decisions/README.mdfor the foundational pattern. - Working on project-kit itself:
CONTRIBUTING.md— kit-maintainer guidance (the axiom / project-neutrality / principles-not-inventory disciplines, the acceptance gate, running checks). First clone: runmise trustonce to enable the task runner (or run theuv run ...commands directly — mise is optional). - Session instructions for AI agents:
CLAUDE.md.