Senior fullstack

Fullstack development toolkit with project scaffolding for Next.js, FastAPI, MERN, and Django stacks, code quality analysis with security and complexity scoring, and stack selection guidance.

How to use it

Claude Code
  1. Run the line below. It pulls the whole folder into ~/.claude/skills/senior-fullstack, including the files SKILL.md points to.
  2. Describe your job in plain words. Claude Code follows the skill from there.
Claude Code — installs the whole folder, not just SKILL.md
npx degit alirezarezvani/claude-skills/engineering-team/skills/senior-fullstack#main ~/.claude/skills/senior-fullstack

For one project only, change the path to .claude/skills/senior-fullstack. This skill also uses Next.js, Node.js, package.json, requirements.txt, report.json, audit.json — copying SKILL.md alone won't be enough. See the folder on GitHub.

Claude (web or desktop app)
  1. On this page open ⋯ → Download .md.
  2. Save it as SKILL.md in a folder, zip the folder, then Customize → Skills → + → Create skill → Upload a skill.
  3. Pick the file and Save. Claude shows the name and description and runs a security scan.
  4. Check the skill is switched on.
  5. Start a new chat and describe your job in plain words. The AI follows the skill from there.
ChatGPT or another app
  1. ChatGPT: make a Project and paste it into Instructions.
  2. Neither? Paste it at the top of a new chat — it works for that chat.
Not working?
  • Check which app you pasted it into — the steps above name the right one.
  • Some skills need the paid tier of Claude or ChatGPT.
Step-by-step guide with screenshots · Ask in the forum

Paste into Claude, ChatGPT or Cursor.

Source of Senior fullstack

Show the full text413 lines
namedescription
senior-fullstackFullstack development toolkit with project scaffolding for Next.js, FastAPI, MERN, and Django stacks, code quality analysis with security and complexity scoring, and stack selection guidance. Use when the user asks to "scaffold a new project", "create a Next.js app", "set up FastAPI with React", "analyze code quality", "audit my codebase", "what stack should I use", "generate project boilerplate", or mentions fullstack development, project setup, or tech stack comparison.

Senior Fullstack

Fullstack development skill with project scaffolding and code quality analysis tools.


Table of Contents


Trigger Phrases

Use this skill when you hear:

  • "scaffold a new project"
  • "create a Next.js app"
  • "set up FastAPI with React"
  • "analyze code quality"
  • "check for security issues in codebase"
  • "what stack should I use"
  • "set up a fullstack project"
  • "generate project boilerplate"

Tools

Decision Engine

Deterministic profile picker. Given four assumptions (team-size, cadence, user-facing, budget) plus optional traffic/sensitivity inputs, ranks the four built-in profiles and returns the matched profile with SLO floor and named approver chain. Refuses to recommend a profile without the four required inputs.

Usage:

# See all options
python scripts/fullstack_decision_engine.py --help

# Run against a sample input
python scripts/fullstack_decision_engine.py --sample

# Pick a profile from real inputs
python scripts/fullstack_decision_engine.py \
    --team-size-12mo 8 --cadence daily --user-facing true --budget 5000 \
    --traffic-p99-rps 50 --data-sensitivity pii-only

# JSON output for downstream tools
python scripts/fullstack_decision_engine.py --sample --output json

Returns: matched profile name, score, matched/violated constraints, stack recommendation, anti-recommendations, SLO floor, named-approver chain, and canon references.

The engine encodes the same matrix the conversational grill walks through — use it directly when inputs are already known, or via the cs-fullstack-engineer agent for the question-by-question grill.


Project Scaffolder

Generates fullstack project structures with boilerplate code.

Supported Templates:

  • nextjs - Next.js 14+ with App Router, TypeScript, Tailwind CSS
  • fastapi-react - FastAPI backend + React frontend + PostgreSQL
  • mern - MongoDB, Express, React, Node.js with TypeScript
  • django-react - Django REST Framework + React frontend

