kitaru / plugins
AGENTS.md300 starsChanged 2 months agoApache-2.0View on GitHub
Read plugins/DEVELOPMENT.md before you change package metadata, default definitions, pins, artifact tests, or plugin release workflows. During iteration, run the focused tests and file-scoped checks for the changed behavior. Before handing off a plugin implementation PR, run the workspace format, lint, typecheck, and full test commands below. Metadata, pin, default-definition, and release-path changes also require the artifact smoke check. Documentation-only changes need relevant documentation checks, not the plugin test suite.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- devtools/AGENTS.mdAGENTS.md
- tests/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- docker/CLAUDE.mdCLAUDE.md
- docs/CLAUDE.mdCLAUDE.md
- kitaru-adapter-developmentSkill
- kitaru-devSkill
- kitaru-docsSkill
- kitaru-importer-developmentSkill
- kitaru-releaseSkill
- kitaru-tests-releaseSkill
- kitaru-ui-api-developmentSkill
- kitaru-adapter-developmentSkill
- kitaru-devSkill
- kitaru-docsSkill
- kitaru-importer-developmentSkill
- kitaru-releaseSkill
- kitaru-tests-releaseSkill
- kitaru-ui-api-developmentSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
18 rules. About 0 are common, 6 are distinctive, and 12 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
12
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 3
Read plugins/DEVELOPMENT.md before you change package metadata, default definitions, pins, artifact tests, or plugin release workflows.
- Very specific: line 7
Treat each directory under plugins/packages/ as an independent Python distribution.
- Very specific: line 8
Before adding an independent distribution, complete the new-distribution integration review in the kitaru-dev skill, including release …
- Distinctive: line 12
Do not bump unrelated plugin distributions.
- Very specific: line 13
Keep the definitions in src/kitaru/server/api/bootstrap.py aligned with their owning wheels.
- Distinctive: line 22
Keep adapter distributions out of the server catalog.
- Very specific: line 23
Run plugin workspace commands with --project plugins.
- Very specific: line 25
Keep .github/workflows/ci.yml, .github/workflows/release-plugins.yml, and plugins/packages/ aligned when you add or remove a distribution.
- Distinctive: line 31
Run the focused plugin tests for changed behavior.
- Very specific: line 32
Run uv run --project plugins ruff format --config plugins/pyproject.toml --check plugins and uv run --project plugins ruff check --config …
- Very specific: line 35
Run just plugin-artifact-smoke for default definitions, package metadata, pins, or release-path changes.
- Very specific: line 36
Use plugins/docker-compose.candidate.yml when a change needs a candidate-image rehearsal.
- Distinctive: line 38
Do not change production release Dockerfiles to support local plugin wheels.
- Distinctive: line 43
Use an exact package requirement when the test must cover wheel installation or package imports.
- Very specific: line 48
Use the Release Kitaru plugins workflow.
- Very specific: line 49
Use the non-publishing rehearsal in plugins/DEVELOPMENT.md on an eligible reviewed commit.
- Very specific: line 52
Use the tag format documented in plugins/DEVELOPMENT.md.
- Distinctive: line 53
Never reuse a PyPI version or package tag.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Plugin Guidelines
Read plugins/DEVELOPMENT.md before you change package metadata, default definitions, pins, artifact tests, or plugin release workflows.
Package boundaries
- Treat each directory under
plugins/packages/as an independent Python distribution. - Before adding an independent distribution, complete the new-distribution integration review in the
kitaru-devskill, including release inventory, worker installation, and any deliberate catalog or example exclusions. - Adapter distributions are installed directly by agent projects and do not belong in the default server plugin catalog.
- Release one importer distribution when only that provider changes.
- Release
kitaru-evaluatorwhen any built-in evaluator changes. - Do not bump unrelated plugin distributions.
- Keep the definitions in
src/kitaru/server/api/bootstrap.pyaligned with their owning wheels.
Implementation and release preparation
- Feature PRs change implementation, tests, and
Unreleasedchangelog entries. Leave existing package versions and server default requirements/display versions unchanged. - The release-preparation PR selects plugin versions and updates matching
DEFAULT_PLUGIN_DEFINITIONSrequirements and display versions together. The release inventory validates their equality. - Preserve a published core dependency floor when it remains supported. If new behavior requires unreleased core, follow the exact development-pin policy in
plugins/DEVELOPMENT.mdand record the core change inRelease context. - Release prep replaces development pins with the selected core release floor and regenerates
plugins/uv.lockbefore publication. - New packages need initial metadata. Adding a server default requires an explicit release decision.
- Keep adapter distributions out of the server catalog.
- Run plugin workspace commands with
--project plugins; the root workspace contains only Kitaru. - Include relevant
plugins/uv.lockchanges in the patch and in any requested commit. - Keep
.github/workflows/ci.yml,.github/workflows/release-plugins.yml, andplugins/packages/aligned when you add or remove a distribution.
Required tests
During iteration, run the focused tests and file-scoped checks for the changed behavior. Before handing off a plugin implementation PR, run the workspace format, lint, typecheck, and full test commands below. Metadata, pin, default-definition, and release-path changes also require the artifact smoke check. Documentation-only changes need relevant documentation checks, not the plugin test suite.
- Run the focused plugin tests for changed behavior.
- Run
uv run --project plugins ruff format --config plugins/pyproject.toml --check pluginsanduv run --project plugins ruff check --config plugins/pyproject.toml plugins. - Run
uv run --project plugins ty check --project plugins. - Run
uv run --project plugins pytest -q -c plugins/pyproject.toml plugins/tests tests/server/test_default_plugins.py. - Run
just plugin-artifact-smokefor default definitions, package metadata, pins, or release-path changes. - Use
plugins/docker-compose.candidate.ymlwhen a change needs a candidate-image rehearsal. - Include relevant candidate Dockerfile and Compose configuration changes in the patch and in any requested commit. Do not commit generated candidate wheels.
- Do not change production release Dockerfiles to support local plugin wheels.
Development registration
- Register a self-contained in-progress plugin with
--scriptand an explicit entrypoint. - Use an exact package requirement when the test must cover wheel installation or package imports.
- Remember that package registration stores metadata. It does not upload a wheel.
Release safety
- Use the
Release Kitaru pluginsworkflow. Do not publish plugin distributions from a developer machine. - Use the non-publishing rehearsal in
plugins/DEVELOPMENT.mdon an eligible reviewed commit. - Publish only from a namespaced package tag reachable from
developor that unit's matching maintenance branch. - For coordinated releases, wait for the required core version on PyPI before pushing dependent plugin tags. The remaining core jobs can continue in parallel.
- Use the tag format documented in
plugins/DEVELOPMENT.md. - Never reuse a PyPI version or package tag.
- Confirm the package name, package version, Git commit, PyPI project, and tag before approval.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

