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
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
- Choose appropriate stack based on requirements (see Stack Decision Matrix)
- Scaffold project structure
- Verify scaffold: confirm
package.json (or requirements.txt) exists
- Run initial quality check — address any P0 issues before proceeding
- 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
- Run code quality analysis
- Review security findings — fix all P0 (critical) issues immediately
- Re-run analyzer to confirm P0 issues are resolved
- 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:
- SEO Required? → Next.js with SSR
- API-heavy backend? → Separate FastAPI or NestJS
- Real-time features? → Add WebSocket layer
- 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 |
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.
4metadata:
5 source: https://skillmd.com/skills/levalencia/senior-fullstack
6---
7
8# Senior Fullstack
9
10Fullstack development skill with project scaffolding and code quality analysis tools.
11
12---
13
14## Table of Contents
15
16- [Trigger Phrases](#trigger-phrases)
17- [Tools](#tools)
18- [Workflows](#workflows)
19- [Reference Guides](#reference-guides)
20
21---
22
23## Trigger Phrases
24
25Use this skill when you hear:
26- "scaffold a new project"
27- "create a Next.js app"
28- "set up FastAPI with React"
29- "analyze code quality"
30- "check for security issues in codebase"
31- "what stack should I use"
32- "set up a fullstack project"
33- "generate project boilerplate"
34
35---
36
37## Tools
38
39### Project Scaffolder
40
41Generates fullstack project structures with boilerplate code.
42
43**Supported Templates:**
44- `nextjs` - Next.js 14+ with App Router, TypeScript, Tailwind CSS
45- `fastapi-react` - FastAPI backend + React frontend + PostgreSQL
46- `mern` - MongoDB, Express, React, Node.js with TypeScript
47- `django-react` - Django REST Framework + React frontend
48
49**Usage:**
50
51```bash
52# List available templates
53python scripts/project_scaffolder.py --list-templates
54
55# Create Next.js project
56python scripts/project_scaffolder.py nextjs my-app
57
58# Create FastAPI + React project
59python scripts/project_scaffolder.py fastapi-react my-api
60
61# Create MERN stack project
62python scripts/project_scaffolder.py mern my-project
63
64# Create Django + React project
65python scripts/project_scaffolder.py django-react my-app
66
67# Specify output directory
68python scripts/project_scaffolder.py nextjs my-app --output ./projects
69
70# JSON output
71python scripts/project_scaffolder.py nextjs my-app --json
72```
73
74**Parameters:**
75
76| Parameter | Description |
77|-----------|-------------|
78| `template` | Template name (nextjs, fastapi-react, mern, django-react) |
79| `project_name` | Name for the new project directory |
80| `--output, -o` | Output directory (default: current directory) |
81| `--list-templates, -l` | List all available templates |
82| `--json` | Output in JSON format |
83
84**Output includes:**
85- Project structure with all necessary files
86- Package configurations (package.json, requirements.txt)
87- TypeScript configuration
88- Docker and docker-compose setup
89- Environment file templates
90- Next steps for running the project
91
92---
93
94### Code Quality Analyzer
95
96Analyzes fullstack codebases for quality issues.
97
98**Analysis Categories:**
99- Security vulnerabilities (hardcoded secrets, injection risks)
100- Code complexity metrics (cyclomatic complexity, nesting depth)
101- Dependency health (outdated packages, known CVEs)
102- Test coverage estimation
103- Documentation quality
104
105**Usage:**
106
107```bash
108# Analyze current directory
109python scripts/code_quality_analyzer.py .
110
111# Analyze specific project
112python scripts/code_quality_analyzer.py /path/to/project
113
114# Verbose output with detailed findings
115python scripts/code_quality_analyzer.py . --verbose
116
117# JSON output
118python scripts/code_quality_analyzer.py . --json
119
120# Save report to file
121python scripts/code_quality_analyzer.py . --output report.json
122```
123
124**Parameters:**
125
126| Parameter | Description |
127|-----------|-------------|
128| `project_path` | Path to project directory (default: current directory) |
129| `--verbose, -v` | Show detailed findings |
130| `--json` | Output in JSON format |
131| `--output, -o` | Write report to file |
132
133**Output includes:**
134- Overall score (0-100) with letter grade
135- Security issues by severity (critical, high, medium, low)
136- High complexity files
137- Vulnerable dependencies with CVE references
138- Test coverage estimate
139- Documentation completeness
140- Prioritized recommendations
141
142**Sample Output:**
143
144```
145============================================================
146CODE QUALITY ANALYSIS REPORT
147============================================================
148
149Overall Score: 75/100 (Grade: C)
150Files Analyzed: 45
151Total Lines: 12,500
152
153--- SECURITY ---
154 Critical: 1
155 High: 2
156 Medium: 5
157
158--- COMPLEXITY ---
159 Average Complexity: 8.5
160 High Complexity Files: 3
161
162--- RECOMMENDATIONS ---
1631. [P0] SECURITY
164 Issue: Potential hardcoded secret detected
165 Action: Remove or secure sensitive data at line 42
166```
167
168---
169
170## Workflows
171
172### Workflow 1: Start New Project
173
1741. Choose appropriate stack based on requirements (see Stack Decision Matrix)
1752. Scaffold project structure
1763. Verify scaffold: confirm `package.json` (or `requirements.txt`) exists
1774. Run initial quality check — address any P0 issues before proceeding
1785. Set up development environment
179
180```bash
181# 1. Scaffold project
182python scripts/project_scaffolder.py nextjs my-saas-app
183
184# 2. Verify scaffold succeeded
185ls my-saas-app/package.json
186
187# 3. Navigate and install
188cd my-saas-app
189npm install
190
191# 4. Configure environment
192cp .env.example .env.local
193
194# 5. Run quality check
195python ../scripts/code_quality_analyzer.py .
196
197# 6. Start development
198npm run dev
199```
200
201### Workflow 2: Audit Existing Codebase
202
2031. Run code quality analysis
2042. Review security findings — fix all P0 (critical) issues immediately
2053. Re-run analyzer to confirm P0 issues are resolved
2064. Create tickets for P1/P2 issues
207
208```bash
209# 1. Full analysis
210python scripts/code_quality_analyzer.py /path/to/project --verbose
211
212# 2. Generate detailed report
213python scripts/code_quality_analyzer.py /path/to/project --json --output audit.json
214
215# 3. After fixing P0 issues, re-run to verify
216python scripts/code_quality_analyzer.py /path/to/project --verbose
217```
218
219### Workflow 3: Stack Selection
220
221Use the tech stack guide to evaluate options:
222
2231. **SEO Required?** → Next.js with SSR
2242. **API-heavy backend?** → Separate FastAPI or NestJS
2253. **Real-time features?** → Add WebSocket layer
2264. **Team expertise** → Match stack to team skills
227
228See `references/tech_stack_guide.md` for detailed comparison.
229
230---
231
232## Reference Guides
233
234### Architecture Patterns (`references/architecture_patterns.md`)
235
236- Frontend component architecture (Atomic Design, Container/Presentational)
237- Backend patterns (Clean Architecture, Repository Pattern)
238- API design (REST conventions, GraphQL schema design)
239- Database patterns (connection pooling, transactions, read replicas)
240- Caching strategies (cache-aside, HTTP cache headers)
241- Authentication architecture (JWT + refresh tokens, sessions)
242
243### Development Workflows (`references/development_workflows.md`)
244
245- Local development setup (Docker Compose, environment config)
246- Git workflows (trunk-based, conventional commits)
247- CI/CD pipelines (GitHub Actions examples)
248- Testing strategies (unit, integration, E2E)
249- Code review process (PR templates, checklists)
250- Deployment strategies (blue-green, canary, feature flags)
251- Monitoring and observability (logging, metrics, health checks)
252
253### Tech Stack Guide (`references/tech_stack_guide.md`)
254
255- Frontend frameworks comparison (Next.js, React+Vite, Vue)
256- Backend frameworks (Express, Fastify, NestJS, FastAPI, Django)
257- Database selection (PostgreSQL, MongoDB, Redis)
258- ORMs (Prisma, Drizzle, SQLAlchemy)
259- Authentication solutions (Auth.js, Clerk, custom JWT)
260- Deployment platforms (Vercel, Railway, AWS)
261- Stack recommendations by use case (MVP, SaaS, Enterprise)
262
263---
264
265## Quick Reference
266
267### Stack Decision Matrix
268
269| Requirement | Recommendation |
270|-------------|---------------|
271| SEO-critical site | Next.js with SSR |
272| Internal dashboard | React + Vite |
273| API-first backend | FastAPI or Fastify |
274| Enterprise scale | NestJS + PostgreSQL |
275| Rapid prototype | Next.js API routes |
276| Document-heavy data | MongoDB |
277| Complex queries | PostgreSQL |
278
279### Common Issues
280
281| Issue | Solution |
282|-------|----------|
283| N+1 queries | Use DataLoader or eager loading |
284| Slow builds | Check bundle size, lazy load |
285| Auth complexity | Use Auth.js or Clerk |
286| Type errors | Enable strict mode in tsconfig |
287| CORS issues | Configure middleware properly |