Stacks Overview
Stacks are AI-powered project scaffolding templates that combine stack instructions, CLI preferences, GitHub repository knowledge, and package manifests into token-efficient context prompts.
The Problem
When starting a new project or working with a new technology stack, AI assistants often:
- Suggest outdated patterns and deprecated APIs
- Miss important conventions specific to your stack
- Generate boilerplate that doesn't follow best practices
- Lack knowledge of your preferred tools and configurations
The Solution
Stacks solve this by:
- Pre-researching documentation, GitHub repos, and package APIs
- Compiling this knowledge into token-efficient prompts
- Composing multiple stacks together for full-stack coverage
- Sharing community-created stacks through the marketplace
How It Works
┌─────────────────────────────────────────────────────────────┐
│ STACK │
│ ┌─────────────────┐ ┌─────────────────┐ ┌──────────────┐ │
│ │ Instructions │ │ GitHub Repos │ │ Packages │ │
│ │ (Your rules) │ │ (Learn from) │ │ (Research) │ │
│ └────────┬────────┘ └────────┬────────┘ └──────┬───────┘ │
│ │ │ │ │
│ └────────────────────┼───────────────────┘ │
│ │ │
│ ┌───────────▼───────────┐ │
│ │ AI Compilation │ │
│ │ (Background Job) │ │
│ └───────────┬───────────┘ │
│ │ │
│ ┌───────────▼───────────┐ │
│ │ Compiled Prompt │ │
│ │ (~2K-10K tokens) │ │
│ └───────────────────────┘ │
└─────────────────────────────────────────────────────────────┘Key Features
Visual Canvas
Build stacks visually using a drag-and-drop React Flow canvas. Add nodes for:
- Instructions - Your rules and preferences
- Repositories - GitHub repos to learn from
- Packages - npm/crate packages to research
- Child Stacks - Compose other stacks
Text Mode
Prefer writing? Switch to text mode and write your instructions directly with Markdown support.
Token Budget Control
Choose your token budget based on your needs:
- Minimal (2K) - Essential patterns only
- Standard (5K) - Balanced coverage
- Comprehensive (10K) - Full documentation
Background Learning
When you add a GitHub repository, a background job:
- Analyzes the repository structure
- Extracts patterns and conventions
- Identifies key files and configurations
- Compiles findings into your stack
Stack Composition
Compose stacks together for full-stack coverage:
┌────────────────────┐
│ My Fullstack App │
├────────────────────┤
│ ├─ TanStack Start │ (Fullstack framework)
│ ├─ Drizzle ORM │ (Database)
│ ├─ shadcn/ui │ (UI components)
│ └─ Vitest │ (Testing)
└────────────────────┘Getting Started
- Browse Stacks - Explore the marketplace for community stacks
- Create Your Own - Use the visual canvas to build a stack
- Use via MCP - Query stacks with the
get-stacktool - Share - Publish your stacks for others to use
Use Cases
New Project Setup
"I'm starting a new project using the TanStack Start stack"
→ AI receives comprehensive TanStack Start patterns,
file structure, and best practicesLearning a New Framework
"Help me add authentication to my Hono API"
→ Stack provides Hono-specific auth patterns,
middleware setup, and security best practicesTeam Standardization
"Create a stack with our company's coding standards"
→ Everyone on the team gets consistent AI assistance
following your conventionsNext Steps
- Quickstart Guide - Create your first stack in 5 minutes
- Visual Canvas - Learn the canvas interface
- Starter Stacks - Explore 25+ pre-built stacks