惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

雷峰网
雷峰网
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
Google DeepMind News
Google DeepMind News
V
V2EX
T
The Blog of Author Tim Ferriss
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Hugging Face - Blog
Hugging Face - Blog
Stack Overflow Blog
Stack Overflow Blog
I
InfoQ
博客园_首页
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Last Week in AI
Last Week in AI
Recent Announcements
Recent Announcements
Vercel News
Vercel News
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
Tailwind CSS Blog
美团技术团队
Martin Fowler
Martin Fowler
宝玉的分享
宝玉的分享
Blog — PlanetScale
Blog — PlanetScale
GbyAI
GbyAI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
J
Java Code Geeks

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
How I made every AI coding agent on my machine follow the...
Mohamed Sala · 2026-05-21 · via DEV Community

I use Claude Code, GitHub Copilot, OpenAI Codex CLI, and Cursor — sometimes in the same day. Each one drifts the same way: skips planning, forgets tests, picks stale library versions, and asks twelve questions in the middle of a build. So I wrote one markdown template and a small installer that drops the same rules into every agent on my machine. Here is the design.

The drift problem

If you have ever said "build me a kanban app" to an AI coding agent, you have lived this:

  • It picks a stack you would never pick yourself
  • It scaffolds, then stops to ask "what database do you want?" three files in
  • It writes the happy path and skips error handling
  • It "forgets" to add tests until you remind it
  • It pulls a 3-year-old version of a library because that is what its training data remembers

None of these are intelligence problems. They are workflow problems. The model is genuinely capable; the protocol around it is missing.

The fragmentation problem

Every agent reads a different configuration file:

  • GitHub Copilot reads .github/copilot-instructions.md
  • Claude Code reads CLAUDE.md or ~/.claude/skills/<name>/SKILL.md
  • Cursor reads .cursorrules
  • Windsurf reads .windsurfrules
  • Codex CLI, Cursor, Aider, Windsurf all also read AGENTS.md

That is five files saying the same thing, drifting independently the moment one gets updated. Most people pick one tool and ignore the rest, which traps them in that tool. I wanted the opposite — to be able to swap agents like editors and keep the same operating rules.

The one-template-many-files solution

The whole project is a folder of markdown. One source-of-truth template (SKILL.md), then a small build step that materializes the agent-specific files from it. The result: every agent on my machine reads the same intake, the same protocol, the same quality gates.

The protocol itself is four steps:

1. One-shot intake

Instead of the agent asking questions mid-build, it asks them all upfront, in a single round, with sensible defaults derived from the one-line command. I reply "go" or override specific lines. Then it executes without interruption.

This is the biggest single improvement. It removes ~80% of mid-build derails.

2. Plan before code

The agent writes PLAN.md listing features, dependencies, and order. No code is written until the plan exists. That sounds obvious but most agents skip it by default when given an action-shaped prompt.

3. Ralph-style feature loop

For each feature: spec → failing test → implement → run → on-fail debug-and-retry → on-pass checkpoint → next feature. Maximum three retry passes before escalating back to me.

The retry budget matters. Without it, the agent will grind on a broken edge case for an hour. With it, the loop exits loudly when it is stuck instead of silently when I stop watching.

4. Binary quality gate

Before "done" is allowed: lint passes, types pass, tests pass, build passes. Any red and it goes back to the loop. No "mostly working" allowed.

Why it works the same across agents

Because the same SKILL.md is the source. The materialized agent-specific files are formatting wrappers around the same protocol body. The Copilot version has Copilot front-matter, the Claude version has Claude front-matter, the rules are byte-identical.

Side benefit: when I switch from Copilot to Claude Code to test something, I do not relearn anything. The agent recognizes the same skill, runs the same intake, hits the same gates.

Localhost-first by design

I made one explicit choice that surprises some people: this is localhost-first. There is no "deploy to Vercel" step, no Docker, no production paths in v1. The reason is simple — every "ship to prod" feature I have seen baked into a coding agent has been the source of half its bugs. Shipping to localhost is a deterministic problem. Shipping to production is a conversation. Keeping those separate makes the agent behave better.

The honest limits

  • Skill auto-discovery varies by model. Claude triggers it reliably. Codex needs me to type /myvibe. Copilot picks it up from the prompt directory.
  • It will not save you from a weak model. If the base model cannot write the code, no workflow rescues it. What this does is fail earlier and louder, which is itself an improvement.
  • It is opinionated. If you disagree with "failing test first" or "three retries then ask", you will not like it. That is fine.

Try it

The whole thing is open source, MIT, no telemetry, no paid tier. The installer is ~80 lines you can read before running.

Windows:

iwr https://raw.githubusercontent.com/Mohamed201389/myVibe/main/bootstrap.ps1 | iex

Enter fullscreen mode Exit fullscreen mode

macOS / Linux:

curl -fsSL https://raw.githubusercontent.com/Mohamed201389/myVibe/main/bootstrap.sh | bash

Enter fullscreen mode Exit fullscreen mode

Repo: https://github.com/Mohamed201389/myVibe

The file I would read first is INTAKE.md — that is the "no mid-build interrogation" promise, and the highest-leverage idea in the kit.


Originally written from running into the same drift for the hundredth time. Feedback welcome.