From vibe coding to full stack AI development.
The AI agent management system that brings structure, memory, and precision to every project you build with AI.
Quick Start ยท Commands ยท Community Skills ยท Marketplace ยท cosama.co
Part of the CodeStacker Marketplace โ AI prompts, skills & agentic workflows for building with AI
Built by CoSama โ AI Development Company
โ ๏ธ Version 2.3.0 This is an early-stage release. The system is functional and ready to use, but expect active development, evolving documentation, and new features as the project grows. Contributions and feedback are welcome.
Vibe coding is how most people use AI to build software today โ and it's costing them.
You open a chat, describe what you want, and ask the AI to "just build it." The AI generates code. You paste it in. It kind of works. You ask for a fix. It breaks something else. You paste that fix in. Now something else is wrong. You're not building a product โ you're playing whack-a-mole with an AI that has no idea what your actual codebase looks like, no memory of what it did last session, and no plan beyond the last prompt.
Vibe coding works for demos, prototypes, and throwaway scripts. For anything real โ it creates technical debt faster than you can ship.
The symptoms are familiar:
- AI contradicts itself between sessions
- Generates code that doesn't match your existing patterns
- Adds features you didn't ask for
- Skips documentation and test coverage
- Drifts from the original spec halfway through
- Leaves you asking "what did it actually change?"
Full Stack AI Coding is the professional standard for building production software with AI. It treats your AI assistant as a disciplined engineering partner โ not a magic text generator.
It means the AI knows your codebase before it touches it. It plans before it builds. It follows rules you've set. It documents everything it does. It stays on scope. It hands off cleanly between sessions. And when it makes a mistake, it records it so it doesn't make it again.
Full Stack AI Coding is:
- Specification-driven โ every task starts with a written plan
- Structure-aware โ AI reads your actual project before acting
- Traceable โ every decision, change, and session is documented
- Rule-governed โ behavioral constraints enforced on every request
- Context-managed โ memory maintained across sessions and handoffs
- Skill-informed โ domain expertise loaded for every technology in the stack
This is how you build real products with AI, at pace, without chaos.
We built CodeStacker because the tools weren't keeping up with how developers actually work with AI. In early iterations, AI coding lacked structure and memory.
With version 2.3, CodeStacker evolves into an Enterprise-Grade Rigid Architecture for AI-assisted development. We introduced Workspaces, the Federated Master Index, and The Director prompt gate to enforce strict isolation, traceability, and architectural integrity.
That's .codestacker.
.codestacker is a persistent, folder-based hierarchical AI agent management system that sits inside your project. It eliminates "prompt-drift" by physically forcing AI models (like Claude or GPT) to operate within strict boundary configurations, separating core tasks from massive feature epics.
One folder. Any AI. Total control.
- ๐ข Isolated Epic Workspaces โ Massive features are built in dedicated, isolated environments (
Mode Workspace). This prevents AI context windows from overloading and protects the global state from accidental overwrites. - ๐๏ธ Federated Master Index โ Workspaces dynamically sync their findings into a central architecture index (
00_master_index.md). Models always begin here to understand the overarching system reality. - ๐ฌ The Director AI โ Before a single line of code is written in a Workspace, the "Director" AI interviews you to define goals, complexity gates, and attach necessary APIs or tools.
- ๐ Complexity Governance Gates โ Control the AI's autonomy explicitly: use
Gate Reviewfor strict human-in-the-loop code review checkpoints, orGate Full Autofor maximum velocity and self-healing. - ๐ค Specialized Agent Personas โ Deploy experts like "Security Auditor", "QA Tester", and "Vibe Coder" from the
AGENT_REGISTRY.mdto tackle logical sub-tasks governed by The Director. - ๐ The Credential Protocol โ Strict enforcement ensuring AI models never write plaintext API keys into the
.codestacker/memory, relying purely on standard.envvariables for 100% compliance. - ๐งฐ Dynamic Tool Registry โ CodeStacker dynamically scans
TOOL_REGISTRY.mdso the AI knows its exact capabilities (e.g., executing a Postgres CLI or scraping via Firecrawl). - ๐ Plan-First Workflow โ Every task requires a formalized Mission Plan and checklist. The AI cannot implement until you review and approve it.
- ๐ซ Zero Drift โ Strict scope enforcement. Models only work within the approved Mission Plan bounds.
- ๐ Error Reporting & Telemetry โ The AI manages a visual
dashboard.mdwithin work environments, tracking progress via Mermaid charts and logging all failures seamlessly.
The CodeStacker Marketplace is the home of engineering-grade AI development resources โ built for developers who build with AI professionally.
Browse and install:
- Skill Packs โ Expert-curated skill files for every major language, framework, database, and tool. Production-ready patterns, edge cases, and best practices โ far beyond what the auto-builder generates.
- Props โ Specialized AI system prompts that turn your assistant into a domain expert with the right persona, instructions, and skills pre-loaded.
- Workflows โ Agentic workflow pipelines that deploy coordinated agent teams to handle complete development assignments from spec to delivery.
The
.codestackerbase system is free and open source. The marketplace is where you go to level up.
CoSama is the AI development company behind CodeStacker. We build tools, systems, and infrastructure for developers who use AI as a core part of their engineering workflow โ not as a shortcut, but as a first-class development partner.
CodeStacker is our answer to the question every serious AI developer eventually asks: "How do I actually manage this thing?"
We're building the tooling layer that makes Full Stack AI Coding the default โ not the exception.
Option A โ One-liner (Mac/Linux)
curl -sSL https://raw.githubusercontent.com/CoSama-Ai/CodeStacker/main/install.sh | bashOption B โ One-liner (Windows PowerShell)
iwr -useb https://raw.githubusercontent.com/CoSama-Ai/CodeStacker/main/install.ps1 | iexOption C โ Git (Manual)
git clone --depth 1 https://github.com/CoSama-Ai/CodeStacker.git /tmp/cs
cp /tmp/cs/stack.md .
cp -r /tmp/cs/.codestacker .
rm -rf /tmp/csOption D โ ZIP Download
Download the ZIP from GitHub โ Code โ Download ZIP, extract it, then copy stack.md and the .codestacker/ folder into your project root.
โ ๏ธ Windows File Explorer won't show.codestackerby default (hidden folder) โ use PowerShell or enable "Show hidden items".
The core instruction file is stack.md โ it tells any AI how to operate under .codestacker. You have three integration options:
Option A โ Automatic (Recommended)
Run Mode Start or Mode New Project. The system detects your existing AI config files (CLAUDE.md, .cursorrules, AGENTS.md, .github/copilot-instructions.md, etc.) and asks to add a reference to stack.md. Your existing instructions stay intact.
Option B โ Create New
If you have no AI config files yet, the system offers to create the appropriate one for your tool, pointing to stack.md.
Option C โ Manual
Tell your AI: "Read stack.md and follow it."
โ ๏ธ Manual mode may conflict with existing tool instructions.
Open a chat with your AI assistant. The system auto-detects first run:
You: (start chat)
AI: ๐ Detected first run โ initializing .codestacker...
I found existing AI instruction files:
- CLAUDE.md
โ Add .codestacker reference? (A) Add / (B) Manual / (C) Skip
Please answer a few questions:
1. What is your project name?
2. What language/framework?
3. Do you have existing code?
4. What's the main goal?
Once initialized, use mode commands to control the AI:
You: Mode Plan - Add user authentication
AI: ๐ Creating plan with checklist...
[creates plan in .codestacker/project/plan/]
You: Mode Approved
AI: โ
Executing plan...
[implements with full documentation]
| Command | Description | When To Use |
|---|---|---|
Mode New Project |
Initialize entire system with project details | First time setting up |
Mode Start |
Verify system, check docs, report status | Beginning of each session |
Mode Plan |
Create detailed plan + checklist | Before any new feature/task |
Mode Approved |
Execute current plan | After reviewing and approving a plan |
Mode Free |
Quick tasks โ skip planning, still document | Minor tweaks, small fixes |
Mode Fix |
Create fix plan and implement | When bugs/errors are identified |
Mode Proceed |
Continue last approved plan | After interruption or context switch |
Mode Finish |
Full summary + structure update + final check | End of session or milestone |
| Command | Description | When To Use |
|---|---|---|
Mode Skill Library |
List all installed skills | See what's available in your skills folder |
Mode Skill #[tag] |
Filter skills by tag (#ui, #supabase, #react) |
Find skills for a specific technology |
Mode Skill Build |
Build a new skill with the skill-builder | Create a custom skill file |
Mode Skill Import |
Import from CodeStacker-Skills community repo | Add pre-built community skills |
Mode Skill Index |
Rebuild the skill registry | After adding new skill files manually |
๐ก Skills are automatically assessed during
Mode Planโ the AI scansskills/SKILL_REGISTRY.md, builds any missing skills on the spot with the Skill Builder, and references them inline in the plan.
| Command | Description | When To Use |
|---|---|---|
Mode Props |
Load a specialized AI Prop (requires API key) | When you need expert-level AI persona + skills |
Mode Workflow |
Run a specialized agentic Workflow (requires API key) | When you need a full agent team for an assignment |
๐ Props and Workflows require a CodeStacker API key. Get access at codestacker.co โ
| Command | Description | When To Use |
|---|---|---|
Mode Reset |
AI rereads entire system | If AI seems confused or off-track |
Mode Report |
Document why AI failed | After any mistake |
Mode Rule |
Add new rule to rules doc | Establishing new project standards |
Mode Help |
Display all commands | Any time you need a reminder |
your-project/ # โ your project root
โ
โโโ stack.md # ๐ AI ENTRY POINT โ the only CodeStacker file in your root
โ
โโโ .codestacker/ # ๐ฆ Entire system lives here โ clean, contained, hidden
โโโ brief.md # ๐ฏ Core memory + golden rules (read on EVERY request)
โโโ .codestacker_init # Marker file โ detects first run
โ
โโโ setup/ # ๐ง One-time setup (internal โ auto-invoked on first run)
โ โโโ project_start.md
โ
โโโ rules/ # ๐ค What AI can/cannot do
โ โโโ 00_golden_rules.md
โ โโโ 01_behavioral_rules.md
โ โโโ 02_code_standards.md
โ โโโ 03_communication_rules.md
โ โโโ 04_security_rules.md
โ
โโโ docs/ # ๐ Your architecture & design notes
โ โโโ 01_architecture.md
โ โโโ 02_ui_design.md
โ โโโ 03_api_design.md
โ โโโ 04_data_models.md
โ
โโโ build/ # ๐๏ธ What to build (specs)
โ โโโ 01_project_overview.md
โ โโโ 02_phase_1_spec.md
โ โโโ backlog/
โ
โโโ props/ # ๐ญ AI Props (Marketplace โ requires API key)
โ โโโ README.md
โ
โโโ workflows/ # โ๏ธ Agentic Workflows (Marketplace โ requires API key)
โ โโโ README.md
โ
โโโ skills/ # ๐ ๏ธ AI capabilities registry
โ โโโ SKILL_REGISTRY.md # ๐ท๏ธ Tag-based index (AI reads during Mode Plan)
โ โโโ INDEX.md # Full skills catalog by category
โ โโโ community.md # Install guide โ CodeStacker-Skills repo
โ โโโ skill-builder/ # ๐จ Auto-builds missing skills
โ โ โโโ SKILL.md
โ โ โโโ templates/skill-template.md
โ โโโ languages/ # JS, TS, Python, Go, Rust, PHP, Ruby
โ โโโ frameworks/ # Next.js, Express, Django, FastAPI, Laravel
โ โโโ databases/ # PostgreSQL, MongoDB, Supabase, Prisma, Redis
โ โโโ testing/ # Jest, Playwright, Pytest, Vitest, Cypress
โ โโโ devops/ # Docker, GitHub Actions, Vercel, Nginx
โ
โโโ reports/ # ๐ Failure analysis & corrections
โ โโโ 01_error_log.md
โ โโโ 02_drift_reports.md
โ โโโ 03_misinterpretations.md
โ โโโ 04_system_violations.md
โ
โโโ project/ # ๐ All project tracking lives here
โโโ plan/ # ๐ Plans + checklists
โ โโโ 01_master_plan.md
โ โโโ 02_current_sprint.md
โ โโโ 03_checklists/
โ โโโ 04_completed/
โโโ sessions/ # ๐ Every conversation recorded
โ โโโ session_log.md
โ โโโ archive/
โโโ summaries/ # ๐ Work summaries + handoffs
โ โโโ latest_summary.md
โ โโโ handoff_notes.md
โ โโโ archive/
โโโ structure/ # ๐ Complete project analysis
โโโ 01_project_overview.md
โโโ 02_database_schema.sql
โโโ 03_environment.md
โโโ 04_file_structure.md
โโโ 05_dependencies.md
โโโ 06_credentials.md
โโโ 07_evolving_state.md
Every folder includes a
README.mdexplaining what goes there and how to use it.
Pre-built skill files for common languages, frameworks, databases, and testing tools โ curated from many contributors across the AI development ecosystem.
Skills are gathered, reviewed, and adapted from open-source communities including Awesome OpenClaw Skills (2,800+ community-built AI skills), direct contributor PRs, and the CoSama team. All skills are reviewed for quality and compatibility before inclusion.
| Skill Category | Examples |
|---|---|
| Language Skills | JavaScript, TypeScript, Python, Go, Rust |
| Framework Skills | Next.js, Express, Django, FastAPI |
| Database Skills | PostgreSQL, MongoDB, Supabase, Prisma |
| Testing Skills | Jest, Pytest, Playwright, Vitest |
| Method | Use Case | Command |
|---|---|---|
| Full Install | Want everything | Clone repo โ copy all folders into skills/ |
| By Category | Only need frameworks + databases | Clone repo โ copy specific folders |
| Individual | Just need one skill | curl a single file from GitHub raw |
| AI-Assisted | Let the AI handle it | Mode Free - Install the Next.js skill from CodeStacker-Skills |
# Full install example
git clone https://github.com/CoSama-Ai/CodeStacker-Skills.git /tmp/cs-skills
cp -r /tmp/cs-skills/language_skills/* .codestacker/skills/languages/
cp -r /tmp/cs-skills/framework_skills/* .codestacker/skills/frameworks/
cp -r /tmp/cs-skills/database_skills/* .codestacker/skills/databases/
cp -r /tmp/cs-skills/testing_skills/* .codestacker/skills/testing/
cp -r /tmp/cs-skills/devops_skills/* .codestacker/skills/devops/
rm -rf /tmp/cs-skills# Single skill example
curl -o .codestacker/skills/frameworks/nextjs.md \
https://raw.githubusercontent.com/CoSama-Ai/CodeStacker-Skills/main/framework_skills/nextjs.mdSee skills/community.md for full installation guide.
๐ก Can't find a skill for your stack? The CodeStacker Complete AI Coding Toolkit includes curated skill packs for every major language, framework, and tool.
Take .codestacker further with Props and Workflows โ premium features available through the CodeStacker Marketplace.
Props instantly transform your AI assistant into a highly capable, role-specific expert by bundling a Persona + System Instructions + Skills into a single ready-to-use file.
Mode Props - senior-fullstack-engineer
AI: ๐ญ Loading Prop: senior-fullstack-engineer
โ
Persona active โ Expert full-stack engineer
โ
Instructions loaded โ Architecture-first approach
โ
Skills bundled โ React, Node, PostgreSQL
Ready to build.
Workflows deploy coordinated agent teams that handle complete, assignment-oriented development tasks end-to-end โ from spec to implementation to testing to docs.
Mode Workflow - feature-development - Add user authentication
Workflow: โ๏ธ Deploying Feature Development Workflow...
Stage 1: Spec Agent โ Stage 2: Planner โ Stage 3: Implementer
โ Stage 4: Tester โ Stage 5: Documenter
โ
Complete. Summary in project/summaries/.
Both features require a CodeStacker API key.
See props/README.md and workflows/README.md for full details.
You: Mode Plan - Add user profile page with avatar upload
AI: ๐ Reading project structure...
๐ Checking existing patterns...
Plan ready:
- Create Profile component
- Add avatar upload handler
- Update database schema
- Add tests
Approve with "Mode Approved" to proceed.
You: Mode Approved
AI: โ
Executing plan...
[implements each checklist item]
[updates structure doc]
[records session]
You: Mode Free - Change button color from blue to green
AI: โก Free mode active โ skipping planning, still documenting
[Makes change]
[Updates session log]
Done. Return to planned work with "Mode Proceed".
You: Mode Fix - Login form throwing 500 error
AI: ๐ง Fix mode activated
[Creates fix plan]
Found: Missing DATABASE_URL env var
Fix plan: Add var โ Update connection settings
Approve fix?
You: Mode Approved
AI: [Implements fix]
[Documents in reports/ why error occurred]
You: Mode Finish
AI: ๐ Generating final summary...
- Completed: User profile page
- Files modified: 5
- Structure updated: Yes
Handoff document created. Use "Mode Start" next session.
DO:
- โ
Start every session with
Mode Start - โ Always review plans before approving
- โ
Use
Mode Freesparingly โ only tiny tweaks - โ
Run
Mode Finishat natural stopping points - โ
Keep
docs/updated with architecture decisions
DON'T:
- โ Never approve a plan without reading it
- โ Don't let AI implement without a plan (except
Mode Free) - โ Never ignore structure docs
- โ Don't let context grow too large โ start fresh sessions
The AI monitors context and alerts you at 80%:
โ ๏ธ Context at 82% โ recommend new chat
Summary written to summaries/
Start fresh with "Mode Start" to continue
AI seems confused or off-track:
You: Mode Reset
AI: ๐ Resetting... rereading entire .codestacker system
โ
System reloaded
Missing documentation:
AI: โ ๏ธ Missing: project/structure/02_database_schema.sql
Please provide your database type and existing tables.
AI made a mistake:
You: Mode Report
AI: ๐ Documenting failure...
Report saved to reports/
Ready to proceed with fix.
Q: Do I need to use all the folders? A: Yes โ each folder serves a critical purpose. The system works as a whole.
Q: Can I use this with any AI assistant?
A: Yes. .codestacker works with any AI that can read/write files โ GPT, Gemini, Cursor, Copilot, and more.
Q: What if I'm starting a brand new project?
A: Use Mode New Project first. The AI will guide setup.
Q: How do I hand off to another developer?
A: Run Mode Finish โ it generates a complete handoff doc in summaries/handoff_notes.md.
Q: Can I customize the rules?
A: Yes โ use Mode Rule to add project-specific rules, saved in rules/.
Q: What if the AI isn't following the system?
A: Try Mode Reset. If that doesn't work, check reports/ for drift patterns and tighten rules with Mode Rule.
Q: What if I need a skill that isn't installed? A: The AI auto-builds a starter skill on the spot using the Skill Builder. For engineering-grade skills, browse codestacker.co or the CodeStacker-Skills community repo.
- Start every day with
Mode Startโ refreshes AI context - Review
reports/weekly โ spot recurring AI mistake patterns - Keep
structure/accurate โ better structure = better AI performance - Finish clean โ always end with
Mode Finishfor clean handoffs - Browse CodeStacker-Skills โ don't reinvent skill files others have built
Contributions are welcome!
- ๐ Report bugs โ open an issue
- ๐ก Suggest features โ start a discussion
- ๐ Improve docs โ fix typos, add examples
- ๐ง Submit PRs โ follow existing conventions
- ๐ ๏ธ Share skills โ contribute to CodeStacker-Skills
- ๐ Publish on the marketplace โ share prompts, skills & workflows at codestacker.co
MIT License โ see LICENSE for details.
CodeStacker provides structure and context to AI models โ it does not control them. You are responsible for reviewing all skills, prompts, Props, and Workflows before use. CoSama accepts no liability for AI model behavior or outcomes resulting from use of this software or any associated content, free or paid.
Stop vibe coding. Start CodeStacking. ๐๏ธ
CodeStacker ยท CoSama ยท GitHub ยท Community Skills ยท Report Bug ยท Request Feature
๐ฆ Status: ๐ข v2.3.0 โ Production-ready, actively evolving ๐ฎ Roadmap: IDE plugins ยท Skill auto-install ยท Analytics dashboard ยท More Props & Workflows
Part of the CodeStacker marketplace โ AI prompts, skills & agentic workflows
Created by CoSama โ AI Development Company