Skip to main content

pre-pr

Run the full WealthWise pre-PR checklist and report a pass/fail for each gate. Triggers when asked to "run pre-PR checks", "check if this is ready to merge", "validate before opening a PR", or "run the full check". Does NOT trigger implicitly.

설치로 이동

소스 정보

저장소
hoangsonww/WealthWise-Finance-Tracker
최근 소스 활동
2026년 3월 3일 20:48
감지된 SKILL.md 언어
영어
스타
25
포크
13

설치 방법

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

소스 파일 검토

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

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
pre-pr
description
Run the full WealthWise pre-PR checklist and report a pass/fail for each gate. Triggers when asked to "run pre-PR checks", "check if this is ready to merge", "validate before opening a PR", or "run the full check". Does NOT trigger implicitly.
Run the full pre-PR checklist for WealthWise. Report pass/fail for each gate. ## Gates (run in sequence; stop on first failure unless `--all` is specified) ### Gate 1 — Format ```bash npm run format:check ``` If it fails, run `npm run format` to fix, then re-check. ### Gate 2 — Type checking ```bash npm run lint ``` Runs `tsc --noEmit` across all three packages via Turbo. All must pass. ### Gate 3 — Tests ```bash npm run test ``` All 330 tests must pass (138 API + 41 web + 151 shared-types). ### Gate 4 — Build ```bash npm run build ``` Production build must compile without errors. Validates Next.js output and API TypeScript. ### Gate 5 — Dependency audit ```bash npm audit --audit-level=high ``` High or critical vulnerabilities block the PR. Low/moderate are informational. ### Gate 6 — Branch safety ```bash git status && git diff --stat HEAD git branch --show-current ``` Verify: - No uncommitted changes to `.env` files - Current branch is not `main` or `master` - No secrets in staged files (scan for: `sk-`, `ghp_`, `mongodb+srv://`, `Bearer `) ## Final report Present results as a table: | Gate | Status | Notes | |------|--------|-------| | Format | ✓/✗ | | | Type check | ✓/✗ | | | Tests | ✓/✗ | X/330 passed | | Build | ✓/✗ | | | Audit | ✓/✗ | | | Branch | ✓/✗ | Branch: `<name>` | If all gates pass: **"Ready to open PR."** If any gate fails: list exactly what must be fixed before the PR can be opened.
GitHub에서 보기