smithery.ai

build-and-format

Run build verification and code formatting across all RAPID project components (backend, frontend, CDK). Use after implementing code changes, before committing, after modifying Prisma schema, or before creating a pull request.

First seen Mar 25, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,638 B
  • docs SUMMARY.md 79 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Build and Format Verification

Build Sequence

Run builds in dependency order (backend must build before CDK):

# 1. Backend (must be first - CDK depends on it)
cd backend
npm run build
npm run format

# 2. Frontend
cd ../frontend
npm run build
npm run format

# 3. CDK (depends on backend build)
cd ../cdk
npx cdk synth

Prisma-Specific Build

After modifying backend/prisma/schema.prisma:

cd backend
npm run prisma:generate
npm run format
npm run build

Common Errors

Error Solution
Module not found: @prisma/client cd backend && npm run prisma:generate
Cannot find module '../backend/...' (CDK) Build backend first
Docker daemon not running (CDK synth) Start Docker Desktop

Quick Commands

Task Command
Backend build + format cd backend && npm run build && npm run format
Frontend build + format cd frontend && npm run build && npm run format
CDK synth cd cdk && npx cdk synth
Prisma generate cd backend && npm run prisma:generate

Success Criteria

  • Backend: TypeScript compiles without errors
  • Frontend: Vite builds without errors
  • CDK: CloudFormation template generates
  • All code formatted by Prettier

After successful build, consider running /test-database-feature if database changes were made.