helm
CLAUDE.md0 starsChanged 3 months agoMITView on GitHub
This file auto-loads in every Claude Code session rooted here. You are the builder of Helm. Read this file. Read design documents 01 through 12 in docs/. Helm is a personal task + accountability system (an "external executive function") for one user. The full design is in docs/. This file governs how you build it. Work a continuous Plan → Build → Test → Review → commit loop, one small vertical slice at a time. Never big-bang. Keep the loop…
- Reads credentials
The file
We split this CLAUDE.md into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
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
- could be automatic: a setting could enforce it
- Very specific: line 17
Keep the loop moving. Don't stall on small choices — pick a sensible default, record it in PROGRESS.md / docs/12-open-questions.md, and …
- Distinctive: line 21
Dev first, prod never without explicit OK: All build/test on a dev Convex deployment.
- Very specific: line 24
Secrets are pointers: Never commit keys/tokens/PII.
- Distinctive: line 46
Use the commit identity configured for the session.
- Very specific: line 47
Keep docs/ truthful: if a decision changes, update docs/11-decisions.md.
≈ “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
Helm — build-session operating manual
This file auto-loads in every Claude Code session rooted here. You are the builder of Helm. Read this file. Read design documents 01 through 12 in docs/.
Helm is a personal task + accountability system (an "external executive function") for one user. The full design is in docs/. This file governs how you build it.
The operating loop
Work a continuous Plan → Build → Test → Review → commit loop, one small vertical slice at a time. Never big-bang.
- Plan. Pick the next smallest shippable slice from
docs/10-roadmap.md. Write the slice plan intoPROGRESS.md(goal, files, how you'll test, done-criteria). One slice ≈ one capability you can demo. - Build. Implement it. Follow the data model and patterns in
docs/. Match existing code style. No scope creep beyond the slice. - Test. Prove it against a dev Convex deployment —
npx convex run <fn>with real args, assert the result, inspect the data. Add a lightweight test/harness where it pays. A slice isn't done until you've seen it work, not assumed it. - Review. Self-review against the spec and the definition of done below. Run
/code-review(or a checklist) on the diff. Fix what it finds. Re-test. - Commit the slice with a clear message. Update
PROGRESS.md(done, decisions, next). Then loop.
Keep the loop moving. Don't stall on small choices — pick a sensible default, record it in PROGRESS.md / docs/12-open-questions.md, and continue. Only stop the loop for the human-in-the-loop gates below.
Guardrails (hard rules)
- Dev first, prod never without explicit OK. All build/test on a dev Convex deployment. Production deploys, anything touching real email/Slack sends, or anything irreversible/outward-facing → stop and ask.
- Small slices, green before commit. Checks/tests pass before every commit. If a slice balloons, split it.
- Additive, scalable patterns only. New category = a row in the
areastable, never a migration. New capture source = a new adapter. New surface = a new client of the read API. Seedocs/09-scalability.md. Never hardcode a closed list where the spec says it must extend. - Secrets are pointers. Never commit keys/tokens/PII. Use
.env.local(gitignored); Convex secrets vianpx convex env set. - Respect the second-brain split (
docs/08). Operational task state → Convex (auto-writes fine). Durable knowledge → the markdown vault, and only ever proposed for confirmation, never silently auto-written. - Cost-aware. Anything that calls an LLM on a schedule (sweeps, agents) must use bounded source windows and item limits and respect a spend cap. Use update watermarks for incremental sources and complete rolling windows for calendar prep. Note token implications in
PROGRESS.md.
Human-in-the-loop gates (surface, don't block the rest)
You can build Phases 0–2 end-to-end without the user. These need the user — flag clearly in PROGRESS.md and keep building everything else:
- Registering the Helm MCP server into the user's Claude Code config.
- The
SessionEndhook install into~/.claude/settings.json(global) — propose the exact snippet; let the user apply it. - Claude Tag wiring (needs the Team plan live + a Slack channel choice).
- Any production deployment or first real send.
Definition of done (every slice)
- Does what its
PROGRESS.mdplan said. 2. Tested against dev — observed, not assumed. 3. Matches the data model & scalability rules. 4. Reviewed (self +/code-review), findings resolved. 5. No secrets. 6.PROGRESS.mdupdated. 7. Committed.
Conventions
- TypeScript. Convex object-form function syntax with validators (
args/returns). Index every query (no full scans). Follow Convex best practices. - Naming:
kebab-casefiles,camelCasefunctions. One concept, one home. - Commits: use imperative, scoped messages, such as
feat(capture): add an incremental sweep. Use the commit identity configured for the session. - Keep
docs/truthful: if a decision changes, updatedocs/11-decisions.md.
What "good" looks like
Helm must feel calm and decided. Surface one next action. Prefer low input and clear context.
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.

