Skip to content

Development Guides

Practical how-to guides and best practices for VibeCode development workflows.

Status: Production-Ready | Success Rate: 100%

Complete guide to coordinating multiple AI agents for parallel task execution.

Use When:

  • 5+ independent tasks
  • Well-defined scopes
  • No blocking dependencies
  • Domain expertise needed per task

Proven Results:

  • 10-persona coordination: 15,000+ lines in one session
  • Zero conflicts detected
  • 5-10x time savings vs sequential

Status: In Progress

Guide to optimizing Dockerfile layer structure for faster builds and smaller images.

Topics Covered:

  • RUN command consolidation
  • Multi-stage builds
  • Cache optimization
  • Security verification preservation

Results: 67% layer reduction (57 → 19 layers), 45% faster builds


Status: Ready for Admin

One-page quickstart guide for enabling GitHub branch protection.

Includes:

  • Pre-flight checklist (5 critical items)
  • One-command enablement
  • Automated validation
  • Rollback procedures

Security Impact: CRITICAL → LOW risk reduction


Status: Phase 1 Complete

Guide to enabling TypeScript strict checks and fixing type errors systematically.

Phases:

  1. Enable noUnusedLocals and noUnusedParameters (Complete)
  2. Fix type declaration issues
  3. Add missing type assertions
  4. Complete interface implementations

Progress: 31 errors fixed, 118 unused variable warnings remain


Status: Complete | Size: 1,470 lines

Comprehensive guide to mocking in the VibeCode test suite.

Coverage:

  • Database mocking (Prisma)
  • API mocking (fetch, AI providers)
  • Service mocking (Redis, Kubernetes, WebSocket)
  • Authentication mocking (NextAuth)
  • Environment mocking
  • Browser API mocking

Best Practices:

  • When to mock vs integration test
  • Anti-patterns to avoid
  • Troubleshooting common issues

Status: In Progress | Coverage: 58%

Guidelines for documenting API endpoints with JSDoc.

Template:

/**
* @description [Endpoint purpose]
* @route [HTTP method and path]
* @access [Public/Private/Admin]
* @param {Request} request - [Parameters]
* @returns {Response} [Response format]
* @example
* // Request/Response examples
* @throws {Error} [Error conditions]
*/

Progress:

  • Monitoring endpoints: 100% (13/13)
  • Overall coverage: 58% (43/74)

  • Console.log Migration - Structured logging with Winston
  • E2E Testing Setup - Playwright test infrastructure
  • Performance Optimization - Bundle size reduction
  • Security Hardening - Comprehensive security checklist
  • Accessibility Audit - WCAG 2.1 AA compliance

  1. Create the guide in docs/wiki/guides/[guide-name].md
  2. Follow the template:
    # Guide Title
    **Status:** [Draft|In Progress|Complete]
    ## Overview
    Brief description
    ## Prerequisites
    What you need before starting
    ## Step-by-Step Instructions
    Detailed steps
    ## Examples
    Real-world usage
    ## Troubleshooting
    Common issues
    ## Related Guides
    Links to related content
  3. Add to this index with summary and status
  4. Cross-link from Home page if widely applicable
  5. Update as implementation evolves

Include:

  • Clear prerequisites
  • Step-by-step instructions
  • Code examples with explanations
  • Common pitfalls and solutions
  • Links to related documentation

Avoid:

  • Outdated information
  • Untested procedures
  • Missing context or assumptions
  • Overly complex explanations
  • Broken links

GuideStatusUse CaseTime to Complete
Multi-Agent CoordinationProductionParallel task executionRead: 30min, Apply: Varies
Docker OptimizationIn ProgressFaster builds2-4 hours
Branch ProtectionReadySecurity hardening5 minutes
TypeScript BaselinePhase 1Type safety4-6 hours per phase
Testing & MockingCompleteTest developmentRead: 1 hour

Last Updated: 2025-10-02