synerise-design: Skill for Claude Code

.claude/skills/deantd-component/SKILL.md

deantd-component is a skill for Claude Code from Synerise/synerise-design. It costs 66 tokens per session (5,240 once invoked), scanned A, original, MIT.

A guided migration process for replacing Ant Design components with components built from the project's own design system. Ant Design is a React user-interface library, while styled-components is a way to write component styles in code.

In plain words
What is it for?
Use it to migrate individual components, review their used properties and files, and follow the project's documented migration order and checks.
Why use it?
It helps remove an Ant Design dependency while keeping the component's appearance and public interface as close as possible to the original.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is Synerise/synerise-design's own configuration. It tells Claude Code how to work on synerise-design itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything synerise-design configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Synerise/synerise-design. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Synerise/synerise-design/master/.claude/skills/deantd-component/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Synerise/synerise-design

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for deantd-component

README.md
[![agentmods](https://agentmods.dev/badge/skills/synerise/synerise-design/deantd-component/github.svg)](https://agentmods.dev/skills/synerise/synerise-design/deantd-component)
Your own site
<a href="https://agentmods.dev/skills/synerise/synerise-design/deantd-component"><img src="https://agentmods.dev/badge/skills/synerise/synerise-design/deantd-component/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for deantd-component

Your own site · 80×15
<a href="https://agentmods.dev/skills/synerise/synerise-design/deantd-component"><img src="https://agentmods.dev/badge/skills/synerise/synerise-design/deantd-component.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,240 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00066 $0.05240
Opus 5 $0.00033 $0.02620
Sonnet 5 $0.00013 $0.01048
Haiku 4.5 $0.00007 $0.00524

Measured yesterday against content hash 34b5bc79de0b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

deantd-component scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sS --request POST --header "PRIVATE-TOKEN: $GITLAB_PERSONAL_TOKEN" \
.claude/skills/deantd-component/SKILL.md · 295 lines

How it starts

The opening of the file, as written. The whole thing — 295 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Overview

⚠️ Retired — nothing left to de-antd. The antd-removal initiative closed on 2026-09-03: antd is gone from every package.json and every source file in this repo, and no-restricted-imports now bans the import outright. The last three antd-backed packages (ds-menu, ds-alert, ds-table) were retired by deletion rather than migration. This skill is kept only as a record of the playbook — it has no remaining target here. Delete it once nobody needs the reference.

Remove the antd dependency from one @synerise/ds-* component, replacing it with a DS-native implementation (styled-components + @synerise/ds-core tokens) while preserving the visual look and the public API as closely as possible. This skill is the distilled process from the first migrations (Badge, Typography) — follow it to shorten the cycle.

Initiative context: docs/adr/0001-remove-antd-dependency.md (decision + tier order) and docs/antd-migration-status.md (per-component status, now closed out).

Arguments

The component (kebab-case dir under packages/components/), e.g. switch, avatar, alert. If not given, ask which component, and check the status tracker for its tier/notes.


Phase 1 — Scope & API analysis (do this FIRST, before any code)

The biggest win is trimming the API to what's actually used. antd-wrapping DS components usually do Props = Omit<AntXProps, …> & { …DS props }, which drags in dozens of unused antd props.

  1. Read the component's src (component, *.types.ts, *.styles.tsx, index.ts, spec, style/*.less). Note: antd component import(s), the Omit<AntXProps> inheritance, any antd LESS import (@import '~antd/lib/<comp>/style/index.less'), and any public re-export of antd (e.g. switch's RawSwitch, typography's default export).
  2. Fan out Explore agents (one per repo) to find real usage across the consumers: portal-ui-bridge1, portal-next, universal-list1, plus DS-internal (synerise-design1, excluding the package itself; report storybook separately). For each, collect which props / sub-components / antd-only features are actually passed (count occurrences + example paths).
  3. Build the keep/drop list:
    • A prop used by any consumer must stay.
    • Figma Code Connect mappings (*.figma.tsx) count as documented API even if app usage is ~0.
    • antd-only features with zero usage are drop candidates (e.g. Typography Link/copyable/editable, Badge showZero/size/title).
    • Surface contradictions: if the data shows a "drop candidate" is actually used (e.g. Badge customColor drove per-row segment colours), say so — don't drop a live feature.
  4. Present the drop list to the user and confirm. Decide breaking-vs-back-compat for any public antd re-export (default: keep back-compat — reimplement as DS-native preserving the consumed API).

Read the full file on GitHub · 295 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · +5 lines 34b5bc79de0b
  2. 4d ago First seen · 290 lines · 66 tokens per session scan A a94251628f7b

Subscribe to this mod's changes

deantd-component is a skill published in the GitHub repository Synerise/synerise-design (96 stars, last pushed yesterday), licensed MIT. It adds 66 tokens to every session and 5,240 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

Other skills, from other repositories

ui-components

UI component library patterns for shadcn/ui and Radix Primitives. Use when building accessible component libraries, customizing shadcn components, using Radix unstyled primitives, or creating design system foundations.

yonatangross/orchestkit · 44 tokens

component-search

Search 21st.dev component registry for production-ready React components. Finds components by natural language description, filters by framework and style system, returns ranked results with install instructions. Use when looking for UI components, finding alternatives to existing components, or sourcing design system…

yonatangross/orchestkit · 57 tokens

s2-docs

Look up Spectrum 2 (S2) component documentation, design guidelines, and usage patterns when building with React Spectrum or Spectrum Web Components. Use when the user mentions Spectrum, S2, React Spectrum, RSP, Spectrum Web Components, or SWC, or names a Spectrum component (Button, Picker, ComboBox, TextField…

adobe/spectrum-design-data · 91 tokens

hatch3r-design-system-detect

Detects existing design tokens, component library, and theming convention in a project before authoring new UI primitives — output a concise inventory for downstream implementers.

hatch3r/hatch3r · 40 tokens

Design System Component Reuse Guard

A code review check that spots new buttons, inputs, modals, cards, and similar interface pieces built from scratch when reusable design-system components already exist. It also suggests importing the existing component.

s977043/river-review · 67 tokens

Design Token Enforcement

A code review check that finds hard-coded colors, spacing, font sizes, rounded corners, and shadows in frontend code when the project already provides design tokens. Design tokens are named shared values, such as a primary color or medium spacing.

s977043/river-review · 63 tokens