Skip to main content

update-vettedpositions

Update .vettedpositions after harmless line-number moves in goanalysis output.

インストールへ移動

ソース情報

リポジトリ
authgear/authgear-server
ソースの最終更新活動
2026年4月14日 09:56
検出された SKILL.md の言語
英語
スター
2,051
フォーク
124

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
update-vettedpositions
description
Update .vettedpositions after harmless line-number moves in goanalysis output.
argument-hint
<changed files or analysis output>
Use this skill only for line-number drift in vetted positions. ## Workflow 1. Run `go run ./devtools/goanalysis ./cmd/... ./pkg/...`. 2. For each reported item, check whether it is only a line-number move with no semantic change. 3. If it is a line-number move, update `.vettedpositions` to remove the old position and add the new one. 4. If it is a genuinely new warning, stop and report it instead of updating `.vettedpositions`. 5. Re-run `go run ./devtools/goanalysis ./cmd/... ./pkg/...`. 6. Run `make sort-vettedpositions`. 7. Commit the change with the message `Update .vettedpositions for changed line numbers`. ## Notes - Do not add new vetted positions for new issues. - Keep the file sorted by using the repo target, not by hand.
GitHubで見る