一键导入
frontend-developer
Use when implementing frontend code, optimizing performance, or ensuring strict adherence to documentation/references.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when implementing frontend code, optimizing performance, or ensuring strict adherence to documentation/references.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | frontend-developer |
| description | Use when implementing frontend code, optimizing performance, or ensuring strict adherence to documentation/references. |
| license | MIT |
| metadata | {"version":"3.1","capabilities":["multi-framework-implementation","evidence-based-coding","extreme-performance-optimization","accessibility-compliance"]} |
| allowed-tools | read_file list_dir search_web read_url_content |
This skill provides expert-level guidelines for frontend code quality, runtime performance, and pixel-perfect implementation.
You must NEVER write code without first citing your source.
Before implementing any feature or fixing any bug, you must:
doc/, internal references/, or external official docs).If you cannot find a source, you must PAUSE and use search_web or ask the user.
ACTION: At the start of every task, check package.json and load the corresponding knowledge source.
These are complete sub-skills with their own rules, examples, and guidelines. Load the entire sub-skill SKILL.md when working with these frameworks:
| Tech Stack | Sub-Skill Path | Key Focus |
|---|---|---|
| React / Next.js | react/SKILL.md | RSCs, Suspense, Streaming, Server Actions |
General reference guides for frameworks without full sub-skills yet:
| Tech Stack | Reference File | Key Focus |
|---|---|---|
| Universal Base | references/core-performance.md | Always load this. Web Vitals, A11y, HTTP/3 |
| Vue / Nuxt | references/vue-nuxt.md | Composition API, Nitro, Nuxt Modules |
| Angular | references/angular.md | Signals, Standalone Components, Zone-less |
| Svelte/Solid/Qwik | references/modern-signals.md | Fine-grained reactivity, Resumability |
react/SKILL.md and relevant rules in react/rules/references/*.md file"According to Next.js docs (referenced in
react/SKILL.md), we should use the<Image>component withsizesto prevent layout shift."
references/core-performance.md.
alt text?useEffect for derived state?Before showing code to the user, run this mental audit:
useEffect data fetching. Use Server Components or React Query.Use when building UI, branding, design systems, or auditing accessibility/UX.
Use when building production-grade GenAI, Agentic Systems, Advanced RAG, or setting up rigorous Evaluation pipelines.
Use when designing APIs, Architecture, Security, or Scalability for Node, Python, Go, or Java backend systems.
Use when architecturalizing protocols, developing smart contracts, or auditing security for blockchain systems.
Use for deep requirements analysis, technical specifications, agile documentation, or architecture/design reviews.
Use when designing Universal CI/CD, Multi-Cloud Infrastructure, or Observability systems.