agentleFS
f-aminef-amine/vibe-stack/AGENTS.md

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

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
  1. Distinctive:

    Before doing anything non-trivial:

    line 15
  2. Very specific:

    Read CLAUDE.md, CONTEXT.md, and the relevant docs/adr/*.md.

    line 17
  3. Distinctive:

    Do not push code without an issue.

    line 29
  4. Very specific:

    No edits to .env, .env.*, *.key, *.pem, secrets/*, credentials*.

    line 35
  5. Distinctive:

    No major dependency version bumps without an ADR.

    line 36
  6. Distinctive:

    No force-push, no push to main.

    line 38

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

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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:

  1. Read CLAUDE.md, CONTEXT.md, and the relevant docs/adr/*.md.
  2. 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 — /impeccable is 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 under apps/marketing/public/reels/<slug>/. Remotion composition lives at packages/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 in apps/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 — /triage for incoming issues
  3. 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 -rf outside 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.

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.