agentleFS
Karthick-RamachandranKarthick-Ramachandran/persist-os/.agents/skills/conventions-adherence/SKILL.md

conventions-adherence

Skill9 starsChanged 2 months agoMITView on GitHub

Check a change against the repository's naming conventions and canonical vocabulary instead of reinventing patterns. Use when reviewing a finished change, or before finishing one, to verify it reuses what CONVENTIONS.md names. Skip for planning work, security reviews, and writing new tests.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 6 are distinctive, and 0 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.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Verify a change reuses the repository's named vocabulary instead of inventing new patterns.

    line 8
  2. Distinctive:

    Read the Canonical Primitives, Naming Conventions, Rules, and Anti-Patterns sections of CONVENTIONS.md.

    line 13
  3. Distinctive:

    Check naming against the documented conventions.

    line 15
  4. Distinctive:

    If CONVENTIONS.md is missing or still a template → report that first.

    line 21
  5. Distinctive:

    If a convention conflicts with an accepted ADR → the ADR wins.

    line 22
  6. Distinctive:

    Every finding cites a specific primitive, naming rule, or anti-pattern.

    line 26

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

Goal

Verify a change reuses the repository's named vocabulary instead of inventing new patterns.

Workflow

  1. Review with fresh context: a separate pass from the one that wrote the change.
  2. Read the Canonical Primitives, Naming Conventions, Rules, and Anti-Patterns sections of CONVENTIONS.md.
  3. For each new component, helper, client, type, or pattern, check whether a named primitive already exists.
  4. Check naming against the documented conventions.
  5. Flag reinvention, divergent naming, and anti-pattern use, each naming the primitive or rule.
  6. Propose a CONVENTIONS.md update when the change establishes a genuinely new shared primitive.

Decisions

  • If CONVENTIONS.md is missing or still a template → report that first; there is nothing to review against.
  • If a convention conflicts with an accepted ADR → the ADR wins; stop and ask for a human decision.

Verification

  • Every finding cites a specific primitive, naming rule, or anti-pattern.
  • Reinvention of an existing primitive is caught or explicitly absent.
  • New shared primitives are proposed for documentation, not silently accepted.

Resources

  • For the vocabulary → docs/60-engineering/CONVENTIONS.md
  • For past mistakes → docs/60-engineering/LESSONS.md

Output

  • Finding list citing primitives or rules, or an explicit all-clear.
  • Proposed CONVENTIONS.md update when one earned it.

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.