specwright/templates/skills/tech-stack-recommendation/SKILL.md
Tech stack recommendation and project standards generation guidance
npx skillsauth add michsindlinger/specwright specwright/templates/skills/tech-stack-recommendationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Project: [PROJECT_NAME] Generated: [DATE] Purpose: Guide for tech stack analysis, recommendation, and standards generation
This skill guides you when doing tech stack work for:
/plan-productExtract these dimensions from the product brief:
| Dimension | Question | Impact | |-----------|----------|--------| | Platform | Web? Mobile? Desktop? API-only? | Framework selection | | Scale | Users at launch? In 1 year? | Database, hosting, architecture | | Complexity | CRUD? Rich domain? Real-time? | Backend framework complexity | | Integrations | External APIs? Payment? Auth? | Middleware, library needs | | Team | Solo dev? Small team? Large org? | Framework learning curve | | Timeline | MVP in weeks? Months? | Rapid vs. robust framework | | Budget | Startup? Enterprise? Open-source? | Hosting, licensing |
| Requirement Profile | Recommended | Why | |---------------------|-------------|-----| | Rapid MVP, solo/small team | Rails, Django, Laravel | Convention over configuration, batteries included | | Enterprise, large team | Spring Boot, .NET | Type safety, established patterns | | Microservices, high performance | Go, Rust, Node.js | Lightweight, fast, concurrent | | API-focused, real-time | Node.js (Express/Fastify), Elixir | Event-driven, WebSocket native | | Data-heavy, ML integration | Python (FastAPI/Django) | Ecosystem, library support | | Serverless | Node.js, Python, Go | Cold start performance, ecosystem |
| Requirement Profile | Recommended | Why | |---------------------|-------------|-----| | Complex SPA, large team | Angular | Opinionated, TypeScript-first, enterprise features | | Flexible SPA, component-focused | React | Ecosystem, hiring, flexibility | | Progressive enhancement, simplicity | Vue.js | Gentle learning curve, good docs | | Static sites with dynamic parts | Next.js, Nuxt, Astro | SSR/SSG, SEO, performance | | Mobile-first | React Native, Flutter | Cross-platform from single codebase | | Minimal JS needed | HTMX, Alpine.js | Server-rendered with sprinkles |
| Requirement Profile | Recommended | Why | |---------------------|-------------|-----| | Relational data, ACID needed | PostgreSQL | Feature-rich, reliable, JSON support | | Simple relational, rapid setup | SQLite, MySQL | Lightweight, familiar | | Document-oriented, flexible schema | MongoDB | Schema flexibility, horizontal scale | | Key-value, caching | Redis | In-memory speed, pub/sub | | Time-series data | TimescaleDB, InfluxDB | Optimized for temporal queries | | Graph relationships | Neo4j | Relationship-first queries | | Search-heavy | Elasticsearch, Meilisearch | Full-text search, faceting |
| Requirement Profile | Recommended | Why | |---------------------|-------------|-----| | Simple deployment, managed | Railway, Render, Fly.io | PaaS simplicity, auto-scaling | | Full control, cost-effective | AWS EC2/ECS, DigitalOcean | Infrastructure flexibility | | Serverless workloads | AWS Lambda, Vercel, Cloudflare Workers | Pay-per-use, auto-scale | | Container-based | Docker + Kubernetes (EKS/GKE) | Orchestration, portability | | Static + API | Vercel, Netlify, Cloudflare Pages | Edge deployment, CDN built-in |
Backend: Rails / Django / Laravel
Frontend: Hotwire / HTMX / Livewire (server-rendered)
Database: PostgreSQL
Hosting: Railway / Render / Fly.io
CI/CD: GitHub Actions
Best for: Solo developers, rapid MVPs, content-heavy apps
Backend: Node.js (Express/NestJS) / Python (FastAPI)
Frontend: React / Vue.js / Angular
Database: PostgreSQL + Redis
Hosting: Vercel (frontend) + Railway/AWS (backend)
CI/CD: GitHub Actions
Best for: Complex UIs, real-time features, separate teams
Backend: Spring Boot / .NET
Frontend: Angular / React
Database: PostgreSQL / Oracle
Hosting: AWS / Azure / GCP (managed)
CI/CD: GitHub Actions / Jenkins / GitLab CI
Best for: Large teams, strict compliance, long-term maintenance
Backend: AWS Lambda / Cloudflare Workers
Frontend: Next.js / Nuxt / SvelteKit
Database: DynamoDB / PlanetScale / Turso
Hosting: Vercel / AWS
CI/CD: GitHub Actions
Best for: Variable load, cost optimization, event-driven
Format for user presentation:
Based on your product requirements, I recommend:
**Backend:** [Framework] — [1-sentence rationale]
**Frontend:** [Framework] — [1-sentence rationale]
**Database:** [Database] — [1-sentence rationale]
**Hosting:** [Platform] — [1-sentence rationale]
**CI/CD:** [Tool] — [1-sentence rationale]
Alternative considered: [Alternative stack] — [why not chosen]
Shall I proceed with this stack, or would you like to adjust any choice?
When user opts for project-specific standards:
~/.specwright/standards/code-style.md, best-practices.md)| Stack Choice | Standards Enhancement | |-------------|----------------------| | Rails | Ruby style, RSpec conventions, ActiveRecord patterns | | React | TypeScript strict, component patterns, hook conventions | | Angular | Angular style guide, RxJS patterns, module structure | | Spring Boot | Java conventions, Spring patterns, JUnit | | Node.js/Express | Async/await patterns, middleware conventions | | Vue.js | Composition API patterns, Pinia conventions | | Django | Python PEP8, Django conventions, pytest |
specwright/standards/code-style.md and specwright/standards/best-practices.md| Anti-Pattern | Better Approach | |-------------|-----------------| | Choosing tech because it's trendy | Choose based on requirements and team skills | | Over-engineering for scale day 1 | Start simple, design for change | | Picking unfamiliar tech for MVP | Use what team knows, experiment later | | Ignoring deployment complexity | Consider ops from the start | | One database for everything | Right tool for each data pattern |
Use template: specwright/templates/product/tech-stack-template.md
Hybrid lookup:
specwright/templates/product/tech-stack-template.md (project)~/.specwright/templates/product/tech-stack-template.md (global)tools
Session Handoff: Erstellt eine vollständige Zusammenfassung der aktuellen Session für einen sauberen Kontextwechsel. NUR bei explizitem Aufruf (/session-handoff). NICHT automatisch auslösen. Geeignet wenn der User die Session resetten will, den Kontext aufräumen will, oder bei ~120k Tokens angelangt ist.
development
Pre-Mortem Risk Analysis: Strukturierte Prospective-Hindsight-Übung um launch-blocking Risiken vor Commitment aufzudecken. Team stellt sich vor, das Produkt sei 14 Tage nach Launch gefloppt, und arbeitet rückwärts. Klassifiziert Risiken in Tigers (echt), Paper Tigers (hypothetisch), Elephants (unausgesprochen). Nutze diesen Skill vor Build-Commitment, bei zu hoher Stakeholder-Confidence, vor Major-Releases, oder wenn das Team vage Sorgen nicht artikulieren kann. Trigger: /pre-mortem, 'pre-mortem', 'risk analysis', 'was könnte schiefgehen', 'risiken vor launch'.
testing
Six-Sigma Atomicity Validator for create-spec stories
tools
UX pattern definition guidance for navigation, user flows, interactions, and accessibility