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

backward-compatibility-policy

Skill by GoogleCloudPlatform

Sets the backward compatibility rules for the Kubernetes History Inspector (KHI) codebase. It is for contributors and AI assistants editing KHI's Go backend and Angular frontend. It covers internal code, common anti-patterns and the one exception for .khi files.

  • Score 80
  • 2.1k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install backward-compatibility-policy

Built from the published package, never by AI.

git clone --depth 1 https://github.com/GoogleCloudPlatform/khi /tmp/khi && mkdir -p ~/.claude/skills && cp -r /tmp/khi/.agents/skills/backward_compatibility_policy ~/.claude/skills/backward-compatibility-policy

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

Step-by-step: install backward-compatibility-policy in Claude Code

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

About

This skill describes the backward compatibility policy for Kubernetes History Inspector (KHI), an integrated monorepo with a Go backend and an Angular frontend. It states that internal Go and TypeScript code, Connect and gRPC endpoints, and task DAG nodes have no external consumers. Changes should update all call sites in the same change instead of keeping wrappers or shims.

The guide lists nine anti-patterns with bad and good code examples. These include variadic arguments added to avoid updating callers, deprecated forwarding functions, dual fields and dead code. The only exception is the exported .khi file format, which is serialized with Protocol Buffers. For those changes, the guide requires an explicit compatibility question during planning and no migration logic until the user confirms.

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

What it can do

  • Compatibility scope checkExplains why internal KHI code needs no backward compatibility layers.
  • Anti-pattern reviewLists nine anti-patterns with bad and good Go examples to avoid.
  • Call site unificationDirects changes to update all callers, usages and tests in one change.
  • .khi change workflowSteps for changing .khi serialization, deserialization or Protocol Buffer schemas.
  • Plan-stage questionsRequires raising whether old .khi files must stay loadable before implementing.

Try asking

  • Refactor this KHI function to a new signature without leaving a deprecated wrapper
  • Review this diff for backward compatibility anti-patterns in KHI
  • Plan a change to the .khi file schema and list the compatibility questions

Good to know

  • Written for the KHI repository and its internal code conventions.
  • Changes to .khi files require explicit user approval before implementation.
  • Does not allow removing test cases or weakening assertions without user approval.

Security check

A

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

Checked automatically: .agents/skills/backward_compatibility_policy/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to backward-compatibility-policy

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

backward-compatibility-policy: common questions

Does this skill allow keeping old function names as wrappers in KHI?

No. The guide says to delete old functions marked as deprecated and update all call sites across the codebase.

When does backward compatibility matter in KHI?

Only when changing the exported .khi file format, including its serialization, deserialization or schema structures.

Can the assistant add migration code for old .khi files on its own?

No. The guide says not to implement migration logic, version branches or fallback decoders until the user confirms the compatibility requirement.

How do I install backward-compatibility-policy?

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

Is backward-compatibility-policy free?

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

Is backward-compatibility-policy safe to use?

It scores 80 of 100. Grades: maintenance A, licence A, quality A. 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 backward-compatibility-policy?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

backward-compatibility-policy Install

Add to stack

Loading.