Skip to content
quboliu
Go back

Vibe Coding: An Introduction for My Team (May 12, 2026)

Area: AI and AgentsEdit page
Assessment of the original: Reading value 73/100 · LLM content in the source text ≈ 20% · Range 20–20%

Reading value:Introduces coding agents through tool comparisons and examples of what went wrong. Useful for team discussion. Product details change quickly.

Editorial assessment on a fixed scale. Reviewed on 2026-09-27. Scores do not express ratios of value.

LLM content in the source text:≈ 20% · Range 20–20%. The author reports that the source text contains 20% LLM prose.

Model involvement:Unrecorded

Scope:Original prose added by this site.

The estimate covers the original prose added by this site. The translation, third-party text, quotations, code, and figures are outside its scope.

Part I: Principles and mechanisms

1. Forms of agent software

image

1. GUI: AI IDEs based on open-source VS Code

image

2. CLIs running on a server or VPS

image

image

3. Native desktop apps

image

2. The basic structure of an agent

1. Basic architecture

An agent ≈ LLM + tools + context management + a ReAct loop.

image

2. LLM capabilities: What powers the agent

2.1 Model capabilities and tools

AI platforms list model capabilities on their API pricing pages. A few representative screenshots show what an agent is built on.

image

2.2 Structured output and tool calling (function calling)

Structured output usually means JSON output in the LLM context. It is what carries tool calls. Without reliable structured output, calls fail frequently, the ReAct loop stalls, and the agent cannot be relied on.

Tool calling is how the model asks to take action. It uses structured output to specify the tool and its arguments.

It resembles one service making an RPC to another, except the model generates the request. The agent client parses the arguments, executes the tool, and feeds the result back to the model.

image

image

image

image

image

3. The agent’s inputs: Context windows and prompt management

A context window is all the text a language model can refer to when generating a response, including the response itself.

—— Claude API Docs

image

3. What agents can do and how they work

1. “Omnipotent” LLMs and concrete requirements

image


image


image


image

2. Agent mechanisms and hard and soft constraints

Hard constraints versus soft rules

image

Three layers of mechanisms

image

How five agent tools implement these mechanisms

The table compares where each mechanism lives, what format it uses, and whether it enforces requirements across Claude Code, Codex (OpenAI CLI), OpenCode (sst/opencode), Cursor, and Trae. The comparison draws on official documentation and open-source repositories.

Comparison matrix
MechanismClaude CodeCodexOpenCodeCursorTrae
Persistent knowledgeCLAUDE.md
Project, user, and enterprise levels
AGENTS.md
Subdirectory overrides via AGENTS.override.md
AGENTS.md
Backward compatible with CLAUDE.md
Plain Markdown AGENTS.md at the project root.trae/rules/project_rules.md and user_rules.md
Skills.claude/skills/<name>/SKILL.md
Follows the Agent Skills open standard
.agents/skills/<name>/SKILL.md
Frontmatter requires name and description
Supports .opencode/, .claude/, and .agents/.cursor/skills/<name>/SKILL.md and ~/.cursor/skills/Project skills under .trae/skills/. User skills under ~/.trae/skills/ on macOS and Linux or %userprofile%/.trae/skills/ on Windows.
Rules.claude/rules/*.md
Triggered by globs in frontmatter paths:
Uses AGENTS.md and SkillsThe documentation calls AGENTS.md “Rules”.cursor/rules/*.mdc
Four trigger modes: always, glob, agent-requested, and manual with @
.trae/rules/, alongside persistent knowledge
Hookssettings.json
More than 30 events and three hook types
~/.codex/hooks.json or TOML
Six events. Requires the codex_hooks=true feature flag
.opencode/plugins/*.ts
More than 20 events and TypeScript or JavaScript plugins
hooks.json
Roughly 18 events, including Tab completion
Slash commands.claude/commands/*.md
Merged into Skills, with legacy paths still supported
~/.codex/prompts/*.md
Deprecated in favor of Skills
.opencode/commands/*.md
Supports $ARGUMENTS, $N, shell substitution, and @file
.cursor/commands/*.md
Minimal Markdown without frontmatter
Spec templateNo official templateNo official templateNo official templateNo official templateNo official template
Notes
  1. AGENTS.md is a convention across tools. The Linux Foundation’s Agentic AI Foundation hosts it. The official agents.md site lists OpenAI Codex, OpenCode, Cursor, Aider, VS Code, Devin, JetBrains Junie, GitHub Copilot Coding Agent, and Windsurf, among others. Claude Code does not read AGENTS.md directly, but its documentation recommends importing it with @AGENTS.md or sharing it through a symbolic link.
  2. None of these tools supplies an official spec template. Kiro and OpenSpec provide their own conventions. The tools’ /init commands generate files for persistent instructions, such as CLAUDE.md or AGENTS.md. Requirements specifications are outside their scope.

Part II: Engineering and practice

4. Agent coding workflows and frameworks: Putting software engineering into context

The harness ties together documentation, coding, and software engineering.

1. Start with how the engineer thinks

image

image

2. Routine upkeep: From AGENTS.md to skills and specs

image

image

3. Managing expectations

Correct course promptly and use feedback to refine the result.

image

4. Review and acceptance: How do you trust code you haven’t seen?

4.1 Humans become the bottleneck

image

image

What can you do about it?

image

image

4.2 Review

image

4.3 Self-testing and acceptance

image

5. Moving up to open-source frameworks

Once you have some hands-on experience, you can adopt or take ideas from established workflow frameworks and open-source skill packs.

5.1 openspec(Fission-AI/OpenSpec)

image

5.2 superpowers(obra/superpowers)

image

5.3 mattpocock/skills(mattpocock/skills)

image

5.4 Side-by-side comparison

image

6. Unfamiliar domains: Hands-on practice and selective learning

image

If you want a better grasp of the work:

The domain knowledge a task requires can have layers of dependencies. Understanding A may require B, which may require C, which may require D.

image

One rule: Any task whose medium is text is within an LLM’s reach.

What lies outside that reach is the idea in your head: what you actually want and how clearly you’ve thought it through.

The workflow and tools in between turn that idea into something real. You can hand all of that to an LLM.

Warning: Stretch your abilities within reason. If the work goes too far beyond what you can understand, you will not be able to maintain it, iterate on it, or recover when it goes wrong.

5. Breakdowns and damage

1. Model capabilities and context degradation

1.1 Why model capabilities matter

image

image

image

1.2 Context degradation

A larger context window lets the model handle more complex and longer prompts, but more context isn’t always better. As token counts rise, accuracy and recall can fall. This is known as context degradation. What goes into the context matters as much as the size of the window.

image

image

2. Engineer breakdown: Taking on more than you can handle

  1. The project’s size and complexity outstrip your knowledge and skills. Iteration and maintenance become dependent on the agent.
  2. The engineer stops learning and growing and becomes a conduit between the model and real-world requirements.

image

image

image

3. Safety and damage: Isolate the environment

Keep important tokens, sensitive paths, and credentials out of the LLM context wherever possible. You can set up a dedicated account for the agent, such as a separate GitHub account.

3.1 Prompt injection: “Hey, Xiao Ai”

A stranger being able to wake up a Xiao Ai assistant and issue a command is a simple example of prompt injection.

image

3.2 Database deletion: Isolation and backups

image

6. My everyday workflow

image


Edit page
Share this post:

Comments


Previous Post
Notes on Using Personal Agents
Next Post
A Reader’s Digest of First Principles