Usage:

# List available templates
python scripts/project_scaffolder.py --list-templates

# Create Next.js project
python scripts/project_scaffolder.py nextjs my-app

# Create FastAPI + React project
python scripts/project_scaffolder.py fastapi-react my-api

# Create MERN stack project
python scripts/project_scaffolder.py mern my-project

# Create Django + React project
python scripts/project_scaffolder.py django-react my-app

# Specify output directory
python scripts/project_scaffolder.py nextjs my-app --output ./projects

# JSON output
python scripts/project_scaffolder.py nextjs my-app --json

Parameters:

Parameter Description
template Template name (nextjs, fastapi-react, mern, django-react)
project_name Name for the new project directory
--output, -o Output directory (default: current directory)
--list-templates, -l List all available templates
--json Output in JSON format

Output includes:

  • Project structure with all necessary files
  • Package configurations (package.json, requirements.txt)
  • TypeScript configuration
  • Docker and docker-compose setup
  • Environment file templates
  • Next steps for running the project

Code Quality Analyzer

Analyzes fullstack codebases for quality issues.

Analysis Categories:

  • Security vulnerabilities (hardcoded secrets, injection risks)
  • Code complexity metrics (cyclomatic complexity, nesting depth)
  • Dependency health (outdated packages, known CVEs)
  • Test coverage estimation
  • Documentation quality

Usage:

# Analyze current directory
python scripts/code_quality_analyzer.py .

# Analyze specific project
python scripts/code_quality_analyzer.py /path/to/project

# Verbose output with detailed findings
python scripts/code_quality_analyzer.py . --verbose

# JSON output
python scripts/code_quality_analyzer.py . --json

# Save report to file
python scripts/code_quality_analyzer.py . --output report.json

Parameters:

Parameter Description
project_path Path to project directory (default: current directory)
--verbose, -v Show detailed findings
--json Output in JSON format
--output, -o Write report to file

Output includes:

  • Overall score (0-100) with letter grade
  • Security issues by severity (critical, high, medium, low)
  • High complexity files
  • Vulnerable dependencies with CVE references
  • Test coverage estimate
  • Documentation completeness
  • Prioritized recommendations

Sample Output:

============================================================
CODE QUALITY ANALYSIS REPORT
============================================================

Overall Score: 75/100 (Grade: C)
Files Analyzed: 45
Total Lines: 12,500

--- SECURITY ---
  Critical: 1
  High: 2
  Medium: 5

--- COMPLEXITY ---
  Average Complexity: 8.5
  High Complexity Files: 3

--- RECOMMENDATIONS ---
1. [P0] SECURITY
   Issue: Potential hardcoded secret detected
   Action: Remove or secure sensitive data at line 42

Workflows

Workflow 1: Start New Project
  1. Choose appropriate stack based on requirements (see Stack Decision Matrix)
  2. Scaffold project structure
  3. Verify scaffold: confirm package.json (or requirements.txt) exists
  4. Run initial quality check — address any P0 issues before proceeding
  5. Set up development environment
# 1. Scaffold project
python scripts/project_scaffolder.py nextjs my-saas-app

# 2. Verify scaffold succeeded
ls my-saas-app/package.json

# 3. Navigate and install
cd my-saas-app
npm install

# 4. Configure environment
cp .env.example .env.local

# 5. Run quality check
python scripts/code_quality_analyzer.py .

# 6. Start development
npm run dev
Workflow 2: Audit Existing Codebase
  1. Run code quality analysis
  2. Review security findings — fix all P0 (critical) issues immediately
  3. Re-run analyzer to confirm P0 issues are resolved
  4. Create tickets for P1/P2 issues
# 1. Full analysis
python scripts/code_quality_analyzer.py /path/to/project --verbose

# 2. Generate detailed report
python scripts/code_quality_analyzer.py /path/to/project --json --output audit.json

