Home / Skills / agent-substrate/substrate

review-crds

Reviews CRDs for compliance with Kubernetes API conventions.

skillLicense: Apache-2.0 Source: agent-substrate/substrate

Install

Copy this folder into your Claude Code project (needs Node.js):

npx degit agent-substrate/substrate/.agents/skills/review-crds .claude/skills/review-crds

Or install it for every project:

npx degit agent-substrate/substrate/.agents/skills/review-crds ~/.claude/skills/review-crds

File content

Made by its original authors and shared under Apache-2.0. We show it unchanged, with credit and a link to the source. Source ↗

---
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:

```json
[
  {
    "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
- [Kubernetes API Conventions](references/api-conventions.md)