Skip to main content

backend-quality-gate

After substantive edits under backend/app, run static checks and optional Radon complexity (matches Makefile and Cursor post-write hook intent).

소스 정보

저장소
griddynamics/specflow
최근 소스 활동
2026년 6월 30일 09:29
감지된 SKILL.md 언어
영어
스타
9
포크
2

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
backend-quality-gate
description
After substantive edits under backend/app, run static checks and optional Radon complexity (matches Makefile and Cursor post-write hook intent).
# Backend quality gate (SpecFlow) Use when finishing or reviewing a change that touches `backend/app/**/*.py`. ## Steps 1. From repo root: `make check` (ruff, mypy, vulture as in Makefile). 2. If the change is non-trivial: `make check-complexity` (summary) or `make check-complexity-diff` against `main` (see `CLAUDE.md` for `METRIC=cc|mi|hal`). 3. For a single file: `make check-complexity-cc FILE=app/...` and `make check-complexity-mi FILE=app/...`. 4. Confirm SRP, DRY, and that state/credential rules match `docs/PATTERNS/INDEX.md` and `.cursor/rules/backend-python.mdc`. **Note:** Cursor may show ruff/radon inline via `.cursor/hooks.json`; that does not replace `make check` or tests. ## Tests - `make unit-tests` (required before merge for substantive work)
GitHub에서 보기