用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/github/gh-aw --skill pr-to-go-linter命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
GitHub Agentic Workflows (`gh-aw`) is a GitHub CLI extension for writing Agentic Workflows in markdown and compiling them to GitHub Actions.
Operate safely and efficiently inside a gh-aw workflow with a restricted tools/bash allowlist, and correctly triage tool-denial events before they exhaust the session's denial budget.
Optional Sergo examples for cache formats and reporting templates.
基于 SOC 职业分类
正在显示 SKILL.md
| name | pr-to-go-linter |
| description | Generate a new pkg/linters analyzer from a merged or open PR pattern. |
Use this skill when a user asks to create a new custom Go linter based on a code pattern fixed in a pull request.
Convert one concrete PR pattern into a new go/analysis linter under pkg/linters/<name>/ with tests and runner registration.
pkg/linters/ already covers it.pkg/linters/<name>/<name>.go with exported Analyzerpkg/linters/<name>/<name>_test.go using analysistestpkg/linters/<name>/testdata/src/<name>/<name>.go fixtures with // wantcmd/linters/main.go registration in multichecker.Main(...)go test ./pkg/linters/<name>/...go build ./cmd/lintersmake golint-customFor PR #33038 (Refactor pkg mutex sites to use deferred unlocks consistently), derive a linter idea that reports lock/unlock sections that manually unlock instead of deferring unlock immediately after lock when the function body matches the same cache/logger-style critical section pattern.
pkg/linters/<name>/ and cmd/linters/main.go.