Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

cr-field

Skill by epam

Guides an AI assistant through adding a new field to an existing Custom Resource in the project. It covers API types, code generation, CRD examples, the Keycloak client, handler mapping and tests. Intended for contributors to this operator.

  • Score 70
  • 100 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install cr-field

Built from the published package, never by AI.

git clone --depth 1 https://github.com/epam/edp-keycloak-operator /tmp/edp-keycloak-operator && mkdir -p ~/.claude/skills && cp -r /tmp/edp-keycloak-operator/.claude/skills/cr-field ~/.claude/skills/cr-field

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install cr-field in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides an AI assistant through adding a new field to an existing Custom Resource in a Kubernetes operator. It follows the project's conventions in eight ordered steps. The steps cover API types with kubebuilder markers, running make generate and make manifests, updating CRD examples, checking the Keycloak representation type, mapping the field in the chain handler, and updating unit and integration tests. The workflow ends by running the lint and test skills.

The skill is specific to this project and its keycloakapi client. If the field is missing from the client representation, the assistant must stop and ask the user before bumping the Keycloak version pinned in the Makefile. It suits contributors maintaining this operator who need to add fields consistently.

Written from the project's SKILL.md and checked against it.

What it can do

  • API type changesAdds a struct field with a godoc comment and kubebuilder markers in the API types file.
  • Code generationRuns make generate and make manifests to regenerate DeepCopy methods and CRD YAMLs.
  • CRD examplesAdds the new field with an example value to the sample and CRD example YAML files.
  • Keycloak client checkConfirms the field exists in the keycloakapi representation type before mapping it.
  • Handler mappingMaps the field in both the create and update paths of the chain handler.
  • Unit and integration testsAdds the field to unit test mocks and integration test specs that assert the value in Keycloak.
  • ValidationInvokes the run-golangci-lint and run-tests skills at the end of the workflow.

What you need

  • Access to the project repository
  • Make, with the project Makefile targets
  • The run-golangci-lint and run-tests skills

Try asking

  • Add a new optional string field to the KeycloakClient resource
  • Add a field to the KeycloakRealmGroup CR and map it in the create and update paths
  • Walk me through adding a new field to an existing Custom Resource

Good to know

  • If the field is missing from the keycloakapi representation, the change needs a Keycloak version bump and the assistant must ask first
  • Steps must run in order, since code generation depends on the types added in step 1
  • Tied to this project's file layout and conventions

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/cr-field/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Bash(make *)ReadGrepGlob

Alternatives to cr-field

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

cr-field: common questions

What does the cr-field skill do?

It guides an assistant through every step needed to add a new field to an existing Custom Resource, from API types to tests. The source says it follows the project's established conventions.

What happens if the Keycloak client does not have the field?

The skill says to stop and report it. The Keycloak spec is pinned by KEYCLOAK_VERSION in the Makefile, so a newer release is needed, and the user should be asked before going further.

Which files does it change?

It works on API types, generated CRD YAMLs, CRD example files, the chain handler, and unit and integration test files. The exact paths follow the resource name and kind.

How do I install cr-field?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is cr-field free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is cr-field safe to use?

It scores 70 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to cr-field?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

cr-field Install

Add to stack

Loading.