# Web Backend Builder

> Scaffold backend API, data models, ORM setup, and endpoint inventory with OpenAPI output.

- Skill: `diegosouzapw/web-backend-builder` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add diegosouzapw/web-backend-builder`
- Raw SKILL.md: https://api.skillmd.com/api/skills/diegosouzapw/web-backend-builder/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- License: Apache-2.0
- Author: diegosouzapw (https://skillmd.com/u/diegosouzapw)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/diegosouzapw/web-backend-builder

---


# Web Backend Builder

## Objective

Scaffold a backend foundation from `project-config.json` including data model
planning, ORM recommendations, API endpoint inventory, and OpenAPI output.

## Required Workflow

1. Read `project-config.json`.
2. Scaffold the selected backend framework (FastAPI, Express, Django, Gin, and other configured options).
3. Define data models from project type and ask for missing entities when unclear.
4. Configure ORM/query layer guidance:
   - Prisma (Node.js)
   - Drizzle ORM (TypeScript)
   - SQLAlchemy (FastAPI/Python)
   - Mongoose (MongoDB)
5. Scaffold CRUD endpoints, auth middleware, and file upload handlers.
6. If Supabase is selected, include `@supabase/supabase-js`, RLS policy planning, and Edge Function notes.
7. Enforce environment variable setup with `.env.example` and no committed secrets.
8. Generate `openapi.yaml` covering all endpoints.
9. Output backend scaffold artifacts, `openapi.yaml`, and `backend-report.json`.

## Execution

```bash
python skills/web-backend-builder/scripts/backend_builder.py --input <workspace> --output <out.json> --format json
```

## References

- `references/tools.md`

