What is frontend-mandatory-standards?
【必读·强制】公司前端开发强制规范。编写或修改任何前端代码前必须先阅读本技能。涵盖 Composition API 强制规范、命名约定、接口调用规则、Pinia 状态管理、组件拆分等全部开发约束。 Source: giikin/skills.
【必读·强制】公司前端开发强制规范。编写或修改任何前端代码前必须先阅读本技能。涵盖 Composition API 强制规范、命名约定、接口调用规则、Pinia 状态管理、组件拆分等全部开发约束。
Quickly install frontend-mandatory-standards AI skill to your development environment via command line
Source: giikin/skills.
| 类型/接口 | PascalCase | UserInfo, ApiResponse | | 变量/函数/文件夹 | camelCase | userName, handleSubmit() | | 环境常量 | UPPERCASE | VITEBASEURL | | 组件文件 | PascalCase | UserProfile.vue | | Composables | use 前缀 | useUserInfo, useFormValidation | | 布尔值 | 辅助动词前缀 | isLoading, hasError, canSubmit | | 事件处理 | handle 前缀 | handleClick, handleSubmit |
变量命名:避免 data/info/list/result/status 等通用名称,使用 formData/userInfo/taskList 等具体业务名称。
Vue 3.4+ 引入的 defineModel 将 props + emit + computed 三件套简化为一行,减少样板代码:
【必读·强制】公司前端开发强制规范。编写或修改任何前端代码前必须先阅读本技能。涵盖 Composition API 强制规范、命名约定、接口调用规则、Pinia 状态管理、组件拆分等全部开发约束。 Source: giikin/skills.
Stable fields and commands for AI/search citations.
npx skills add https://github.com/giikin/skills --skill frontend-mandatory-standards【必读·强制】公司前端开发强制规范。编写或修改任何前端代码前必须先阅读本技能。涵盖 Composition API 强制规范、命名约定、接口调用规则、Pinia 状态管理、组件拆分等全部开发约束。 Source: giikin/skills.
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/giikin/skills --skill frontend-mandatory-standards Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw
https://github.com/giikin/skills