Skip to content

When you need to vibe code all day. AI Prompt Rules framework for building applications. Initiative -> epic -> phases -> steps

License

Notifications You must be signed in to change notification settings

fbrbovic/ai-epic-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

AI Epic Framework ๐Ÿš€

A comprehensive, research-based framework for creating consistent AI prompts and rules that transforms how you work with AI coding assistants. Build better software faster with systematic workflows, intelligent context management, and proven architectural patterns.

๐ŸŒŸ What is the AI Epic Framework?

The AI Epic Framework is a smart context management system that helps you:

  • Break down complex projects into manageable Initiative โ†’ Epic โ†’ Phase โ†’ Step hierarchies
  • Optimize AI interactions through conditional documentation loading (saving tokens and improving responses)
  • Apply systematic approaches to problem-solving, architecture design, and code quality
  • Maintain consistency across teams and projects with standardized workflows
  • Work across 11+ AI IDEs with purpose-built adaptations for each platform

๐ŸŽฏ Key Benefits

โœ… Structured Project Management

Transform overwhelming projects into clear, actionable hierarchies:

Initiative: "E-commerce Platform"
โ”œโ”€โ”€ Epic 1: "User Authentication System" 
โ”‚   โ”œโ”€โ”€ Phase 1: "OAuth Integration"
โ”‚   โ”‚   โ”œโ”€โ”€ Step 1: "Google OAuth Setup"
โ”‚   โ”‚   โ””โ”€โ”€ Step 2: "Login UI Components"
โ”‚   โ””โ”€โ”€ Phase 2: "User Profile Management"
โ””โ”€โ”€ Epic 2: "Payment Processing"

โœ… AI Token Efficiency

Smart documentation loading means better AI responses:

  • Load only relevant context for current tasks
  • Preserve context window space for actual problem-solving
  • Get more accurate, focused AI assistance

โœ… Systematic Problem Solving

Research-driven troubleshooting workflow:

  • Activates after 3+ failed attempts
  • Structured investigation methodology
  • Temporary file management for complex debugging

โœ… Architecture Excellence

Proven design processes and lifecycle management:

  • Component design methodology
  • Quality attribute considerations
  • Documentation standards and templates

โœ… Universal IDE Support

Works across 11 researched AI coding IDEs:

  • Cursor AI, Windsurf, GitHub Copilot, Claude Code, Cline, Roo Code, Kilo Code, and more
  • Each with purpose-built adaptations matching their specific rule systems

๐Ÿ—๏ธ Core Framework Components

๐Ÿ“‹ 1. Epic Workflow Management

Purpose: Structure large projects into manageable hierarchies
When to use: Starting new projects, organizing complex features, team coordination

Capabilities:

  • Initiative โ†’ Epic โ†’ Phase โ†’ Step breakdown
  • Sequential numbering and clear task hierarchy
  • INDEX.md and REQUIREMENTS.md templates
  • Directory structure and naming conventions
  • Delegation instructions and progress tracking

๐Ÿ” 2. Problem Solving Framework

Purpose: Systematic troubleshooting for complex technical issues
When to use: After 3+ failed attempts, multi-component failures, explicit debugging needs

Capabilities:

  • Research-driven investigation workflow
  • Component analysis methodology
  • Temporary file management for debugging
  • Integration with architecture design patterns

โš™๏ธ 3. Architecture Design Process

Purpose: Structured approach to system design and component architecture
When to use: New systems, major refactors, architectural decisions

Capabilities:

  • Research methodology for technical decisions
  • Component design and integration patterns
  • Quality attribute considerations (performance, security, scalability)
  • Review and validation procedures

๐Ÿ“š 4. Architecture Lifecycle Management

Purpose: Organize and maintain architecture documentation
When to use: System design, documentation management, knowledge sharing

Capabilities:

  • Document categorization and organization
  • Size limits and breakdown strategies
  • Update and deprecation processes
  • Discovery and search patterns

๐ŸŽ›๏ธ 5. General Execution Standards

Purpose: Quality protocols and decision-making guidelines
When to use: Code reviews, research activities, maintaining standards

Capabilities:

  • File navigation and verification procedures
  • Tool usage guidelines (Context7, web search, etc.)
  • Research protocols and quality standards
  • Documentation requirements

๐Ÿงญ 6. User Rules Template (Navigation Hub)

Purpose: Smart context loading and framework navigation
When to use: Always loaded - serves as the main navigation and decision matrix

Capabilities:

  • Conditional documentation loading based on task context
  • Decision matrix for choosing relevant frameworks
  • Token efficiency optimization
  • Progressive disclosure strategies

๐ŸŽฎ Real-World Use Cases

๐Ÿข Large Enterprise Project

Scenario: Building a customer portal with multiple teams

Initiative: "Customer Portal Modernization"
โ”œโ”€โ”€ Epic 1: "Authentication & Authorization"  
โ”œโ”€โ”€ Epic 2: "Data Migration from Legacy Systems"
โ”œโ”€โ”€ Epic 3: "New Dashboard UI/UX"
โ””โ”€โ”€ Epic 4: "API Gateway Implementation"

Framework Application:

  • Epic Workflow: Structure and track progress across teams
  • Architecture Design: Plan API gateway and data flow
  • Problem Solving: Debug complex legacy integration issues
  • Execution Standards: Maintain code quality across teams

