build-and-format
БесплатноБез исполняемых скриптовНе проверенRun build verification and code formatting across all RAPID project components (backend, frontend, CDK). Use after implementing code changes, before…
Об этом скилле
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.
Установить build-and-format в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл 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.
Как установить скилл build-and-format?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл build-and-format запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic