Note: Bundled scripts ship as Markdown reference (.md) — copy the code out of the .md file to run it.
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-fullstack3description: 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/neekware/senior-fullstack6---78> **Note:** Bundled scripts ship as Markdown reference (`.md`) — copy the code out of the `.md` file to run it.910# Senior Fullstack1112Fullstack development skill with project scaffolding and code quality analysis tools.1314---1516## Table of Contents1718- [Trigger Phrases](#trigger-phrases)19- [Tools](#tools)20- [Workflows](#workflows)21- [Reference Guides](#reference-guides)2223---2425## Trigger Phrases2627Use this skill when you hear:2829- "scaffold a new project"30- "create a Next.js app"31- "set up FastAPI with React"32- "analyze code quality"33- "check for security issues in codebase"34- "what stack should I use"35- "set up a fullstack project"36- "generate project boilerplate"3738---3940## Tools4142### Project Scaffolder4344Generates fullstack project structures with boilerplate code.4546**Supported Templates:**4748- `nextjs` - Next.js 14+ with App Router, TypeScript, Tailwind CSS49- `fastapi-react` - FastAPI backend + React frontend + PostgreSQL50- `mern` - MongoDB, Express, React, Node.js with TypeScript51- `django-react` - Django REST Framework + React frontend5253**Usage:**5455```bash56# List available templates57python scripts/project_scaffolder.py --list-templates5859# Create Next.js project60python scripts/project_scaffolder.py nextjs my-app6162# Create FastAPI + React project63python scripts/project_scaffolder.py fastapi-react my-api6465# Create MERN stack project66python scripts/project_scaffolder.py mern my-project6768# Create Django + React project69python scripts/project_scaffolder.py django-react my-app7071# Specify output directory72python scripts/project_scaffolder.py nextjs my-app --output ./projects7374# JSON output75python scripts/project_scaffolder.py nextjs my-app --json76```7778**Parameters:**7980| Parameter | Description |81| ---------------------- | --------------------------------------------------------- |82| `template` | Template name (nextjs, fastapi-react, mern, django-react) |83| `project_name` | Name for the new project directory |84| `--output, -o` | Output directory (default: current directory) |85| `--list-templates, -l` | List all available templates |86| `--json` | Output in JSON format |8788**Output includes:**8990- Project structure with all necessary files91- Package configurations (package.json, requirements.txt)92- TypeScript configuration93- Docker and docker-compose setup94- Environment file templates95- Next steps for running the project9697---9899### Code Quality Analyzer100101Analyzes fullstack codebases for quality issues.102103**Analysis Categories:**104105- Security vulnerabilities (hardcoded secrets, injection risks)106- Code complexity metrics (cyclomatic complexity, nesting depth)107- Dependency health (outdated packages, known CVEs)108- Test coverage estimation109- Documentation quality110111**Usage:**112113```bash114# Analyze current directory115python scripts/code_quality_analyzer.py .116117# Analyze specific project118python scripts/code_quality_analyzer.py /path/to/project119120# Verbose output with detailed findings121python scripts/code_quality_analyzer.py . --verbose122123# JSON output124python scripts/code_quality_analyzer.py . --json125126# Save report to file127python scripts/code_quality_analyzer.py . --output report.json128```129130**Parameters:**131132| Parameter | Description |133| --------------- | ------------------------------------------------------ |134| `project_path` | Path to project directory (default: current directory) |135| `--verbose, -v` | Show detailed findings |136| `--json` | Output in JSON format |137| `--output, -o` | Write report to file |138139**Output includes:**140141- Overall score (0-100) with letter grade142- Security issues by severity (critical, high, medium, low)143- High complexity files144- Vulnerable dependencies with CVE references145- Test coverage estimate146- Documentation completeness147- Prioritized recommendations148149**Sample Output:**150151```152============================================================153CODE QUALITY ANALYSIS REPORT154============================================================155156Overall Score: 75/100 (Grade: C)157Files Analyzed: 45158Total Lines: 12,500159160--- SECURITY ---161 Critical: 1162 High: 2163 Medium: 5164165--- COMPLEXITY ---166 Average Complexity: 8.5167 High Complexity Files: 3168169--- RECOMMENDATIONS ---1701. [P0] SECURITY171 Issue: Potential hardcoded secret detected172 Action: Remove or secure sensitive data at line 42173```174175---176177## Workflows178179### Workflow 1: Start New Project1801811. Choose appropriate stack based on requirements (see Stack Decision Matrix)1822. Scaffold project structure1833. Verify scaffold: confirm `package.json` (or `requirements.txt`) exists1844. Run initial quality check — address any P0 issues before proceeding1855. Set up development environment186187```bash188# 1. Scaffold project189python scripts/project_scaffolder.py nextjs my-saas-app190191# 2. Verify scaffold succeeded192ls my-saas-app/package.json193194# 3. Navigate and install195cd my-saas-app196npm install197198# 4. Configure environment199cp .env.example .env.local200201# 5. Run quality check202python ../scripts/code_quality_analyzer.py .203204# 6. Start development205npm run dev206```207208### Workflow 2: Audit Existing Codebase2092101. Run code quality analysis2112. Review security findings — fix all P0 (critical) issues immediately2123. Re-run analyzer to confirm P0 issues are resolved2134. Create tickets for P1/P2 issues214215```bash216# 1. Full analysis217python scripts/code_quality_analyzer.py /path/to/project --verbose218219# 2. Generate detailed report220python scripts/code_quality_analyzer.py /path/to/project --json --output audit.json221222# 3. After fixing P0 issues, re-run to verify223python scripts/code_quality_analyzer.py /path/to/project --verbose224```225226### Workflow 3: Stack Selection227228Use the tech stack guide to evaluate options:2292301. **SEO Required?** → Next.js with SSR2312. **API-heavy backend?** → Separate FastAPI or NestJS2323. **Real-time features?** → Add WebSocket layer2334. **Team expertise** → Match stack to team skills234235See `references/tech_stack_guide.md` for detailed comparison.236237---238239## Reference Guides240241### Architecture Patterns (`references/architecture_patterns.md`)242243- Frontend component architecture (Atomic Design, Container/Presentational)244- Backend patterns (Clean Architecture, Repository Pattern)245- API design (REST conventions, GraphQL schema design)246- Database patterns (connection pooling, transactions, read replicas)247- Caching strategies (cache-aside, HTTP cache headers)248- Authentication architecture (JWT + refresh tokens, sessions)249250### Development Workflows (`references/development_workflows.md`)251252- Local development setup (Docker Compose, environment config)253- Git workflows (trunk-based, conventional commits)254- CI/CD pipelines (GitHub Actions examples)255- Testing strategies (unit, integration, E2E)256- Code review process (PR templates, checklists)257- Deployment strategies (blue-green, canary, feature flags)258- Monitoring and observability (logging, metrics, health checks)259260### Tech Stack Guide (`references/tech_stack_guide.md`)261262- Frontend frameworks comparison (Next.js, React+Vite, Vue)263- Backend frameworks (Express, Fastify, NestJS, FastAPI, Django)264- Database selection (PostgreSQL, MongoDB, Redis)265- ORMs (Prisma, Drizzle, SQLAlchemy)266- Authentication solutions (Auth.js, Clerk, custom JWT)267- Deployment platforms (Vercel, Railway, AWS)268- Stack recommendations by use case (MVP, SaaS, Enterprise)269270---271272## Quick Reference273274### Stack Decision Matrix275276| Requirement | Recommendation |277| ------------------- | ------------------- |278| SEO-critical site | Next.js with SSR |279| Internal dashboard | React + Vite |280| API-first backend | FastAPI or Fastify |281| Enterprise scale | NestJS + PostgreSQL |282| Rapid prototype | Next.js API routes |283| Document-heavy data | MongoDB |284| Complex queries | PostgreSQL |285286### Common Issues287288| Issue | Solution |289| --------------- | ------------------------------- |290| N+1 queries | Use DataLoader or eager loading |291| Slow builds | Check bundle size, lazy load |292| Auth complexity | Use Auth.js or Clerk |293| Type errors | Enable strict mode in tsconfig |294| CORS issues | Configure middleware properly |