Verifies pre-commit quality gates by running git status/diff, npm test, npm lint; checks build errors, test pass/coverage, code quality, security, docs, workflow standards before committing.
npx claudepluginhub joshuarweaver/cascade-code-general-misc-3 --plugin asiaostrich-universal-dev-standardsThis skill is limited to using the following tools:
Verify pre-commit quality gates before committing code to ensure codebase stability.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Verify pre-commit quality gates before committing code to ensure codebase stability.
在提交程式碼前驗證品質關卡,確保程式碼庫的穩定性。
git status and git diff to understand pending changesnpm test (or project test command) to verify all tests passnpm run lint to check code style compliance| Gate | Check | 檢查項目 |
|---|---|---|
| Build | Code compiles with zero errors | 編譯零錯誤 |
| Tests | All existing tests pass (100%) | 所有測試通過 |
| Coverage | Test coverage not decreased | 覆蓋率未下降 |
| Code Quality | Follows coding standards, no code smells | 符合編碼規範 |
| Security | No hardcoded secrets or vulnerabilities | 無硬編碼密鑰 |
| Documentation | API docs and CHANGELOG updated if needed | 文件已更新 |
| Workflow | Branch naming and commit message correct | 分支和提交格式正確 |
| Upstream | No .standards/ or .claude/skills/ modifications (advisory) | 無 UDS 上游檔案修改(建議性) |
/checkin - Run full quality gate verification on current changes/commit to create the commit messageAfter /checkin completes, the AI assistant should suggest:
品質關卡驗證完成。建議下一步 / Quality gate verification complete. Suggested next steps:
- 全部通過 ✅ → 執行
/commit提交變更 ⭐ Recommended / 推薦 — All passed → Run/committo commit- 有失敗項目 ❌ → 修復問題後重新執行
/checkin— Failures found → Fix then re-run/checkin- 需要程式碼審查 → 執行
/review進行自我審查 — Need review → Run/reviewfor self-review- UDS 安裝有異常 → 執行
/audit診斷問題 — UDS issues detected → Run/auditto diagnose
完整的 AI 行為定義請參閱對應的命令文件:
/checkinFor complete AI agent behavior definition, see the corresponding command file:
/checkin