supabase
Handles the full Supabase workflow from schema changes to deployment, with built-in security guardrails that catch common traps like RLS...
clavix-improve
Analyze and optimize prompts using 6-dimension quality assessment (Clarity, Efficiency, Structure, Completeness, Actionability, Specificity). Use when you need to improve a prompt before implementation.
Full skill instructions
Analyze and optimize prompts with intelligent depth selection based on quality score.
.clavix/outputs/prompts/ for later useBefore starting analysis, output:
**CLAVIX MODE: Improve**
Mode: planning
Purpose: Optimizing user prompt with pattern-based analysis
Depth: [standard|comprehensive] (auto-detected based on quality score)
Implementation: BLOCKED - I will analyze and improve the prompt, not implement it
DETECT: If you find yourself doing any of these 6 mistake types:
| Type | What It Looks Like |
|---|---|
| 1. Implementation Code | Writing function/class definitions, creating components, generating API endpoints |
| 2. Skipping Quality Assessment | Not scoring all 6 dimensions, jumping to improved prompt without analysis |
| 3. Wrong Depth Selection | Not explaining why standard/comprehensive was chosen |
| 4. Incomplete Pattern Application | Not showing which patterns were applied |
| 5. Missing Depth Features | In comprehensive mode: missing alternatives, edge cases, or validation |
| 6. Capability Hallucination | Claiming features Clavix doesn't have, inventing pattern names |
STOP: Immediately halt the incorrect action
CORRECT: Output: "I apologize - I was [describe mistake]. Let me return to prompt optimization."
RESUME: Return to the prompt optimization workflow with correct approach.
Based on quality assessment score:
| Quality Score | Depth Selection | Rationale |
|---|---|---|
| ≥ 75% | Comprehensive (auto) | Prompt is good, add polish and enhancements |
| 60-74% | User choice | Borderline quality, ask user preference |
| < 60% | Standard (auto) | Needs basic fixes first |
Evaluate across all 6 dimensions, score each 0-100%:
| Dimension | What It Measures |
|---|---|
| Clarity | Is the objective clear and unambiguous? |
| Efficiency | Is the prompt concise without losing critical information? |
| Structure | Is information organized logically? |
| Completeness | Are all necessary details provided? |
| Actionability | Can AI take immediate action on this prompt? |
| Specificity | How concrete and precise? (versions, paths, identifiers) |
Calculate weighted overall score from all dimensions.
Analyze what the user is trying to achieve:
Evaluate across all 6 dimensions and calculate overall score.
Display scores in table format:
| Dimension | Score |
|-----------|-------|
| Clarity | XX% |
| Efficiency | XX% |
| Structure | XX% |
| Completeness | XX% |
| Actionability | XX% |
| Specificity | XX% |
| **Overall** | XX% |
Based on quality score, announce selection:
Standard Depth Output Contract:
Comprehensive Depth Output Contract (includes all standard plus):
All improvements must be labeled with quality dimension tags:
- [Clarity] Made objective explicit and unambiguous
- [Efficiency] Removed 15 unnecessary phrases
- [Structure] Reorganized into logical sections
- [Completeness] Added missing technical constraints
- [Actionability] Added specific success criteria
- [Specificity] Added version numbers and file paths
Format: {depth}-YYYYMMDD-HHMMSS-{random4}
std-20240115-143022-a7x2 for standard depthcomp-20240115-143022-b9k4 for comprehensive depthmkdir -p .clavix/outputs/prompts
Path: .clavix/outputs/prompts/{id}.md
Content structure:
---
id: {generated-id}
depthUsed: standard|comprehensive
timestamp: {ISO-8601 timestamp}
executed: false
originalPrompt: |
{original user prompt text}
---
# Optimized Prompt
{The improved prompt content}
## Analysis Summary
Intent: {detected intent}
Quality: {before}% → {after}%
Patterns Applied: {list of patterns}
CRITICAL: Use Read to confirm file exists and has valid content.
If verification fails:
Input: "Please could you maybe help me create a login page?"
## Clavix Improve Analysis
### Depth Selection
Quality Score: 42% - Using standard depth for basic optimization
### Intent Detection
Type: code-generation
Confidence: 85%
### Quality Assessment
| Dimension | Score |
|-----------|-------|
| Clarity | 40% |
| Efficiency | 35% |
| Structure | 85% |
| Completeness | 20% |
| Actionability | 30% |
| Specificity | 25% |
| **Overall** | 42% |
### Optimized Prompt
Objective: Build a secure user authentication login page
Requirements:
- Email and password input fields with validation
- "Remember me" checkbox
- "Forgot password" link
- Clear error messages for invalid credentials
- Responsive design for mobile and desktop
Technical Constraints:
- Use React with TypeScript
- Integrate with existing JWT authentication API
- Follow WCAG 2.1 AA accessibility standards
Expected Output:
- Fully functional login component
- Unit tests with >80% coverage
Success Criteria:
- Users can log in successfully
- Invalid credentials show appropriate errors
- Page is accessible via keyboard navigation
### Improvements Applied
- [Clarity] Added specific objective statement
- [Completeness] Added missing requirements (remember me, forgot password)
- [Specificity] Added technical constraints (React, TypeScript, JWT)
- [Actionability] Added success criteria and expected output
- [Efficiency] Removed hedging language ("please could you maybe")
### Patterns Applied
- ObjectiveClarifier
- CompletenessValidator
- TechnicalContextEnricher
- SuccessCriteriaEnforcer
- ConcisenessFilter
For prompts scoring ≥75%, comprehensive output adds:
This mode DOES:
This mode does NOT:
.clavix/After improvement is complete, guide user to:
| If... | Recommend |
|---|---|
| Ready to implement | /clavix-implement --latest |
| Task is larger than expected | /clavix-prd for strategic planning |
| Want to iterate on prompt | /clavix-refine |
Error: Cannot create directory
mkdir -p .clavix/outputs/prompts
Error: Invalid frontmatter
Cause: Borderline quality score Solution: User can override with explicit depth choice, or re-run
Cause: Standard depth was used but comprehensive needed
Solution: Re-run with comprehensive depth or use /clavix-prd for strategic planning
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