skills/10k-digital/yolo/SKILL.md
Browser 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" Automatically navigates to Lovable.dev and submits deployment prompts. Runs verification tests based on configuration. Auto-deploys after git push when enabled.
npx skillsauth add aiskillstore/marketplace yoloInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill automates Lovable deployment workflows using Claude's browser automation capabilities.
This skill should be active when:
yolo_mode: on)/deploy-edge - Edge function deployment/apply-migration - Database migration applicationauto_deploy: on):
For optimal speed + reliability, use different models for different tasks:
Use Haiku for:
form_input tool calls)find toolUse Sonnet for:
Why this matters:
Always prefer these tools:
find and read_page over screenshots for element locationform_input over click + type for input valuesref parameters over coordinates for clickingSee references/automation-workflows.md for detailed implementation.
When yolo mode is enabled, automatically detect when Lovable prompts are needed:
Edge Function Deployment:
supabase/functions/ modifiedmainMigration Application:
supabase/migrations/mainSee references/detection-logic.md for complete detection criteria.
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:
supabase/functions/ or supabase/migrations/ changesFlow:
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:
See references/post-push-automation.md for complete implementation.
When a deployment is needed:
Navigate to Lovable
lovable_url from CLAUDE.mdSubmit Prompt
Monitor Response
See references/automation-workflows.md for detailed browser automation steps.
After successful deployment, run tests based on yolo_testing setting:
If yolo_testing: on (default):
If yolo_testing: off:
See references/testing-procedures.md for complete testing workflows.
When yolo_debug: on, provide verbose output:
🐛 DEBUG: Browser Automation
Step 1: Navigating to Lovable
URL: https://lovable.dev/projects/abc123
Wait for: Page load complete
✅ Success (1.2s)
Step 2: Locating chat interface
Selector: textarea[data-testid="chat-input"]
Wait for: Element interactable
✅ Found (0.3s)
Step 3: Typing prompt
Text: "Deploy the send-email edge function"
✅ Typed (0.5s)
Step 4: Submitting
Action: Press Enter
✅ Submitted (0.1s)
Step 5: Monitoring response
Watching for: New message from assistant
Timeout: 180s
✅ Response received (4.2s)
Response content:
"I'll deploy the send-email edge function now..."
[full response text]
Success keywords detected: ['deploy', 'function']
No error keywords found
The skill reads these fields from CLAUDE.md:
## Yolo Mode Configuration (Beta)
- **Status**: on
- **Auto-Deploy**: on
- **Deployment Testing**: on
- **Auto-run Tests**: off
- **Debug Mode**: off
- **Last Updated**: 2025-01-03 10:30:00
Configuration options:
And from Project Overview:
- **Lovable Project URL**: https://lovable.dev/projects/abc123
- **Production URL**: https://my-app.lovable.app
Show real-time progress during automation:
Standard Mode (debug off):
🤖 Yolo mode: Deploying send-email edge function
⏳ Step 1/8: Navigating to Lovable project...
⏳ Step 2/8: Waiting for GitHub sync...
✅ Step 3/8: Sync verified - Lovable has latest code
✅ Step 4/8: Located chat interface
✅ Step 5/8: Submitted prompt
⏳ Step 6/8: Waiting for Lovable response...
✅ Step 7/8: Deployment confirmed
⏳ Step 8/8: Running verification tests...
✅ Step 8/8: All tests passed
Debug Mode (debug on): Include detailed logs with timing, selectors, and full responses.
After automation completes:
## Deployment Summary
**Operation:** Edge Function Deployment
**Function:** send-email
**Status:** ✅ Success
**Duration:** 45 seconds
**Automation Steps:**
1. ✅ Navigated to Lovable
2. ✅ Submitted deployment prompt
3. ✅ Received deployment confirmation
**Verification Tests:** (if testing enabled)
1. ✅ Basic verification: Deployment logs show no errors
2. ✅ Console check: No errors at production URL
3. ✅ Functional test: Function endpoint responds (200 OK)
**Production Status:**
- Function is live and responding
- No errors detected
- Ready for use
💡 Yolo mode is enabled. I'll continue automating deployments.
Run `/yolo off` to disable.
All automation failures fall back gracefully to manual prompts:
Browser automation not available:
❌ Browser automation unavailable
Yolo mode requires the Claude in Chrome extension.
Install: https://chrome.google.com/webstore/detail/claude/...
Docs: https://docs.claude.com/claude/code-intelligence/browser-automation
Fallback - run this prompt manually in Lovable:
📋 "Deploy the send-email edge function"
Login required:
🔐 Please log in to Lovable
The browser opened to your Lovable project, but you're not logged in.
Please log in and I'll retry automatically.
Or run this prompt manually:
📋 "Deploy the send-email edge function"
UI element not found:
❌ Could not locate Lovable chat interface
The Lovable UI may have changed since this plugin was created.
Fallback - run this prompt manually in Lovable:
📋 "Deploy the send-email edge function"
💡 Please report this issue at:
https://github.com/10kdigital/lovable-claude-code/issues
Timeout:
⏱️ Lovable hasn't responded after 3 minutes
The operation may still be processing.
Please check Lovable manually to verify status.
Prompt that was submitted:
📋 "Deploy the send-email edge function"
Deployment failed:
❌ Deployment failed in Lovable
Error from Lovable:
[captured error message]
Suggested fixes:
- Check function code for syntax errors
- Verify required secrets are set in Cloud → Secrets
- Review function logs in Lovable
Would you like me to:
1. Review the function code for issues
2. Check if secrets are documented in CLAUDE.md
3. Show you how to access logs in Lovable
When automation fails:
Never fail silently - always inform user and provide manual options.
When yolo mode is on, /deploy-edge automatically triggers browser automation:
[... existing deploy-edge logic ...]
## Deployment Execution
1. Check yolo mode status from CLAUDE.md
2. If `yolo_mode: on`:
- Activate yolo skill
- Execute browser automation workflow
- Run tests based on `yolo_testing` setting
- Report results
3. If `yolo_mode: off`:
- Show manual prompt (current behavior)
- Suggest enabling yolo mode
Same pattern as deploy-edge for migration workflows.
The /yolo command controls this skill:
/yolo on - Enables skill by setting yolo_mode: on/yolo off - Disables skill--testing, --no-testing, --debugYolo mode is in beta - users should be aware:
✅ What works well:
⚠️ Known limitations:
✅ Good for:
❌ Not ideal for:
Not yet implemented, but could be added:
Batch operations
Rollback support
Monitoring mode
Custom test scripts
Broader operation support
This skill uses these reference documents:
references/automation-workflows.md
references/detection-logic.md
references/post-push-automation.md (NEW)
references/testing-procedures.md
1. Read CLAUDE.md
2. Look for "Status: on" in Yolo Mode Configuration
3. If not found or "off", yolo mode is disabled
1. Read CLAUDE.md
2. Check both "Status: on" AND "Auto-Deploy: on"
3. Both must be enabled for auto-deploy to trigger
1. Confirm yolo_mode is on
2. Load automation-workflows.md
3. Execute navigation → submit → monitor workflow
4. Run tests if yolo_testing is on
5. Report results
1. Git push succeeds
2. Check for backend file changes (supabase/functions/, supabase/migrations/)
3. If changes found AND auto_deploy enabled:
- Trigger automation automatically
- Show: "🤖 Auto-deploy: Backend changes detected..."
4. If auto_deploy disabled:
- Show notification only
- Suggest running /deploy-edge or /apply-migration
1. Try automation
2. If fails, capture error
3. Show error + manual fallback prompt
4. Never block user - always provide manual option
5. Suggest troubleshooting based on error type
This skill enables hands-free Lovable deployments while maintaining safety through manual fallbacks and comprehensive testing.
development
Apple Human Interface Guidelines for content display components. Use this skill when the user asks about charts component, collection view, image view, web view, color well, image well, activity view, lockup, data visualization, content display, displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says how should I display charts, what's the best way to show images, should I use a web view, how do I build a grid of items, what component shows media, or how do I present a share sheet. Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.
tools
Automate HelpDesk tasks via Rube MCP (Composio): list tickets, manage views, use canned responses, and configure custom fields. Always search tools first for current schemas.
testing
Expert Haskell engineer specializing in advanced type systems, pure functional design, and high-reliability software. Use PROACTIVELY for type-level programming, concurrency, and architecture guidance.
tools
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.