/cc-best:frontendfrom cc-best
Provides frontend development best practices for component design, state management, performance optimization, and accessibility across Vue, React, Svelte, and Angular.
Ships in cc-best. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
本技能提供前端开发的最佳实践和模式,支持多框架按需加载。
package.json 按需加载)根据项目 package.json 依赖加载对应文件:
| 技术栈 | 加载文件 | 框架 |
|---|---|---|
| Vue | vue.md | Vue 3, Nuxt 3 |
| React | react.md | React 18, Next.js |
| Svelte | svelte.md | Svelte, SvelteKit |
| Angular | angular.md | Angular 17+ |
| 文件 | 内容 |
|---|---|
| vue.md | Vue 3 + Composition API 模式 |
| react.md | React 18 + Hooks 模式 |
| svelte.md | Svelte/SvelteKit 模式 |
| angular.md | Angular 17+ 模式 |
| performance.md | Core Web Vitals 优化 |
| tailwind.md | Tailwind 最佳实践 + v4 迁移 |
| design-guide.md | 设计方法论与审查清单 |
| patterns.md | 通用组件/状态管理/表单/动画/a11y 模式 |
| 指标 | 目标 | 说明 |
|---|---|---|
| LCP | < 2.5s | 最大内容绘制 |
| FID | < 100ms | 首次输入延迟 |
| CLS | < 0.1 | 累积布局偏移 |
| TTI | < 3.8s | 可交互时间 |
详见 design-guide.md — AI 通用审美定义、设计思维方向矩阵、反模式清单与审查清单。
详见
rules/frontend/frontend-testing.md和rules/frontend/frontend-e2e.md(按文件类型自动加载)。
记住: 前端开发的核心是用户体验——性能、无障碍、交互细节缺一不可,独特的设计比通用模板更有价值。
What SKILL.md sets; muted values are Claude Code's defaults
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: userConfig.hookProfile.description: Invalid input: expected string, received undefined
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
19 skills in this plugin
/apiRESTful API design patterns and best practices. Use when creating endpoints, designing APIs, or implementing routes./architectureArchitecture design skill: ADR records, system design checklists, scalability assessment, architecture patterns. Use for complex system design and architecture decisions./backendBackend development patterns for services, error handling, logging, caching. Use when building backend services, APIs, or microservices./compactStrategic compaction skill: suggests context compression at logical breakpoints. Use to suggest compaction at logical intervals during development sessions./databaseDatabase design, query optimization, migrations, and indexing. Use when designing schemas, writing queries, or managing migrations./debugSystematic debugging methods, log analysis, and performance diagnostics. Use when debugging issues, analyzing errors, or troubleshooting incidents.Other plugins' skills for the same job