Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

yolo

FreeNo executable scriptsNot checked

Automation skill for Lovable deployments. Activates when: - yolo_mode: on in CLAUDE.md - Running /deploy-edge or /apply-migration commands - After git push…

aiskillstoreby aiskillstore★ 509 GitHub stars

About this skill

Yolo Mode Automation Skill

This skill automates Lovable deployment workflows using either the Lovable MCP server (preferred) or Claude's browser automation as a fallback.

When to Activate

This skill should be active when:

  1. Yolo mode is enabled in CLAUDE.md (yolo_mode: on)
  2. User runs deployment commands:
    • /deploy-edge - Edge function deployment
    • /apply-migration - Database migration application
  3. After git push to main (if auto_deploy: on):
    • Automatically detect backend file changes
    • Trigger deployment without manual command
  4. User mentions yolo automation:
    • "use yolo mode"
    • "automate the Lovable prompt"
    • "submit this to Lovable automatically"
    • "browser automation"

Deployment Method Priority

When yolo mode triggers, always choose the deployment method in this order:

1. Lovable MCP (Preferred)

Check if Lovable MCP tools are available (look for send_message from a Lovable MCP connector):

  • If available: Use the MCP workflow (references/mcp-workflows.md)

    • Extract project ID from lovable_url in CLAUDE.md
    • Call send_message(project_id, prompt)
    • Poll for response if async
    • Run verification tests as configured
  • Why preferred: 3-5x faster, no Chrome extension needed, unaffected by UI changes

2. Browser Automation (Fallback)

If MCP is not available or Deployment Method: browser is set in CLAUDE.md:

  • Use Claude's browser automation (references/automation-workflows.md)
  • Navigate to Lovable, submit prompt via chat interface
  • Monitor for response

3. Manual Prompt (Last Resort)

If both MCP and browser automation fail:

  • Show the deployment prompt to the user for copy-paste into Lovable
  • Never block the user - always provide a manual fallback

Checking Deployment Method

Read Deployment Method from the Yolo Mode Configuration section of CLAUDE.md:

  • auto (default): Try MCP first, fall back to browser
  • mcp: Use MCP only, fall back to manual prompt (skip browser)
  • browser: Use browser automation only (skip MCP check)

Performance Optimization

Model Selection (Hybrid Approach)

For optimal speed + reliability, use different models for different tasks:

Use Haiku for:

  • Clicking elements using refs (simple, deterministic)
  • Form input operations (form_input tool calls)
  • Key presses and simple navigation
  • Waiting/polling operations
  • Simple element finding with find tool

Use Sonnet for:

  • Initial page understanding after navigation
  • Error detection and recovery decisions
  • Parsing Lovable's responses for success/failure
  • Deciding next steps when something unexpected happens
  • Complex page state analysis

Why this matters:

  • Haiku is 3-5x faster for simple operations
  • Sonnet provides better reliability for complex reasoning
  • Hybrid approach gives best of both: speed + accuracy

Tool Preferences

Always prefer these tools:

  • find and read_page over screenshots for element location
  • form_input over click + type for input values
  • ref parameters over coordinates for clicking
  • DOM polling over screenshot-based monitoring

See references/automation-workflows.md for detailed implementation.


Core Functionality

1. Auto-Detection

When yolo mode is enabled, automatically detect when Lovable prompts are needed:

Edge Function Deployment:

  • Files in supabase/functions/ modified
  • Changes committed and pushed to main
  • Deployment prompt generated

Migration Application:

  • New files in supabase/migrations/
  • Changes committed and pushed to main
  • Migration prompt generated

See references/detection-logic.md for complete detection criteria.

1.5. Auto-Deploy After Git Push (NEW)

When auto_deploy: on is enabled, Claude automatically detects and deploys backend changes after a successful git push:

Trigger: Successful git push origin main

Detection:

  1. Analyze files changed in the push
  2. Check for supabase/functions/ or supabase/migrations/ changes
  3. If backend files found AND auto_deploy enabled → trigger automation

Flow:

git push origin main [succeeds]
    ↓
Claude detects backend file changes
    ↓
Check: yolo_mode: on AND auto_deploy: on
    ↓
🤖 "Auto-deploy: Backend changes detected, starting deployment..."
    ↓
Execute browser automation
    ↓
Run verification tests
    ↓
Show deployment summary

Graceful Fallback: If auto-deploy fails for any reason:

  • Show clear error message
  • Provide manual prompt as fallback
  • Never block the user

See references/post-push-automation.md for complete implementation.

2. Deployment Execution

When a deployment is needed, execute based on the chosen method:

MCP Method:

  1. Extract project ID from lovable_url in CLAUDE.md
  2. Call Lovable MCP send_message with the deployment prompt
  3. Poll for completion if the response is async
  4. Parse success/failure from response

See references/mcp-workflows.md for full MCP wo

Full SKILL.md on GitHub

Install yolo in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

references/automation-workflows.mdreferences/detection-logic.mdreferences/lovable-commented-screenshot.pngreferences/mcp-workflows.mdreferences/post-push-automation.mdreferences/secrets-extraction.mdreferences/testing-procedures.mdskill-report.json

FAQ

What does the yolo skill do?

Automation skill for Lovable deployments. Activates when: - yolo_mode: on in CLAUDE.md - Running /deploy-edge or /apply-migration commands - After git push when auto_deploy: on (automatic detection) - Any mention of "yolo mode", "automate Lovable", "browser automation", "Lovable MCP" Uses Lovable MCP (preferred) or browser automation to submit deployment prompts. Runs verification tests based on configuration. Auto-deploys after git push when enabled.

How do I install the yolo skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the yolo skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare yolo with