.agents/skills/create-tech-stack/SKILL.md
User Request: $ARGUMENTS
pwdnode --version 2>/dev/null || echo "Node.js not found"ls -la prisma/schema.prisma 2>/dev/null || echo "No Prisma schema found"ls -la .agents/rules/*.md 2>/dev/null || echo "No docs yet"Create comprehensive Tech Stack Documentation based on deep codebase analysis. Document all technologies, frameworks, libraries, development tools, deployment strategies, and implementation patterns with specific versions and configurations.
Examine codebase for:
Ask 4-6 deployment and infrastructure questions:
Create detailed tech stack document with:
.agents/rules/ if needed2-tech-stack.mdc1. Where is your application currently deployed?
a) Vercel - Next.js optimized hosting
b) AWS - EC2, Lambda, or containerized
c) Railway/Render - Modern PaaS providers
d) Self-hosted - VPS or on-premise
e) Other - Please specify
f) Not deployed yet - Still in development
2. How is your database hosted?
a) Managed service (Supabase, PlanetScale, Neon, etc.)
b) Cloud provider (AWS RDS, Google Cloud SQL, etc.)
c) Self-hosted (Docker, VPS, etc.)
d) Local only - No production database yet
3. What observability tools do you use?
a) Error tracking: Sentry, Rollbar, Bugsnag
b) Analytics: Vercel Analytics, Google Analytics, Plausible
c) Monitoring: Datadog, New Relic, custom solution
d) Logging: CloudWatch, LogTail, custom logs
e) None yet - Planning to add later
4. What's your Git workflow?
a) Feature branches with PR reviews
b) Trunk-based development
c) GitFlow with release branches
d) Direct to main (solo project)
5. How do you manage environments?
a) Multiple deployments (dev, staging, prod)
b) Preview deployments for PRs
c) Single production environment
d) Local development only
6. Which external services do you integrate with?
The generated document must follow this technical structure:
The document should serve:
The language should be technical, precise, and include specific version numbers and configuration details.
.mdc).agents/rules/2-tech-stack.mdc# Extract key technical information
- Read package.json and lock files
- Scan for configuration files
- Detect framework patterns
- Identify database setup
- Find test configurations
# Create directory and save
mkdir -p docs
# Save to .agents/rules/2-tech-stack.mdc
# Basic usage
/project:create-tech-stack
# With specific focus
/project:create-tech-stack Focus on deployment and CI/CD setup
# Tech Stack Documentation
## Overview
- **Framework:** Next.js 14.2.5 (App Router)
- **Language:** TypeScript 5.5.3
- **Database:** PostgreSQL with Prisma ORM
- **Deployment:** Vercel with preview deployments
## Commands Reference
### Development
- `pnpm dev` - Start Next.js dev server on port 3000
- `pnpm build` - Build production bundle
- `pnpm typecheck` - Run tsc --noEmit
### Database
- `pnpm db:generate` - Generate Prisma client
- `pnpm db:push` - Push schema changes to database
# ... continue with full documentation