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 |
Creator: Engineering Team
License: MIT
Source Repo: neekware/dojo-skills
Source Bucket: engineering-team
Original Path: engineering-team/senior-fullstack
1---2name: senior-fullstack-23description: "> **Note:** Bundled scripts ship as Markdown reference (`.md`) — copy the code out of the `.md` file to run it."4metadata:5 source: https://skillmd.com/skills/neekware/senior-fullstack-26---7> **Note:** Bundled scripts ship as Markdown reference (`.md`) — copy the code out of the `.md` file to run it.89# Senior Fullstack1011Fullstack development skill with project scaffolding and code quality analysis tools.1213---1415## Table of Contents1617- [Trigger Phrases](#trigger-phrases)18- [Tools](#tools)19- [Workflows](#workflows)20- [Reference Guides](#reference-guides)2122---2324## Trigger Phrases2526Use this skill when you hear:2728- "scaffold a new project"29- "create a Next.js app"30- "set up FastAPI with React"31- "analyze code quality"32- "check for security issues in codebase"33- "what stack should I use"34- "set up a fullstack project"35- "generate project boilerplate"3637---3839## Tools4041### Project Scaffolder4243Generates fullstack project structures with boilerplate code.4445**Supported Templates:**4647- `nextjs` - Next.js 14+ with App Router, TypeScript, Tailwind CSS48- `fastapi-react` - FastAPI backend + React frontend + PostgreSQL49- `mern` - MongoDB, Express, React, Node.js with TypeScript50- `django-react` - Django REST Framework + React frontend5152**Usage:**5354```bash55# List available templates56python scripts/project_scaffolder.py --list-templates5758# Create Next.js project59python scripts/project_scaffolder.py nextjs my-app6061# Create FastAPI + React project62python scripts/project_scaffolder.py fastapi-react my-api6364# Create MERN stack project65python scripts/project_scaffolder.py mern my-project6667# Create Django + React project68python scripts/project_scaffolder.py django-react my-app6970# Specify output directory71python scripts/project_scaffolder.py nextjs my-app --output ./projects7273# JSON output74python scripts/project_scaffolder.py nextjs my-app --json75```7677**Parameters:**7879| Parameter | Description |80| ---------------------- | --------------------------------------------------------- |81| `template` | Template name (nextjs, fastapi-react, mern, django-react) |82| `project_name` | Name for the new project directory |83| `--output, -o` | Output directory (default: current directory) |84| `--list-templates, -l` | List all available templates |85| `--json` | Output in JSON format |8687**Output includes:**8889- Project structure with all necessary files90- Package configurations (package.json, requirements.txt)91- TypeScript configuration92- Docker and docker-compose setup93- Environment file templates94- Next steps for running the project9596---9798### Code Quality Analyzer99100Analyzes fullstack codebases for quality issues.101102**Analysis Categories:**103104- Security vulnerabilities (hardcoded secrets, injection risks)105- Code complexity metrics (cyclomatic complexity, nesting depth)106- Dependency health (outdated packages, known CVEs)107- Test coverage estimation108- Documentation quality109110**Usage:**111112```bash113# Analyze current directory114python scripts/code_quality_analyzer.py .115116# Analyze specific project117python scripts/code_quality_analyzer.py /path/to/project118119# Verbose output with detailed findings120python scripts/code_quality_analyzer.py . --verbose121122# JSON output123python scripts/code_quality_analyzer.py . --json124125# Save report to file126python scripts/code_quality_analyzer.py . --output report.json127```128129**Parameters:**130131| Parameter | Description |132| --------------- | ------------------------------------------------------ |133| `project_path` | Path to project directory (default: current directory) |134| `--verbose, -v` | Show detailed findings |135| `--json` | Output in JSON format |136| `--output, -o` | Write report to file |137138**Output includes:**139140- Overall score (0-100) with letter grade141- Security issues by severity (critical, high, medium, low)142- High complexity files143- Vulnerable dependencies with CVE references144- Test coverage estimate145- Documentation completeness146- Prioritized recommendations147148**Sample Output:**149150```151============================================================152CODE QUALITY ANALYSIS REPORT153============================================================154155Overall Score: 75/100 (Grade: C)156Files Analyzed: 45157Total Lines: 12,500158159--- SECURITY ---160 Critical: 1161 High: 2162 Medium: 5163164--- COMPLEXITY ---165 Average Complexity: 8.5166 High Complexity Files: 3167168--- RECOMMENDATIONS ---1691. [P0] SECURITY170 Issue: Potential hardcoded secret detected171 Action: Remove or secure sensitive data at line 42172```173174---175176## Workflows177178### Workflow 1: Start New Project1791801. Choose appropriate stack based on requirements (see Stack Decision Matrix)1812. Scaffold project structure1823. Verify scaffold: confirm `package.json` (or `requirements.txt`) exists1834. Run initial quality check — address any P0 issues before proceeding1845. Set up development environment185186```bash187# 1. Scaffold project188python scripts/project_scaffolder.py nextjs my-saas-app189190# 2. Verify scaffold succeeded191ls my-saas-app/package.json192193# 3. Navigate and install194cd my-saas-app195npm install196197# 4. Configure environment198cp .env.example .env.local199200# 5. Run quality check201python ../scripts/code_quality_analyzer.py .202203# 6. Start development204npm run dev205```206207### Workflow 2: Audit Existing Codebase2082091. Run code quality analysis2102. Review security findings — fix all P0 (critical) issues immediately2113. Re-run analyzer to confirm P0 issues are resolved2124. Create tickets for P1/P2 issues213214```bash215# 1. Full analysis216python scripts/code_quality_analyzer.py /path/to/project --verbose217218# 2. Generate detailed report219python scripts/code_quality_analyzer.py /path/to/project --json --output audit.json220221# 3. After fixing P0 issues, re-run to verify222python scripts/code_quality_analyzer.py /path/to/project --verbose223```224225### Workflow 3: Stack Selection226227Use the tech stack guide to evaluate options:2282291. **SEO Required?** → Next.js with SSR2302. **API-heavy backend?** → Separate FastAPI or NestJS2313. **Real-time features?** → Add WebSocket layer2324. **Team expertise** → Match stack to team skills233234See `references/tech_stack_guide.md` for detailed comparison.235236---237238## Reference Guides239240### Architecture Patterns (`references/architecture_patterns.md`)241242- Frontend component architecture (Atomic Design, Container/Presentational)243- Backend patterns (Clean Architecture, Repository Pattern)244- API design (REST conventions, GraphQL schema design)245- Database patterns (connection pooling, transactions, read replicas)246- Caching strategies (cache-aside, HTTP cache headers)247- Authentication architecture (JWT + refresh tokens, sessions)248249### Development Workflows (`references/development_workflows.md`)250251- Local development setup (Docker Compose, environment config)252- Git workflows (trunk-based, conventional commits)253- CI/CD pipelines (GitHub Actions examples)254- Testing strategies (unit, integration, E2E)255- Code review process (PR templates, checklists)256- Deployment strategies (blue-green, canary, feature flags)257- Monitoring and observability (logging, metrics, health checks)258259### Tech Stack Guide (`references/tech_stack_guide.md`)260261- Frontend frameworks comparison (Next.js, React+Vite, Vue)262- Backend frameworks (Express, Fastify, NestJS, FastAPI, Django)263- Database selection (PostgreSQL, MongoDB, Redis)264- ORMs (Prisma, Drizzle, SQLAlchemy)265- Authentication solutions (Auth.js, Clerk, custom JWT)266- Deployment platforms (Vercel, Railway, AWS)267- Stack recommendations by use case (MVP, SaaS, Enterprise)268269---270271## Quick Reference272273### Stack Decision Matrix274275| Requirement | Recommendation |276| ------------------- | ------------------- |277| SEO-critical site | Next.js with SSR |278| Internal dashboard | React + Vite |279| API-first backend | FastAPI or Fastify |280| Enterprise scale | NestJS + PostgreSQL |281| Rapid prototype | Next.js API routes |282| Document-heavy data | MongoDB |283| Complex queries | PostgreSQL |284285### Common Issues286287| Issue | Solution |288| --------------- | ------------------------------- |289| N+1 queries | Use DataLoader or eager loading |290| Slow builds | Check bundle size, lazy load |291| Auth complexity | Use Auth.js or Clerk |292| Type errors | Enable strict mode in tsconfig |293| CORS issues | Configure middleware properly |294295> **Creator:** Engineering Team296> **License:** MIT297> **Source Repo:** `neekware/dojo-skills`298> **Source Bucket:** `engineering-team`299> **Original Path:** `engineering-team/senior-fullstack`