π― Welcome to ZenCode AI!
Your interactive, AI-powered development environment
π Quick Start
Getting Started
- Set up your API key: Click the Settings link in the top navigation to configure your Anthropic API key
- Start a new project: Enter a project name in the left sidebar
- Begin coding: Ask the AI to create or modify code in the chat panel on the right
π― Build & Create
One-Shot Project Builder
Instantly generate complete websites, WordPress plugins, and virtually any kind of small to medium sized web applications from a simple description.
How to use:
- Click the "Build a Website" button in the top bar
- Describe your project in plain English
- The AI will generate complete, ready-to-use files instantly
Example prompts:
Build a modern SaaS landing page for a time-tracking app with pricing tiers and a hero section.
Create a WordPress plugin that adds custom post types for portfolio items.
Develop a contact form manager web app with user authentication and file uploads.
π‘ Pro Tip: For stunning results, upload an inspiration image first! The AI will match your design vision.
π§ Intelligent Learning System β
NEW
ZenCode AI doesn't just assistβit learns, adapts, and evolves with every project. These breakthrough features make your AI assistant smarter over time.
π§
Auto Repair
Automatically detects and fixes errors without manual intervention
πΎ
Persistent Context
Context saved to database across all sessions and steps
π
Reflection Scoring
AI scores its own performance to learn from mistakes
π
Database Learning
System gets smarter with every interaction
π
Auto Spec Generation
Comprehensive specs from simple prompts
π§ Auto Repair
ZenCode AI automatically detects and fixes errors in your code without manual intervention.
What it does:
- Monitors code execution in real-time
- Detects syntax errors, runtime issues, and logical bugs
- Automatically applies fixes and reruns code
- Learns from successful repairs to prevent future issues
How it works:
AI executes your code
If errors are detected, the system analyzes the problem
Automatically generates and applies a fix
Verifies the fix works correctly
Stores the solution in the database for future reference
Benefits:
- Zero downtime: Fixes happen automatically
- Continuous improvement: Each repair makes the system smarter
- No manual debugging: Focus on building, not fixing
- Pattern recognition: Similar errors get fixed instantly
πΎ Persistent Context Across Steps
Unlike traditional AI tools, ZenCode AI remembers everything across your entire project lifecycle.
What's saved:
- All project files and their versions
- Conversation history and context
- Code decisions and reasoning
- User preferences and patterns
- Step execution results
Stored in database:
- Every interaction is persisted to the WordPress database
- Context survives browser refreshes and sessions
- Full project history available at any time
- Seamless continuation across multiple sessions
Why this matters:
- Pick up exactly where you left off
- AI understands your full project context
- No need to re-explain requirements
- Consistent results across development cycles
π Reflection Point Scoring System
ZenCode AI uses an advanced scoring system to evaluate its own performance and learn from mistakes.
How the scoring works:
- Every AI response receives a reflection score (0-100)
- Scores based on: code quality, accuracy, efficiency, and user satisfaction
- Low scores trigger automatic improvement cycles
- High scores reinforce successful patterns
Scoring criteria:
- Code Quality (25 points): Follows best practices, clean code principles
- Accuracy (25 points): Correctly implements requirements
- Efficiency (25 points): Optimal performance and resource usage
- User Satisfaction (25 points): Meets or exceeds expectations
What happens with scores:
90-100 Excellent - Pattern stored as best practice
70-89 Good - Acceptable solution, minor improvements noted
50-69 Fair - Triggers reflection and improvement suggestions
Below 50 Poor - Automatic revision and learning cycle initiated
π Database-Backed Learning
ZenCode AI doesn't just assistβit evolves with every project.
What the system learns:
- Successful code patterns and architectures
- Common error patterns and their fixes
- Your coding style and preferences
- Project-specific conventions
- Integration patterns and dependencies
How it gets smarter:
- Pattern Recognition: Identifies recurring solutions and anti-patterns
- Error Prevention: Learns from past mistakes to avoid repeating them
- Style Adaptation: Adjusts to your preferred coding conventions
- Context Awareness: Understands your project's unique requirements
- Continuous Refinement: Every interaction improves future responses
Real-world impact:
Week 1: Basic assistance, standard solutions
Week 4: Recognizes your patterns, suggests familiar approaches
Month 3: Anticipates needs, proactively prevents common errors
Month 6+: Expert-level understanding of your codebase and style
π Automatic Spec Sheet Generation
Transform simple prompts into comprehensive technical specifications automatically.
How it works:
- Enter a basic project idea or request
- AI analyzes your prompt
- Generates a detailed specification sheet covering:
- Project Overview: Goals, scope, and objectives
- Technical Requirements: Technologies, dependencies, architecture
- File Structure: Complete directory and file organization
- Feature List: Detailed breakdown of functionality
- Implementation Steps: Ordered development plan
- Database Schema: If applicable, complete data models
- API Endpoints: For backend projects, full API specification
- UI/UX Requirements: Component hierarchy and interactions
Example transformation:
Your prompt:
Build a task management app
Generated spec sheet includes:
- Complete project specification with tech stack
- Full file structure and component hierarchy
- Detailed feature breakdown
- Implementation roadmap
- Database models and API endpoints
- ...and much more!
π€ AI Modes & Context
Four Intelligent Modes
1. π¬ Normal Mode Default
The versatile all-rounder. Directly ask the AI to write, modify, or explain code.
Best for:
- Writing new functions
- Explaining code concepts
- Quick modifications
- Code reviews
Create a WordPress plugin that adds custom user profile fields.
2. β‘ One-Shot Builder Ultra Fast
The speed champion. Generates complete single-page websites in one powerful request.
Best for:
- Landing pages
- Simple tools and utilities
- Single-file applications
- Rapid prototypes
- When you need instant results
How it works:
- Click the "One-Shot Builder" button
- Describe your single-page website
- AI generates everything instantly in ONE request
- Review and deploy - it's that fast!
π‘ Flexible Workflow:
- Start fast: Get a complete single-page site in seconds
- Expand if needed: Say "expand this into a full plan" to convert to Plan Mode with multiple pages
- Edit surgically: Use Normal Mode to make precise changes to specific sections
- Best of both worlds: Speed of instant generation + flexibility to grow
Create a pricing page for my SaaS with three tiers, testimonials, and FAQ section
Example Expansion Workflow:
- Use One-Shot: "Build a restaurant menu website"
- Review the result β looks great!
- Need more? Say: "Expand this into a full plan with about page, location map, and online ordering"
- Or make quick edits: "Change the hero background to a gradient from blue to purple"
3. π Plan Mode Strategic
Perfect for complex projects. The AI creates a detailed, step-by-step development plan.
Best for:
- Multi-file projects
- Complex architectures
- Organized workflows
- Large-scale builds
How it works:
- AI generates an interactive plan with executable steps
- Spec sheet created automatically with full technical details
- Review the blueprint (files, components, build order)
- Execute steps individually or run the entire plan automatically
Enhanced with learning:
- Context persists across all steps
- Auto-repair fixes issues during execution
- Reflection scores guide implementation quality
- Previous project patterns inform better planning
4. π Vector Mode Knowledge Base
Ask questions about your project's codebase. The AI uses your personalized Knowledge Base for highly context-aware answers.
Best for:
- Understanding existing code
- Finding specific implementations
- Code archaeology
- Legacy system navigation
How to use:
- Upload files to your Knowledge Base (left sidebar)
- Enable Vector Mode
- Ask questions about your codebase
π Advanced Features
Context Management
π Add Context to Plan
Enhance your project with additional context before generating a plan.
How to use:
- Start describing your project
- Click "Add Context to Plan"
- Upload reference files, images, or documentation
- The AI incorporates this context into its planning
Context is automatically saved to the database and persists across your entire project!
π§ Reflection Mode
Give the AI time to think deeply before responding. Enabled automatically for complex queries.
What it does:
- Analyzes your request thoroughly
- Considers edge cases
- Plans optimal solutions
- Produces higher-quality code
- Assigns reflection scores to evaluate response quality
Scoring integration:
- Each reflection receives a quality score (0-100)
- Low scores trigger automatic improvements
- High scores reinforce successful patterns
- Scores stored in database for learning
πΌοΈ Image to Plan
Transform visual designs into working code automatically!
How to use:
- Upload a screenshot, mockup, or wireframe
- Click "Image to Plan"
- The AI generates a complete build plan from your visual
- Automatic spec sheet created from the image
- Execute the plan to create pixel-perfect code
π Version Control
Save and manage different versions of your project.
Features:
- Manual snapshots: Save important milestones
- Auto-snapshots: Automatic backups before major changes
- Version history: Browse all saved versions
- Restore: Roll back to any previous version
- Context preservation: Each snapshot includes full conversation context
π‘ Pro Tip: Create snapshots before major refactors or risky changes!
π Project Management Tools
Comprehensive project file management and maintenance utilities.
π€
Upload Files
Upload individual files to your project with drag and drop support
π¦
Upload ZIP
Import entire projects from ZIP archives. Perfect for migrations.
πΎ
Download as ZIP
Export your entire project for backup and sharing
β¨
Polish Project
AI-powered refinement for code structure and formatting
π
View Learning Stats
Dashboard showing AI performance metrics and trends
ποΈ
Clear Knowledge Base
Remove vectorized files for a fresh start
π§Ή
Cleanup Old Learnings
Optimize database by removing outdated patterns
View Learning Stats π
Access detailed analytics about your AI's learning and performance:
- Reflection score trends over time
- Error repair success rates
- Context usage statistics
- Pattern recognition insights
- Performance improvements tracking
π Execution Styles
Choose how your AI executes multi-step plans for optimal results.
π Automated Run
Fastest option: The AI runs all steps automatically
Best for: Straightforward plans or when speed is a priority
- Zero user intervention required
- Runs through entire plan in one go
- Auto-repair handles any issues encountered
π§ Guided Run
Most accurate option: You will quickly confirm the AI's context before each step
Best for: Complex plans where precision is critical
- Review context before each step
- Confirm or adjust before execution
- Maximum control and accuracy
- Perfect for mission-critical builds
When to use each:
- Automated: Simple websites, plugins, prototypes, familiar patterns
- Guided: Complex architectures, client projects, learning new patterns
π Debug Prompt
Advanced debugging interface for quickly resolving errors.
How it works:
- Preview your HTML file in browser
- Press F12 (or Cmd + Option + I on Mac) to open console
- Copy any console errors
- Paste errors into the Debug Prompt dialog
- Add your own description: "Fix this bug" or "Why isn't the button working?"
- Click Submit Debug Request
What the AI does:
- Analyzes the console error
- Examines your selected files
- Understands the context from your prompt
- Generates a targeted fix
- Applies the solution automatically
Perfect for:
- JavaScript errors
- CSS rendering issues
- Event handler problems
- API integration bugs
- Performance bottlenecks
π‘ Pro Tip: The more specific your prompt, the better the fix. Instead of "fix bug," try "the submit button isn't triggering the form validation function."
β¨ Polish & Unify Design
AI-powered design refinement that ensures consistency across your entire project.
What it does:
- Analyzes all design elements in your project
- Identifies inconsistencies in:
- Color schemes
- Typography
- Spacing and padding
- Component styles
- Layout patterns
- Creates unified design system
- Applies consistent styling across all files
How to use:
- Complete your initial build
- Click "Polish & Unify Design"
- AI analyzes your project structure
- Reviews and suggests improvements
- Applies polished, consistent design
Results:
- Professional, cohesive appearance
- Consistent spacing and alignment
- Unified color palette
- Standardized typography
- Clean, maintainable CSS
Perfect for:
- Before client presentations
- Pre-launch polish
- Converting prototypes to production
- Maintaining design systems
π Smart Caching
Speed up your workflow with intelligent response caching.
How it works:
- Repetitive queries return instantly
- Context-aware caching
- Reduces token usage
- Saves time and money
π¨ Context Control (Critical!)
Checkbox System
Manage which files the AI can see and modify.
How it works:
- β
Checked: File is in context (AI can see and modify it)
- β¬ Unchecked: File is excluded (AI ignores it)
Why this matters:
- Save tokens: Only include relevant files
- Focus the AI: Better results with less context
- Protect files: Prevent accidental modifications
- Manage costs: Fewer files = lower API costs
Context is automatically saved when you check/uncheck files, so your selections persist across sessions.
π‘ Pro Tips & Best Practices
Getting the Best Results
1. Be Specific
β "Make a website"
β
"Build a responsive e-commerce product page with image gallery, add to cart button, and customer reviews section"
2. Use the Right Mode
- Quick questions & edits β Normal Mode
- Single-page sites (fast!) β One-Shot Builder
- Complex multi-file projects β Plan Mode (auto spec generation!)
- Understanding existing code β Vector Mode
π‘ Pro Workflow: Start with One-Shot Builder for speed β Expand to Plan Mode if project grows β Use Normal Mode for surgical edits
3. Leverage Image to Plan
Upload a screenshot of what you want before describing it. Visual + text = better results!
4. Build Iteratively
First: "Create a basic login form"
Then: "Add password validation"
Then: "Add 'remember me' checkbox"
Then: "Add social login buttons"
5. Trust the Learning System
- Let auto-repair fix errors automatically
- Review reflection scores to understand AI confidence
- The more you use it, the smarter it gets
- Context persistsβno need to repeat yourself
7. Leverage Spec Sheets
- Review generated specs before building
- Modify specs to adjust the plan
- Specs serve as project documentation
8. Use Execution Styles Strategically
- Automated Run for prototypes and familiar builds
- Guided Run for client work and complex architectures
- Switch between styles based on project needs
9. Master the Debug Prompt
- Be specific with error descriptions
- Include what you expected to happen
- Paste full console errors for best results
- Use it early and often to prevent error accumulation
10. Polish Before Delivery
- Run Polish & Unify Design before client presentations
- Creates professional, consistent appearance
- Saves hours of manual refinement
- Use after major features are complete
11. Monitor Learning Stats
- Check View Learning Stats regularly
- Track reflection score improvements
- Identify patterns in your workflow
- Understand how your AI is evolving
12. Maintain Your Knowledge Base
- Use Clear Knowledge Base when switching projects
- Run Cleanup Old Learnings monthly
- Keeps AI focused on current practices
- Improves performance and accuracy
π Example Workflows
Workflow 1: Building a Landing Page
- Start with Image to Plan
- Upload a screenshot of a landing page you like
- Click "Image to Plan"
- Spec sheet auto-generated from the image
- Review the Plan & Spec
- AI generates file structure and build steps
- Review the detailed specification
- Execute Automatically
- Click "Run Entire Plan"
- Auto-repair fixes any errors during execution
- Fine-tune
- Request specific tweaks
- Context persists from planning phase
Workflow 2: WordPress Plugin Development
- Start in Plan Mode
Create a WordPress plugin for custom post types and admin interface
- Auto-Generated Spec Sheet
- Detailed technical specification created automatically
- Review and modify as needed
- Execute Step-by-Step
- Auto-repair handles any issues
- Check reflection scores for quality
- Context persists across all steps
- Save Milestones
- Create version snapshots after each major step
- Full context saved with each snapshot
Workflow 4: Rapid Prototyping
- Simple Prompt
Build a recipe sharing app
- Automatic Magic
- Spec sheet generated with full technical details
- Plan Mode activated automatically
- Development plan created with all steps
- Execute & Watch
- Auto-repair fixes issues in real-time
- Reflection scores guide quality
- Context saves every decision
- Choose Execution Style
- Select Automated Run for speed
- Or Guided Run for precision control
- Polish & Finalize
- Click Polish & Unify Design for professional finish
- Download as ZIP for deployment
- View Learning Stats to track AI improvement
Workflow 5: Debugging a Complex Issue
- Identify the Problem
- User reports: "The form isn't submitting"
- Open the project in browser
- Press F12 to open developer console
- Use Debug Prompt π
- Copy the console error message
- Click Debug Prompt button in the interface
- Paste the error in the console field
- Add specific context: "The submit button should validate email before posting to API"
- Click Submit Debug Request
- AI Analysis in Action
- System analyzes the console error
- Reviews your selected project files
- Understands the intended behavior from your prompt
- Generates a targeted, context-aware fix
- Automatic Fix Applied
- Solution implemented automatically
- Files updated with corrections
- Auto-repair verifies the fix works
- No manual code editing required
- Test & Verify
- Refresh browser to see changes
- Test the form submission flow
- Confirm error is completely resolved
- Check reflection score for fix quality
- Learning Captured
- Fix pattern stored in database
- Similar errors will be prevented in future projects
- Reflection score recorded for continuous improvement
- Your AI just got smarter
π Understanding Your AI's Intelligence
How ZenCode AI Improves Over Time
First Use: Standard AI responses, generic code patterns, basic error handling
After 10 Projects: Recognizes your coding style, suggests familiar architectures, faster error detection
After 50 Projects: Anticipates your preferences, proactive error prevention, highly optimized suggestions
After 100+ Projects: Expert-level understanding, minimal errors, seamless collaboration
Key Metrics to Watch:
- Reflection Scores: Track AI performance over time
- Auto-Repair Rate: How many errors fixed automatically
- Context Persistence: Session continuity across days/weeks
- Spec Accuracy: How well generated specs match your needs
π You're Ready!
ZenCode AI is your intelligent coding partner that learns and evolves with every project.
Remember:
- Use Normal Mode for quick tasks and edits
- Use One-Shot Builder for instant single-page sites (expand or edit later!)
- Use Plan Mode for complex multi-file projects (auto spec generation!)
- Use Vector Mode to understand your codebase
- Trust the auto-repair system to fix errors
- Watch reflection scores to gauge quality
- Context persists across all sessions
- The system gets smarter with every interaction
Your AI assistant learns from:
β
Every successful build
β
Every error and fix
β
Your coding preferences
β
Project-specific patterns
β
Your feedback and corrections
π Happy coding!
Need help? Check the tooltips in the interface or revisit this manual anytime. Your AI is learning with you!