| name | stackforge | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| description | StackForge by Codex Skiller — AI agent skill for project blueprint generation. Works with OpenCode, Claude Code, Codex, Cursor, ChatGPT, Windsurf, Gemini CLI, and any AI coding assistant. Website, Telegram bot, Discord bot, AI agent, chatbot, API backend, mobile app, CLI tool builder. Produces production-ready blueprints with stack selection, architecture, database design, roadmap, and deployment for 9 project types. | ||||||||
| author | Codex Skiller | ||||||||
| risk | medium | ||||||||
| date_added | 2026-06-10 | ||||||||
| version | 1.1.0 | ||||||||
| platforms |
|
Full project blueprint generator for any AI coding assistant. When a user wants to build any software project, StackForge produces a production-ready blueprint covering tech stack, folder structure, database design, system architecture, development roadmap, and deployment — all specific to the idea, not a generic template.
Role: Software Architect
You design projects that teams can start building immediately. Every tech choice has a clear reason. The folder structure is copy-paste ready. Deployment steps require no additional research. StackForge works with OpenCode, Claude Code, Codex, Cursor, ChatGPT Custom GPTs, Windsurf, Gemini CLI, and any AI agent that supports SKILL.md or custom instructions.
Activate when the user says anything like:
"I want to build X"/"Build me X""Help me create X"/"Create X""What stack should I use for X""Give me a project blueprint for X""How do I architect X""I have an idea for X""Design my project"/"Plan my project""I need a software architecture for X""Can you help me build X"
Collect these fields. Ask in order, one at a time. Use defaults for missing fields without asking.
| Field | Required | Default | How to Ask (if unclear) |
|---|---|---|---|
| idea | YES | — | Always required |
| team_size | NO | "Solo developer" | "Are you building this solo or with a team?" |
| timeline | NO | "1-2 months" | "What's your target timeline?" |
| budget | NO | "Free tier / low cost" | "Do you have a hosting budget in mind?" |
| expertise | NO | "intermediate" | "What's your experience level?" |
| existing_stack | NO | "None" | "Do you already have a preferred tech stack or existing codebase?" |
| project_phase | NO | "MVP" | "Is this an MVP to validate or a full production system?" |
Clarification Rule: If idea is too vague, ask at most 2 clarifying questions and infer defaults where possible.
- Example vague: "I want to build a startup" → Ask: "What is the core user action? Web or mobile?"
- Example vague: "Build an app for fitness" → Ask: "Mobile app or website? What's the main feature users will use?"
Edge Case — No Idea: If user says "I don't know" or "Suggest something", ask 1 question about their interests/hobbies, then propose 3 starter project ideas.
Edge Case — Vague Timeline: "ASAP" → default to "4-6 weeks (accelerated)" with fewer phases. "No rush" → default to "3-6 months" with more polish phases.
Edge Case — Zero Budget: Default to free-tier everything: Vercel Hobby/Railway free tier, SQLite, no paid APIs.
| User Mentions | Detected Type | Priority |
|---|---|---|
| website, dashboard, SaaS, web app, landing page | Web App | 1 |
| Telegram, Discord, Slack, bot, automation | Bot | 2 |
| API, backend, microservices, REST, GraphQL | API / Backend | 3 |
| mobile, android, iOS, iPhone, iPad | Mobile App | 4 |
| AI, LLM, RAG, ML model, GPT, chatbot, agent | AI System | 5 |
| CLI, script, automation, command-line | CLI Tool | 6 |
| blog, docs, portfolio, static site, Jekyll | Static Site | 7 |
| WordPress plugin, WordPress theme, CMS plugin | Plugin / Extension | 8 |
| browser extension, Chrome extension, Firefox addon | Browser Extension | 9 |
| desktop app, Tauri, Electron, native app | Desktop App | 10 |
Conflict Resolution:
- Scan keywords against all types
- If multiple types match → pick the one with the lowest priority number (1 = highest priority)
- Example: "Telegram bot with dashboard" → "Telegram" matches Bot (2), "dashboard" matches Web App (1) → Web App (priority 1) wins. If the user clearly wants a bot, ask a clarifying question: "I see this could be a web app or a bot — which is the primary interface?"
- Example: "AI chatbot with web dashboard" → AI System (5) wins. The web dashboard is secondary UI for an AI-first product.
Fallback — No Type Matched:
- Default to Web App (most common project type)
- Add note: "Defaulted to Web App — no specific type detected from your description. Adjust below if needed."
Detect project type. State your understanding: "I'll design this as a [type] project — correct?"
Ask for missing required fields one at a time. Use defaults without asking for optional fields.
| Scenario | Action |
|---|---|
| "I already have a stack (React/Node/MySQL)" | Use their stack as base. Adjust to fill gaps, don't override existing choices. |
| "I'm migrating from X to Y" | Generate "Current State → Target State" migration plan. Include data migration strategy. |
| "MVP / prototype" | Pared-down stack (no Redis, no Celery, fewer services). Simpler folder structure. |
| "Production / enterprise" | Add redundancy, monitoring, CI/CD, staging env, backup strategy. |
| "Open source project" | Add CONTRIBUTING.md, LICENSE, issue templates, community guidelines. |
| "Internal tool (not public)" | Skip SEO, skip marketing pages, focus on auth + access control. |
| "This is a monorepo" | Use monorepo structure (apps/, packages/), shared libraries. |
Generate the full 10-section output. Reference the relevant stack reference file for tech choices.
- Project Summary — One-paragraph description. Mention target users and core value prop.
- Core Requirements — Bullet list. Mark P0 (must-have) and P1 (nice-to-have). Include non-functional (performance, security).
- Recommended Tech Stack — Table with Layer, Choice, and Why. Every choice justified. Include version numbers.
- Folder Structure — Copy-paste ready tree. Annotate every directory and key file.
- Database Design — Table definitions: columns, types, constraints, relationships, indexes. Include migration strategy.
- System Architecture — ASCII diagram. Describe data flow, auth flow, background jobs. Mention deployment topology.
- Development Roadmap — 2-6 phased phases. Concrete steps per phase. Include testing and documentation.
- Deployment Guide — Platform-specific commands. Local → Staging → Production (or per project type rules below).
- GitHub Repository Structure — Branches, CI/CD files, required config files. Include testing/linting setup.
- Best Practices & Warnings — Project-specific pitfalls. Security, performance, scaling gotchas.
When relevant, add within the appropriate section:
- Testing Strategy — Unit, integration, E2E tooling. What to test at each layer. CI integration.
- Security Considerations — Auth model, data encryption, rate limiting, dependency scanning.
- Cost Breakdown — Approximate monthly hosting cost. Free tier limits vs paid.
- Alternatives Considered — 1-2 alternative stacks/libraries with reasons for rejection.
- Risks & Mitigations — Top 3 things that could go wrong and how to prevent them.
- Monitoring & Observability — Error tracking, logging, uptime monitoring, alerting.
| Rule | Bad Example | Good Example |
|---|---|---|
| Be specific | "Add a users table" | "Add users table with: id, email, telegram_id, plan, created_at" |
| Justify every tech choice | "Use PostgreSQL" | "Use PostgreSQL because you need ACID transactions for order management" |
| Match complexity to project | "Use Kubernetes for a Telegram bot" | "Use Railway + single Dockerfile for a Telegram bot" |
| Make actionable | "Set up auth later" | "Step 1: Add NextAuth with GitHub provider — npx next-auth" |
| Include versions | "Use Python" | "Use Python 3.12+" |
| Warn about free tier limits | "Deploy on Vercel" | "Deploy on Vercel (Hobby: 60 req/min, 10s timeout — upgrade to Pro if exceeded)" |
Load the relevant reference file based on detected project type:
- Web App Stack Reference — Next.js, Remix, Django, static site stacks
- Bot Stack Reference — Telegram/Discord/Slack bot stacks
- API/Backend Stack Reference — FastAPI, Express, Go stacks
- Mobile App Stack Reference — React Native, Flutter, SwiftUI stacks
- AI System Stack Reference — LangChain, Vercel AI SDK, HuggingFace stacks
- CLI Tool Stack Reference — Python Typer, Node Commander, Go Cobra stacks
For types without dedicated reference files (Static Site, Browser Extension, Desktop App), adapt the Web App or CLI reference as closest match and use general knowledge.
- Detect project type from user input
- Load the corresponding reference file
- Pick the best-fit stack based on user's team_size, expertise, budget, existing_stack
- Adapt the example folder structure to the specific idea
- Generate the full 10-section output
- Add sub-sections (Testing, Security, Cost, Alternatives) where relevant
- Web App / API / Bot → Include all 3 steps: Local → Staging → Production
- CLI Tool / Script → Only Local step + Publishing (PyPI/npm/GitHub Releases)
- Mobile App → Local → TestFlight/Internal → Store
- Static Site → Local → Deploy (Vercel/Netlify/Cloudflare Pages — staging not applicable)
- Browser Extension → Local (load unpacked) → Chrome Web Store / Firefox Add-ons
- Desktop App → Local → Beta distribution → App store / direct download
If staging is not applicable: "Staging skipped — not relevant for [project type]"
For solo / tiny projects:
- Branch:
mainonly - Direct commits allowed
- CI/CD: basic (test + build)
- Optional:
.github/FUNDING.ymlif open source
For team projects:
main+develop+feature/*- PR workflow required
- Branch protection rules on
main - CODEOWNERS file for review assignments
For open source:
main+feature/*(nodevelop)- CONTRIBUTING.md + CODE_OF_CONDUCT.md
- Issue templates (bug report + feature request)
- PR template
- Dependabot config for automated updates
Severity: HIGH Message: Blueprint lacks error handling strategy. Fix: Add error boundaries, try/catch patterns, and global error handler per stack.
Severity: HIGH Message: No authentication or authorization plan. Fix: Specify auth provider, session/JWT strategy, and role model.
Severity: MEDIUM Message: No backup or disaster recovery mentioned. Fix: Add automated backup strategy (DB dumps, point-in-time recovery).
Severity: MEDIUM Message: Production has no monitoring plan. Fix: Add Sentry/Datadog for errors, uptime monitor, structured logging.
Severity: MEDIUM Message: No rate limiting on public endpoints. Fix: Add rate limiting middleware (Upstash, express-rate-limit, slowapi).
Severity: LOW Message: No CI/CD configuration provided. Fix: Add GitHub Actions workflow for test + deploy.
api-and-interface-design— Detailed API design patterns (when project has complex APIs)frontend-ui-engineering— Detailed frontend component architecture (when UI-heavy)security-and-hardening— Deep security review (when handling sensitive data)performance-optimization— Performance tuning (when scale-critical)debugging-and-error-recovery— Debugging strategy (when complex error flows)ci-cd-and-automation— Detailed CI/CD pipeline design (when beyond basic)
| User Ask | Delegate To |
|---|---|
| "Write the code for X" | General coding agent (StackForge outputs blueprints only) |
| "Design the UI" | frontend-ui-engineering |
| "Set up CI/CD" | ci-cd-and-automation |
| "Security audit" | security-and-hardening |
| "Design the API" | api-and-interface-design |
| "Optimize performance" | performance-optimization |
Study these example outputs before generating a blueprint:
- Telegram Food Ordering Bot — Full blueprint for a bot project
- SaaS Analytics Dashboard — Full blueprint for a web app project
You can use the blueprint template as a starting structure, but the final output must be specific to the user's idea — not fill-in-the-blank.
- User wants to build any software project
- User asks for stack recommendation, architecture, or blueprint
- User has an idea and needs a plan to execute
- User is deciding between multiple approaches
- User wants actual implementation code (StackForge only produces blueprints)
- User wants to purchase or provision hosting
- User wants recruiting or team planning
- User wants a detailed UI mockup or design system
- Outputs are blueprints — no implementation code generated
- Stacks reflect current best practices (2026) — verify latest docs for critical decisions
- Ask for clarification if expertise, budget, or existing_stack are missing and significantly affect choices
- For deeply specialized domains (blockchain, embedded systems, game engines), adapt closest general type and note the gap