deprecate-cds-api
Skill by coinbase
Deprecates a Coinbase CDS component, hook, or other exported symbol across the web, mobile, common, and visualization packages. It adds JSDoc tags, updates docs metadata warnings, and runs lint to check the removal version.
Install deprecate-cds-api
Built from the published package, never by AI.
git clone --depth 1 https://github.com/coinbase/cds /tmp/cds && mkdir -p ~/.claude/skills && cp -r /tmp/cds/.claude/skills/deprecate-cds-api ~/.claude/skills/deprecate-cds-apiRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/coinbase/cds /tmp/cds && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/cds/.claude/skills/deprecate-cds-api ~/.gemini/antigravity-cli/skills/deprecate-cds-apiAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill automates the standard deprecation workflow for symbols exported from the CDS packages. It first traces each symbol through the package exports map and barrel files, so that every public import path gets the deprecation, not only the package where the symbol is defined. It then adds a standard JSDoc block with @deprecated guidance and a @deprecationExpectedRemoval tag.
The skill follows a policy that a deprecated API must stay available for one full major version before removal. It suggests the earliest allowed removal major, which is the current major plus two, and asks the user to confirm it. It also updates the warning text in docs metadata files under apps/docs and ends by running the Nx lint target on each touched project. It is written for developers maintaining the CDS design system.
Written from the project's SKILL.md and checked against it.
What it can do
- Find public export pathsTraces a symbol through package exports, barrel files, and re-exports in web, mobile, and common.
- Add deprecation JSDocAdds an @deprecated tag with replacement guidance and a closing sentence about future major removal.
- Set removal versionSets @deprecationExpectedRemoval to at least the current major plus two, after user confirmation.
- Update docs warningsEdits webMetadata.json, mobileMetadata.json, or metadata.json warning text for components and hooks.
- Run lint checkRuns yarn nx run lint on touched projects so the deprecated JSDoc ESLint rule passes.
What you need
- Yarn and an Nx workspace (yarn nx run)
- The CDS monorepo with web, mobile, and common packages
- The internal ESLint plugin with the deprecated-jsdoc-has-removal-version rule
Try asking
- Deprecate the Tabs component in favor of TabNavigation, removing in v11
- Mark the useFoo hook as deprecated and update its docs warning
- Add @deprecationExpectedRemoval to the Spinner export in all packages
Good to know
- The removal major must be at least the current major plus two unless the user overrides the policy.
- Docs metadata is only updated when the symbol already has docs; new doc folders are not added.
- Lint must be run on every touched project before the work is finished.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/deprecate-cds-api/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadGrepGlobStrReplaceBash(yarn nx run:*)
Alternatives to deprecate-cds-api
All alternatives →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.
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.
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.
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.
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.
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.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
deprecate-cds-api: common questions
What does the deprecation policy require for removal timing?
A deprecated API must stay available for one full major version. The earliest removal major is the current major plus two.
Does it deprecate exports in every CDS package?
Yes. It searches web, mobile, common, and visualization exports, including re-exports, so every public import path shows the deprecation.
Which docs files does it update?
It updates warning text in webMetadata.json, mobileMetadata.json, or metadata.json under apps/docs for components and hooks that already have docs.
How do I install deprecate-cds-api?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is deprecate-cds-api free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is deprecate-cds-api safe to use?
It scores 67 of 100. Grades: maintenance A, licence F, 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 deprecate-cds-api?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
