MIT License

项目介绍

ashp15205/vibe-coding-essentials 是一个托管在 GitHub 上的开源项目,采用 MIT License 许可证,目前获得 11 个 Star、1 次 Fork。

仓库全名
ashp15205/vibe-coding-essentials
开源许可证
MIT License
Star 数
11
Fork 数
1
未关闭 Issue
3

README 摘要

Vibe Coding Essentials 🏆Recognized: Awesome Vibe Coding: Officially featured in the premier directory of vibe coding resources! Most developers use the same workflow for every AI task. That is the mistake. Different work requires drastically different AI behavior. Wrong mode = wrong outcomes. Has this happened to you? □ AI created 12 files for a button component □ AI added 4 packages to format a date □ Context…

完整内容见 GitHub 原始 README 或本页 。

常见问题

vibe-coding-essentials 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 vibe-coding-essentials 的源码?

可以直接克隆仓库:git clone https://github.com/ashp15205/vibe-coding-essentials.git,默认分支为 main;安装与运行步骤见仓库 README。

vibe-coding-essentials 最近还在维护吗?

仓库最近一次更新为 7月6日,当前有 3 个未关闭 Issue;Star 数为 11,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

The workflow framework for AI-assisted development. Four operating modes, 25 golden rules, and anti-hallucination guardrails for 9 frameworks.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

贡献者

README

Vibe Coding Essentials

Version License

🏆Recognized: Awesome Vibe Coding: Officially featured in the premier directory of vibe coding resources!

Most developers use the same workflow for every AI task.

That is the mistake.

Different work requires drastically different AI behavior. Wrong mode = wrong outcomes.


Has this happened to you?

□ AI created 12 files for a button component

□ AI added 4 packages to format a date

□ Context window exploded mid-feature

□ API bill was ridiculous for a session that shipped nothing

□ Day 2 AI forgot everything decided on Day 1

□ The code works but nobody understands it

The Four Operating Modes

Mode Goal Accepts Refuses
⚡ Economy Minimize cost Simpler solutions Large context scans
🚀 Builder Ship fast Some technical debt Premature abstractions
🛠 Maintainer Preserve stability Incremental improvements Refactors & new dependencies
🏛 Architect Make decisions Planning & tradeoffs Production code generation

Why Modes Matter

Debugging in Builder Mode creates unreviewed refactors.

Designing in Maintainer Mode creates over-engineered fixes.

Investigating in Economy Mode creates context collapse.

Coding in Architect Mode creates premature implementations.

Using the wrong mode creates:

  • technical debt
  • token waste
  • regressions
  • unnecessary complexity

Mode Switching

Healthy AI-assisted development involves switching modes as work evolves.

🏛 Architect
      ↓  (Decision approved)
🚀 Builder
      ↓  (Feature complete)
🛠 Maintainer
         (Production ready)

Performance & Benchmarks

Strict behavioral rules don’t just prevent bugs—they reduce code bloat. In a recent benchmark against a qwen3:8b local model evaluating a standard coding task (Node.js filesystem ops):

  • Baseline (Raw Model): 31 Lines of Code
  • Ponytail Base Prompt: 21 Lines of Code
  • Ponytail + Vibe Coding Essentials: 17 Lines of Code

Injecting our anti-hallucination guardrails shaved an additional 19% off the code length compared to the base “lazy dev” prompt by forcing the model to adhere strictly to native APIs instead of inventing unnecessary abstractions.


What This Repository Contains


How to Use

1. Install the runtime Copy AGENTS.md to your project root. (Tool-specific versions are available in templates/).

2. Set your context Update the 3-line MVP Context block at the top of AGENTS.md daily.

3. Command the AI Builder is the default behavior. To change how the AI operates for a specific task, start your prompt with a mode tag:

“[ECONOMY] Why is the validateToken function throwing a TypeError?”

“[MAINTAINER] We have a regression in the billing calculator. Write a failing test first.”

“[ARCHITECT] Let’s design the database schema for the new auth flow.”

4. Utilize the Framework The files in this repository are designed for distinct parts of your workflow:

  • anti-hallucination/: Find your framework, copy the rules, and paste them into your AGENTS.md so the AI stops using deprecated APIs.
  • prompts/: When the AI starts stuck in a correction loop, stop. Open the relevant template here to hard-reset the context.
  • SKILL.md & GOLDEN_RULES.md: Read these once. Treat them as the Clean Code of the AI era. They teach the meta-skills of driving an agent.
  • LESSONS_LEARNED.md & production/hardening.md: Review these before shipping. They document the catastrophic AI failures you must manually check for.

Star History Chart

Philosophy

The model generates.

The developer decides.

You own the workflow.

评论

暂无评论