dev-cds-web
Skill by coinbase
Guides an AI assistant when adding or changing a CDS React component in the packages/web package. It sets rules for config defaults, Linaria styling with theme variables, props, and accessibility.
Install dev-cds-web
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/dev-cds-web ~/.claude/skills/dev-cds-webRun 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/dev-cds-web ~/.gemini/antigravity-cli/skills/dev-cds-webAntigravity 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
dev-cds-web is an agent skill from Coinbase that gives an AI assistant guidelines for working on new or existing CDS React components in packages/web. It covers registering a component in componentConfig.ts, adopting useComponentConfig so provider defaults merge with local props, styling with Linaria and CDS theme CSS variables, and responsive breakpoints.
The skill also covers inline style and styles props, data attributes for state-based styling, Framer Motion for complex animations, and accessibility points such as ARIA attributes, keyboard navigation, and WCAG 2.1 AA contrast. It is aimed at developers and assistants editing CDS web components, and it names Carousel, Select, and RollingNumber as reference components.
Written from the project's SKILL.md and checked against it.
What it can do
- Component config adoptionRegister a component's defaults in componentConfig.ts and merge them with useComponentConfig, keeping local props in control.
- Linaria CSS with theme tokensWrite zero-runtime styles using CDS CSS variables for colors, spacing, typography, and border radius.
- Responsive propsUse Box responsive prop values across the phone, tablet, and desktop breakpoints.
- Granular classNamesExpose a classNames object so child elements inside a component can be overridden.
- Inline style overridesExpose style and styles props that merge in a set order of defaults, style, then styles.
- Data attributesStyle state with data-active, data-disabled, data-variant, and data-filled attributes.
- Framer Motion animationAdd complex animations with AnimatePresence and motion components, or CSS transitions for simple cases.
- Accessibility guidanceApply ARIA attributes, keyboard navigation, descriptive labels, and WCAG 2.1 AA color contrast.
- Web-specific propsAdd className, style, and a polymorphic as prop to root elements where applicable.
Try asking
- Add ComponentConfigProvider defaults to my CDS Button in packages/web
- Style this CDS web component with Linaria and CDS theme CSS variables
- Add keyboard navigation and ARIA attributes to this CDS web component
Good to know
- Provider config supplies defaults only, and local props must keep winning.
- Changes should stay at prop-level theming defaults without altering behavior or control flow.
- The style, styles, and classNames props must never be on the *BaseProps type.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/dev-cds-web/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to dev-cds-web
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
dev-cds-web: common questions
Which files does this skill point to?
It references packages/web/src/core/componentConfig.ts for config, packages/web/src/core/theme.ts for CSS variable naming, and packages/web/src/styles/media.ts for breakpoints.
What breakpoints does it define?
It lists phone as 0 to 767px, tablet as 768 to 1279px, and desktop as 1280px and up.
Should style props go on the BaseProps type?
No. The source says style and styles should never be on the *BaseProps type because styling is a concern of the specific component.
How do I install dev-cds-web?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is dev-cds-web free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is dev-cds-web 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 dev-cds-web?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
