Installable skillMIT

Express Prisma Scaffold

Master skill for Express.js + Prisma + Turborepo backend API scaffolding. Trigger for: "create module", "scaffold", "add CRUD", "setup prisma", "add auth", "add middleware", "setup project", "create tests", "add missing tests", or any Express/Node.js backend task.

BY raihansharifrimonUPDATED Oct 30, 2026
INTENDED FOR◈OpenClawInstall in a listed agent.

instructions.md

---
name: turborepo-express-api-f6b21b52f2d5
version: 1.0.0
license: MIT
breaking_changes:
  - 1.0.0: initial release
description: >
  Master skill for Express.js + Prisma + Turborepo backend API scaffolding. Trigger for:
  "create module", "scaffold", "add CRUD", "setup prisma", "add auth", "add middleware",
  "setup project", "create tests", "add missing tests", or any Express/Node.js backend task.
---

# Express Prisma Scaffold

Delegates to sub-skills — only the needed sub-skill loads per task.

## Preflight (run before every task)

1. Load `references/project.config.md` — ask user to fill any blank values
2. Check language: if not set, ask "TypeScript or JavaScript?"
3. Print confirmation:
```
✅ Preflight
config: loaded | language: TS/JS | path: {api_src_path} | skill: {sub-skill}
```
Do not generate files before printing this.

## Sub-Skill Router

| Task | Load |
|---|---|
| Create/scaffold module, CRUD, controller, service | `skills/module-scaffold/SKILL.md` ⚠️ has own preflight: schema validation gate if Prisma model is new |
| Prisma setup, migrations, schema, seed, pagination, soft delete | `skills/prisma-database/SKILL.md` |
| Unit tests, test cases, review tests, missing tests, vitest setup | `skills/testing/SKILL.md` |
| Project setup, initial structure, scaffold new API app | `skills/project-setup/SKILL.md` ⚠️ has own preflight: monorepo check, app name, TS config, linter |

Always load `references/conventions.md` alongside the sub-skill.

## Auto-trigger Testing

When `module-scaffold` finishes generating a module → automatically trigger
`skills/testing/SKILL.md` to scaffold the `__tests__/` folder skeleton.

## Resume

User says "resume [task] for [resource]" → check existing files → generate only missing ones.

## Adding Sub-Skills

1. Create `skills/{name}/SKILL.md` + `skills/{name}/references/`
2. Add row to router table above
3. Bump version
COMPATIBILITY & REFERENCES

Platform guidance

Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.