review-crds

GitHub

用于审查 Agent Substrate 中的 Kubernetes CRD,确保其符合 API 规范。输出违规位置、规则引用及修复建议的 JSON 列表。

.agents/skills/review-crds/SKILL.md agent-substrate/substrate

触发场景

需要检查 CRD 合规性时 审查 Kubernetes 自定义资源定义时

安装

npx skills add agent-substrate/substrate --skill review-crds -g -y
更多选项

非标准路径

npx skills add https://github.com/agent-substrate/substrate/tree/main/.agents/skills/review-crds -g -y

不安装直接使用

npx skills use agent-substrate/substrate@review-crds

指定 Agent (Claude Code)

npx skills add agent-substrate/substrate --skill review-crds -a claude-code -g -y

安装 repo 全部 skill

npx skills add agent-substrate/substrate --all -g -y

预览 repo 内 skill

npx skills add agent-substrate/substrate --list

SKILL.md

Frontmatter
{
    "name": "review-crds",
    "description": "Reviews CRDs for compliance with Kubernetes API conventions."
}

Kubernetes API Conventions Skill

Task

Review any CRDs in Agent Substrate to ensure they follow the conventions in references/api-conventions.md.

Output Format

Your output should be a list of violations conforming to the following JSON format:

[
  {
    "location": "",
    "rule": "",
    "fix": ""
  }
]
  • location: file path and line range that violated the rule, formatted like this: path/to/file/under/review:1-10. The path is relative to the repo root.
  • rule: Exact quote of violated rule from references/api-conventions.md. If there is no rule, this should be set to the string OPINION.
  • fix: Your suggestion of how to fix the issue.

Hints

  • All CRDs are defined in api/infra/k8s/ate/v1.

References

版本历史

  • 7319f1a 当前 2026-11-27 19:01

同 Skill 集合

.agents/skills/actor-lifecycle-triage/SKILL.md
.agents/skills/detect-flaky-tests/SKILL.md
.agents/skills/post-draft-review/SKILL.md
.agents/skills/security-status-report/SKILL.md
.agents/skills/triage-issues/SKILL.md
.agents/skills/troubleshoot/SKILL.md
.agents/skills/agents-md/SKILL.md

元信息

文件数
0
版本
7319f1a
Hash
59ed6407
收录时间
2026-11-27 19:01

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-28 09:59
浙ICP备14020137号-1