Vibe Coding Methodology
When to activate: User describes aesthetic, mood, or visual feel for their application
Core Principles:
- Vibe-first approach (aesthetic before implementation)
- Structured prompting (Context → Objective → Vibe → Technical)
- Iterative refinement (up to 5 cycles)
- Vibe validation at every step
Workflow
Phase 1: Vibe Understanding
Extract from user request:
- Aesthetic style (cyberpunk, vaporwave, minimalist, retro, etc.)
- Mood descriptors (dreamy, sharp, electric, calm, etc.)
- Color preferences (explicit or implied)
- Animation feel (smooth, glitchy, instant, etc.)
- Interaction style (responsive, delayed, micro, etc.)
Example:
User: "Create a landing page with a startup vibe - clean, modern, trustworthy"
Vibe Extraction:
- Aesthetic: minimalist
- Mood: professional, trustworthy, modern
- Colors: white/blue, subtle accents
- Animations: subtle, micro-interactions
- Interactions: smooth, purposeful
Phase 2: Vibe Translation
Map aesthetic to technical specs using the Vibe Translation Matrix:
Cyberpunk
- Colors: Dark bg (#000), cyan (#00FFFF), magenta (#FF00FF)
- Fonts: Monaco, Courier New (monospace)
- Animations: glitch-effect, scan-lines, neon-glow
- Interactions: sharp, instant, electric
- Components: Angular borders, neon outlines
Vaporwave
- Colors: Purple-blue gradients, hot pink (#FF10F0)
- Fonts: VT323, Press Start 2P (retro)
- Animations: smooth-float, wave-motion, dreamy-fade
- Interactions: smooth, delayed, dreamy
- Components: Rounded, gradient outlines
Minimalist
- Colors: Black/white, subtle blue accent
- Fonts: Inter, SF Pro (clean sans-serif)
- Animations: subtle-fade, micro-interactions
- Interactions: understated, clear
- Components: Minimal borders, ample whitespace
Retro Game
- Colors: Neon green (#00FF00), red, yellow
- Fonts: VT323, Press Start 2P (pixel)
- Animations: pixel-blink, 8bit-bounce
- Interactions: clicky, arcade-style
- Components: Pixelated borders, terminal boxes
Phase 3: Code Generation
Generate code with vibe fully integrated:
For Frontend (React/TypeScript):
// Cyberpunk Example
<div className="bg-black border-2 border-cyan-500 shadow-lg shadow-cyan-500/50 p-6">
<h1 className="text-cyan-400 font-mono text-2xl tracking-wider">
{title}
</h1>
<div className="text-white font-mono animate-glitch">
{content}
</div>
</div>
For Styling (Tailwind Config):
// Vaporwave Example
module.exports = {
theme: {
extend: {
colors: {
'vaporwave-pink': '#FF10F0',
'vaporwave-purple': '#5B42F3',
'vaporwave-cyan': '#00FFFF',
},
fontFamily: {
'retro': ['VT323', 'monospace'],
}
}
}
}
Phase 4: Vibe Validation
After generating code, validate:
- ✅ Color palette matches vibe
- ✅ Typography aligns with aesthetic
- ✅ Animations match interaction feel
- ✅ Component styling consistent
- ✅ Overall feel matches user's vision
If validation fails, refine and regenerate.
Integration with Claude Code
Automatic Activation:
When user mentions:
- Aesthetic terms: "cyberpunk", "vaporwave", "minimalist", "retro"
- Mood descriptors: "dreamy", "sharp", "clean", "glitchy"
- Visual requests: "neon colors", "gradients", "pixel art"
- Feel descriptions: "smooth animations", "instant feedback"
Skill Synergy:
- Combine with
frontend-design for UI expertise
- Use with
project-context for consistency
- Pair with
api-design-patterns for full-stack vibe
Prompt Templates
Component Generation
Context: {project_type} with {existing_stack}
Objective: Create {component_type} for {feature}
Vibe: {aesthetic_style} - {mood_descriptors}
Colors: {color_palette}
Fonts: {typography}
Animations: {animation_style}
Interactions: {interaction_feel}
Technical: {language}, {framework}, {styling_approach}
Best Practices
Vibe-First, Then Technical
- Start with aesthetic description
- Translate to technical specs
- Then implement
Consistency Throughout
- Apply vibe to ALL components
- Maintain aesthetic across pages
- Consistent interaction patterns
Performance Matters
- 60fps animations
- Optimized images
- Lazy loading for heavy effects
Accessibility Always
- WCAG AA compliance
- Color contrast ratios
- Keyboard navigation
- Screen reader support
Anti-Patterns to Avoid
❌ Mixing aesthetics inconsistently
❌ Ignoring performance for vibe
❌ Vibe over accessibility
❌ Generic implementation
Success Criteria
✅ User can describe vibe in natural language
✅ Generated code matches aesthetic perfectly
✅ Consistent vibe across all components
✅ Performance optimized (60fps)
✅ Accessible (WCAG AA)
✅ User satisfaction: "That's exactly the vibe I wanted!"
1---2name: vibe-coding3description: Vibe Coding Methodology4---5# Vibe Coding Methodology67**When to activate:** User describes aesthetic, mood, or visual feel for their application89**Core Principles:**101. Vibe-first approach (aesthetic before implementation)112. Structured prompting (Context → Objective → Vibe → Technical)123. Iterative refinement (up to 5 cycles)134. Vibe validation at every step1415## Workflow1617### Phase 1: Vibe Understanding1819**Extract from user request:**20- Aesthetic style (cyberpunk, vaporwave, minimalist, retro, etc.)21- Mood descriptors (dreamy, sharp, electric, calm, etc.)22- Color preferences (explicit or implied)23- Animation feel (smooth, glitchy, instant, etc.)24- Interaction style (responsive, delayed, micro, etc.)2526**Example:**27```28User: "Create a landing page with a startup vibe - clean, modern, trustworthy"2930Vibe Extraction:31 - Aesthetic: minimalist32 - Mood: professional, trustworthy, modern33 - Colors: white/blue, subtle accents34 - Animations: subtle, micro-interactions35 - Interactions: smooth, purposeful36```3738### Phase 2: Vibe Translation3940**Map aesthetic to technical specs using the Vibe Translation Matrix:**4142#### Cyberpunk43- **Colors:** Dark bg (#000), cyan (#00FFFF), magenta (#FF00FF)44- **Fonts:** Monaco, Courier New (monospace)45- **Animations:** glitch-effect, scan-lines, neon-glow46- **Interactions:** sharp, instant, electric47- **Components:** Angular borders, neon outlines4849#### Vaporwave50- **Colors:** Purple-blue gradients, hot pink (#FF10F0)51- **Fonts:** VT323, Press Start 2P (retro)52- **Animations:** smooth-float, wave-motion, dreamy-fade53- **Interactions:** smooth, delayed, dreamy54- **Components:** Rounded, gradient outlines5556#### Minimalist57- **Colors:** Black/white, subtle blue accent58- **Fonts:** Inter, SF Pro (clean sans-serif)59- **Animations:** subtle-fade, micro-interactions60- **Interactions:** understated, clear61- **Components:** Minimal borders, ample whitespace6263#### Retro Game64- **Colors:** Neon green (#00FF00), red, yellow65- **Fonts:** VT323, Press Start 2P (pixel)66- **Animations:** pixel-blink, 8bit-bounce67- **Interactions:** clicky, arcade-style68- **Components:** Pixelated borders, terminal boxes6970### Phase 3: Code Generation7172**Generate code with vibe fully integrated:**7374**For Frontend (React/TypeScript):**75```typescript76// Cyberpunk Example77<div className="bg-black border-2 border-cyan-500 shadow-lg shadow-cyan-500/50 p-6">78 <h1 className="text-cyan-400 font-mono text-2xl tracking-wider">79 {title}80 </h1>81 <div className="text-white font-mono animate-glitch">82 {content}83 </div>84</div>85```8687**For Styling (Tailwind Config):**88```javascript89// Vaporwave Example90module.exports = {91 theme: {92 extend: {93 colors: {94 'vaporwave-pink': '#FF10F0',95 'vaporwave-purple': '#5B42F3',96 'vaporwave-cyan': '#00FFFF',97 },98 fontFamily: {99 'retro': ['VT323', 'monospace'],100 }101 }102 }103}104```105106### Phase 4: Vibe Validation107108**After generating code, validate:**109- ✅ Color palette matches vibe110- ✅ Typography aligns with aesthetic111- ✅ Animations match interaction feel112- ✅ Component styling consistent113- ✅ Overall feel matches user's vision114115If validation fails, refine and regenerate.116117## Integration with Claude Code118119**Automatic Activation:**120When user mentions:121- Aesthetic terms: "cyberpunk", "vaporwave", "minimalist", "retro"122- Mood descriptors: "dreamy", "sharp", "clean", "glitchy"123- Visual requests: "neon colors", "gradients", "pixel art"124- Feel descriptions: "smooth animations", "instant feedback"125126**Skill Synergy:**127- Combine with `frontend-design` for UI expertise128- Use with `project-context` for consistency129- Pair with `api-design-patterns` for full-stack vibe130131## Prompt Templates132133### Component Generation134```135Context: {project_type} with {existing_stack}136Objective: Create {component_type} for {feature}137Vibe: {aesthetic_style} - {mood_descriptors}138 Colors: {color_palette}139 Fonts: {typography}140 Animations: {animation_style}141 Interactions: {interaction_feel}142Technical: {language}, {framework}, {styling_approach}143```144145## Best Practices1461471. **Vibe-First, Then Technical**148 - Start with aesthetic description149 - Translate to technical specs150 - Then implement1511522. **Consistency Throughout**153 - Apply vibe to ALL components154 - Maintain aesthetic across pages155 - Consistent interaction patterns1561573. **Performance Matters**158 - 60fps animations159 - Optimized images160 - Lazy loading for heavy effects1611624. **Accessibility Always**163 - WCAG AA compliance164 - Color contrast ratios165 - Keyboard navigation166 - Screen reader support167168## Anti-Patterns to Avoid169170❌ Mixing aesthetics inconsistently171❌ Ignoring performance for vibe172❌ Vibe over accessibility173❌ Generic implementation174175## Success Criteria176177✅ User can describe vibe in natural language178✅ Generated code matches aesthetic perfectly179✅ Consistent vibe across all components180✅ Performance optimized (60fps)181✅ Accessible (WCAG AA)182✅ User satisfaction: "That's exactly the vibe I wanted!"