agentleFS
sourav2024sourav2024/reelspec/CLAUDE.md

reelspec

CLAUDE.md0 starsChanged 6 days agoMITView on GitHub

Spec-driven reel renderer. Read docs/playbook.md before building anything; every rule in it was paid for. The short version an agent must not violate: 1. Never estimate a time. Every t: in a spec cites a measured onset — scripts/find-onset.py <build-dir> "<phrase>" or blocks.json. Build the voiceover FIRST, measure, then write the spec. 2. Verify content from the finished mp4, not the raw TTS — transcribe the final file and check every narrated value/digit against what's on screen. 3. Stills before…

  • In this repositoryOne other file it gives its agents.

The file

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

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

  • 2

    Very specific

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

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

    Never estimate a time: Every t: in a spec cites a measured onset — scripts/find-onset.py <build-dir> "<phrase>" or blocks.json.

    line 6
  2. Very specific:

    Sweep, don't derive: If a pose/angle/offset reads wrong, render a parameter sweep (chars3d-sweep is the pattern), never nudge-and-rerender.

    line 14

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

reelspec — agent notes

Spec-driven reel renderer. Read docs/playbook.md before building anything; every rule in it was paid for. The short version an agent must not violate:

  1. Never estimate a time. Every t: in a spec cites a measured onset — scripts/find-onset.py <build-dir> "<phrase>" or blocks.json. Build the voiceover FIRST, measure, then write the spec.
  2. Verify content from the finished mp4, not the raw TTS — transcribe the final file and check every narrated value/digit against what's on screen.
  3. Stills before video. Render a still at each beat (npx remotion still src/index.js <comp> out.png --frame=N); every visual bug is caught there at seconds per iteration. Anything touching the 3D rig needs --gl=angle.
  4. Sweep, don't derive. If a pose/angle/offset reads wrong, render a parameter sweep (chars3d-sweep is the pattern), never nudge-and-rerender.
  5. Run the gates: node scripts/verify-synth.js <slug> before rendering, node scripts/preflight.js <slug> on the delivered file.
  6. Colors only from theme.js C; fonts from FONT. The shell owns the frame — never reimplement badge/banner/captions/sign-off per reel.
  7. Content layout budget: y=380..1560. Caption band owns the bottom ~360px; act banner sits at y=168.
  8. --concurrency=4 max for renders on 16GB machines. Never run parallel whisper processes yourself — use scripts/transcribe.sh (memory-capped).
  9. New per-reel failure modes become exit 1 guards in that reel's build script, not comments. When scaffolding from a previous reel, re-read every inherited guard.

Workflow for a new reel: script.txt → scripts/make-voiceover.sh (or vo.json → scripts/make-voiceover-kokoro.sh, the shipping voice; read the readback it prints) → measure anchors → spec (copy the shape of specs/pipeline-demo.js) → component (copy PipelineDemoReel.jsx, register in Root.jsx) → verify-synth → stills → render → scripts/mix-music.sh → preflight. The skill at .claude/skills/reel/SKILL.md has the detailed steps.

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.