Skip to main content

quality-gates

Run the standard npm lint, test, format, and build checks expected before sharing dial-mind-map-frontend changes.

Quellinformationen

Repository
epam/ai-dial-mind-map-frontend
Letzte Quellaktivität
6. Mai 2026 um 08:21
Erkannte Sprache von SKILL.md
Englisch
Sterne
4
Forks
2

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
quality-gates
description
Run the standard npm lint, test, format, and build checks expected before sharing dial-mind-map-frontend changes.
origin
adapted-from-ecc
# Skill: quality-gates ## When to use Before a PR, before handing off work, or when the user asks “is this ready?”. ## Commands (npm) Run from the repository root: 1. **`npm run lint`** — ESLint flat config must pass (`eslint.config.mjs`). 2. **`npm run test`** — Jest with jsdom; watch `lodash-es` mapping if tests fail on imports. 3. **`npm run format:ci`** — Prettier check for `ts`, `tsx`, `md` when formatting could have drifted. 4. **`npm run build`** — Next.js production build for anything touching app routes, API handlers, or middleware. Optional: **`npm run test:coverage`** when the user cares about coverage deltas. ## Interpretation - Fix **errors** first; **warnings** (`no-explicit-any`, etc.) should not grow without reason. - If CI parity matters, favor **`npm run test:ci`** for a non-watch run. ## Done when All chosen commands succeed and any failures are explained with next steps—not ignored.
Auf GitHub ansehen