# 3. After fixing P0 issues, re-run to verify
python scripts/code_quality_analyzer.py /path/to/project --verbose
Workflow 3: Stack Selection

Use the tech stack guide to evaluate options:

  1. SEO Required? → Next.js with SSR
  2. API-heavy backend? → Separate FastAPI or NestJS
  3. Real-time features? → Add WebSocket layer
  4. Team expertise → Match stack to team skills

See references/tech_stack_guide.md for detailed comparison.


Reference Guides

Architecture Patterns (references/architecture_patterns.md)
  • Frontend component architecture (Atomic Design, Container/Presentational)
  • Backend patterns (Clean Architecture, Repository Pattern)
  • API design (REST conventions, GraphQL schema design)
  • Database patterns (connection pooling, transactions, read replicas)
  • Caching strategies (cache-aside, HTTP cache headers)
  • Authentication architecture (JWT + refresh tokens, sessions)
Development Workflows (references/development_workflows.md)
  • Local development setup (Docker Compose, environment config)
  • Git workflows (trunk-based, conventional commits)
  • CI/CD pipelines (GitHub Actions examples)
  • Testing strategies (unit, integration, E2E)
  • Code review process (PR templates, checklists)
  • Deployment strategies (blue-green, canary, feature flags)
  • Monitoring and observability (logging, metrics, health checks)
Tech Stack Guide (references/tech_stack_guide.md)
  • Frontend frameworks comparison (Next.js, React+Vite, Vue)
  • Backend frameworks (Express, Fastify, NestJS, FastAPI, Django)
  • Database selection (PostgreSQL, MongoDB, Redis)
  • ORMs (Prisma, Drizzle, SQLAlchemy)
  • Authentication solutions (Auth.js, Clerk, custom JWT)
  • Deployment platforms (Vercel, Railway, AWS)
  • Stack recommendations by use case (MVP, SaaS, Enterprise)

Quick Reference

Stack Decision Matrix
Requirement Recommendation
SEO-critical site Next.js with SSR
Internal dashboard React + Vite
API-first backend FastAPI or Fastify
Enterprise scale NestJS + PostgreSQL
Rapid prototype Next.js API routes
Document-heavy data MongoDB
Complex queries PostgreSQL
Common Issues
Issue Solution
N+1 queries Use DataLoader or eager loading
Slow builds Check bundle size, lazy load
Auth complexity Use Auth.js or Clerk
Type errors Enable strict mode in tsconfig
CORS issues Configure middleware properly

Assumptions and Verifiable Success Criteria (Karpathy discipline)

Before this skill scaffolds, recommends, or modifies any code, the following four assumptions MUST be surfaced. If any are unknown, the skill stops and walks the Forcing-question library instead.

  1. Team size today + 12-month headcount — drives architecture (monolith / modular / services). Sam Newman: "MonolithFirst."
  2. Deployment cadence target — drives CI/CD spend and feature-flag investment. Accelerate (Forsgren et al. 2018).
  3. User-facing vs. internal vs. marketing-site — drives stack pick and a11y/perf budget.
  4. Monthly cloud + SaaS budget ceiling — drives the build-vs-managed-service split.

