Senior fullstack

From borghei/Claude-Skills · View interactive version

Senior fullstack is an AI agent skill from the GitHub repository borghei/Claude-Skills. Fullstack development toolkit with project scaffolding for Next.js/FastAPI/MERN/Django stacks and code quality analysis. Use when scaffolding new projects, analyzing codebase quality, or implementing fullstack architecture patterns.

How to use this skill

Skill file

Senior Fullstack

Fullstack development skill that scaffolds production-ready project structures (Next.js, FastAPI+React, MERN, Django+React) and runs static code quality analysis across security, complexity, dependency health, test coverage, and documentation — paired with reference guides for architecture patterns, development workflows, and stack selection.

Core Capabilities

When to Use

Boundaries: frontend-only work (components, Next.js performance, bundle size) belongs to

senior-frontend; a weighted, evidence-backed comparison of technologies belongs to

tech-stack-evaluator; system-level architecture decisions belong to senior-architect.

Clarify First

Before scaffolding, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.

Tools Overview

| Tool | Purpose | Example (runs as written) |

|------|---------|---------|

| project_scaffolder.py | Scaffold nextjs, fastapi-react, mern or django-react with Docker, env templates and per-service package configs (--output, --list-templates, --json) | python scripts/project_scaffolder.py fastapi-react my-app --output /tmp/projects |

| code_quality_analyzer.py | Static scan for security patterns, complexity, dependency hygiene, test-file ratio and docs, with a grade and P0-P2 actions (--verbose, --json, --output) | python scripts/code_quality_analyzer.py /tmp/projects/my-app --json |

Exit codes: 0 ok; 2 bad input (unknown template, target folder exists, unwritable path,

missing analysis path). The analyzer's grade never fails the run.

The scaffolds target Next.js 16, React 19, Tailwind CSS v4, Vite 8, Express 5, Node 22,

Python 3.12 and PostgreSQL 17 / MongoDB 7. Most generated files are working starting points;

some (database clients, auth) are stubs to fill in. Run npm install && npm run build (and

the backend's install and migrations) once before handing a scaffold over. The analyzer's

"coverage" is a test-file ratio, not measured coverage; use the test runner's coverage report

for real numbers.

Workflow

  1. Pick the template from the Clarify First answers and scaffold into the target folder.
  2. Install and build every service once; fix anything the build reports before writing features.
  3. Run code_quality_analyzer.py on the result and on each later milestone; act on P0 items first.
  4. Done when every service builds and starts with docker compose up, the health endpoint answers, and the analyzer reports no P0 findings.

References

Load the reference that matches the task — keep this file lean and pull detail on demand:

Scope & Limitations

What this skill covers:

What this skill does NOT cover:

Anti-Patterns

Shipping the Scaffold's Defaults

Mistake: Deploying with the generated .env.example secrets, the dev-server Docker command and open CORS.

Why it happens: The scaffold runs, so it feels production-ready.

Instead: Treat it as a dev setup. Replace secrets, switch containers to production commands, lock CORS to known origins, and add health checks before deploying.

One Database Model Shared Across Layers

Mistake: Returning ORM models straight from API handlers.

Why it happens: It saves a mapping layer.

Instead: Keep request/response schemas (Pydantic, Zod, DRF serializers) separate from persistence models, so a column change does not silently change the public API or leak fields like password hashes.

Grading Quality by the Analyzer Alone

Mistake: Reporting an A grade as "the codebase is healthy".

Why it happens: The grade is a single, quotable number.

Instead: The analyzer reads code statically. Pair it with the real test suite's coverage, npm audit / pip-audit, and a human review of the riskiest modules.

Files

| File | Purpose |

|------|---------|

| scripts/project_scaffolder.py | Fullstack project scaffolder for four stacks |

| scripts/code_quality_analyzer.py | Static code quality scan and grade |

| references/*.md | Tooling and quality workflows, architecture patterns, development workflows, stack guide |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.