Clavix is an open-source prompt engineering framework that transforms rough ideas into polished prompts, complete PRDs (Product Requirements Documents), and ready-to-implement task lists. Built on the academically-validated CLEAR methodology, it bridges the gap between initial concepts and production-ready implementation.
Clavix leverages the CLEAR framework for systematic prompt optimization:
- Concise — Eliminates ambiguity and noise
- Logical — Ensures structured, rational flow
- Explicit — Makes requirements and expectations crystal clear
- Adaptive — Adjusts to context and specific needs
- Reflective — Incorporates feedback and iteration
This methodology ensures consistency and quality across all AI interactions, from simple prompts to complex project specifications.
Transform vague ideas into production-ready documentation:
- Rough Idea → Describe what you want to build in plain language
- CLEAR Optimization → Framework refines and structures your input
- Complete PRD → Get comprehensive Product Requirements Document
- Task List → Ready-to-implement tasks with clear acceptance criteria
- Progress Tracking → Monitor implementation and mark tasks complete
The result: From concept to actionable implementation plan in minutes, not hours.
Workflow:
User: "I want to add user authentication with social login"
Clavix Output:
→ Optimized prompt with CLEAR framework
→ Complete PRD with scope, requirements, constraints
→ Implementation tasks broken down by priority
→ Ready for AI coding assistant execution
Perfect for starting new projects or features:
- MVP Planning → Define scope and requirements clearly
- Technical Specifications → Document architecture and decisions
- Task Breakdown → Generate actionable implementation steps
- Team Alignment → Share clear, structured documentation
Enhance your interactions with AI coding tools:
# Quick optimization
/clavix:fast "add dark mode to dashboard"
# Deep analysis with comprehensive refinement
/clavix:deep "build real-time collaborative editing"
# Full PRD workflow
/clavix:prdBuilt-in task management (v2.8+):
# List all tasks from PRD
clavix tasks list
# Mark task complete with auto-commit
clavix task-complete <taskId>
# View progress across project
clavix tasks status- Fast Mode → Quick refinement for immediate use
- Deep Mode → Comprehensive analysis and restructuring
Both modes automatically save outputs to .clavix/outputs/prompts/ for version control and review.
Complete Product Requirements Documents include:
- Executive Summary → High-level overview
- Scope Definition → What's in and out of scope
- Technical Requirements → Detailed specifications
- Implementation Tasks → Ready-to-execute checklist
- Acceptance Criteria → Clear success metrics
Track implementation progress seamlessly:
- Task Generation → Auto-create tasks from PRDs
- Progress Tracking → Monitor completion status
- Auto-Commit → Generate commits when marking tasks complete
- Status Updates → Real-time view of project progress
Intelligent prompt storage and hygiene:
- Status Tracking → NEW → EXECUTED → STALE
- Age Warnings → >7 days = OLD, >30 days = STALE
- Organized Storage → Structured in
.clavix/outputs/prompts/ - Easy Retrieval → List, view, and execute saved prompts
Works seamlessly with 15+ coding assistants:
- Claude Code (via slash commands)
- Cursor (built-in support)
- Windsurf (native integration)
- Droid CLI (custom instructions)
- Any AI agent supporting slash commands or file-based instructions
# Install globally
npm install -g clavix
# Initialize in your project
clavix initRequirements: Node.js ≥ 16.0.0 (ESM support)
-
Generate PRD
/clavix:prd # Or via CLI: clavix prd -
Review & Refine
- Open generated PRD in
.clavix/outputs/ - Edit as needed to match your requirements
- Share with team for alignment
- Open generated PRD in
-
Generate Implementation Tasks
clavix tasks generate
-
Execute with AI Assistant
# View saved prompts clavix prompts list # Execute optimized prompt /clavix:execute
-
Track Progress
# Mark tasks complete (auto-commits) clavix task-complete <taskId> # View status clavix tasks status
For supported AI agents (Claude Code, Cursor, Windsurf):
/clavix:fast "description"— Quick optimization/clavix:deep "description"— Comprehensive analysis/clavix:prd— Full PRD workflow/clavix:execute— Run saved prompts
-
Start with Deep Mode for Complex Features
- Use
/clavix:deepfor new features or major changes - Let CLEAR framework identify edge cases and requirements
- Review and refine before execution
- Use
-
Leverage PRD Generation
- Generate PRDs at project start for alignment
- Use as living documentation during development
- Update PRD as requirements evolve
-
Maintain Task Hygiene
- Mark tasks complete as you finish them
- Use auto-commit feature for consistent history
- Review task status regularly
-
Version Control Your .clavix Directory
- Track PRDs and prompts alongside code
- Share optimizations across team
- Maintain project history and decisions
Input: "I want to build a real-time notification system"
Clavix Fast Mode:
Optimized Prompt:
"Design and implement a real-time notification system with:
- WebSocket connection management
- User preference handling
- Notification persistence
- Rate limiting and priority queuing
- Cross-device synchronization
Include error handling, reconnection logic, and offline queue."
Clavix PRD Mode:
Generated PRD includes:
- Executive Summary
- Technical Architecture (WebSocket, Redis, Database)
- User Stories (15 scenarios)
- Implementation Tasks (23 tasks across 4 phases)
- Success Metrics
- Security Considerations
Ready-to-implement tasks:
1. Set up WebSocket server infrastructure
2. Implement connection manager with reconnect logic
3. Design notification data model
4. Build user preference service
... (and 19 more detailed tasks)
- Faster → CLEAR optimization is near-instantaneous
- Simpler → No complex CLI commands to memorize
- Integrated → Works natively with 15+ AI agents
- Task Management → Built-in progress tracking
- Free & Open Source → No licensing costs
- Consistency → CLEAR framework ensures quality
- Completeness → Never miss edge cases or requirements
- Efficiency → Generate PRDs in minutes, not hours
- Best Practices → Validated methodology built-in
- AI-Native → Designed for AI assistant workflows
- Executable → PRDs become implementation tasks automatically
- Integrated → No context switching between tools
- Version Controlled → Markdown files in your repo
Clavix transforms the way you plan and execute development work by combining academic rigor (CLEAR framework) with practical implementation (PRDs + task lists). Instead of struggling with vague prompts or spending hours writing specifications, you get optimized, actionable documentation that seamlessly integrates with your AI coding workflow. The result: faster planning, clearer requirements, and more reliable implementation—all while maintaining the natural, conversational vibecoding experience.
Official Resources:
See also: Droid CLI, Claude Code CLI, Mastering AI Prompts
Back: Tools & Tech Stack