Team Repository Standards Kit
A versioned, opinionated set of documentation standards and templates that any repository on the team can adopt. The kit's goal is to keep documentation lean, durable, and useful for both humans and AI-assisted development workflows.
- Distributed as: the
repo-standards-kitpackage on PyPI — a zero-dependencystandardsCLI. - Authoritative spec:
docs/STANDARDS.md - Agent contract:
AGENTS.md - Version history:
CHANGELOG.md
Installation
The kit installs as a command-line tool. Use whichever installer you prefer:
pipx install repo-standards-kit # recommended (isolated install)
# or
uvx repo-standards-kit standards --version # run without installing
# or
pip install repo-standards-kit
This puts a standards command on your PATH. Verify it:
standards --version
The runtime is stdlib-only (Python 3.9+) — no third-party dependencies.
Quickstart
# Guided: in a terminal, with no arguments, a menu walks you through setup,
# checks, updates, changing what the repo contains, and new AI skills:
standards
# Adopt the kit into a NEW or empty repo (greenfield):
standards init --profile library .
# Adopt into an EXISTING repo (non-destructive — keeps your files,
# writes <file>.kit-<version> sidecars on conflict):
standards adopt --profile application .
# Verify a repo against the standards (use in CI):
standards check .
# Pull in a newer kit version later (non-destructive reconcile):
standards update .
# Change what an adopted repo contains (creates any newly needed docs):
standards change --profile library,data .
# Diagnose adoption health and optional next lanes:
standards doctor --recommend .
# Scaffold a paired Claude/Copilot AI skill:
standards new-skill review-docs "Review docs before shipping"
# See the public command list:
standards commands
# Print the standard AI session context brief:
python scripts/session-context/session_context.py
# Capture a compact pre-compaction checkpoint:
python scripts/update-handoff/update_handoff.py --compact-snapshot --force
Pick the profiles that fit the repo: application (including IaC) | library | data | documentation. Combine them with a comma, as in --profile application,data; documentation stands alone. Each profile has its own Required / Expected / Optional / N/A doc matrix, and combined profiles take the strongest tier — see docs/STANDARDS.md. Setup creates the docs your profiles make Required or Expected and ticks them in the checklist.
initis for blank/clean repos; it refuses if kit-owned files already exist with different content (it points you atadopt).adoptis for repos that already have their own README, docs, or CI; it never clobbers — it keeps your files, sidecars true conflicts, and appends/splices the kit's managed block into an existingAGENTS.md.- Both seed missing
README.mdandCHANGELOG.mdstarter files, but preserve existing ones. - Both write a
.standards-kit.jsonmarker sostandards updatecan keep you current.
What this kit gives you
- A standard folder layout that scales across repo types.
- Four repo profiles (application, library, data, documentation) with explicit Required / Expected / Optional / N/A doc requirements. A repo can combine them, such as application + data, and takes the strongest tier.
- A guided setup menu: run
standardswith no arguments in a terminal. It asks what the repo contains and which agents the team uses, then creates and ticks the docs the repo needs. - A defined contract for the
ai/directory — four files that carry session-to-session context. - MADR 3.0 ADRs with a defined lifecycle.
- RFCs for time-boxed technical investigations (separate from raw discovery intake).
- Lightweight conventions for
docs/discovery/— keep stakeholder, research, and reconnaissance notes as normal tracked markdown. - A PR template that asks the right questions about documentation, ADRs, AI context, and operational impact.
- A
STANDARDS-CHECKLIST.mdwith a waiver mechanism so absences are explicit, not silent. - A CI check (
standards check) that enforces the structural minimum plus content-level lints, and flags docs a pull request left behind (--drift-base). - AI Skills + hooks (Claude Code + Copilot) for ADRs, RFCs, handoffs, changelog reminders, and running the check, plus a Stop hook that blocks once when docs fall behind the changes that should update them.
- A read-only adoption doctor (
standards doctor) for marker health, check findings, sidecar conflicts, managed-region drift, and optional lane recommendations. - Optional knowledge-lane templates for discovery notes, meetings, artifact indexes, design notes, incidents, troubleshooting, and guides.
- Optional AI continuity commands for session context, compact snapshots, standard handoff refreshes, and changelog updates.
The information flow
docs/discovery/ → docs/rfcs/ → docs/decisions/ → docs/0X-*.md
(early context) (investigated) (decided) (synthesized & durable)
notes, reqs, time-boxed, MADR 3.0 ADRs, PRD, architecture,
use cases spawn-or-abandon immutable runbook, etc.
Adopting without the CLI
If you'd rather adopt by hand (or want the full detail of what the CLI does), the manual process is documented in docs/STANDARDS.md: copy docs/templates/, pick a profile, fill in docs/STANDARDS.md + docs/STANDARDS-CHECKLIST.md, seed missing README.md and CHANGELOG.md, seed ai/*.md from docs/templates/ai-starters/, adopt the .github/ workflow + PR template, and point your AI tools at AGENTS.md.
For AI-assisted repos, use the agent-readiness checklist in docs/STANDARDS.md to confirm the agent contract, handoff files, skill pairs, and standards check are in a trustworthy state.
Discovery artifacts are pointer-first: use markdown indexes that link to external files by default. Commit raw binaries only when the local repo has an explicit policy such as Git LFS, release assets, object storage, or another deliberate storage mechanism.
Documentation philosophy
Keep documentation lean but scalable. Add durable docs when they improve onboarding, implementation, review, operations, traceability, or decision quality. Do not create documents only because a structure exists — that's why the kit uses Required / Expected / Optional rather than a single rigid required-doc list.
Roadmap
All six foundational slices are shipped and the kit is released through v1.1.0. The living roadmap — the active
milestone and what's planned next — and the full shipped-slice history now live in
docs/05-implementation-plan.md. Design rationale is
captured as ADRs under docs/decisions/ and investigations under
docs/rfcs/.
Metadata
Release files for repo-standards-kit 1.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| repo_standards_kit-1.5.0.tar.gz | 225.3 kB | With provenance | Details for repo_standards_kit-1.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| repo_standards_kit-1.5.0-py3-none-any.whl | Python 3 | none | any | Details for repo_standards_kit-1.5.0-py3-none-any.whl |
Total release size: 382.7 kB
Release files / repo_standards_kit-1.5.0.tar.gz
| Download URL | repo_standards_kit-1.5.0.tar.gz |
|---|---|
| Size | 225.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2980d72c89dc4d7837e988943b373774973b5e53b47d011cf2a779f6cdaef8c8
|
|
BLAKE2b-256 checksum How to use checksums |
69420f71cc93700140d2ba3fbe5482b832df0ef2e755d271b6a02e4896200936
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.
Transparency logRelease files / repo_standards_kit-1.5.0-py3-none-any.whl
| Download URL | repo_standards_kit-1.5.0-py3-none-any.whl |
|---|---|
| Size | 157.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7af19514f2c6f02d1f23fbdfe562c82c4b48e3cd4826e7e27ec067e131ecbf24
|
|
BLAKE2b-256 checksum How to use checksums |
3228029a6494fe57f9619dd15f60bbb81d4098aac028713d0487481eb627ffdd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.
Transparency logSecurity for repo-standards-kit 1.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for repo_standards_kit-1.5.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.