supabase
Handles the full Supabase workflow from schema changes to deployment, with built-in security guardrails that catch common traps like RLS...
epic-template
Epic and task structure patterns for SpecFlux. Use when breaking PRDs into epics and tasks. Epics should be self-contained with clear acceptance criteria.
Full skill instructions
When breaking down PRDs into epics and tasks, follow these patterns.
{
"title": "User Authentication",
"description": "## Overview\n...",
"prdRef": "SPEC-P1",
"acceptanceCriteria": [
{"criteria": "Users can self-register with email/password"},
{"criteria": "Users can log in with existing credentials"},
{"criteria": "Password reset flow works end-to-end"}
]
}
CRITICAL: acceptanceCriteria must be [{"criteria": "..."}, ...] NOT ["...", ...]
Use structured format for efficient agent consumption. Every word costs context window tokens.
## Context
- Tech stack: {relevant technologies}
- Database: {relevant tables/schemas with file:line refs}
- Related code: {directory or file paths}
## Scope
- {What's included - bullet points}
- {Another inclusion}
## NOT in scope
- {Explicit exclusion to prevent scope creep}
- {Another exclusion}
Format Principles:
| Principle | Rationale |
|---|---|
| Bullet points over paragraphs | Faster to parse, less ambiguity |
| File:line references | Agent can jump directly to code (e.g., src/auth/User.java:42) |
| Explicit NOT in scope | Prevents scope creep, saves iterations |
| No redundant context | PRD is linked, don't repeat it |
Validation: If description exceeds 500 characters without structured sections, it's likely too verbose.
Good criteria (outcome-focused):
Bad criteria (too implementation-focused):
Order epics by dependencies:
E1: User Authentication (independent - foundation)
↓
E2: User Profile (depends on E1 - needs auth)
↓
E3: Team Management (depends on E1, E2)
Create independent epics FIRST, then dependent ones.
{
"epicRef": "SPEC-E1",
"title": "Create user database schema",
"description": "## Objective\n...",
"priority": "HIGH"
}
Use structured format for agent efficiency. Include specific file paths.
## Files
- Modify: {existing file paths}
- Create: {new file paths}
- Reference: {files to read for context}
## Implementation
- {Step 1}
- {Step 2}
Example:
## Files
- Modify: src/controllers/AuthController.java:85
- Modify: src/services/AuthService.java
- Create: src/dto/LoginRequest.java
- Reference: src/config/SecurityConfig.java
## Implementation
- Add POST /auth/login endpoint
- Validate email/password format
- Return JWT on success, 401 on failure
File Reference Conventions:
file:line for specific locations (e.g., AuthController.java:85)file for general references (e.g., AuthService.java)src/auth/)Each criterion should be testable. Tag with test type:
[Unit] hashPassword returns bcrypt hash with cost 12
[Integration] POST /auth/register returns 201 for valid input
[Integration] POST /auth/register returns 409 for duplicate email
[E2E] User completes registration and sees dashboard
| Size | Duration | Scope |
|---|---|---|
| Small | 1-2 hours | Single file, clear change |
| Medium | 2-4 hours | Multiple files, one feature |
| Too Large | 4+ hours | Should be split |
If a task takes more than 4 hours, it should be broken down further.
{
"dependsOnTaskRef": "SPEC-41"
}
Create tasks in dependency order:
"Users can register and log in with email/password"
## Overview
Secure user authentication system. Users register with email/password,
log in to access the platform, and can reset forgotten passwords.
## Scope
**IN:** Email/password registration, login, password reset, JWT sessions
**OUT:** Social login, 2FA, session management UI
## Technical Approach
- bcrypt (cost 12) for password hashing
- JWT tokens (24h expiry)
- httpOnly cookies for token storage
- Rate limiting on auth endpoints
## Reference Documents
- `.specflux/prds/user-management/prd.md` - Requirements
- `.specflux/prds/user-management/user-flows.md` - Auth flows
## Edge Cases
- Duplicate email registration → 409 Conflict
- Invalid credentials → 401 + generic message (no email enumeration)
- Expired reset token → redirect to request new token
Task 1: User database schema
Objective: Create users and password_reset_tokens tables
Files:
- migrations/001_create_users.sql
- migrations/002_create_password_reset_tokens.sql
Acceptance Criteria:
[Unit] users table has id, email, password_hash, created_at, updated_at
[Unit] email column has unique constraint
[Unit] password_reset_tokens has user_id FK, token, expires_at
[Unit] Migration rollback removes tables
Task 2: User repository
Objective: CRUD operations for users table
Files:
- src/repositories/UserRepository.kt
- src/test/repositories/UserRepositoryTest.kt
Acceptance Criteria:
[Unit] create() inserts user and returns with generated ID
[Unit] findByEmail() returns user or null
[Unit] findById() returns user or null
[Unit] updatePassword() updates password_hash
Task 3: Registration endpoint
Objective: POST /api/auth/register
Files:
- src/routes/auth/RegisterRoute.kt
- src/test/routes/auth/RegisterRouteTest.kt
Acceptance Criteria:
[Integration] Returns 201 with user object for valid input
[Integration] Returns 400 for invalid email format
[Integration] Returns 400 for password under 8 characters
[Integration] Returns 409 for duplicate email
[Unit] Password is hashed with bcrypt cost 12
Before finishing breakdown, verify 100% PRD coverage:
## Coverage Report
| PRD Requirement | Epic | Tasks |
|-----------------|------|-------|
| User registration | E1 | T1, T2, T3 |
| User login | E1 | T4, T5 |
| Password reset | E1 | T6, T7, T8 |
| Profile management | E2 | T9, T10, T11 |
✓ All requirements covered
PLANNING - Being definedIN_PROGRESS - Implementation startedBLOCKED - Waiting on dependencyCOMPLETED - All tasks doneCANCELLED - AbandonedBACKLOG - Not startedREADY - Dependencies met, ready to startIN_PROGRESS - Being worked onIN_REVIEW - Awaiting reviewBLOCKED - Stuck on somethingCOMPLETED - Done and verifiedCANCELLED - AbandonedCRITICAL - Blocks everythingHIGH - Important for epic completionMEDIUM - Normal priorityLOW - Nice to haveHandles 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