vibe-stack
AGENTS.md19 starsChanged 6 months agoMITView on GitHub
vibestack is designed to be operated by AI agents in addition to humans. The skill workflow under .claude/skills/ is the canonical way to do non-trivial work. If .env does not exist, run pnpm init:app (interactive wizard: product name rename, feature toggles, optional API keys, .env with a generated BETTER_AUTH_SECRET) or /setup in Claude Code for the conversational version — never read or print existing .env values. pnpm rename <name> does just the rename (lockfile-safe; run pnpm install after). Zero-key boot:…
- Reads credentials
- Deletes or force-pushes
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 33,398 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository10 other files it gives its agents.
- .claude/commands/monitoring/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- frontend-designSkill
- gsapSkill
- remotion-best-practicesSkill
- text-to-speechSkill
- blog-writerSkill
- impeccableSkill
- setupSkill
- video-writerSkill
The file
We split this AGENTS.md into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
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
- could be automatic: a setting could enforce it
- Distinctive: line 15
Before doing anything non-trivial:
- Very specific: line 17
Read CLAUDE.md, CONTEXT.md, and the relevant docs/adr/*.md.
- Distinctive: line 29
Do not push code without an issue.
- Very specific: line 35
No edits to .env, .env.*, *.key, *.pem, secrets/*, credentials*.
- Distinctive: line 36
No major dependency version bumps without an ADR.
- Distinctive: line 38
No force-push, no push to main.
≈ “Common” is an estimate: at least 1 in 5 of the 43,423 AGENTS.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
Agents guide
vibestack is designed to be operated by AI agents in addition to humans. The skill workflow under .claude/skills/ is the canonical way to do non-trivial work.
First-time setup
If .env does not exist, run pnpm init:app (interactive wizard: product name rename, feature toggles, optional API keys, .env with a generated BETTER_AUTH_SECRET) or /setup in Claude Code for the conversational version — never read or print existing .env values. pnpm rename <name> does just the rename (lockfile-safe; run pnpm install after).
Zero-key boot: the app boots without any third-party keys — only DATABASE_URL + BETTER_AUTH_SECRET (+ URL vars) are required. Missing keys degrade or hide their feature: auth emails print to the dev console, billing doesn't mount without Polar, storage errors only when used without R2, /api/health reports them as disabled. See ADR-0009.
Already running? Skip to the workflow.
Workflow
Before doing anything non-trivial:
- Read
CLAUDE.md,CONTEXT.md, and the relevantdocs/adr/*.md. - Pick the entry skill based on the kind of work:
- New feature or capability —
/grill-with-docs→/to-prd→/to-issues→/tdd→/review - Any frontend / UI change —
/impeccableis mandatory before writing or editing component / page / styling code. Covers redesigns, new screens, "make this look better", spacing, colour, motion, copy, empty states. Holds even when the user did not name the skill. See ADR-0005. - Instagram Reels / short-form video / TikTok / YouTube Shorts —
/video-writer. Swarm: researcher → script writer → [voice + SFX + music] parallel → motion designer → renderer → publisher. Reels are pure typographic / UI-mockup composition — no AI-generated stills on this surface. Output: 30-90s 9:16 MP4 + all assets underapps/marketing/public/reels/<slug>/. Remotion composition lives atpackages/video/src/compositions/Reel.tsx. See ADR-0008. - Long-form blog posts / journal / content marketing —
/blog-writer. Swarm: researcher → writer → (SEO editor + image producer in parallel) → publisher. 15-20 min read, multiple Gemini inline images, draft MDX inapps/marketing/content/blog/. See ADR-0007. - SEO / GEO / Search Console / organic traffic / keyword research / meta tags / schema / broken links / Core Web Vitals — route to
toprank. Skills:/toprank:seo-analysis,/toprank:keyword-research,/toprank:content-writer,/toprank:geo-optimizer,/toprank:meta-tags-optimizer,/toprank:schema-markup-generator,/toprank:broken-link-checker,/toprank:seo-page. Uses live Google Search Console + PageSpeed Insights via OAuth. See ADR-0006. - Google Ads / Meta Ads / paid acquisition — also
toprank. Skills:/toprank:google-ads-audit,/toprank:google-ads-manage,/toprank:google-ads-copy,/toprank:google-ads-landing,/toprank:meta-ads-audit,/toprank:meta-ads-manage. Connects via the NotFair-GoogleAds and NotFair-MetaAds HTTP MCPs in.mcp.json. - Bug report —
/diagnose→/tdd - Refactor itch —
/improve-codebase-architecture(requires maintainer approval; propose an ADR before changing structure) - Spike / design exploration —
/prototype(throwaway, then formalise) - Triage —
/triagefor incoming issues
- New feature or capability —
- Do not push code without an issue.
The skills share a state contract: each one expects CONTEXT.md to reflect current domain truth and references ADRs by id. Keep them current as you work.
Hard limits
- No edits to
.env,.env.*,*.key,*.pem,secrets/*,credentials*. - No major dependency version bumps without an ADR.
- No
--no-verify/--no-gpg-sign. - No force-push, no push to
main. - No
rm -rfoutside scratch directories.
Available skills
Vendored in .claude/skills/. Catalogue + descriptions in .claude/skills/README.md. Update from upstream with pnpm skills:update.
Autonomous mode
Power-user only. .ruflo/ configures a long-running Claude swarm that picks up triaged issues and opens PRs unattended. See .ruflo/README.md for the runbook and risk profile. Not part of the default workflow.
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.

