kcc-identity-reference

Official

Keep KCC identity and refs canonical

AuthorGoogleCloudPlatform
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill solves the problem of KCC resource identity and external reference code drifting from the canonical gcpurls.Template pattern, which can break normalization and downstream identity/ref resolution.

Core Features & Use Cases

  • Creates or updates KCC identity implementations: Generates or refreshes the resource’s <kind>_identity.go to implement identity.IdentityV2 using the canonical gcpurls.Template.
  • Creates or updates KCC reference implementations: Generates or refreshes the resource’s <kind>_reference.go to implement refs.Ref, including GVK registration and external parsing.
  • Ensures correct URL formatting and field mapping: Uses docs/ai/metadata/cloudassetinventory_names.jsonl (or existing implementations) to derive exact GCP URL segments and enforce struct-field/template-variable alignment.
  • Handles normalization inputs safely: Ensures getIdentityFrom<Kind>Spec can handle both typed objects and *unstructured.Unstructured during Normalize.

Quick Start

Ask the AI to update the identity and reference for MemoryStoreInstance so the _identity.go and _reference.go files match the canonical gcpurls.Template and implement IdentityV2 and refs.Ref.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: kcc-identity-reference
Download link: https://github.com/GoogleCloudPlatform/k8s-config-connector/archive/main.zip#kcc-identity-reference

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.