agentleFS
pantheon-orgpantheon-org/tekhne/AGENTS.md

tekhne

AGENTS.md10 starsChanged 4 months agoMITView on GitHub

This file defines how LLM agents should work in this repository. Note: Generator/validator pairs are consolidated at the tool level (e.g. terraform-generator and terraform-validator share skills/infrastructure/terraform/tile.json). 13 domains: ci-cd/, infrastructure/, repository-mgmt/, development/, agentic-harness/, testing/, software-engineering/, observability/, documentation/, package-mgmt/, project-mgmt/, specialized/, languages/. See skills/agentic-harness/skill-quality-auditor/references/skill-taxonomy.md for classification criteria. When writing code or scripts for this repository, use the first option that fits: Python is kept out by a guardrail: any tracked .py file outside a directory listed in python-allowlist.txt fails the python-allowlist…

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, 15 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈15

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep skill content modular, discoverable, and easy to lint/validate.

    line 8
  2. Distinctive:

    Prefer small, targeted edits over broad rewrites.

    line 9
  3. Very specific:

    Read the relevant SKILL.md before editing files in that skill.

    line 34
  4. Distinctive:

    Keep changes scoped to the user request.

    line 37
  5. Distinctive:

    Run validation commands before finishing.

    line 38
  6. Distinctive:

    Use kebab-case for skill directory names.

    line 42
  7. Distinctive:

    Keep instructions explicit, actionable, and deterministic.

    line 43
  8. Distinctive:

    Prefer short sections and predictable headings.

    line 44
  9. Distinctive:

    Use Markdown fenced code blocks with language tags when applicable.

    line 46
  10. Distinctive:

    Use ASCII unless a file already requires Unicode.

    line 47
  11. Distinctive:

    When writing code or scripts for this repository, use the first option that fits:

    line 55
  12. Distinctive:

    Agent agnostic: Avoid features specific to individual AI assistants.

    line 66
  13. Very specific:

    Run before publishing or committing major changes.

    line 79
  14. Distinctive:

    Do not bypass hooks unless explicitly requested.

    line 128
  15. Distinctive:

    Never delete or rename existing skills unless explicitly asked.

    line 137
  16. Very specific:

    Never rewrite generated reports in .context/ unless part of the task.

    line 138
  17. Distinctive:

    If you detect unrelated dirty changes, avoid reverting them and continue safely.

    line 139
  18. Distinctive:

    If repository conventions conflict, prefer explicit user instructions.

    line 140

≈ “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.

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

Tekhne Agent Collaboration Guide

This file defines how LLM agents should work in this repository.

Project Purpose

  • Maintain a curated collection of reusable agent skills under skills/.
  • Keep skill content modular, discoverable, and easy to lint/validate.
  • Prefer small, targeted edits over broad rewrites.

Repository Map

  • skills/<domain>/<skill-name>/SKILL.md: Primary entry point for a skill.
  • skills/<domain>/<tool>/{generator,validator}/SKILL.md: Generator/validator pairs (consolidated under <tool>/tile.json).
  • skills/<domain>/<skill-name>/AGENTS.md: Optional deep navigation for that skill.
  • skills/<domain>/<skill-name>/references/: Focused reference documents.
  • skills/<domain>/<skill-name>/scripts/: Utility scripts used by a skill.
  • skills/<domain>/<skill-name>/templates/: Reusable templates (mostly YAML).
  • skills/<domain>/<skill-name>/schemas/: JSON schemas for validation.
  • .context/: Working notes and generated analysis artifacts.
  • crates/: Rust tools (skill-auditor, skill-validator-rs, adr, journal) for auditing, validation, and skill distribution.
  • scripts/catalog/: TypeScript catalog generator for README.md and the docs tiles page.

Note: Generator/validator pairs are consolidated at the tool level (e.g. terraform-generator and terraform-validator share skills/infrastructure/terraform/tile.json).

Domain Organization

13 domains: ci-cd/, infrastructure/, repository-mgmt/, development/, agentic-harness/, testing/, software-engineering/, observability/, documentation/, package-mgmt/, project-mgmt/, specialized/, languages/.

See skills/agentic-harness/skill-quality-auditor/references/skill-taxonomy.md for classification criteria.

Required Workflow For Agents

  1. Read the relevant SKILL.md before editing files in that skill.
  2. Load only the minimum additional files needed for the task.
  3. Reuse existing templates/scripts instead of recreating content.
  4. Keep changes scoped to the user request; do not refactor unrelated skills.
  5. Run validation commands before finishing.

