·pre-commit-checks
</>

pre-commit-checks

azure-sdk-for-net 的預提交驗證檢查。在提交或推送 SDK 套件的變更之前使用此命令。運行 dotnet 格式、匯出公共 API 清單、更新程式碼片段並根據需要重新產生程式碼。

15安裝·2熱度·@azure

安裝

$npx skills add https://github.com/azure/azure-sdk-for-net --skill pre-commit-checks

如何安裝 pre-commit-checks

透過命令列快速安裝 pre-commit-checks AI 技能到你的開發環境

  1. 開啟終端機: 開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 執行安裝指令: 複製並執行以下指令:npx skills add https://github.com/azure/azure-sdk-for-net --skill pre-commit-checks
  3. 驗證安裝: 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

來源:azure/azure-sdk-for-net。

SKILL.md

查看原文

Run these checks after making changes to SDK packages under sdk/ and before staging, committing, or pushing. These steps may produce additional file changes that must be included in the commit.

General rule: Steps 3–5 are conditional to save time, but if you are unsure whether a step is needed, always run it. It is better to run an unnecessary script than to miss a required regeneration.

For every csproj that had files change beneath it — src, tests, samples, perf, stress, or any other project type — run:

azure-sdk-for-net 的預提交驗證檢查。在提交或推送 SDK 套件的變更之前使用此命令。運行 dotnet 格式、匯出公共 API 清單、更新程式碼片段並根據需要重新產生程式碼。 來源:azure/azure-sdk-for-net。

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/azure/azure-sdk-for-net --skill pre-commit-checks
分類
</>開發工具
認證
收錄時間
2026-03-09
更新時間
2026-03-10

Browse more skills from azure/azure-sdk-for-net

快速解答

什麼是 pre-commit-checks?

azure-sdk-for-net 的預提交驗證檢查。在提交或推送 SDK 套件的變更之前使用此命令。運行 dotnet 格式、匯出公共 API 清單、更新程式碼片段並根據需要重新產生程式碼。 來源:azure/azure-sdk-for-net。

如何安裝 pre-commit-checks?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/azure/azure-sdk-for-net --skill pre-commit-checks 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

這個 Skill 的原始碼在哪?

https://github.com/azure/azure-sdk-for-net

詳情

分類
</>開發工具
來源
skills.sh
收錄時間
2026-03-09