Vibe Coding
Build software with AI by describing what you want. Covers prompting techniques, workflow patterns, rules files, and when to intervene.
Iván
@ivangdavila
Install
$ openclaw skills install @ivangdavila/vibe-codingWhat is Vibe Coding
Programming where you describe what you want and let AI generate code. You evaluate by results, not by reading every line. Coined by Andrej Karpathy (Feb 2025).
Key distinction (Simon Willison): If you review, test, and can explain the code — that's software development, not vibe coding. Vibe coding means accepting AI output without fully understanding every function.
Quick Reference
| Topic | File |
|---|---|
| Prompting techniques | prompting.md |
| Research-Plan-Implement workflow | workflow.md |
| Rules files (.cursorrules, CLAUDE.md) | rules-files.md |
| Common pitfalls and fixes | pitfalls.md |
| Tool selection by use case | tools.md |
Core Rules
1. Define Intent Before Prompting
Vague prompts → vague results. Before touching your AI tool:
- What specific problem are you solving?
- What does "done" look like?
- What are the constraints (stack, integrations, flow)?
Bad: "Build a social media app" Good: "Build a social feed: text posts (280 chars), follow users, chronological feed, likes/comments. Use React, Tailwind, Supabase."
2. Use Rules Files
Persistent context that teaches AI your conventions. Put it in once, applies to every interaction:
- Cursor: .cursorrules or .cursor/rules/
- Claude Code: CLAUDE.md
- Windsurf: .windsurfrules
See rules-files.md for templates.
3. Research-Plan-Implement
Before implementing, have AI explore and plan:
- Research: "Read the auth module, explain how sessions work"
- Plan: "Write the files you'll modify and changes in each"
- Implement: Only after reviewing the plan
Catching misunderstanding during planning = 10x cheaper than debugging cascading errors.
4. When to Intervene vs Let It Flow
- Let it flow: Scaffolding, UI components, exploring ideas
- Intervene: Auth, payments, data handling, anything security-adjacent
- Always review: Database schemas, API permissions, user data handling
5. Test After Every Change
AI generates code that looks flawless but has subtle bugs. After every change:
- Run test suite
- Manually test the affected feature
- Check console for errors
- Verify happy path AND edge cases
6. Paste Errors, Let AI Fix
The Karpathy move: copy error message, paste with no comment, usually it fixes it. If AI can't fix after 2-3 attempts, describe the behavior you want instead.
7. Constraint Anchoring
Set explicit boundaries:
- Length: "Under 50 lines of code"
- Format: "Only the modified function, not entire file"
- Scope: "Only payment flow, don't touch auth"
- Style: "Follow existing pattern in UserService.ts"
8. Know When Vibe Coding is Appropriate
Good for: Prototypes, MVPs, internal tools, weekend projects, UI components, boilerplate, learning Bad for: Security-critical code, performance-critical code, compliance-heavy domains, long-term production systems
9. Experienced Developers + Vibe Coding = Superpowers
The best vibe coders understand architecture, spot bad AI output, and know when to intervene. If you can't evaluate whether AI produced good code, you need to learn more before vibe coding production systems.
Related skills
Codex Conductor
@shalomobongoMethodical end-to-end software delivery orchestrator for Codex CLI with dual project modes (greenfield for new builds, brownfield for existing systems) and dual execution modes (autonomous and gated). Use when users want full lifecycle delivery with strict stage gates, progress tracking, per-step manual/automated testing, continuous docs updates, change-impact management, and a reusable AGENTS.md workflow for any coding agent.
Code
@ivangdavilaCoding workflow with planning, implementation, verification, and testing for clean software development.
Python Coding Guidelines
@adarshdigievoPython coding guidelines and best practices. Use when writing, reviewing, or refactoring Python code. Enforces PEP 8 style, syntax validation via py_compile, unit test execution, modern Python versions only (no EOL), uv for dependency management when available, and idiomatic Pythonic patterns.
Claude Code Integration
@hw10181913Claude Code integration for OpenClaw. This skill provides interfaces to: - Query Claude Code documentation from https://code.claude.com/docs - Manage subagents and coding tasks - Execute AI-assisted coding workflows - Access best practices and common workflows Use this skill when users want to: - Get help with coding tasks - Query Claude Code documentation - Manage AI-assisted development workflows - Execute complex programming tasks
Opencode-controller
@karatlaControl and operate Opencode via slash commands. Use this skill to manage sessions, select models, switch agents (plan/build), and coordinate coding through Opencode.
Code 1.0.4
@lion504Coding workflow with planning, implementation, verification, and testing for clean software development.