agentleFS
zenml-iozenml-io/kitaru/.claude/skills/kitaru-docs/SKILL.md

kitaru-docs

Skill300 starsChanged 2 months agoApache-2.0View on GitHub

Kitaru documentation surfaces, link rules, and accuracy rules. Use when editing docs under docs/book, generated SDK or CLI reference, docs redirects, example READMEs, or docs CI.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 2 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Use this when editing or reviewing Kitaru documentation, examples, generated reference docs, docs redirects, or docs CI behavior.

    line 8
  2. Very specific:

    Do not add hand-written pages to docs/content/docs/.

    line 18
  3. Distinctive:

    Only document shipped features.

    line 24
  4. Distinctive:

    Do not commit temporary planning/review files or prompt exports unless the user explicitly asks for a durable tracked document.

    line 29
  5. Very specific:

    Treat KITARU_* variables as the public configuration surface.

    line 30
  6. Very specific:

    Do not document v1 runtime surfaces such as kitaru init, kitaru stack, kitaru model, kitaru executions, kitaru.llm(), or …

    line 35
  7. Very specific:

    Every .mdx page needs title and description frontmatter.

    line 37
  8. Very specific:

    Do not hand-edit generated reference output.

    line 39
  9. Very specific:

    Do not add maintainer-oriented sections such as "Testing", CI-only credential setup, or notes about stubbed or mocked runs.

    line 45

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Kitaru Documentation Workflow

Use this when editing or reviewing Kitaru documentation, examples, generated reference docs, docs redirects, or docs CI behavior.

Documentation Surfaces

Kitaru docs live on three surfaces:

  1. Hand-written docs are plain Markdown in docs/book/, published to docs.zenml.io/kitaru through GitBook Git Sync. Navigation is docs/book/toc.md, configuration is docs/book/.gitbook.yaml, and authoring conventions live in docs/book/AGENTS.md.
  2. Generated SDK and CLI reference docs live in the FumaDocs app under docs/, with output under docs/content/docs/reference/ served from sdkdocs.kitaru.ai. scripts/generate_sdk_docs.py extracts the allowlisted Python API, and scripts/generate_cli_docs.py reads the offline kitaru schema contract. Run both through just generate-docs.
  3. kitaru.ai/docs/* redirects are handled by docs/worker/redirect.mjs and wrangler.redirect.toml.

Do not add hand-written pages to docs/content/docs/. The public changelog is owned by the changelog repository at docs.zenml.io/changelog. This repository may generate a gitignored docs/content/docs/changelog.mdx for local reference builds, but agents should not hand-edit or commit it.

The public marketing/runtime site lives in zenml-io-v2. If a task involves Astro pages, public site assets, marketing Cloudflare deployment, or runtime website APIs, switch to that repository instead of adding the code here.

Docs Content Rules

  • Only document shipped features; do not add "Coming Soon" sections.
  • Inside docs/book/, link to sibling pages with relative .md paths.
  • Link to SDK reference with https://sdkdocs.kitaru.ai.
  • Link to other ZenML docs with absolute https://docs.zenml.io/... URLs.
  • Link to diagrams with https://assets.kitaru.ai/docs/diagrams/<slug>.png.
  • Do not commit temporary planning/review files or prompt exports unless the user explicitly asks for a durable tracked document.
  • Treat KITARU_* variables as the public configuration surface.
  • CLI contracts live in src/kitaru/cli/app.py and are available offline through kitaru schema.
  • The generated OpenAPI document and src/kitaru/api_models/ are the API contract authorities.
  • Native MCP documentation must match src/kitaru/mcp/registry.py and tests/mcp/snapshots/metrics.json. Run just mcp-schema-check; do not copy tool counts into prose.
  • The native v2 MCP server does not expose stack or model-alias management.
  • Do not document v1 runtime surfaces such as kitaru init, kitaru stack, kitaru model, kitaru executions, kitaru.llm(), or kitaru.create_stack() unless they are reintroduced in v2 source and tests.
  • Agent-facing CLI docs should preserve the structured JSON/JSONL, --machine, --non-interactive, and --no-browser contracts.
  • Every .mdx page needs title and description frontmatter.

Do not hand-edit generated reference output. Change the SDK PUBLIC_API allowlist or CLI registration metadata and their tests, then run just generate-docs. The SDK generator needs the fumapy bridge after the docs dependencies are installed.

Example READMEs

Example READMEs are user-facing. They should teach new users what Kitaru does and walk them through the specific example.

Do not add maintainer-oriented sections such as "Testing", CI-only credential setup, or notes about stubbed or mocked runs. If a section would not help a first-time user understand Kitaru, it belongs in tests, contributor docs, or PR descriptions instead.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.