Qlty During Development

作者 parcadeid07ff4b06b62無授權條款3.9K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫8 個月前更新

QLTY During Development

AI 產生的概覽

指導在撰寫程式碼期間執行 QLTY 檢查與格式化,以便及早發現問題。

功能
此技能指導代理在撰寫程式碼時何時以及如何執行 QLTY 檢查。它列出用於程式碼檢查、格式化、檢查特定檔案以及自動修正的指令,並說明先檢查已變更檔案、修正錯誤、再格式化的整合模式。它也指出不應執行檢查的情況,例如閱讀程式碼或重構過程中。
適用情境
在完成新檔案後、對現有檔案進行大幅修改後,或提交變更前使用。僅閱讀或瀏覽程式碼、進行單行錯字修正,或處於多檔案重構過程中時,應避免使用。
執行需求
需要安裝並可使用 QLTY 命令列工具;此技能本身僅包含說明,不附帶指令碼。

QLTY During Development

Run QLTY checks during code writing to catch issues early.

When to Run

Run QLTY after significant code changes:

  • After completing a new file
  • After substantial edits to existing files
  • Before committing changes

Commands

bash
# Quick lint checkqlty check
# Format codeqlty fmt
# Check specific filesqlty check src/sdk/providers.ts
# Auto-fix issuesqlty check --fix

Integration Pattern

After writing code:

  1. Run qlty check on changed files
  2. If errors, fix them before proceeding
  3. Run qlty fmt to ensure formatting

Don't Run When

  • Just reading/exploring code
  • Making single-line typo fixes
  • In the middle of multi-file refactoring (run at end)

來源與署名

來源:parcadei/continuous-claude-v3位於.claude/skills/qlty-during-development提交d07ff4b

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架