supabase
Handles the full Supabase workflow from schema changes to deployment, with built-in security guardrails that catch common traps like RLS...
implement_plan
Implement technical plans from thoughts/shared/plans with verification
Full skill instructions
You are tasked with implementing an approved technical plan from thoughts/shared/plans/. These plans contain phases with specific changes and success criteria.
You have two execution modes:
For small plans (3 or fewer tasks) or when user requests direct implementation.
For plans with 4+ tasks or when context preservation is critical.
To use agent orchestration mode, say: "I'll use agent orchestration for this plan" and follow the Agent Orchestration section below.
When given a plan path:
Before starting implementation, run a deep pre-mortem:
/premortem deep <plan-path>
This analyzes the plan against comprehensive checklists:
If HIGH severity risks are identified:
Skip premortem if:
--skip-premortem)After premortem passes, start implementing if you understand what needs to be done.
If no plan path provided, ask for one.
Plans are carefully designed, but reality can be messy. Your job is to:
When things don't match the plan exactly, think about why and communicate clearly. The plan is your guide, but your judgment matters too.
If you encounter a mismatch:
Issue in Phase [N]:
Expected: [what the plan says]
Found: [actual situation]
Why this matters: [explanation]
How should I proceed?
After implementing a phase:
make check test covers everything)Phase [N] Complete - Ready for Manual Verification
Automated verification passed:
- [List automated checks that passed]
Please perform the manual verification steps listed in the plan:
- [List manual verification items from the plan]
Let me know when manual testing is complete so I can proceed to Phase [N+1].
If instructed to execute multiple phases consecutively, skip the pause until the last phase. Otherwise, assume you are just doing one phase.
do not check off items in the manual testing steps until confirmed by the user.
When something isn't working as expected:
Use sub-tasks sparingly - mainly for targeted debugging or exploring unfamiliar territory.
If the plan was created by plan-agent, you may be able to resume it for clarification:
.claude/cache/agents/agent-log.jsonl for the plan-agent entryagentId fieldTask(
resume="<agentId>",
prompt="Phase 2 isn't matching the codebase. Can you clarify..."
)
The resumed agent retains its full prior context (research, codebase analysis).
Available agents to resume:
plan-agent - Created the implementation planoracle - Researched best practicesdebug-agent - Investigated issuesIf the plan has existing checkmarks:
Remember: You're implementing a solution, not just checking boxes. Keep the end goal in mind and maintain forward momentum.
When implementing larger plans (4+ tasks), use agent orchestration to stay compaction-resistant.
The Problem: During long implementations, context accumulates. If auto-compact triggers mid-task, you lose implementation context. Handoffs created at 80% context become stale.
The Solution: Delegate implementation to agents. Each agent:
Handoffs persist on disk. If compaction happens, you re-read handoffs and continue.
Create handoff directory:
mkdir -p thoughts/handoffs/<session-name>
Use the session name from your continuity ledger.
Read the implementation agent skill:
cat .claude/skills/implement_task/SKILL.md
This defines how agents should behave.
Before implementing, ensure the plan has been validated using the validate-agent. The validation step is separate and should have created a handoff with status VALIDATED.
Check for validation handoff:
ls thoughts/handoffs/<session>/validation-*.md
If no validation exists, suggest running validation first:
"This plan hasn't been validated yet. Would you like me to spawn validate-agent first?"
If validation exists but status is NEEDS REVIEW, present the issues before proceeding.
For each task in the plan:
Prepare agent context:
Spawn implementation agent:
Task(
subagent_type="general-purpose",
model="claude-opus-4-5-20251101",
prompt="""
[Paste contents of .claude/skills/implement_task/SKILL.md here]
---
## Your Context
### Continuity Ledger:
[Paste ledger content]
### Plan:
[Paste relevant plan section or full plan]
### Your Task:
Task [N] of [Total]: [Task description from plan]
### Previous Handoff:
[Paste previous task's handoff content, or "This is the first task - no previous handoff"]
### Handoff Directory:
thoughts/handoffs/<session-name>/
### Handoff Filename:
task-[NN]-[short-description].md
---
Implement your task and create your handoff.
"""
)
Process agent result:
[x] Task NOn agent failure/blocker:
If auto-compact happens mid-orchestration:
ls -la thoughts/handoffs/<session-name>/
User: /implement_plan thoughts/shared/plans/PLAN-add-auth.md
Claude: I'll use agent orchestration for this plan (6 tasks).
Setting up handoff directory...
[Creates thoughts/handoffs/add-auth/]
Task 1 of 6: Create user model
[Spawns agent with full context]
[Agent completes, creates task-01-user-model.md]
✅ Task 1 complete. Handoff: thoughts/handoffs/add-auth/task-01-user-model.md
Task 2 of 6: Add authentication middleware
[Spawns agent with previous handoff]
[Agent completes, creates task-02-auth-middleware.md]
✅ Task 2 complete. Handoff: thoughts/handoffs/add-auth/task-02-auth-middleware.md
--- AUTO COMPACT HAPPENS ---
[Context compressed, but handoffs persist]
Claude: [Reads ledger, sees tasks 1-2 done]
[Reads last handoff task-02-auth-middleware.md]
Resuming from Task 3 of 6: Create login endpoint
[Spawns agent]
...
Each agent reads previous handoff → does work → creates next handoff:
task-01-user-model.md
↓ (read by agent 2)
task-02-auth-middleware.md
↓ (read by agent 3)
task-03-login-endpoint.md
↓ (read by agent 4)
...
The chain preserves context even across compactions.
| Scenario | Mode |
|---|---|
| 1-3 simple tasks | Direct implementation |
| 4+ tasks | Agent orchestration |
| Critical context to preserve | Agent orchestration |
| Quick bug fix | Direct implementation |
| Major feature implementation | Agent orchestration |
| User explicitly requests | Respect user preference |
Handles the full Supabase workflow from schema changes to deployment, with built-in security guardrails that catch common traps like RLS...
Comprehensive guides and best practices for Neon Serverless Postgres, covering setup, connection methods, authentication, and platform APIs.
Guide for setting up and using Firebase Authentication. Use this skill when the user's app requires user sign-in, user management, or secure data access using auth rules.
A skill to evaluate how secure Firestore security rules are. Use this when Firestore security rules are updated to ensure that the generated rules are extremely secure and robust.
Official skill for integrating Firebase AI Logic (Gemini API) into web applications. Covers setup, multimodal inference, structured output, and security.
Complete Better Auth server and client setup with database adapters, session management, plugins, and security configuration.
Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".
Complete Cloudflare platform integration with decision trees for compute, storage, AI, networking, security, and infrastructure-as-code.
Run Azure compliance and security audits with azqr plus Key Vault expiration checks. Covers best-practice assessment, resource review, policy/compliance validation, and security posture checks. WHEN: compliance scan, security audit, BEFORE running azqr (compliance cli tool), Azure best practices, Key Vault expiration check, expired certificates, expiring secrets, orphaned resources, compliance assessment.
Send, read, and manage Gmail messages, drafts, labels, and account settings.
Comprehensive website auditing across 230+ rules in 21 categories including SEO, performance, security, and accessibility.
Shared authentication, CLI syntax, and output formatting patterns for gws Google Workspace commands.
Discover your celebrity doppelgänger with StarByFace!
GeoSpy: Pricing, Features, FAQs, and Alternatives for AI Teams
Detect AI-generated voices to protect against audio fraud.
Ensure Your Content's Originality with AI Plagiarism Checker
Upscale images by 400% without quality loss
Protect your social media from copyright disputes
Accurately Detect AI-Generated Content with TheChecker.AI
Chrome extension that detects and flags AI-generated content