agentleFS
WexopWexop/atelier/CLAUDE.md

atelier

CLAUDE.md0 starsChanged 22 days agoMITView on GitHub

Applies to every contributor, human or AI (Claude Code loads this file automatically).

  • Deletes or force-pushes
  • Installs packages
  • Commits and pushes
  • In this repository2 other files it gives its agents.

The file

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

4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    Keep version in .claude-plugin/plugin.json equal to __version__ (Claude Code uses it to detect plugin updates).

    line 11
  2. Very specific:

    Every bump gets an annotated tag vX.Y.Z on the bump commit, pushed with it: git tag -a vX.Y.Z -m "atelier X.Y.Z" && git push origin main …

    line 16
  3. Very specific:

    After changing an example image, rebuild the banner: python examples/make_gallery.py.

    line 45
  4. Very specific:

    Do not commit previews, crops or other intermediates (*_prev.jpg, *_crop.jpg, demos/out/).

    line 46

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

Rules for this repository

Applies to every contributor, human or AI (Claude Code loads this file automatically).

Language

  • English only in the repo: code, comments, docstrings, docs, commit messages, CLI output, error messages, and any text rendered into example or demo images. Conversations with the maintainer can be in any language.

Versioning

  • The version lives in one place: __version__ in atelier/__init__.py (pyproject.toml reads it).
  • Keep version in .claude-plugin/plugin.json equal to __version__ (Claude Code uses it to detect plugin updates).
  • Bump it for every change pushed to main that touches the atelier/ package or SKILL.md, so pip install -U git+https://github.com/Wexop/atelier picks it up. Semver: patch = fix, minor = new feature or API addition, major = breaking change.
  • Docs-only or example-only changes do not need a bump.
  • Every bump gets an annotated tag vX.Y.Z on the bump commit, pushed with it: git tag -a vX.Y.Z -m "atelier X.Y.Z" && git push origin main vX.Y.Z.

SKILL.md

  • SKILL.md is the cheat sheet an AI loads to use the tool: keep it ≤ 200 lines, dense, accurate.
  • Any API change (new function, renamed parameter, new default) updates SKILL.md in the same commit.
  • .claude/skills/atelier/ must mirror the root SKILL.md and styles/: cp SKILL.md .claude/skills/atelier/SKILL.md && rm -rf .claude/skills/atelier/styles && cp -r styles .claude/skills/atelier/.
  • Style guides (styles/*.md, ≤ 60 lines each, English) hold per-style recipes; SKILL.md only lists them. A new guide comes with an example script in examples/.
  • The install line in SKILL.md and README.md stays pip install git+https://github.com/Wexop/atelier.

Code

  • Constraints, in priority order: token-economical API (short, composable, sensible defaults), fast preview loop, deterministic (everything random takes seed), CPU only (must run on 2 cores), no mandatory external assets.
  • Flat functions, no plugin systems, config systems or needless abstract classes.
  • Dependencies: numpy, pillow, opencv-python-headless, scipy, skia-python. Anything else needs a written justification.
  • Export names must be unique across modules (from atelier import * merges them); check with python -c "import atelier, collections; print([k for k, v in collections.Counter(atelier.__all__).items() if v > 1])".
  • Slow imports (e.g. scipy.interpolate) go inside the function that needs them.

Tests & checks

  • pytest must pass before every commit; new features come with a test (known values, seed determinism, or a tiny render).
  • Visual changes are checked by looking at renders: atelier render scene.py --preview, then --crop on details.
  • Performance-sensitive changes: run python bench.py (2 threads) and keep finals under ~60 s.

Examples

  • examples/*.py save next to themselves (c.save(__file__[:-3] + ".png")) and are portfolio quality: at least 3 look-and-fix iterations each.
  • After changing an example image, rebuild the banner: python examples/make_gallery.py.
  • Do not commit previews, crops or other intermediates (*_prev.jpg, *_crop.jpg, demos/out/).

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.