pe-menezes/vibeflow
حول
Spec-driven development for AI agents. Define what to build, let the agent build it right. Claude Code · Cursor · Copilot.
أدوات التطويرالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلVibeflow
Stop vibe-coding blind. Spec it, then ship it.
AI agents write code fast — but without specs, they write the wrong code fast. Vibeflow adds a thinking layer before coding: you define what to build with specs, guardrails, and quality gates. The agent implements following your project's real patterns.
Works with Codex, Claude Code and Hermes Agent through one shared plugin, plus Cursor (rules + skills), GitHub Copilot (prompts + agents) and OpenCode (agents + commands + the shared skills).
3 commands to start
analyze → scans your codebase, builds .vibeflow/ knowledge base
gen-spec "feature" → generates spec with Definition of Done, scope, patterns
implement <spec> → implements with guardrails (budget, DoD, tests)
Run analyze once, then gen-spec → implement for each feature. That's it.
The pipeline
Think before you code. Build from specs. Verify against DoD.
analyze → discover → gen-spec → implement → audit
| Command | What it does | When to use |
|---|---|---|
| analyze | Deep-scans codebase → .vibeflow/ knowledge base |
Setup, or after major changes |
| discover | Dialogue that turns a vague idea into a PRD | Idea isn't clear yet |
| gen-spec | Generates spec with binary DoD, scope, anti-scope | Ready to specify |
| implement | Implements from spec with guardrails (budget, DoD, patterns); --loop runs the execution loop below |
Spec approved, ready to code |
| prompt-pack | Self-contained prompt for another agent/session | Need to delegate |
| audit | Verifies DoD + patterns + tests + destructive-op gate from a review package of the diff, with a severity and a cause on every finding; --reaudit checks a fix round, --probes writes probe tests and sabotages risk code when run by hand, --consolidate-hotfixes reclassifies hotfix trace docs |
After implementation |
| hotfix | Traceable fix in one call: trace doc + fix + regression test written before the fix | Observed defect with reproducible evidence |
Utility: quick (fast-track small tasks), teach (update knowledge base), stats (audit trends, plus the loop's numbers when you use it).
How you call a command depends on the host: /vibeflow:analyze in Claude
Code; /vibeflow-analyze in Cursor, Copilot and OpenCode (in OpenCode, from
its interactive terminal); plain words in Codex and Hermes, which pick the
skill from its description, as OpenCode also does.
The execution loop (opt-in)
implement --loop splits the work between sessions that cannot grade
themselves: the session you call becomes the orchestrator, an executor
implements each part in a fresh session, an independent audit checks it in
another one, and at most two fix rounds follow, each re-audited on its own
diff. With your OK, asked once per feature, every round is committed on the
feature branch, and the loop ends in company mode: a pull request whose body
carries the evidence (verdicts, DoD, findings, probes, commands run), opened
after the suite runs in the CI's environment when your machine differs from it
(when that run is not possible, the PR opens anyway and says why). The agent
never merges, deploys, migrates a shared environment or reads production.
The loop is off by default and runs only when you turn it on:
implement --loop for one run, or loop: true in .vibeflow/loop/config.md
for the project (--no-loop turns it off for one run). Requirements:
- The loop kit, which ships inside the
implementskill (plugins/vibeflow/skills/implement/loop/). Claude Code, Codex and Hermes get it with the plugin; the Cursor, Copilot and OpenCode installers copy it into the project. - Node.js 18 or later for the kit's scripts.
- In Claude Code, version 2.1.69 or newer, the one that substitutes
${CLAUDE_SKILL_DIR}in a skill's body. Anauditrun by hand needs it too, to build its review package: on an older version it does not find the kit, recordsReview package: none (kit not installed)and computes the diff as before, and updating Claude Code, not the plugin, fixes it. In OpenCode, Codex and Hermes the variable is never substituted, and the skills resolve the kit path from their own folder. - For the pull request at the end: a remote on GitHub (or GitHub Enterprise)
and
gh auth statusok for its host. Thepr endingline ofpreflight.mjstells you before the first dispatch. Without it, the loop pushes the branch and writes the body to.vibeflow/reviews/<feature>-pr-body.md, for you to open the pull request or merge request by hand. On GitHub Enterprise, the watch of the checks takes theoriginhost in--repo; that host form was checked only against a fakegh, not against a real GitHub Enterprise.
Platforms: tested on macOS and Linux (the kit's scripts and the repository's
test suite); Windows has not been measured. See MANUAL.md for
the roles, the artifacts and the ceilings.
Editions
Each edition adapts the same methodology to the agent's format. Codex, Claude
and Hermes share the exact same skill sources under plugins/vibeflow/; their
platform-specific manifests only handle packaging and discovery. OpenCode runs
those same skill files unchanged, copied into the project by the installer.
Codex (plugin)
codex plugin marketplace add pe-menezes/vibeflow
codex plugin add vibeflow@vibeflow-marketplace
Start a new task after installation. Ask naturally — for example, “analyze this project with Vibeflow” — and Codex selects the matching focused skill.
Hermes Agent (plugin)
hermes plugins install pe-menezes/vibeflow/plugins/vibeflow
hermes plugins enable vibeflow
The install scan reads the kit README's description of the secret detector as
a secret; --force installs; a catalog listing removes the prompt. Start a new
session after installation. Ask naturally, as in Codex — the ten skills load,
and Hermes has no slash commands for them.
Claude Code (plugin — no npx)
Claude Code uses its own plugin system, not file downloads.
Claude Desktop (Cowork):
- Sidebar → Customize
- Click + next to "Personal plugins" → Add marketplace
- Paste:
pe-menezes/vibeflow - Click Sync
- Browse plugins → Install Vibeflow
Claude Code CLI (terminal only — these do NOT work in Desktop chat):
/plugin marketplace add pe-menezes/vibeflow
/plugin install vibeflow@vibeflow-marketplace
Then run /vibeflow:analyze to get started. The plugin also brings the vibeflow:executor and vibeflow:auditor agents that implement --loop dispatches.
Source:
plugins/vibeflow/in this repo. Existing users of pe-menezes/vibeflow-claude remain supported through an automatic compatibility mirror.
Cursor
npx setup-vibeflow@latest --cursor
The loop kit goes to .cursor/skills/vibeflow-implement/loop/. See cursor/README.md for details.
GitHub Copilot
npx setup-vibeflow@latest --copilot
The loop kit goes to .github/vibeflow/loop/. See copilot/README.md for details.
OpenCode
npx setup-vibeflow@latest --opencode
The installer writes into the project: the architect, executor and
auditor agents to .opencode/agents/, the ten /vibeflow-<name> commands to
.opencode/commands/, the ten shared skills to .opencode/skills/<name>/, and
the loop kit to .opencode/skills/implement/loop/. The Vibeflow block goes into
the project's AGENTS.md, which OpenCode loads as instructions.
Type /vibeflow-analyze in OpenCode's interactive terminal to get started.
Only that terminal expands a command: opencode run passes /vibeflow-analyze
on to the model as plain text. You can also ask in plain words, and
OpenCode can load the matching skill by its description. architect is a primary agent you
switch to with Tab; implement --loop runs from Build, which sends each round
to the executor and auditor subagents. Not checked for this edition: the
command expanding and the Tab switch, which only the interactive terminal
shows, and a whole implement --loop run. See
opencode/README.md for what OpenCode does not have.
If the project already has its own
.opencode/agents/architect.md,executor.mdorauditor.md, or its own skill named like one of the ten workflows (audit,stats, ...), the installer skips that file without--forceand overwrites it with--force. Skipped, the Vibeflow agent or skill is missing, and the installer's.gitignoreblock hides your own file from git. The names come from the host: OpenCode names an agent after its file, the loop callsexecutorandauditorby name, and a skill's name has to match its folder.
By default the installer adds installed files and the
.vibeflow/folder to.gitignore. Remove the "Vibeflow" block from.gitignoreif you want to track them in git. For OpenCode the block lists each installed path, never.opencode/as a whole, which also holds your own files. With.vibeflow/out of git, a newgit worktreestarts without the knowledge baseanalyzewrote in the main checkout: theregen-spec,implement,quick,prompt-packandauditstop and give the command that copies it, and the loop'spreflight.mjsstops before any dispatch.
The Cursor, Copilot and OpenCode installers refuse to install, with or without
--force, when a file they would write, or a folder on the way to it, leads outside the project through a link; if yourAGENTS.mdis a link to a shared file, run the installer from the folder where the real file is. They refuse a file they would write that is a hard link, a file with more than one name, the same way, inside the project or out, because writing it would change the file under each of its names; give that file a copy of its own. A known limitation: a Vibeflow marker pair you quote inside a code fence that opens on the line of a list item is read as a real pair, so the install deletes that example (#44).
Edition summary
| Edition | Install method | Command |
|---|---|---|
| Codex | Plugin marketplace | codex plugin marketplace add pe-menezes/vibeflowcodex plugin add vibeflow@vibeflow-marketplace |
| Claude Code | Plugin (inside Claude Code) | See install steps above |
| Hermes Agent | Plugin | hermes plugins install pe-menezes/vibeflow/plugins/vibeflowhermes plugins enable vibeflow |
| Cursor | npx installer | npx setup-vibeflow@latest --cursor |
| GitHub Copilot | npx installer | npx setup-vibeflow@latest --copilot |
| OpenCode | npx installer | npx setup-vibeflow@latest --opencode |
Prompt baseline
Vibeflow's prompts are written for the 2026 frontier generation — they state
rules once, without caps emphasis or restated knowledge, and leave judgment to
the model where a script would only guess. They work best on current models.
If a command misbehaves on an older one, that's a regression worth an issue,
not something to work around locally. Style guide:
proposals/unhobbling-style.md.
Documentation
- vibeflow.run — Website with command reference, examples, and plugin docs
- MANUAL.md — Full documentation of all commands, flows, and methodology (PT-BR)
- CHANGELOG.md — Version history
License
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…