Authoring Rules

  • Use kebab-case for skill directory names.
  • Keep instructions explicit, actionable, and deterministic.
  • Prefer short sections and predictable headings.
  • Store deep details in references/ and keep SKILL.md as a navigation hub.
  • Use Markdown fenced code blocks with language tags when applicable.
  • Use ASCII unless a file already requires Unicode.
  • templates/: YAML extensions (.yaml or .yml) only.
  • schemas/: JSON Schema files named *.schema.json with a "$schema" URL.
  • scripts/: Executable scripts with proper shebangs (sh/bash/bun/node/python3), chosen by the order in Language Preference below.
  • Skills must be self-contained: no ../ paths, no absolute skills/X/Y paths, no .context/ or .agents/ references in SKILL.md (fenced code blocks and inline code spans are exempt).

Language Preference

When writing code or scripts for this repository, use the first option that fits:

  1. Rust, in the crates under crates/.
  2. Bun with TypeScript, when Rust is not a good fit.
  3. Shell, for thin glue only.
  4. Python, as a last resort.

Python is kept out by a guardrail: any tracked .py file outside a directory listed in python-allowlist.txt fails the python-allowlist check (scripts/check-python-allowlist.sh, run locally by the hk hook and in CI), so new Python needs a reviewed allowlist entry.

Skill Standards

  • Agent agnostic: Avoid features specific to individual AI assistants.
  • Quality threshold: Target A-grade (>=126/140) using skill-quality-auditor.
  • Single responsibility: Each skill solves one well-defined problem domain.

Validation Commands

bunx @biomejs/biome check .
mise run lint   # rumdl check . (config: .rumdl.toml)

Skill Quality Audits

Run before publishing or committing major changes. See skills/agentic-harness/skill-quality-auditor/SKILL.md for full workflow.

pantheon-skill-auditor evaluate <domain>/<skill-name> --json --store

Grades: A ≥126/140 · B+ 119-125 · B 112-118 · C/C+ <112 (blocked from publishing).

The pull request Skill Audit grades every skill that has any changed file, not only a changed SKILL.md, and audits the same skills at the base commit so the scores compare. A skill graded below B blocks the pull request only if it is new or scores lower than at the base commit. A skill that is already below B and not lowered passes with a warning and is tracked by one open GitHub issue (scripts/skill-audit/classify.sh, file-issues.sh), linked to the pull request and listed in the Skill Audit comment. Nothing closes the issue automatically; close it when the grade is fixed.

Build the auditor from source with mise run build:skill-auditor (a shortcut for cargo build --release -p pantheon-skill-auditor), then invoke target/release/pantheon-skill-auditor evaluate.

Skills distributed via crate installers

Three skills are embedded into Rust crates at build time and distributed only by their crate's install command:

  • documentation/journal-entry-creator (embedded in the journal crate)
  • documentation/adr-creator (embedded in the adr crate)
  • agentic-harness/skill-quality-auditor (embedded in the skill-auditor crate)

These have "private": true in their .tekhne/plugin.json and are omitted from release-please-config.json and .release-please-manifest.json, so the crate version is canonical. Continue running evals, audits, and quality tooling on their SKILL.md as normal. Install them with pantheon-journal skill install, pantheon-adr skill install, or pantheon-skill-auditor skill install.

A released binary only has the SKILL.md that existed when it was built. Editing skills/documentation/adr-creator/SKILL.md (or either of the other two) does not change what a PATH-installed release binary installs until a new release is cut — the content is embedded at compile time, not read from disk. During development, build from source and install from that build instead of waiting on the PR → merge → release loop:

mise run install-skill:adr             # cargo build --release -p pantheon-adr && pantheon-adr skill install
mise run install-skill:journal         # same, for pantheon-journal
mise run install-skill:skill-auditor   # same, for pantheon-skill-auditor

Each builds the crate and immediately runs its skill install, so the copies it writes (~/.claude/skills/<name>, and the other installed agents' skill dirs) reflect your working tree, not the last release. mise run build:adr / build:journal / build:skill-auditor do the build step alone, for when you just need the binary at target/release/.

Git Hooks

Pre-commit (hk, configured in hk.pkl): Biome on JS/TS/JSON, rumdl on .md, YAML validation, artifact convention checks, skill structure validation, and the Python allowlist guardrail. Pre-push runs unit tests (bun test scripts/), integration tests (cucumber), and skill quality gates. Hooks are installed via hk install (run automatically by bun install); hk and its tools are pinned in mise.toml. The Python allowlist guardrail (scripts/check-python-allowlist.sh) is also enforced in CI by the Python Allowlist workflow, so a stray .py outside python-allowlist.txt cannot land by skipping the local hook.

Do not bypass hooks unless explicitly requested.

Multi-Agent Development

Install skills locally with an ecosystem installer (npx skills add ./skills --all), or let a bundled tool install its own companion skill (pantheon-skill-auditor skill install, pantheon-adr skill install, pantheon-journal skill install). See README.md for the full list of 41+ supported agents.

Safety Constraints

  • Never delete or rename existing skills unless explicitly asked.
  • Never rewrite generated reports in .context/ unless part of the task.
  • If you detect unrelated dirty changes, avoid reverting them and continue safely.
  • If repository conventions conflict, prefer explicit user instructions.

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.