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
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
- Very specific: line 11
Keep version in .claude-plugin/plugin.json equal to __version__ (Claude Code uses it to detect plugin updates).
- Very specific: line 16
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 …
- Very specific: line 45
After changing an example image, rebuild the banner: python examples/make_gallery.py.
- Very specific: line 46
Do not commit previews, crops or other intermediates (*_prev.jpg, *_crop.jpg, demos/out/).
≈ “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.
Files
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__inatelier/__init__.py(pyproject.tomlreads it). - Keep
versionin.claude-plugin/plugin.jsonequal to__version__(Claude Code uses it to detect plugin updates). - Bump it for every change pushed to
mainthat touches theatelier/package orSKILL.md, sopip install -U git+https://github.com/Wexop/atelierpicks 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.Zon 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.mdis 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.mdin the same commit. .claude/skills/atelier/must mirror the rootSKILL.mdandstyles/: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 inexamples/. - The install line in
SKILL.mdandREADME.mdstayspip 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 withpython -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
pytestmust 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--cropon details. - Performance-sensitive changes: run
python bench.py(2 threads) and keep finals under ~60 s.
Examples
examples/*.pysave 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/).
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
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.

