Frontend Universal Standards Skill — AI skill for Claude Code
遵循 Agent Skills 开放标准(SKILL.md)构建的企业级通用前端全栈工程规范与代码审查 Skill,旨在指导 AI Agent 在编码、脚手架搭建与 Code Review 时提供高度工业化、可执行且无过度设计的前端交付方案.
How to install Frontend Universal Standards Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ItQianChen/frontend-universal-standards-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Frontend Universal Standards Skill does
遵循 Agent Skills 开放标准(SKILL.md)构建的企业级通用前端全栈工程规范与代码审查 Skill,旨在指导 AI Agent 在编码、脚手架搭建与 Code Review 时提供高度工业化、可执行且无过度设计的前端交付方案。
Alternatives in AI
- Agency Agents — A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject 148k ★
- Artifacts Builder — Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech 97.5k ★
- Opencodex — Universal provider proxy for OpenAI Codex & Claude Code — use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama… 12.3k ★
README
# frontend-universal-standards-skill
前端全栈工程化、架构分层、网络请求、状态管理、路由鉴权、多端开发与代码质量通用 Agent Skill。
📖 简介 (Introduction)
`frontend-universal-standards-skill` 是一套遵循 **Agent Skills 开放标准 (SKILL.md)** 打造的企业级通用前端全栈开发与代码审查规范体系。
本 Skill 旨在为 AI Coding Agent 提供统一、标准、工业级的前端工程指导,涵盖现代 Web 应用、企业级中后台系统、移动端 H5 以及跨平台小程序等多种主流应用形态。指导 Agent 在进行前端脚手架搭建、模块分层、API 封装、路由鉴权、状态管理、组件编写及样式适配时严格遵循最佳实践,坚决避免代码生成中的过度设计与反模式。
🎯 核心规范矩阵 (Core Matrix)
- 零过度设计原则 (Zero Over-Engineering):严格按当前项目实际依赖与技术栈(Vue 3 / React / Uni-app / Vue 2)精准按需匹配,严禁堆砌无关代码与框架。
- 工业级网络请求 (Axios / Uni.request):双轨拦截、BaseURL 环境变量动态注入、Token 自动附加、双 Token 无感静默刷新(Silent Token Refresh)、统一解构核心载荷、业务错误码字典映射、API 纯函数隔离。
- RBAC 动态鉴权与防御性路由:常量路由与异步权限路由解耦,通配 404 挂载时序控制,白名单机制,NProgress 进度条与文档标题同步。
- 统一状态管理与跨端持久化:Pinia Setup Store、Zustand 与 Redux Toolkit 选型标准,State 最小化原则,Uni-app Storage 跨端适配器。
- Uni-app 与小程序跨端特化:严守 2MB 主包红线,主包与分包架构划分,
preloadRule空闲预加载,Easycom 自动扫描。 - 五重代码质量卡点:ESLint 9+ Flat Config + Stylelint (Recess 属性排序) + Prettier + Husky + Commitlint 打造坚不可摧的提交前防线。
- 复杂场景与工程亮点:大文件分片断点续传与秒传(SparkMD5)、图片视口交叉懒加载(
IntersectionObserver)、WebSocket/STOMP 长连接容灾。
📂 Skill 目录结构 (Directory Layout)
frontend-universal-standards-skill/
├── references/ # 垂直领域核心规范手册
│ ├── architecture_and_directory.md # 目录分层、路由守卫与 RBAC 权限
│ ├── coding_and_component_standards.md # TypeScript、Vue 3.5+ / React 编码范式
│ ├── network_and_api_standards.md # Axios / Uni.request 工业级封装与无感刷新
│ ├── uniapp_and_miniprogram_standards.md # 小程序 2MB 分包与跨端开发
│ ├── engineering_and_quality.md # 五重卡点、ESLint 9 Flat 与工程卫生
│ └── ui_ux_and_style_standards.md # Tailwind CSS、SCSS、多端适配
├── README.md # Skill 说明文档
└── SKILL.md # Agent Skill 标准规范入口
🚀 使用指南 (Usage Guidelines)
- 日常编码与脚手架搭建:Agent 根据目标工程的技术栈类型,自动加载对应的
references/细分文档,输出符合工业级标准的前端代码结构。 - **代码
Related Skills
Modular Monolith Code Guide
Universal, product-agnostic AI coding guide for Go modular monolith backend, PostgreSQL, Next.js multi-domain
Ifrs Skill
Comprehensive IFRS skill for AI agents 40 standards, 7 workflows, 5 compliance templates. Works with Claude Co
Add To Changelog
by berrydev-ai - Adds new entries to changelog files while maintaining format consistency, properly documentin
AVS Vibe Developer Guide
by Layr-Labs - Structures AI-assisted EigenLayer AVS development workflow with consistent naming conventions f
Dev Standards Bootstrap
一键为任意代码仓库注入 AI Agent 开发治理与质量门禁体系(五道门禁 + 风险分级 + Agent 独立性 + RTVM 追踪矩阵) One-command AI agent development governa
Devstack
Orientation to devstack — the three-layer model (flow/core/standards), the slash commands, and how skills acti
Related Agents
UI Critic
Independent frontend UI quality auditor. Use proactively after building or restyling any significant UI (page,
General
Universal coding principles that apply across all languages and frameworks. - wshobson/agents
Universal Technical Implementation Template For Claude Code Subagents
Universal Technical Implementation Template for Claude Code Subagents agent