agentleFS
thettwethettwe/nyann/CLAUDE.md

nyann

CLAUDE.md6 starsChanged 3 months agoMITView on GitHub

nyann is a Claude Code plugin that sets up and maintains project governance: git workflow, hooks, branching, commits, releases, CI, docs routing, and health monitoring. See CHANGELOG.md for release history. Build / lint / test commands: - bats tests/bats/ unit + integration suite - ./tests/lint.sh shellcheck + SKILL.md length enforcement (also available as shellcheck bin/*.sh) - claude plugin validate . manifest validation - evals/run.sh skill-level trigger + output-quality evals (run locally; not a PR gate) Detailed docs (Project Memory): Read…

The file

We split this CLAUDE.md into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 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.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read these before making changes that cross layers, touch generated files, or alter the doc structure.

    line 26
  2. Very specific:

    Never duplicate content between SKILL.md and references, or between skills.

    line 35
  3. Very specific:

    Git only: No Mercurial/SVN/Fossil.

    line 39
  4. Very specific:

    No application scaffolding: Not a create-next-app replacement.

    line 41

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.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
CLAUDE.md

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Overview

nyann is a Claude Code plugin that sets up and maintains project governance: git workflow, hooks, branching, commits, releases, CI, docs routing, and health monitoring. See CHANGELOG.md for release history.

Build / lint / test commands:

  • bats tests/bats/ unit + integration suite
  • ./tests/lint.sh shellcheck + SKILL.md length enforcement (also available as shellcheck bin/*.sh)
  • claude plugin validate . manifest validation
  • evals/run.sh skill-level trigger + output-quality evals (run locally; not a PR gate)

Architecture & conventions

Detailed docs (Project Memory):

TopicWhere
Layer model + JSON schema contracts + MCP boundarydocs/architecture.md
Non-negotiable conventions (preview-before-mutate, idempotency, router-mode, profiles-as-data, no internal refs)docs/principles/conventions.md
Documentation principles + Project Memory modeldocs/principles/documentation.md
Release proceduredocs/RELEASING.md

Read these before making changes that cross layers, touch generated files, or alter the doc structure.

Skill authoring rules (apply to every SKILL.md)

  • Body ≤ 500 lines. Longer detail → split into skills/<skill>/references/<topic>.md.
  • Frontmatter description must be pushy: enumerate trigger phrases and scenarios aggressively. Vague descriptions under-trigger.
  • Imperative + explain-why. Every step says what and because, so Claude can adapt when the step doesn't fit.
  • Progressive disclosure via references/ (loaded on demand, e.g. per-stack notes).
  • Bundled scripts/ for repeated work.
  • Never duplicate content between SKILL.md and references, or between skills.

Scope reminders

  • Git only. No Mercurial/SVN/Fossil.
  • GitHub only for remote integration. GitLab/Bitbucket deferred.
  • No application scaffolding. Not a create-next-app replacement.
  • No dependency management beyond what hooks require.
  • No history rewrites. Non-compliant past commits are flagged, not fixed.
  • Unix-first. Windows (.ps1 variants) deferred.

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.