agentleFS
KhazPKhazP/vibe-coding-prompt-template/templates/AGENTS.md

vibe-coding-prompt-template / templates

AGENTS.md3.1k starsChanged 3 months agoMITView on GitHub

How to fill this in: write only what an agent could NOT work out by reading the repo. Skip the directory tree (ls shows it), the dependency list (the manifest shows it), and generic advice like "write clean code" or "handle errors" — a capable model already does those, and every line here is loaded into context on every single session. If you find yourself describing the code, delete it. If you find yourself describing something that once cost someone…

Trending

Quiet since September.about the whole repository

Dec 2025: 0 mentionsJan 2026: 1 mentionFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 1 mentionMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 19 mentionsSep 2026: 1 mentionOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the KhazP/vibe-coding-prompt-template repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about KhazP/vibe-coding-prompt-template

The biggest 5 of 22 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 22

Talked about on GitHub and Hacker News (22 times).

On GitHub · 21

16 more on GitHub

On Hacker News · 1

The file

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

5 rules. About 1 is common, 1 is distinctive, and 3 are very specific to this project.

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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
  1. Very specific:

    Only the ones that are not guessable from the manifest — non-standard scripts, required flags, environment setup.

    line 18
  2. Very specific:

    Use the actual document paths, as recorded in vibe.project.json when present.

    line 32
  3. Very specific:

    Read only the documents needed for the task.

    line 33
  4. Common:

    Keep secrets, credentials, private logs, and production data out of commits and unapproved transmissions.

    line 49
  5. Distinctive:

    Delete this section unless the product itself uses AI.

    line 66

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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.md — [App Name]

How to fill this in: write only what an agent could NOT work out by reading the repo. Skip the directory tree (ls shows it), the dependency list (the manifest shows it), and generic advice like "write clean code" or "handle errors" — a capable model already does those, and every line here is loaded into context on every single session. If you find yourself describing the code, delete it. If you find yourself describing something that once cost someone an afternoon, keep it.

Project

  • What this is: [one sentence]
  • Who it is for: [target users]

Commands

Only the ones that are not guessable from the manifest — non-standard scripts, required flags, environment setup. Delete this section if npm run dev is genuinely all there is.

  • [command] — [why it isn't obvious]

Read first — when relevant

  • Product scope or acceptance criteria: [PRD path].
  • Architecture or integration choices: [Tech Design path].
  • Non-obvious product constraints: agent_docs/project_brief.md.
  • Stack-specific setup: agent_docs/tech_stack.md.
  • Choosing or troubleshooting checks: agent_docs/testing.md.

Use the actual document paths, as recorded in vibe.project.json when present. Read only the documents needed for the task. During initial setup, fill relevant placeholders from agreed decisions; do not invent missing facts or block an unrelated small fix on completing every document. Current progress belongs in MEMORY.md.

Gotchas

The highest-value section in this file. Things that look safe and aren't; conventions that differ from the framework default, so the surrounding code would teach the wrong pattern; failures that took real time to diagnose.

  • [e.g. "All types live in one monolithic types.ts — do not co-locate them."]
  • [e.g. "The pre-commit hook reverts the working tree on failure."]

Protected areas

Keep secrets, credentials, private logs, and production data out of commits and unapproved transmissions. Preserve unrelated working-tree changes.

Within the requested scope, continue through local implementation, affected checks, and fixes without repeated approval. Changing auth, billing, infrastructure, or migration source is distinct from applying it to a live system. Before an external send, deployment, charge, production migration, destructive data operation, or access change, confirm that the action and target are covered by the user's authorization. Ask only for missing authorization or a consequential decision; a multi-file edit alone is not an approval boundary.

Record any project-specific exceptions here, including which test fixtures are disposable and which commands can reach production. Do not assume tests are isolated until their configuration establishes it.

AI features

Delete this section unless the product itself uses AI.

  • Model can see: [public / user-owned / private data]
  • Never send: [secrets, tokens, private logs, production exports]
  • AI can do: [read only / draft / write / destructive / external network]
  • Needs approval: [send, delete, deploy, charge, email, production write]
  • How to verify behavior: [eval command or prompts]
  • Fallback: [what users see when AI fails]

Done means

Complete the requested behavior, run checks appropriate to the changed area, and fix failures caused by the change. For runtime work, exercise the relevant user journey when the environment permits it. Reuse still-valid results; repeat checks when code changes or new evidence justifies it.

Report the outcome, actual checks and limitations, and rollback notes when relevant. If completion is blocked, identify the concrete blocker and remaining work rather than presenting an unchecked implementation as finished.


When this file gets long, that is the signal to split it. Move task-specific procedures (deploy steps, release checklists, API references) into .claude/skills/<name>/SKILL.md, where only the one-line description stays in context and the body loads when it is actually needed. Move directory-specific conventions into <subdir>/AGENTS.md (or the selected client’s supported equivalent), scoped to work in that directory. Keep universal constraints and safety prohibitions here — never move a "never do X" rule somewhere it might not be loaded.

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.