Intelligent Prompt Engineering for AI Agents
Clavix transforms vague ideas into production-ready prompts and PRDs using slash commands within Claude Code, Cursor, Windsurf, and 20+ AI agents.
Agentic-first architecture: templates instruct AI agents directly, no runtime code.
The Clavix Advantage
While GitHub SpecKit and OpenSpec focus on spec generation, Clavix offers an all-in-one solution: prompt improvement, guided PRD creation, task planning, and seamless AI-assisted implementation.
No rigid structures. No manual processes. Just conversational guidance from idea to production—agentic-first architecture.
How It Works
- 1. Install:
npm install -g clavix - 2. Initialize: Run
clavix initin your project, select your AI agents - 3. Use slash commands: Type
/clavix:improve,/clavix:prd,/clavix:start,/clavix:verify, or/clavix:summarizedirectly in your agent - 4. Get intelligent prompts: 11 intent types • 20 optimization patterns • agentic-first
Runs as Slash Commands in Your AI Agent
Clavix integrates seamlessly with 20+ AI coding assistants through slash commands. No context switching, no external tools—just type /clavix:improve, /clavix:prd, or /clavix:verify directly in your agent.
IDEs and Editor Extensions
CLI Agents and Toolchains
Universal Adapters
Command Format by Agent
Different agents use different command separators. Clavix automatically generates the correct format during clavix init.
/clavix:improve /clavix-improve Five Powerful Modes
From smart prompt improvement to strategic PRD generation, Clavix adapts to your workflow with unified intelligence.
Prompt Intelligence: Smart Optimization
Unified improvement with automatic depth selection
Improve Mode
Unified prompt optimization with intelligent depth auto-selection. Quality >= 75% triggers comprehensive analysis (20 patterns), < 60% uses standard cleanup. Agentic-first with 95%+ accurate intent detection across 11 types.
$ /clavix:improve "build authentication system"Workflow Modes: Planning & Verification
Convert ideas into structured requirements, PRDs, and verified implementations
PRD Mode
Generate comprehensive PRDs through guided Socratic questioning with 15 specialized patterns including RequirementPrioritizer, UserPersonaEnricher, SuccessMetricsEnforcer, and DependencyIdentifier.
$ /clavix:prdConversational Mode
Natural conversation to requirements with 11 patterns and Supportive Companion UX. Features ConversationSummarizer, TopicCoherenceAnalyzer, and ImplicitRequirementExtractor with gentle nudges for critical gaps.
$ /clavix:start → /clavix:summarizeRefine Mode
Improve existing PRDs and prompts with change tracking markers. Perfect for iterative refinement of requirements while preserving history of all modifications.
$ /clavix:refineVerify Mode
Automated verification against implementation checklists. AI agents run checks using native tools and generate pass/fail reports with confidence levels for each requirement.
$ /clavix:verify --latestAdvanced Capabilities
Enterprise-grade features for sophisticated development workflows
Architecture & Design Support
Integrated architectural decision-making into core workflows. Probes for patterns (Monolith vs Microservices, Clean Architecture), applies "Architecture First" principle in task generation, and captures design requirements through /clavix:start, /clavix:summarize, and /clavix:prd.
$ Integrated into: start, summarize, prd, planClarifying Questions Protocol
Systematic protocol with 95% confidence threshold for gathering critical information. Structured format for multiple choice and custom input questions. Applied to improve, prd, plan, start, and summarize commands for precise requirement gathering.
$ Auto-triggers at 95% confidence thresholdComplete End-to-End Workflow
1. Generate PRD
Answer guided questions to create clear requirements
2. Plan Tasks
Break down PRD into atomic, well-structured tasks
3. Implement
Execute tasks with AI assistance and automatic tracking
4. Verify
Run automated checks and verify against requirements
5. Archive
Archive completed projects and maintain clean workspace
Complete lifecycle management: From initial idea through PRD generation, task planning, implementation, verification, to final archival—all within your AI agent workflow.
See Full Workflow GuideWhy Choose Clavix?
Compare Clavix with other spec-driven tools and see what makes it unique.
Similar purpose (requirements generation), different approach.
Prompt Improvement
Analyzes and improves prompt quality
Adaptive Intelligence
20 patterns • 11 intents • agentic-first
PRD Generation
Creates Product Requirements Documents
Guided Workflow
Step-by-step assistance with guardrails
Coding Agent Integration
Seamless integration with AI coding assistants
Task Breakdown
Converts PRDs into actionable tasks
Implementation Assistance
AI-assisted task execution
Learning Curve
Ease of getting started
Dependencies
External requirements