agentleFS
korniakornia/kornia-rs/.claude/skills/kornia-curation/SKILL.md

kornia-curation

Skill748 starsChanged 7 days agoApache-2.0View on GitHub

Use when a change touches a fact the skills, AGENTS.md or CONTRIBUTING.md describe (MSRV, publish set, pixi tasks, CI commands, features, crate layout), when you hit a repo trap worth recording, or when editing .claude/skills — keeps the guidance true and current. Trigger on "update the skills", "docs are stale", "add a skill", or any edit to Cargo.toml, pixi.toml, scripts/ or .github/workflows/.

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When rewording a restated fact, verify it against the source (e.g.

    line 35
  2. Very specific:

    Reviews feed skills: Every kornia-code-review run ends with a "Skill gaps" section.

    line 42
  3. Distinctive:

    Delete what is wrong: Remove or fix stale lines.

    line 47

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

Keeping kornia-rs guidance current

Stale guidance is worse than none: agents follow it. Guidance points at the source of truth; it restates a fact only when scripts/check_skills.py cross-checks it.

Sources of truth

FactSourceRestated in skills?
MSRVroot Cargo.toml rust-versionyes, in skills, AGENTS.md, CONTRIBUTING.md, Copilot instructions
Publish set / orderscripts/release_rust.sh (PUBLISH_ORDER, NOT_PUBLISHED)no — link only; a sentence calling a PUBLISH_ORDER crate (kornia-x or short name) excluded / not published fails the check
pixi taskspixi.toml [tasks] / [feature.*.tasks]yes, every pixi run [-e env] <task> is checked
CI commands.github/workflows/*.ymlsummarised; workflow file wins
Cratescrates/*yes, names in kornia-arch are checked
Paths cited in skillsthe treeyes, backticked paths under crates/, scripts/, kornia-py/, kornia-cpp/, docs/, .github/
Review eval caseskornia-code-review/evals/yes, files present and patch.diff applies
Featureseach crate's Cargo.tomlsummarised
Release noteschangelog.d/ fragments; CHANGELOG.md only in release PRsscripts/changelog.py check in CI
SIMD rulescrates/kornia-imgproc/SIMD.mdlink only

Rules

  1. Same-PR updates. A PR that changes a source above updates every skill and doc that describes it. pixi run skills-check (and the pre-commit hook, which also fires on Cargo.toml, scripts/release_rust.sh and workflow edits) catches the checked facts; the rest is on the author and reviewer.
  2. Link, don't copy. New guidance names the file that owns the fact. If you must restate a fact, add its check to scripts/check_skills.py in the same PR. When rewording a restated fact, verify it against the source (e.g. PUBLISH_ORDER), not only against the check: the check can be wrong too.
  3. Record traps and findings. A non-obvious failure hit during a task (silent skip, wrong default, misleading error) becomes one line in the owning skill: the invariant and how to detect it. So does a reusable finding (an existing helper to call, a measured cost, a pattern that worked), with the file or command that shows it. No narratives, no dates.
  4. Reviews feed skills. Every kornia-code-review run ends with a "Skill gaps" section. Each gap becomes a one-line rule in the owning skill; each defect a review missed becomes a case in .claude/skills/kornia-code-review/evals/. A skill edit is done only when all eval cases still pass.
  5. Delete what is wrong. Remove or fix stale lines; never add a contradicting line next to them.
  6. New skill: directory name == frontmatter name, description starts with "Use " and says when to trigger, row added to the AGENTS.md table, and REQUIRED in scripts/check_skills.py if contributors must read it.
  7. Short. A skill is a checklist, not a tutorial. Cut before you add.

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.