npx claudepluginhub baodq97/govkitLLM authoring companion to the govkit governance engine: skills and role agents that author the governed SDLC chain (PRD/RFC/ADR/US, API + data design, gate-loop close-out) and call `npx govkit verify` — never embedding the deterministic gate. Domain modelling lives in the sibling ddd-flow plugin, experience design in design-flow; siblings meet at artifacts, never imports.
The DDD modelling loop as skills: one orchestrator (/ddd-flow:design) reads repo state, decides the next step and invokes it, eight step skills own the workshops, and /ddd-flow:view renders the whole model live in the browser. Episodic by design — greenfield projects and DDD migrations. Hands off to swe-flow through docs/domain/; authors drafts, never flips a status.
The experience-design loop: ui-designer authors docs/ui (design brief, WCAG-validated tokens, screen inventory with declared states — RFC-0030) and /design-flow:view runs the live co-design surface whose clicks, notes, and candidate picks land in events.jsonl for the agent's next round. Meets ddd-flow at docs/domain/ and swe-flow at docs/ui/; authors drafts, never flips a status.
7-day visitors to each marketplace page
Governance you can run, not just read. A docs-as-code SDLC governance engine for the AI-agent era — deterministic, cross-platform, zero-install.
Your PRD, RFC, ADR, and user stories become artifacts a program can check: correct front-matter, a real status lifecycle, references that resolve, an index that stays in sync. The checks run in your editor as you write and in CI on every PR — with no API key, so a contributor who has never opened Claude Code still passes the same gate you do.
Three Claude Code plugins author those artifacts; the engine grades them. The two halves are deliberately separate — the thing that writes the document is never the thing that approves it.
→ The flow: one feature, start to finish — what you type, in what order, and what appears on disk. Read that page before this one if you plan to actually use govkit.
govkit is on npm — govkit resolves from the registry,
so npx --yes govkit … works with nothing installed.
Any repo, new or existing:
npx govkit init # govkit.yml + AGENTS.md + the write-time hook + docs/*/INDEX.md — idempotent
npx govkit verify # green on a fresh scaffold; this is what CI will run
A repo that already has design docs — don't rewrite them by hand:
npx govkit init --adopt # dry run: shows what metadata it would extract per file
npx govkit init --adopt --apply # extracts prose metadata (e.g. `**Status**: X`) into front-matter
Anything it cannot find is sentineled so it still fails the gate — govkit never asserts
metadata it did not actually read. Status values outside your enum come back as a suggested
govkit.yml patch. In Claude Code, /swe-flow:govkit-adopt drives this whole migration for you.
A greenfield repo, full surface in one shot — copy template/ (or "Use this template"
once published). You get govkit.yml, the hooks, the sdlc and gate-loop workflows, a CI
workflow, the governed doc dirs, and an AGENTS.md contract.
Then wire CI and the authoring plugins:
# CI — .github/workflows/ci.yml (the template ships this):
# npx --yes govkit check → verify + eval, exits non-zero, no Claude, no key
# Claude Code — the authoring layer:
claude plugin marketplace add baodq97/govkit
claude plugin install swe-flow@govkit # the chain: PRD → RFC → ADR → US → code
claude plugin install ddd-flow@govkit # the domain model → docs/domain/
claude plugin install design-flow@govkit # the UI + prototype → docs/ui/
| Step | You run | You get |
|---|---|---|
| Requirements | /swe-flow:spec-author | docs/product/ — a governed PRD |
| Domain model | /ddd-flow:design · /ddd-flow:view | docs/domain/ — contexts, aggregates, events |
| UI design | /design-flow:ui-designer · /design-flow:view | docs/ui/ — brief, tokens, an openable prototype |
| Technical design | /swe-flow:api-designer · /swe-flow:data-model · the architect agent | docs/api/, docs/data/, docs/rfc/, docs/adr/ |
| Slicing | /swe-flow:work-breakdown | docs/issues/ — independently shippable stories |
| Build | test-author → implementer agents | code, with a failing test written first |
| Gate | npx govkit check + reviewer / red-teamer / verifier agents | pass, or a specific reason |
| Close | /swe-flow:gate-close | docs/releases/ — one owner-decision packet |
| Learn | /swe-flow:distill-learnings | proposed rule changes, from what the gate caught |
Domain model and UI design are siblings, not a sequence — both read the PRD. Most changes run only part of this chain; the flow has the short paths.
Daily:
npx govkit verify # the structural gate — this is what blocks
npx govkit eval # quality floor (blocks) + advisory 0–100 score (never blocks)
npx govkit check # both, in order — what CI runs
npx govkit report # lifecycle view: done / in-flight / cleanup (advisory)
npx govkit report --aging # + time-in-status from git blame, with per-type thresholds
npx govkit stale # docs whose `governs:` code has moved on (advisory, needs git)
Opt-in, when you want them:
RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering
Directory of popular Claude Code extensions including development tools, productivity plugins, and MCP integrations
Plugins with agents, skills, and commands for Claude Code and six other coding tools. Local plugins are maintained as one Markdown source and adapted to each tool.