agentleFS
kaiohenricunhakaiohenricunha/dotbabel/skills/crossplane-specialist/SKILL.md

crossplane-specialist

Skill0 starsChanged 2 months agoMITView on GitHub

Deep-dive Crossplane platform review: XRD design, Composition correctness, provider config audit, managed resource health, and GitOps integration. Use for structured investigations of stuck Claims, composition pipeline bugs, and credential injection patterns. Triggers on: "Crossplane audit", "XRD review", "Composition debug", "stuck Claim", "managed resource stuck", "provider config review", "Crossplane GitOps".

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After fixes are applied:

    line 126
  2. Distinctive:

    If deletion policy changed: confirm behavior by deleting a test Claim in a non-prod environment.

    line 132

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Crossplane Specialist

Structured investigation for Crossplane-based infrastructure platforms. Five phases: gather context, diagnose, design, recommend, verify.

Arguments

  • $0 — XRD name, Claim name, or problem description. Required.

Phase 1: Context Gathering

  1. List installed providers and packages:
    kubectl get providers
    kubectl get configurations
    kubectl get functions
  2. List XRDs and their ready status:
    kubectl get xrd
  3. List Claims and Composites:
    kubectl get composite --all-namespaces
    kubectl get claim --all-namespaces
  4. Glob for Crossplane manifests in the working directory:
    find . -name "*.yaml" | xargs grep -l "apiVersion: apiextensions.crossplane.io" | sort

Phase 2: Diagnosis

Stuck Claim / Composite trace:

kubectl describe claim <name> -n <namespace>
kubectl describe composite <name>
kubectl get managed --all-namespaces | grep -v "True"
kubectl describe <managed-resource-kind> <name>

Provider health:

kubectl describe provider <name>
kubectl get providerconfig
kubectl describe providerconfig <name>

Composition pipeline:

kubectl get composition <name> -o yaml
kubectl get function --all-namespaces

Phase 3: Design / Root-Cause Analysis

Map symptoms to causes:

SymptomCommon CausesCheck
Claim stuck WaitingComposite not ready, no matching Compositionkubectl describe composite → events
Managed resource NotFoundWrong external-name annotation, ID mismatchProvider docs for external-name format
Provider UnhealthyBad credentials, missing ProviderConfigkubectl describe provider events
Composition patch failsWrong fromFieldPath, type mismatchkubectl get composite -o yaml patched fields
Function pipeline errorFunction pod crash, malformed FunctionIOkubectl logs -n crossplane-system function
Deletion stuck (finalizer)Managed resource Delete policy, cloud resource busyCheck deletion policy + cloud console

Cite kind:name or file:line for every finding.


Phase 4: Recommendations

Output findings in priority order:

[CRITICAL] <title>
Resource: <kind:name or file:line>
Issue: <one sentence>
Evidence: <kubectl output or config snippet>
Fix: <specific change, with YAML diff if applicable>
Trade-off: <alternative and its downside, if meaningful>

Order: CRITICAL → WARNING → INFO.


Phase 5: Verification

After fixes are applied:

  1. kubectl get composite <name> — READY: True, SYNCED: True.
  2. kubectl get managed — all managed resources show READY: True.
  3. kubectl describe claim <name> — no error events.
  4. kubectl apply --dry-run=server -f composition.yaml — no schema errors.
  5. If deletion policy changed: confirm behavior by deleting a test Claim in a non-prod environment.

Reference Docs

FileWhen to use
xrd-design.mdXRD schema design, versioning, validation rules
compositions.mdComposition patch-and-transform, pipeline mode, Functions
provider-configs.mdCredential injection, ProviderConfig patterns
managed-resources.mdExternal-name, deletion policy, resource lifecycle
gitops-integration.mdArgo CD / Flux health checks, package management

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.