一键导入
verify
Run full verification for SSM — backend pytest + ruff + mypy + frontend lint + type-check. Use before marking work done or pushing changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run full verification for SSM — backend pytest + ruff + mypy + frontend lint + type-check. Use before marking work done or pushing changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Scaffold a new /api/v2 endpoint or resource end-to-end — Pydantic models + protected router + error codes + contract tests + frontend service/types + CHANGELOG. Use for any new API route, resource, or field exposed to the frontend.
Create and verify an Alembic migration for SSM. Use for ANY change to backend/src/ssm/db/models.py or the DB schema. Covers autogenerate review, the fresh/legacy/downgrade verification matrix, the Diesel legacy-DB trap, and same-commit packaging.
Package the current work into a correct SSM commit — pairing guards (model↔migration, backend↔frontend types), CHANGELOG entry, full verification, secrets hygiene, Conventional Commit message. Use whenever committing changes in this repo.
Cut a new SSM release via ./release.sh. Accepts patch|minor|major as $ARGUMENTS. Validates clean tree, bumps VERSION + backend/pyproject.toml, commits, tags, pushes (triggers GitHub Actions build).
| name | verify |
| description | Run full verification for SSM — backend pytest + ruff + mypy + frontend lint + type-check. Use before marking work done or pushing changes. |
Run all checks in parallel where possible. Report pass/fail per step. Do not proceed past failures without surfacing them.
cd backend && uv run pytest
cd backend && uv run ruff check
cd backend && uv run mypy --strict src
cd frontend && npm run lint
cd frontend && npm run type-check
For each of the 4 checks: ✅ pass or ❌ fail with the first ~20 lines of failure output. If all pass, one-line summary.