Skip to main content
在 Manus 中运行任何 Skill
一键导入

goast-policy

星标75
分支3
更新时间2026年7月4日 07:34

Write, review, and debug Rego policies for goast — the Go AST static analysis tool that lints Go source code with OPA. Use this skill whenever the user wants to create a custom Go lint rule with goast, write or fix a .rego file for `package goast`, understand goast's AST JSON input format, translate a Go coding convention ("forbid fmt.Println", "every function must take context.Context first") into a policy, or debug why a goast policy does not match. Trigger even if the user only says "add a goast rule" or shows a failing `goast eval` run.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
4 个文件
SKILL.md
readonly