Verifiable success criteria (Karpathy #4) — every recommendation this skill emits must include three machine-checkable numbers:

  • An API latency target (p50, p95, p99 in ms)
  • A frontend perf target (LCP, INP, CLS on mobile-4G)
  • An uptime / SLO target

If any of those three is not stated, the recommendation is incomplete — go back to Q7 of the forcing-question library.

The scripts/fullstack_decision_engine.py tool encodes these checks: it refuses to recommend a profile without all four assumption inputs and prints the verifiable thresholds for the matched profile.


Customization profiles

Four built-in profiles in profiles/ calibrate every recommendation:

Profile When to pick Cloud ceiling Pattern
saas-startup < 10 eng, customer-facing, daily+ cadence $8K/mo Modular monolith on Next.js + Postgres
enterprise-scale 50+ eng, regulated, per-PR with gates $250K/mo Domain-bounded services + platform team
internal-tool ≤ 5 eng, auth-walled, < 100 DAU $500/mo Retool-first; thin custom stack if forced
marketing-site SEO-dependent, near-zero write $200/mo Static-first (Astro / 11ty / Next-static)

Pick a profile via:

python scripts/fullstack_decision_engine.py \
  --team-size 6 --team-size-12mo 12 \
  --cadence daily --user-facing true --budget 5000 \
  --traffic-p99-rps 45 --data-sensitivity pii-only

The tool returns the best-fit profile, the tradeoff against the runner-up (if within 15%), the stack recommendation, the anti-patterns to avoid on that profile, and the named-approver chain. This tool never auto-approves.

To add a custom profile: copy profiles/saas-startup.json to profiles/<your-org>.json, adjust the constraints and stack_recommendations blocks, and rerun. The JSON is the customization surface — no code changes needed.


Composition map

This skill does NOT reimplement scope owned by the POWERFUL-tier specialists. It forks into them. See references/composition_map.md for the full routing table. Key forks:

Concern Fork into
API contract review engineering/skills/api-design-reviewer/
Database schema design engineering/skills/database-designer/
Reliability / SLO design engineering/slo-architect/
CI/CD pipeline engineering/skills/ci-cd-pipeline-builder/
Performance profiling engineering/skills/performance-profiler/
Pre-commit Karpathy review engineering/karpathy-coder/
Pre-flight architecture grill engineering/grill-me/

The cs-fullstack-engineer agent (in agents/engineering/cs-fullstack-engineer.md) orchestrates these forks via context: fork. Invoke it from another agent with Agent({subagent_type: "cs-fullstack-engineer", prompt: "..."}) or via the slash command /cs:fullstack-review <your problem>.


Forcing-question library (Matt Pocock grill)

Before locking any architecture or stack decision, walk the seven forcing questions in references/forcing_questions.md. Each has a recommended answer, canon citation, and kill criterion. The discipline:

  1. One question per turn. No bundling.
  2. Always recommend the answer with cited canon.
  3. Track answers in a working file (e.g., /tmp/fullstack-grill-<date>.md).
  4. If a kill criterion trips, stop. Do not scaffold around an unresolved gap.
  5. After Q7, run fullstack_decision_engine.py with the seven answers as inputs.

Summary of the seven questions (full content in the reference):

  1. Team size today + 12-month headcount?
  2. Deployment cadence — per-PR, daily, weekly, quarterly?
  3. Customer-facing, internal tool, or marketing site?
  4. One-year p50 / p99 traffic forecast?
  5. Hiring against the stack or training the team?
  6. Year-one monthly cloud + SaaS ceiling?
  7. Three verifiable success criteria with numeric targets?

Invocation from other agents and skills

This skill is invokable by any other agent or skill via three surfaces:

  1. Slash command: /cs:fullstack-review <prompt> — runs the full grill + decision engine + composition routing.
  2. Agent subagent: Agent({subagent_type: "cs-fullstack-engineer", prompt: "..."}) — forks context, returns ≤ 200-word digest.
  3. Direct tool call: python scripts/fullstack_decision_engine.py ... — deterministic profile match without the conversational grill (use when inputs are already known).

See agents/engineering/cs-fullstack-engineer.md for the full invocation contract.

1---
2name: "senior-fullstack"
3description: Fullstack development toolkit with project scaffolding for Next.js, FastAPI, MERN, and Django stacks, code quality analysis with security and complexity scoring, and stack selection guidance. Use when the user asks to "scaffold a new project", "create a Next.js app", "set up FastAPI with React", "analyze code quality", "audit my codebase", "what stack should I use", "generate project boilerplate", or mentions fullstack development, project setup, or tech stack comparison.
4---
5 
6# Senior Fullstack
7 
8Fullstack development skill with project scaffolding and code quality analysis tools.
9 
10---
11 
12## Table of Contents
13 
14- [Trigger Phrases](#trigger-phrases)
15- [Tools](#tools)
16- [Workflows](#workflows)
17- [Reference Guides](#reference-guides)
18 
19---
20 
21## Trigger Phrases
22 
23Use this skill when you hear:
24- "scaffold a new project"
25- "create a Next.js app"
26- "set up FastAPI with React"
27- "analyze code quality"
28- "check for security issues in codebase"
29- "what stack should I use"
30- "set up a fullstack project"
31- "generate project boilerplate"
32 
33---
34 
35## Tools
36 
37### Decision Engine
38 
39Deterministic profile picker. Given four assumptions (team-size, cadence, user-facing, budget) plus optional traffic/sensitivity inputs, ranks the four built-in profiles and returns the matched profile with SLO floor and named approver chain. Refuses to recommend a profile without the four required inputs.
40 
41**Usage:**
42 
43```bash
44# See all options
45python scripts/fullstack_decision_engine.py --help
46 
47# Run against a sample input
48python scripts/fullstack_decision_engine.py --sample
49 
50# Pick a profile from real inputs
51python scripts/fullstack_decision_engine.py \
52 --team-size-12mo 8 --cadence daily --user-facing true --budget 5000 \
53 --traffic-p99-rps 50 --data-sensitivity pii-only
54 
55# JSON output for downstream tools
56python scripts/fullstack_decision_engine.py --sample --output json
57```
58 
59Returns: matched profile name, score, matched/violated constraints, stack recommendation, anti-recommendations, SLO floor, named-approver chain, and canon references.
60 
61The engine encodes the same matrix the conversational grill walks through — use it directly when inputs are already known, or via the `cs-fullstack-engineer` agent for the question-by-question grill.
62 
63---
64 
65### Project Scaffolder
66 
67Generates fullstack project structures with boilerplate code.
68 
69**Supported Templates:**
70- `nextjs` - Next.js 14+ with App Router, TypeScript, Tailwind CSS
71- `fastapi-react` - FastAPI backend + React frontend + PostgreSQL
72- `mern` - MongoDB, Express, React, Node.js with TypeScript
73- `django-react` - Django REST Framework + React frontend
74 
75**Usage:**
76 
77```bash
78# List available templates
79python scripts/project_scaffolder.py --list-templates
80 
81# Create Next.js project
82python scripts/project_scaffolder.py nextjs my-app
83 
84# Create FastAPI + React project
85python scripts/project_scaffolder.py fastapi-react my-api
86 
87# Create MERN stack project
88python scripts/project_scaffolder.py mern my-project
89 
90# Create Django + React project
91python scripts/project_scaffolder.py django-react my-app
92 
93# Specify output directory
94python scripts/project_scaffolder.py nextjs my-app --output ./projects
95 
96# JSON output
97python scripts/project_scaffolder.py nextjs my-app --json
98```
99 
100**Parameters:**
101 
102| Parameter | Description |
103|-----------|-------------|
104| `template` | Template name (nextjs, fastapi-react, mern, django-react) |
105| `project_name` | Name for the new project directory |
106| `--output, -o` | Output directory (default: current directory) |
107| `--list-templates, -l` | List all available templates |
108| `--json` | Output in JSON format |
109 
110**Output includes:**
111- Project structure with all necessary files
112- Package configurations (package.json, requirements.txt)
113- TypeScript configuration
114- Docker and docker-compose setup
115- Environment file templates
116- Next steps for running the project
117 
118---
119 
120### Code Quality Analyzer
121 
122Analyzes fullstack codebases for quality issues.
123 
124**Analysis Categories:**
125- Security vulnerabilities (hardcoded secrets, injection risks)
126- Code complexity metrics (cyclomatic complexity, nesting depth)
127- Dependency health (outdated packages, known CVEs)
128- Test coverage estimation
129- Documentation quality
130 
131**Usage:**
132 
133```bash
134# Analyze current directory
135python scripts/code_quality_analyzer.py .
136 
137# Analyze specific project
138python scripts/code_quality_analyzer.py /path/to/project
139 
140# Verbose output with detailed findings
141python scripts/code_quality_analyzer.py . --verbose
142 
143# JSON output
144python scripts/code_quality_analyzer.py . --json
145 
146# Save report to file
147python scripts/code_quality_analyzer.py . --output report.json
148```
149 
150**Parameters:**
151 
152| Parameter | Description |
153|-----------|-------------|
154| `project_path` | Path to project directory (default: current directory) |
155| `--verbose, -v` | Show detailed findings |
156| `--json` | Output in JSON format |
157| `--output, -o` | Write report to file |
158 
159**Output includes:**
160- Overall score (0-100) with letter grade
161- Security issues by severity (critical, high, medium, low)
162- High complexity files
163- Vulnerable dependencies with CVE references
164- Test coverage estimate
165- Documentation completeness
166- Prioritized recommendations
167 
168**Sample Output:**
169 
170```
171============================================================
172CODE QUALITY ANALYSIS REPORT
173============================================================
174 
175Overall Score: 75/100 (Grade: C)
176Files Analyzed: 45
177Total Lines: 12,500
178 
179--- SECURITY ---
180 Critical: 1
181 High: 2
182 Medium: 5
183 
184--- COMPLEXITY ---
185 Average Complexity: 8.5
186 High Complexity Files: 3
187 
188--- RECOMMENDATIONS ---
1891. [P0] SECURITY
190 Issue: Potential hardcoded secret detected
191 Action: Remove or secure sensitive data at line 42
192```
193 
194---
195 
196## Workflows
197 
198### Workflow 1: Start New Project
199 
2001. Choose appropriate stack based on requirements (see Stack Decision Matrix)
2012. Scaffold project structure
2023. Verify scaffold: confirm `package.json` (or `requirements.txt`) exists
2034. Run initial quality check — address any P0 issues before proceeding
2045. Set up development environment
205 
206```bash
207# 1. Scaffold project
208python scripts/project_scaffolder.py nextjs my-saas-app
209 
210# 2. Verify scaffold succeeded
211ls my-saas-app/package.json
212 
213# 3. Navigate and install
214cd my-saas-app
215npm install
216 
217# 4. Configure environment
218cp .env.example .env.local
219 
220# 5. Run quality check
221python scripts/code_quality_analyzer.py .
222 
223# 6. Start development
224npm run dev
225```
226 
227### Workflow 2: Audit Existing Codebase
228 
2291. Run code quality analysis
2302. Review security findings — fix all P0 (critical) issues immediately
2313. Re-run analyzer to confirm P0 issues are resolved
2324. Create tickets for P1/P2 issues
233 
234```bash
235# 1. Full analysis
236python scripts/code_quality_analyzer.py /path/to/project --verbose
237 
238# 2. Generate detailed report
239python scripts/code_quality_analyzer.py /path/to/project --json --output audit.json
240 
241# 3. After fixing P0 issues, re-run to verify
242python scripts/code_quality_analyzer.py /path/to/project --verbose
243```
244 
245### Workflow 3: Stack Selection
246 
247Use the tech stack guide to evaluate options:
248 
2491. **SEO Required?** → Next.js with SSR
2502. **API-heavy backend?** → Separate FastAPI or NestJS
2513. **Real-time features?** → Add WebSocket layer
2524. **Team expertise** → Match stack to team skills
253 
254See `references/tech_stack_guide.md` for detailed comparison.
255 
256---
257 
258## Reference Guides
259 
260### Architecture Patterns (`references/architecture_patterns.md`)
261 
262- Frontend component architecture (Atomic Design, Container/Presentational)
263- Backend patterns (Clean Architecture, Repository Pattern)
264- API design (REST conventions, GraphQL schema design)
265- Database patterns (connection pooling, transactions, read replicas)
266- Caching strategies (cache-aside, HTTP cache headers)
267- Authentication architecture (JWT + refresh tokens, sessions)
268 
269### Development Workflows (`references/development_workflows.md`)
270 
271- Local development setup (Docker Compose, environment config)
272- Git workflows (trunk-based, conventional commits)
273- CI/CD pipelines (GitHub Actions examples)
274- Testing strategies (unit, integration, E2E)
275- Code review process (PR templates, checklists)
276- Deployment strategies (blue-green, canary, feature flags)
277- Monitoring and observability (logging, metrics, health checks)
278 
279### Tech Stack Guide (`references/tech_stack_guide.md`)
280 
281- Frontend frameworks comparison (Next.js, React+Vite, Vue)
282- Backend frameworks (Express, Fastify, NestJS, FastAPI, Django)
283- Database selection (PostgreSQL, MongoDB, Redis)
284- ORMs (Prisma, Drizzle, SQLAlchemy)
285- Authentication solutions (Auth.js, Clerk, custom JWT)
286- Deployment platforms (Vercel, Railway, AWS)
287- Stack recommendations by use case (MVP, SaaS, Enterprise)
288 
289---
290 
291## Quick Reference
292 
293### Stack Decision Matrix
294 
295| Requirement | Recommendation |
296|-------------|---------------|
297| SEO-critical site | Next.js with SSR |
298| Internal dashboard | React + Vite |
299| API-first backend | FastAPI or Fastify |
300| Enterprise scale | NestJS + PostgreSQL |
301| Rapid prototype | Next.js API routes |
302| Document-heavy data | MongoDB |
303| Complex queries | PostgreSQL |
304 
305### Common Issues
306 
307| Issue | Solution |
308|-------|----------|
309| N+1 queries | Use DataLoader or eager loading |
310| Slow builds | Check bundle size, lazy load |
311| Auth complexity | Use Auth.js or Clerk |
312| Type errors | Enable strict mode in tsconfig |
313| CORS issues | Configure middleware properly |
314 
315---
316 
317## Assumptions and Verifiable Success Criteria (Karpathy discipline)
318 
319Before this skill scaffolds, recommends, or modifies any code, the following four assumptions MUST be surfaced. If any are unknown, the skill stops and walks the [Forcing-question library](#forcing-question-library-matt-pocock-grill) instead.
320 
3211. **Team size today + 12-month headcount** — drives architecture (monolith / modular / services). Sam Newman: "MonolithFirst."
3222. **Deployment cadence target** — drives CI/CD spend and feature-flag investment. *Accelerate* (Forsgren et al. 2018).
3233. **User-facing vs. internal vs. marketing-site** — drives stack pick and a11y/perf budget.
3244. **Monthly cloud + SaaS budget ceiling** — drives the build-vs-managed-service split.
325 
326**Verifiable success criteria** (Karpathy #4) — every recommendation this skill emits must include three machine-checkable numbers:
327 
328- An API latency target (p50, p95, p99 in ms)
329- A frontend perf target (LCP, INP, CLS on mobile-4G)
330- An uptime / SLO target
331 
332If any of those three is not stated, the recommendation is incomplete — go back to Q7 of the forcing-question library.
333 
334The `scripts/fullstack_decision_engine.py` tool encodes these checks: it refuses to recommend a profile without all four assumption inputs and prints the verifiable thresholds for the matched profile.
335 
336---
337 
338## Customization profiles
339 
340Four built-in profiles in `profiles/` calibrate every recommendation:
341 
342| Profile | When to pick | Cloud ceiling | Pattern |
343|---|---|---|---|
344| `saas-startup` | < 10 eng, customer-facing, daily+ cadence | $8K/mo | Modular monolith on Next.js + Postgres |
345| `enterprise-scale` | 50+ eng, regulated, per-PR with gates | $250K/mo | Domain-bounded services + platform team |
346| `internal-tool` | ≤ 5 eng, auth-walled, < 100 DAU | $500/mo | Retool-first; thin custom stack if forced |
347| `marketing-site` | SEO-dependent, near-zero write | $200/mo | Static-first (Astro / 11ty / Next-static) |
348 
349Pick a profile via:
350 
351```bash
352python scripts/fullstack_decision_engine.py \
353 --team-size 6 --team-size-12mo 12 \
354 --cadence daily --user-facing true --budget 5000 \
355 --traffic-p99-rps 45 --data-sensitivity pii-only
356```
357 
358The tool returns the best-fit profile, the tradeoff against the runner-up (if within 15%), the stack recommendation, the anti-patterns to avoid on that profile, and the named-approver chain. **This tool never auto-approves.**
359 
360To add a custom profile: copy `profiles/saas-startup.json` to `profiles/<your-org>.json`, adjust the `constraints` and `stack_recommendations` blocks, and rerun. The JSON is the customization surface — no code changes needed.
361 
362---
363 
364## Composition map
365 
366This skill does NOT reimplement scope owned by the POWERFUL-tier specialists. It forks into them. See `references/composition_map.md` for the full routing table. Key forks:
367 
368| Concern | Fork into |
369|---|---|
370| API contract review | `engineering/skills/api-design-reviewer/` |
371| Database schema design | `engineering/skills/database-designer/` |
372| Reliability / SLO design | `engineering/slo-architect/` |
373| CI/CD pipeline | `engineering/skills/ci-cd-pipeline-builder/` |
374| Performance profiling | `engineering/skills/performance-profiler/` |
375| Pre-commit Karpathy review | `engineering/karpathy-coder/` |
376| Pre-flight architecture grill | `engineering/grill-me/` |
377 
378The `cs-fullstack-engineer` agent (in `agents/engineering/cs-fullstack-engineer.md`) orchestrates these forks via `context: fork`. Invoke it from another agent with `Agent({subagent_type: "cs-fullstack-engineer", prompt: "..."})` or via the slash command `/cs:fullstack-review <your problem>`.
379 
380---
381 
382## Forcing-question library (Matt Pocock grill)
383 
384Before locking any architecture or stack decision, walk the seven forcing questions in `references/forcing_questions.md`. Each has a recommended answer, canon citation, and kill criterion. The discipline:
385 
3861. One question per turn. No bundling.
3872. Always recommend the answer with cited canon.
3883. Track answers in a working file (e.g., `/tmp/fullstack-grill-<date>.md`).
3894. If a kill criterion trips, stop. Do not scaffold around an unresolved gap.
3905. After Q7, run `fullstack_decision_engine.py` with the seven answers as inputs.
391 
392Summary of the seven questions (full content in the reference):
393 
3941. Team size today + 12-month headcount?
3952. Deployment cadence — per-PR, daily, weekly, quarterly?
3963. Customer-facing, internal tool, or marketing site?
3974. One-year p50 / p99 traffic forecast?
3985. Hiring against the stack or training the team?
3996. Year-one monthly cloud + SaaS ceiling?
4007. Three verifiable success criteria with numeric targets?
401 
402---
403 
404## Invocation from other agents and skills
405 
406This skill is invokable by any other agent or skill via three surfaces:
407 
4081. **Slash command:** `/cs:fullstack-review <prompt>` — runs the full grill + decision engine + composition routing.
4092. **Agent subagent:** `Agent({subagent_type: "cs-fullstack-engineer", prompt: "..."})` — forks context, returns ≤ 200-word digest.
4103. **Direct tool call:** `python scripts/fullstack_decision_engine.py ...` — deterministic profile match without the conversational grill (use when inputs are already known).
411 
412See `agents/engineering/cs-fullstack-engineer.md` for the full invocation contract.
413 

Discussion

Alternatives

Also in Services & APIsSee all 533 in Development →