cosmian/kms/react-ant-patterns
Claude Code and agent skill by cosmian/kms
- community
Checking that the SKILL.md file is still in the repository.
React 19 + Ant Design 5 + Tailwind 4 + Vite 7 patterns for the KMS Web UI: WASM integration, FIPS guards, data-testid placement, Playwright companion. Use as a reference for UI development patterns.
Install
npx vskill@latest install cosmian/kms/react-ant-patternsSKILL.md
React + Ant Design Patterns for the KMS UI
For authoritative UI coding conventions, see [`.github/instructions/typescript-ui.instructions.md`](../../instructions/typescript-ui.instructions.md) — stack, FIPS guards, TypeScript strictness, WASM integration, testing attributes, and actions structure.
This page documents KMS-specific UI patterns not covered in the instruction file.
Ant Design Select Portal Rendering (Playwright Note)
Ant Design <Select> renders its dropdown in a portal attached to `document.body`, not as a child of the <Select> element. When writing Playwright E2E tests, do not try to select options directly on the <Select> element:
Use the helpers in ui/tests/e2e/helpers.ts to interact with portal-rendered dropdowns from Playwright tests.
Error Handling and User Feedback
All user-facing strings come from t() — see i18n.instructions.md.
AI-Assisted Development Resources
- Ant Design LLM context: Fetch
https://ant.design/llms.txtfor up-to-date component API reference when coding AntD components. - Ant Design MCP server: <https://ant-design.antgroup.com/docs/react/mcp> — provides structured component documentation to AI agents.
- Context7 MCP (
io.github.upstash/context7): Generic library documentation fetcher — use when AntD or other JS library APIs seem outdated in the agent's training data. See <https://context7.com/>.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/skills/react-ant-patterns/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cosmian/kms/react-ant-patterns)