Files
his/.qoder/skills/verify/SKILL.md

41 lines
1.1 KiB
Markdown

---
name: verify
description: Run full verification suite for HealthLink-HIS. Use after completing a feature or bug fix to ensure both backend and frontend pass all checks.
---
Run the complete verification pipeline for HealthLink-HIS:
## Backend verification (in `healthlink-his-server/`):
1. `mvn clean compile -DskipTests` — compile check
2. `mvn install -DskipTests` — build and install
3. `mvn test` — run all unit tests
## Frontend verification (in `healthlink-his-ui/`):
1. `npm run build:dev` — build check
2. `npm run lint` — ESLint check
3. `npm run test:run` — Vitest unit tests
## Report format:
```
=== Backend ===
Compile: ✓/✗ (errors if any)
Build: ✓/✗
Tests: ✓/✗ (passed/failed/skipped)
=== Frontend ===
Build: ✓/✗ (errors if any)
Lint: ✓/✗ (warnings/errors)
Tests: ✓/✗ (passed/failed)
=== Summary ===
All checks passed: ✓/✗
```
## On failure:
- Show the exact error message and file/line
- Suggest the likely fix based on the error type
- Do NOT claim the task is complete until all checks pass
## Iron Law 8 reminder:
"没有跑过验证命令,就不能说'完成了''通过了''没问题'"