๐Ÿš€ Startup MVP Development

Scenario: Solo developer building SaaS product

Initiative: "Project Management SaaS MVP"
โ”œโ”€โ”€ Epic 1: "Core Task Management"
โ”‚   โ”œโ”€โ”€ Phase 1: "Basic CRUD Operations"
โ”‚   โ””โ”€โ”€ Phase 2: "Real-time Updates"
โ””โ”€โ”€ Epic 2: "User Onboarding Flow"

Framework Application:

  • Epic Workflow: Break down MVP into manageable chunks
  • Architecture Lifecycle: Document decisions as you build
  • Problem Solving: Systematic debugging when stuck
  • User Rules Template: Optimize AI context for faster development

๐Ÿ”ง Legacy System Modernization

Scenario: Migrating monolith to microservices

Initiative: "Monolith to Microservices Migration"
โ”œโ”€โ”€ Epic 1: "Extract User Service"
โ”œโ”€โ”€ Epic 2: "Extract Payment Service"  
โ””โ”€โ”€ Epic 3: "API Gateway Implementation"

Framework Application:

  • Architecture Design: Plan service boundaries and data flow
  • Problem Solving: Debug complex migration issues
  • Execution Standards: Maintain quality during transition
  • Architecture Lifecycle: Document architectural decisions

๐Ÿ› ๏ธ Quick Start Guide

Step 1: Choose Your IDE

Select your AI coding assistant from our supported platforms:

IDE Installation Link Rule System
Cursor AI Setup Guide .mdc files with YAML frontmatter
Windsurf Setup Guide .windsurfrules (6K char limit)
GitHub Copilot Setup Guide .github/copilot-instructions.md
Roo Code Setup Guide Custom Instructions + .rooignore
Cline Setup Guide .clinerules + Custom Instructions
More... All IDE Setups 11 total IDE adaptations

Step 2: Install Framework

# Clone or download the framework
git clone [your-repo-url]

# Generate adaptations for all IDEs
python3 create_ide_adaptations.py

# Or create for specific IDE
python3 create_ide_adaptations.py --ide cursor

Step 3: Basic Usage

  1. Copy your IDE's adaptation files to your project
  2. Start with user-rules-template as your main AI system prompt
  3. Load additional components based on the decision matrix:
    • Building features? โ†’ Epic Workflow
    • Debugging issues? โ†’ Problem Solving Framework
    • Designing architecture? โ†’ Architecture Design Process

Step 4: First Epic

Try creating your first epic:

Initiative: "Learning the AI Epic Framework"
โ””โ”€โ”€ Epic 1: "Setup and First Project"
    โ”œโ”€โ”€ Phase 1: "Framework Installation" 
    โ”œโ”€โ”€ Phase 2: "Create Sample Epic"
    โ””โ”€โ”€ Phase 3: "Test Problem Solving"

๐Ÿ“– Documentation

๐Ÿ“š Core Documentation

๐Ÿ”ง IDE Setup Guides

๐ŸŽฏ Advanced Topics

๐ŸŽจ Customization

The framework is designed to be adapted to your specific needs:

Modify Core Templates

# Edit source files
vim framework/generic/user-rules-template.md
vim framework/generic/epic-workflow-instructions.md

# Regenerate all IDE adaptations
python3 create_ide_adaptations.py

Create Custom Components

Add new framework files and update the navigation in user-rules-template.md:

## Framework Navigation
- **Epic Workflow**: [epic-workflow-instructions.md](./epic-workflow-instructions.md)
- **Your Custom Component**: [your-custom-component.md](./your-custom-component.md)

IDE-Specific Customization

Each IDE adaptation can be customized independently:

  • Cursor: Modify .mdc files and YAML frontmatter
  • Windsurf: Adjust content to fit 6K character limit
  • VS Code Extensions: Customize settings and rule files

๐Ÿค Contributing

We welcome contributions to improve the framework:

  1. Research Requirements: All new IDE support must include official documentation research
  2. Test with Real IDEs: Verify adaptations work with actual IDE installations
  3. Follow Framework Patterns: Maintain consistency with existing structure
  4. Document Changes: Update relevant documentation

๐Ÿ“Š Framework Statistics

Metric Value
Supported IDEs 11 verified platforms
Core Components 6 framework modules
Documentation Files 25+ guides and references
Research Depth Official documentation based
Token Efficiency Conditional loading system

๐Ÿ†˜ Support & Community

  • ๐Ÿ“– Documentation: Comprehensive guides in /docs/ folder
  • ๐Ÿ› Issues: Report bugs or request features via GitHub issues
  • ๐Ÿ’ก Ideas: Share customization ideas and use cases
  • ๐Ÿค Contribute: Help improve framework for everyone

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

MIT License Summary:

  • โœ… Free to use for commercial and non-commercial projects
  • โœ… Modify and distribute as needed
  • โœ… No warranty provided (use at your own risk)
  • โœ… Attribution required (include license and copyright notice)

Full License Text: LICENSE


Ready to transform your AI-assisted development? Start with our Framework Overview or jump straight to your IDE Setup Guide.

Built with โค๏ธ for developers who want to build better software faster with AI assistance.

About

When you need to vibe code all day. AI Prompt Rules framework for building applications. Initiative -> epic -> phases -> steps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages