agentleFS
zaid-mianzaid-mian/vibe-coder/SKILL.md

vibe-coder

Skill4 starsChanged 52 days agoMITView on GitHub

A planning and unblocking copilot for AI-assisted coding. It interviews the user, scans the real repository with deterministic scripts instead of guessing, and writes the documents a coding assistant needs — prd.md, architecture.md, tasks.md, database.md — plus focused recovery plans when you are stuck. Use when the user wants to start vibe coding, plan an app, write a PRD / spec / architecture / data model / build plan, turn an idea into requirements, audit an existing codebase, debug a mysterious bug, add tests, refactor safely, review a diff, change a database schema, run a security pass, or resume work between sessions. Triggers include "vibe coder", "/vibe-coder", "help me plan my app", "where do I start", "turn my idea into a spec", "why is this broken", "review my code", "add tests", "resume where I left off".

  • Reads credentials

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. arieshyde/skills★ 0same name
    2. elad-cohen-dev/claude-skills★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. About 0 are common, 6 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

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

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

    Facts come from the repo, not from memory: Run scripts/scan_project.py first on any existing project.

    line 17
  2. Very specific:

    prd.md is the single source of truth: Every other file is derived from it, and must be consistent with it.

    line 25
  3. Very specific:

    Read the user's intent and load only the mode file you need — do not load the whole references/ directory.

    line 36
  4. Distinctive:

    When approval is required, show the exact change first, state what could break, and state how to undo it.

    line 72
  5. Distinctive:

    Read a script's source only if you need its exact rules.

    line 113
  6. Very specific:

    Do not write a single document before the coverage gate in references/interview.md is satisfied.

    line 118
  7. Very specific:

    Do not carry on generating after prd.md in plan mode.

    line 119
  8. Distinctive:

    Do not create all possible files "to be safe".

    line 121
  9. Very specific:

    Do not guess at an existing repo's stack when scan_project.py can tell you.

    line 123
  10. Distinctive:

    Do not offer a menu of five architectures.

    line 124
  11. Distinctive:

    Do not re-ask what the repository or an earlier answer already established.

    line 125
  12. Very specific:

    Do not present a guess as a fact anywhere.

    line 126
  13. Very specific:

    Do not put options into final documents.

    line 127
  14. Distinctive:

    Do not reproduce a secret's value, ever — in any file, in any mode, in any example.

    line 129

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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
SKILL.md

Vibe Coder — decide first, verify always, then build

Most AI coding sessions fail for one of two reasons: the assistant started with no decisions made, or it guessed at facts about the repository instead of looking. This skill removes both. It interviews you about intent, and it reads and runs things to establish fact.

The skill never becomes the codebase's author. It produces decisions, documents, and plans that a coding assistant (or you) then executes — and it verifies its own claims before handing anything over.

The five laws

  1. Facts come from the repo, not from memory. Run scripts/scan_project.py first on any existing project. Whatever it does not report, and you cannot read, is marked NOT VERIFIED. Never invent a command, path, version, service, or environment variable.
  2. Ask until nothing is left to guess. There is no question budget. Scale the number of questions to the ambiguity in front of you — a weekend script may need a handful, a product with accounts, money and third-party services may need dozens. Ask in small batches, recap after each one, and follow up on vague answers. Stop when writing the document would force you to guess a behaviour, a limit, a flow or a failure path — and never keep asking once the answers stop changing it.
  3. prd.md is the single source of truth. Every other file is derived from it, and must be consistent with it. If a downstream file needs a decision the PRD lacks, ask — do not invent.
  4. No placeholders. No TBD, TODO, lorem, ..., coming soon, or empty sections. Real unknowns go in that file's ## Open questions as a question with a proposed default — as many as genuinely remain, with no cap.
  5. Touching code is a separate, explicit permission. Planning modes are documentation-only. Code-touching modes (debug, test, refactor, review, migrate) always show the intended change and get approval before writing to any project file.

Mode routing

Read the user's intent and load only the mode file you need — do not load the whole references/ directory. If the intent is ambiguous, ask which of these they want, in plain words:

User wantsMode fileOutput
Start a new project / write a specreferences/mode-plan.mdbrain/prd.md → approval → architecture, tasks, database
Understand or audit an existing reporeferences/mode-audit.mdbrain/audit.md — inventory, gaps, risks
"Why is this broken?"references/mode-debug.mdbrain/debug/<slug>.md + a verified fix plan
Add or fix testsreferences/mode-test.mdbrain/testing.md + specific test files (approved)
Clean up code without breaking itreferences/mode-refactor.mdstep plan + guarded edits (approved)
Review a diff / PRreferences/mode-review.mdbrain/reviews/<rev>.md
Change a database schema or backfill datareferences/mode-migrate.mdreversible migration plan (approval-gated)
Security passreferences/mode-security.mdbrain/security.md — findings with severity
Pick up work from a previous sessionreferences/mode-resume.mda short resume brief

Supporting files, load only when the mode names them:

  • references/interview.md — the question bank and coverage gate (plan, audit, debug)
  • references/prd-template.md, references/architecture-template.md, references/tasks-template.md, references/database-template.md — exact document shapes
  • references/stack-defaults.md — safe picks, used only when the user says "you decide"
  • references/quality-bar.md — the final anti-slop pass, run before every handoff

Safe automation vs human approval

Say which of these applies before acting. Never blur the line.

Safe to automate — scanning the repo, reading files, running scripts/, writing files inside brain/, running read-only git commands, computing checksums, listing environment variable names, proposing a diff.

Requires explicit human approval, every time — writing or modifying application code, editing production config, creating or editing .env files, running migrations or backfills, installing or upgrading dependencies, force-pushing, rewriting git history, deleting files or data, rotating credentials, touching cloud infrastructure, changing CI/CD, disabling a security control.

When approval is required, show the exact change first, state what could break, and state how to undo it. Do not batch an approval request with unrelated work.

Output contract

Planning (mode plan), created only as needed — never all of them by default:

brain/
  prd.md             problem, user, MVP scope, out-of-scope, stories with acceptance criteria, metrics
  architecture.md    components, data flow, stack + why, env var names, observability, risks
  tasks.md           ordered build plan; walking skeleton first; every task <= 1 day
  database.md        entities, relations, access rules, migrations, retention   (only if data persists)
  api.md             endpoints, shapes, auth, error codes                      (only if an API exists)
  ui.md              screens and their empty/error/loading states              (only if UI exists)
  testing.md         test layers and the few tests that matter                 (only if tests are wanted)
  deployment.md      environments, release steps, rollback                     (only if hosting is decided)

Other modes write one focused file each, named in its mode file. Length follows the project: there is no line target. The test is readability — if you cannot skim the file and find the decision you need, move detail into a sub-file and link it one level deep from the main document.

Scripts

Deterministic tools beat model guesses. Run these instead of eyeballing.

  • scripts/scan_project.py [path] — factual inventory of a real repo: languages, manifests, entry points, CI, container/infra files, migrations, tests, docs present, risk markers, environment variable names only. Never prints values. Use its output as the basis for any claim about an existing project.
  • scripts/session_brief.py [path] — compact "where was I" brief from git state plus brain/ headings. For mode resume.
  • scripts/check_links.py [dir] — verifies every relative path and ## reference inside the generated documents actually resolves.
  • scripts/validate_blueprint.py --dir brain — required files and sections present, no placeholder strings, no empty sections, entity names consistent across files. Exit code 1 means fix before delivering.
  • scripts/init_blueprint.py --dir brain — heading-only stubs if the user prefers to fill in place. Never overwrites.

Read a script's source only if you need its exact rules. Otherwise run it — its code stays out of context and only its output enters.

Hard "do not"

  • Do not write a single document before the coverage gate in references/interview.md is satisfied.
  • Do not carry on generating after prd.md in plan mode. Stop and get approval; everything else is derived from it and a wrong PRD poisons every other file.
  • Do not create all possible files "to be safe". Create what the project needs and say why the rest were skipped.
  • Do not guess at an existing repo's stack when scan_project.py can tell you.
  • Do not offer a menu of five architectures. Choose the boring default, give a one-line reason, move on.
  • Do not re-ask what the repository or an earlier answer already established.
  • Do not present a guess as a fact anywhere. NOT VERIFIED is a feature, not a failure.
  • Do not put options into final documents. They record decisions; alternatives belong in one line under ## Decisions and why.
  • Do not reproduce a secret's value, ever — in any file, in any mode, in any example. File path and line number only.

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.