mirror of
https://github.com/ant-design/antd-skill.git
synced 2026-09-14 20:36:56 +08:00
1.3 KiB
1.3 KiB
Ant Design Skills - Agent Guide
Generate and maintain Agent Skills for the Ant Design ecosystem.
Core principles
- Focus on agent decision-making and practical usage patterns.
- Avoid end-user tutorials, getting-started steps, and obvious basics.
- Do not invent APIs or rely on undocumented behaviors.
- Keep
SKILL.mdconcise; move advanced detail toreferences/*.md. - Prefer short, focused examples when needed.
Repo structure
.
└── skills/
├── ant-design/
│ ├── SKILL.md
│ └── references/
Scope by skill
- ant-design: antd v6 + React 18-19, component selection, theming/tokens, SSR, a11y, performance, plus Pro 5 layouts/routing/access/CRUD and X (AI/chat UI) patterns.
Updating skills
- Read the existing
SKILL.mdand relevantreferences/*.mdfirst. - Keep the main skill as a decision guide; add new details as references.
- Add or update reference files with kebab-case names.
- Update the
Referenceindex table inSKILL.mdwhen adding references. - Ensure version scope and assumptions are explicit and consistent.
Adding a new skill
- Create
skills/<name>/SKILL.mdandskills/<name>/references/. - Include a clear scope, process, and output format in
SKILL.md. - Keep references short and task-oriented.