code-quality
Run lint, format, and build checks across the monorepo. Use when asked to check code quality, fix lint errors, or verify the build passes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run lint, format, and build checks across the monorepo. Use when asked to check code quality, fix lint errors, or verify the build passes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate a complete CRUD or read-only list page in the Angular portal with service, routing, and menu integration. Use when adding a new feature page to the portal.
Regenerate TypeScript types from the backend OpenAPI spec for the portal. Use after adding or changing backend API endpoints, DTOs, or response shapes.
Add a new notification provider (email, SMS, WhatsApp, push, voice) to the OsmoX API with service, consumer, queue wiring, and master provider seed.
Create a git commit following project conventions. Use when asked to commit changes.
Create, run, or revert TypeORM database migrations. Use when modifying entities, adding columns, creating tables, or troubleshooting database schema issues.
Sync source markdown docs to the Mintlify documentation site. Use when source docs in apps/api/docs/ are added or updated, or when creating new docs-site pages.
| name | code-quality |
| description | Run lint, format, and build checks across the monorepo. Use when asked to check code quality, fix lint errors, or verify the build passes. |
| argument-hint | [api|portal|all] |
| allowed-tools | Bash, Read, Grep |
Run lint, format, and build verification for the specified app(s).
Target: $ARGUMENTS (defaults to all if not specified)
apps/api)cd apps/api
npm run lint # ESLint with --max-warnings=0
npm run build # TypeScript compilation
If lint fails, auto-fix:
npm run lint:fix
npm run format
apps/portal)cd apps/portal
npm run lint # ESLint with --max-warnings=0
npx ng build # Angular production build
If lint fails, auto-fix:
npm run lint-fix-format # Combined: format + lint:fix + format
--max-warnings=0any types: @typescript-eslint/no-explicit-any: error in both apps