checkin

Check-in Assistant | 簽入助手

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "checkin" with this command: npx skills add asiaostrich/universal-dev-standards/asiaostrich-universal-dev-standards-checkin

Check-in Assistant | 簽入助手

Verify pre-commit quality gates before committing code to ensure codebase stability.

在提交程式碼前驗證品質關卡,確保程式碼庫的穩定性。

Workflow | 工作流程

  • Check git status - Run git status and git diff to understand pending changes

  • Run tests - Execute npm test (or project test command) to verify all tests pass

  • Run linting - Execute npm run lint to check code style compliance

  • Verify quality gates - Check each gate against the checklist below

  • Report results - Present pass/fail summary and recommend next steps

Quality Gates | 品質關卡

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 分支和提交格式正確

Never Commit When | 禁止提交的情況

  • Build has errors | 建置有錯誤

  • Tests are failing | 測試失敗

  • Feature is incomplete and would break functionality | 功能不完整會破壞現有功能

  • Contains WIP/TODO in critical logic | 關鍵邏輯中有 WIP/TODO

  • Contains debugging code (console.log, print) | 包含除錯程式碼

  • Contains commented-out code blocks | 包含被註解的程式碼區塊

Usage | 使用方式

  • /checkin

  • Run full quality gate verification on current changes

  • After verification, proceed with /commit to create the commit message

Next Steps Guidance | 下一步引導

After /checkin completes, the AI assistant should suggest:

品質關卡驗證完成。建議下一步 / Quality gate verification complete. Suggested next steps:

  • 全部通過 ✅ → 執行 /commit 提交變更 — All passed → Run /commit to commit

  • 有失敗項目 ❌ → 修復問題後重新執行 /checkin — Failures found → Fix then re-run /checkin

  • 需要程式碼審查 → 執行 /review 進行自我審查 — Need review → Run /review for self-review

  • UDS 安裝有異常 → 執行 /audit 診斷問題 — UDS issues detected → Run /audit to diagnose

Reference | 參考

  • Detailed guide: guide.md

  • Core standard: checkin-standards.md

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

atdd

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

docgen

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

requirement

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

review

No summary provided by upstream source.

Repository SourceNeeds Review