🔨 FORGE Framework
Focus Organize Record Grow Evolve
Transform GitHub Copilot into your personal AI coding assistant that learns from your mistakes and prevents them automatically.
🎯 What is FORGE Framework?
FORGE is a VS Code extension designed for solo developers that turns GitHub Copilot into a learning AI that remembers your mistakes and project-specific patterns. Create private, personal instructions that make your AI assistant smarter with every project.
🏅 Optimized for Solo Development
- Private Instructions:
.github/copilot-instructions.md
added to .gitignore
(your personal AI context)
- Lightweight Context: Max 4000 chars to prevent Copilot from ignoring instructions
- Focused Learning: Maximum 15 prevention rules - only what really matters
- Balanced Atomicity: 2-hour tasks that maintain macro project vision
- Minimal Documentation: Document only what saves time in the future
🤔 The Problem with Generic AI
❌ Without FORGE:
- GitHub Copilot suggests the same bad patterns repeatedly
- No memory of your specific project context or stack
- Keeps making mistakes you've already solved
- Generic suggestions that don't fit your solo development style
- You waste time explaining the same constraints over and over
✅ With FORGE Solo:
- AI learns from every mistake you document (privately)
- Remembers your stack-specific rules (Windows PowerShell, TypeScript, etc.)
- Suggests better code based on your accumulated knowledge
- Understands your coding patterns and project constraints
- Automatically applies lessons from previous tasks
- Works entirely on your local machine - no team overhead
🎯 Core Concepts for Solo Developers
🔨 Atomic Tasks (STEPs): Break work into ≤2 hour chunks for sustainable solo velocity
📚 Prevention Rules: Every mistake becomes reusable knowledge (max 15 rules)
🤖 Private AI Context: Personal instructions in .gitignore
for solo development
📈 Progressive Learning: Your AI assistant gets smarter with every documented problem
🎯 Macro Vision: Connect small tasks to big project goals
🚀 What is FORGE?
FORGE is a context framework for AI coding assistants that turns GitHub Copilot (and other LLMs) into a learning partner that gets smarter with every mistake you make and document.
Core Philosophy
- 🤖 AI-First Development: Designed specifically for working with LLMs
- 📚 Accumulated Context: Every mistake becomes AI knowledge
- 🎯 Atomic Tasks: Break work into ≤3 hour chunks for better AI guidance
- 📈 Progressive Learning: Your AI assistant gets smarter over time
📦 Installation
Option 1: VSCode Marketplace (Recommended)
Install directly from the VSCode Marketplace:
- Open VSCode Extensions (
Ctrl+Shift+X
)
- Search for:
FORGE Framework
- Click Install on
eduardocecon.forge-framework
Or install via command line:
code --install-extension eduardocecon.forge-framework
Option 2: Direct Download
📊 Real Results for Solo Developers
Solo developers using FORGE with GitHub Copilot report:
Metric |
Solo Development Improvement |
AI Suggestion Quality |
↑ 3x more relevant to your project |
Repeated Mistakes |
↓ 85% reduction in same errors |
Context Switching |
↓ 60% less explaining to AI |
Sustainable Velocity |
↑ 2x more consistent progress |
Learning Retention |
↑ 90% of lessons automatically applied |
"GitHub Copilot finally 'gets' my personal coding style. It suggests code that follows my specific patterns and avoids mistakes I've made before - all while keeping my learning private."
— Alex Chen, Solo Full Stack Developer
"The 2-hour STEP limit keeps me focused, and the private prevention rules mean I never waste time on the same mistake twice."
— Maria Santos, Indie Developer
🏃♂️ Quick Start
1. Initialize FORGE in Your Project
After installing the extension, open any project in VSCode and run:
# Use Command Palette (Ctrl+Shift+P) and search:
> FORGE: Initialize FORGE Framework
# Or use the keyboard shortcut:
Ctrl+Shift+F, Ctrl+I
What this does:
- 🔍 Auto-detects your environment (OS, shell, package manager)
- 📦 Identifies your tech stack (TypeScript, Python, Rust, etc.)
- 📝 Creates private instructions in
.github/copilot-instructions.md
(added to .gitignore
)
- ⚙️ Optimizes for solo development (max 4000 chars, 15 rules limit)
- 🗂️ Sets up FORGE folder structure focused on velocity
2. GitHub Copilot Integration
FORGE automatically creates private instructions that stay on your machine:
# GitHub Copilot Instructions - MyProject (Solo Dev)
## 🎯 Projeto Overview
**Linguagem**: TypeScript
**Framework**: React, Express
**Fase Atual**: mvp
**Arquitetura**: API REST com auth JWT + PostgreSQL
## 🚨 Prevention Rules Ativas
❌ DON'T use datetime.utcnow() → use datetime.now(timezone.utc)
❌ DON'T skip input validation → always validate user inputs
❌ DON'T hardcode database URLs → use environment variables
## 📊 Estado Atual
- **Última STEP**: STEP_0003_USER_AUTH
- **Próximos objetivos**: Dashboard implementation
---
**Lembre-se**: Foco em velocidade sustentável. Documente apenas o que realmente ajuda.
Key Features:
- ✅ Private by default - Instructions added to
.gitignore
- ✅ Lightweight context - Under 4000 chars to prevent Copilot ignoring
- ✅ Focused rules - Maximum 15 prevention rules that actually matter
- ✅ Macro vision - Connect 2-hour tasks to project goals
3. Create Your First Task
# Command Palette
Ctrl+Shift+P → "FORGE: Create Task with AI"
# Or ask GitHub Copilot
"Vamos desenvolver uma nova atividade: Add user login system"
What gets created:
.forge/
├── config.json # Optimized settings
├── prevention-rules.md # Max 15 rules that matter
└── steps/STEP_0001_USER_LOGIN/
├── STEP_0001_DESCRIPTION.md # Clear objectives (≤2h scope)
├── STEP_0001_DONE.md # Completion tracking
├── STEP_0001_DIFFICULTIES_FACED.md # Problems → prevention rules
└── artifacts/ # Code, configs, docs
.github/
└── copilot-instructions.md # Private AI context (in .gitignore)
4. Development Workflow
- Focus: Keep STEPs ≤2 hours (sustainable velocity)
- Connect macro: Each STEP links to project goals
- Document smart: Only problems that save future time
- Ask Copilot: "Vamos iniciar o desenvolvimento da STEP_0001"
5. Complete and Learn
Ctrl+Shift+P → "FORGE: Complete Task"
FORGE extracts prevention rules for your context:
❌ DON'T use bcrypt without salt rounds → always specify rounds (12+)
Context: Authentication tasks
Source: STEP_0001 (weak passwords, security audit failed)
6. Watch Your AI Get Smarter
Next time you create any authentication task, Copilot will automatically:
- ✅ Suggest bcrypt with proper salt rounds
- ✅ Add input validation
- ✅ Include rate limiting
- ✅ Apply all your accumulated private knowledge
🎯 Key Benefits
Personal AI Learning:
- 🧠 Private Context: Your GitHub Copilot learns from your mistakes (locally only)
- ⚡ Development Velocity: No team overhead, just smart task decomposition
- 🛡️ Better Code Quality: Prevention rules ensure consistent best practices
- 📈 Skill Growth: Document problems to accelerate learning
For Teams:
- 🤝 Knowledge Sharing: Share prevention rules across team members
- 🔄 Consistent Patterns: Everyone follows the same coding standards
- 📚 Onboarding: New developers inherit team's accumulated knowledge
- 🎯 Focus: Atomic tasks keep work manageable and reviewable
🎬 See the Magic
Before FORGE 😤
You: "Create a user authentication endpoint"
Copilot: *suggests basic code without validation*
You: "No, add input validation"
Copilot: *suggests basic validation*
You: "No, use bcrypt for passwords"
Copilot: *suggests bcrypt*
You: "Remember to hash passwords, validate emails..."
After FORGE 🎉
You: "Create FORGE task 'Add user authentication'"
Copilot: "Based on your prevention rules from TASK_03, I'll create an endpoint with:
- Input validation (email format, password strength)
- bcrypt password hashing
- Rate limiting (prevents brute force)
- JWT token generation with proper expiry
- Error handling without exposing sensitive data"
💻 VSCode Extension Features
The FORGE Framework VSCode Extension provides:
🎮 Command Palette Integration
FORGE: Initialize Project Complete
- Auto-detect environment and stack, complete setup
FORGE: Initialize Project
- Basic FORGE setup in current workspace
FORGE: Create Task
- Create new atomic task with templates
FORGE: Complete Task
- Mark task as done and extract prevention rules
FORGE: Add Prevention Rule
- Manually add a rule from experience
FORGE: Open Dashboard
- View project analytics and metrics
FORGE: Update Copilot Context
- Refresh AI instructions
📊 Interactive Dashboard
Access via Command Palette → FORGE: Open Dashboard
:
- 📈 Task Metrics: Completion rates, time estimates vs actual
- 🛡️ Prevention Rules: Categories, effectiveness scores
- 🤖 Copilot Integration: Context freshness, rules count
- 📋 Recent Activity: Latest tasks and rule additions
🎯 Smart Snippets & Syntax
- Task Templates: Automatic structure for new tasks
- Prevention Rule Snippets: Quick rule creation
- Markdown Highlighting: FORGE-specific syntax highlighting
- Auto-completion: Task names, rule categories, etc.
⚡ Keyboard Shortcuts
Ctrl+Shift+F, Ctrl+I
- Initialize FORGE
Ctrl+Shift+F, Ctrl+T
- Create new task
Ctrl+Shift+F, Ctrl+C
- Complete current task
Ctrl+Shift+F, Ctrl+D
- Open dashboard
📁 How It Works
FORGE creates this structure that GitHub Copilot automatically reads:
your-project/
├── .vscode/
│ └── copilot-instructions.md # 🧠 AI context & prevention rules
├── .forge/
│ ├── config.yml # FORGE configuration
│ └── templates/ # Task templates
└── tasks/
├── TASK_01_PROJECT_SETUP/
│ ├── description.md # What to build
│ ├── completion.md # What was built
│ ├── difficulties.md # Problems → Prevention rules
│ └── artifacts/ # Generated code
└── TASK_02_DATABASE_SCHEMA/
The Magic: Prevention Rules
Every problem becomes a prevention rule that guides your AI:
❌ **DON'T** use `pip install` without requirements.txt → use `pip freeze > requirements.txt`
Source: TASK_05 (deployment failed, missing dependencies, 3 hours lost)
❌ **DON'T** commit .env files → add to .gitignore immediately
Source: TASK_02 (accidentally exposed API keys, security incident)
❌ **DON'T** use SELECT * in production → specify exact columns needed
Source: TASK_08 (performance issue, database timeout, 2 hours debugging)
GitHub Copilot automatically applies these rules to ALL future suggestions!
🎯 GitHub Copilot Integration
FORGE automatically updates your Copilot context with:
- ✅ Project-specific prevention rules
- ✅ Coding patterns you prefer
- ✅ Architecture decisions made
- ✅ Libraries and versions to use
- ✅ Testing approaches that work
Smart Task Creation
Ask Copilot to create tasks and it will:
You: "Create FORGE task for Redis caching"
Copilot: "I'll create TASK_07_REDIS_CACHING with:
📊 Atomicity: 2.5 hours (ATOMIC ✅)
🚨 Prevention Rules Applied:
- Won't use redis-py 4.0+ (compatibility issue from TASK_03)
- Will include connection timeout (learned from TASK_05)
- Will add error handling for connection failures
📁 Created structure with populated templates
🎯 Ready to start implementation"
Code Generation with Context
Every code suggestion considers your accumulated knowledge:
# Instead of generic suggestions...
def create_user(email, password):
# Basic implementation
# Copilot suggests code following YOUR rules:
def create_user(email: str, password: str) -> Dict[str, Any]:
"""Create user with validation and security measures.
Applies prevention rules from TASK_03 and TASK_05.
"""
# Validate email format (prevention rule from TASK_03)
if not re.match(r'^[^@]+@[^@]+\.[^@]+$', email):
raise ValueError("Invalid email format")
# Hash password with bcrypt (prevention rule from TASK_05)
hashed_password = bcrypt.hashpw(password.encode(), bcrypt.gensalt())
# Use environment variables (prevention rule from TASK_01)
db_url = os.getenv('DATABASE_URL')
if not db_url:
raise ValueError("DATABASE_URL environment variable required")
🎮 Language-Specific Examples
🐍 Python + FastAPI
# Initialize with Python-specific prevention rules
forge init --language python --framework fastapi
# Your Copilot will automatically know:
# ❌ DON'T use mutable default arguments
# ❌ DON'T forget type hints for API endpoints
# ❌ DON'T skip input validation with Pydantic
# ❌ DON'T use synchronous database calls
Example AI suggestion:
# Copilot suggests FastAPI endpoint with YOUR patterns:
@app.post("/users", response_model=UserResponse)
async def create_user(user_data: UserCreate, db: AsyncSession = Depends(get_db)):
"""Create user with all validation and error handling."""
# Applies all your prevention rules automatically
⚛️ React + TypeScript
# Initialize with React-specific prevention rules
forge init --language typescript --framework react
# Your Copilot will automatically know:
# ❌ DON'T use any type → use proper interfaces
# ❌ DON'T forget error boundaries
# ❌ DON'T skip loading states for async operations
# ❌ DON'T hardcode API endpoints
Example AI suggestion:
// Copilot suggests React component with YOUR patterns:
interface UserProfileProps {
userId: string;
}
const UserProfile: React.FC<UserProfileProps> = ({ userId }) => {
const [user, setUser] = useState<User | null>(null);
const [loading, setLoading] = useState(true);
const [error, setError] = useState<string | null>(null);
// Follows your error handling and loading patterns
🦀 Rust + Actix
# Initialize with Rust-specific prevention rules
forge init --language rust --framework actix
# Your Copilot will automatically know:
# ❌ DON'T use .unwrap() in production → use proper error handling
# ❌ DON'T forget feature flags for dependencies
# ❌ DON'T skip async error handling
# ❌ DON'T use String when &str suffices
Example AI suggestion:
// Copilot suggests Rust code with YOUR error handling:
#[actix_web::post("/users")]
async fn create_user(
user_data: web::Json<CreateUserRequest>,
pool: web::Data<PgPool>,
) -> Result<impl Responder, UserError> {
// Follows your Result<T, E> patterns automatically
🔧 AI Assistant Support
GitHub Copilot (Primary)
- ✅ Full integration with
.vscode/copilot-instructions.md
- ✅ Auto-context updates as you add prevention rules
- ✅ Task-aware suggestions based on current work
- ✅ VSCode extension for seamless workflow
Claude/ChatGPT (Secondary)
# Export context for other AI assistants
forge export-context --format claude
forge export-context --format chatgpt
# Copy/paste the output to your AI assistant
Custom LLMs
# Generate context in various formats
forge export-context --format json
forge export-context --format yaml
forge export-context --format markdown
📚 Examples & Templates
FastAPI project showing FORGE + Copilot for building APIs.
- Before: Generic Copilot suggestions, repeated validation mistakes
- After: Context-aware suggestions, security best practices applied automatically
TypeScript React app with FORGE-guided development.
- Before: Inconsistent component patterns, missing error handling
- After: Consistent patterns, proper TypeScript, error boundaries
Python ETL pipeline with accumulated domain knowledge.
- Before: Generic pandas suggestions, performance issues
- After: Optimized patterns, memory-efficient processing
View All Examples →
🛠️ Advanced Features
Smart Context Management
# .forge/config.yml
context:
max_rules: 50 # Prevent context overload
auto_prioritize: true # Most important rules first
language_specific: true # Filter by current file type
project_patterns: true # Include architecture decisions
Prevention Rule Categories
## Database Rules
❌ DON'T use SELECT * → specify columns
❌ DON'T forget indexes → add for frequent queries
## Security Rules
❌ DON'T hardcode secrets → use environment variables
❌ DON'T skip input validation → validate all user data
## Performance Rules
❌ DON'T load all data → use pagination
❌ DON'T forget caching → cache expensive operations
Task Atomicity Analysis
You: "Create task for user management system"
Copilot: "❌ This task is NOT atomic (estimated 12+ hours)
Suggested breakdown:
- TASK_A: User registration endpoint (2.5h)
- TASK_B: User authentication (3h)
- TASK_C: User profile management (2h)
- TASK_D: Password reset flow (2.5h)
Shall I create TASK_A first?"
Success Stories
"GitHub Copilot went from giving me generic suggestions to understanding my exact coding style and project requirements."
— Maria Santos, Backend Developer
"I stopped making the same database migration mistakes. Copilot now reminds me of backup procedures and rollback testing automatically."
— James Wilson, DevOps Engineer
"FORGE turned Copilot into a senior developer that remembers every lesson learned in my codebase."
— Lisa Kumar, Full Stack Developer
🤝 Contributing
Share your prevention rules and help other developers avoid the same mistakes!
Quick Contribution
# Share a prevention rule that saved you time
forge contribute-rule "DON'T forget database indexes on foreign keys"
# Share your language-specific patterns
forge contribute-template --language python --framework django
What We Need
- 🐛 Prevention rules - What mistakes have you made and solved?
- 🔧 Language patterns - How does FORGE work with your tech stack?
- 🎯 VSCode improvements - Better Copilot integration ideas
- 📚 Documentation - Help others set up FORGE successfully
Read Full Contributing Guide →
📈 Roadmap
🚀 Q3 2025
- [x] ✅ VSCode Extension marketplace release - AVAILABLE NOW!
- [ ] JetBrains IDE support (IntelliJ, PyCharm)
- [ ] Advanced context management (priority, filtering)
- [ ] Prevention rule marketplace
🎯 Q4 2025
- [ ] AI model fine-tuning with FORGE data
- [ ] Multi-project context sharing
- [ ] Advanced analytics (rule effectiveness)
- [ ] Integration with more AI assistants
🌟 2026
- [ ] Custom LLM training integration
- [ ] Team knowledge sharing (optional)
- [ ] Advanced pattern recognition
- [ ] Cross-language rule translation
View Full Roadmap →
💬 FAQ
Q: Does FORGE work without GitHub Copilot?
Yes! You can use FORGE methodology for documenting and learning from mistakes even without AI assistants. However, the real power comes from giving AI assistants your accumulated context.
Q: Will this slow down my development?
Initially, there's a small overhead to document problems. But within weeks, you'll save far more time as your AI assistant suggests better code and helps you avoid repeated mistakes.
Q: Can I use this with Claude/ChatGPT instead of Copilot?
Yes! FORGE exports context in formats compatible with other AI assistants. However, the VSCode integration is designed primarily for GitHub Copilot.
Q: What if I work on multiple projects?
Each project has its own FORGE context. You can share common prevention rules across projects or keep them separate. The framework adapts to your needs.
Q: Is my code/context data private?
Yes! FORGE stores everything locally in your project. Nothing is sent to external servers unless you explicitly share prevention rules with the community.
🔗 Links & Resources
📦 Official Extensions
🛠️ Development
📚 Documentation
🤝 Contributing
We welcome contributions! See our Contributing Guide for details.
🐛 Found a Bug?
Report it on GitHub
💡 Have an Idea?
Share it on GitHub
📄 License
FORGE Framework is MIT licensed. Use it freely in personal and commercial projects.
🚀 Get Started
Ready to transform your AI coding assistant into a learning partner?

🎯 Transform your development workflow today!
Made with ❤️ by Eduardo Cecon for developers who want their AI to actually learn