指导在前端项目中正确使用 Ant Design 与自定义主题 CSS 变量,避免硬编码颜色并保证暗色/浅色主题切换一致性。当前端编写或修改样式时使用本技能。
$npx -y skills add antonhu/ai-coding-project --skill theme-variablesInstalls into the current project.
Run `npx skills use "https://github.com/antonhu/ai-coding-project" --skill "antonhu/ai-coding-project/theme-variables"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/antonhu/ai-coding-project" that are relevant to the current task. Run `npx skills add "https://github.com/antonhu/ai-coding-project"` and select the relevant skills, then follow their instructions.