agentleFS
michalklejdyszmichalklejdysz/pr-visuals/CLAUDE.md

pr-visuals

CLAUDE.md0 starsChanged 23 days agoMITView on GitHub

Made from the demo repo, a clone of the fork michalklejdysz/shadcn-admin on the feat/dash-12-revenue-trend branch with its dev server on :5173, and its PR #1 (screenshots and video made by the skills themselves):

  • Commits and pushes

The file

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

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

  • 1

    Very specific

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

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

    Before pushing: npx skills add .

    line 5

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

Working on pr-visuals itself

  • Everything users get is in skills/: the two skills (skills/*/SKILL.md) and their templates. Users install them with npx skills add, which copies only the skill folders, so repo-only files (README, hero/, CI) never reach them. There is no Claude Code plugin on purpose.
  • Skills must work in any agent that reads SKILL.md (Claude Code, Codex, Cursor), not only Claude Code: no Claude-only tools in the required steps.
  • Before pushing: npx skills add . --list must list both skills, node --check on every .js, and uvx --from shellcheck-py shellcheck hero/*.sh. CI (.github/workflows/ci.yml) runs the same.
  • demo-template.js overlays animate only opacity and transform. The screencast drops frames whenever Chrome repaints (animated size, shadow or backdrop-filter), and the video stutters.
  • Releasing: gh release create vX.Y.Z with two or three lines on what changed for users.

The README hero

Made from the demo repo, a clone of the fork michalklejdysz/shadcn-admin on the feat/dash-12-revenue-trend branch with its dev server on :5173, and its PR #1 (screenshots and video made by the skills themselves):

  1. hero/capture.sh <demo repo> <PR url> shoots the real stills at 2x: the app after the change, the app with the changed file swapped back to main, and the logged-out PR page.
  2. Copy the PR's demo.webm into <demo repo>/.pr-visuals/out/hero/.
  3. hero/render.sh <that folder> [from] [to] renders stage.html frame by frame at 60 fps into hero.mp4. Pass a range to check one part (into hero-part.mp4).
  4. Upload hero.mp4 with gh issue comment 1 -R michalklejdysz/pr-visuals --body "New render" --attach ./hero.mp4 (issue #1 hosts the hero video) and put the new user-attachments URL at the top of the README: GitHub plays only those URLs inline, and never a video from the repo. Timing lives in stage.html: every element has keys [[time, value]], and seek(t) sets them all, so nothing depends on how fast Chrome paints.

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.