About uniapp
uniapp is a development-guidance skill for uni-app projects. It helps coding agents consult relevant conventions while keeping changes scoped to the requested work and avoiding unrequested dependency changes.
Key features
- 01Load guidance by task
- 02Cover naming, types, and APIs
- 03Address comments, styles, and layouts
- 04Include quality-check conventions
- 05Keep changes in scope
Use cases
- 01Check conventions for uni-app changes
- 02Review page layout and styling rules
- 03Avoid unrequested dependency upgrades
- 04Handle forms, pagination, and caching
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ youlaitech/ youlai-skills --skill uniappAfter installing, type/uniappin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
references/comments.mdnaming.mdpages-layout.mdquality.mdstyles.mdtypes-api.mdDetails
From the project READMEuni-app 开发规范
先核对安装版本、目标平台和改动范围,再按任务读取 reference。Wot v1/v2 不混用;不因执行规范擅自升级依赖或添加插件。
框架机制以所链接文档和安装版本为准;本文选定的命名、注释风格与样式分工属于项目约定,已有明确仓库规范优先。
按需读取
| 任务 | 规范 |
|---|---|
| 文件、变量、函数、Store、事件 | 命名 |
| 请求与响应类型、API 边界 | 类型与接口 |
| 注释、TSDoc、TODO、编译指令 | 注释 |
| UnoCSS、BEM、SCSS、主题 | 样式 |
| 目录、分包、页面配置、布局 | 页面与布局 |
| 表单、分页、会话、缓存、验收 | 质量检查 |
改动边界
- 规范应用于本次改动;不附带全仓改名或修改第三方、自动生成文件。
- 只更新规范时不修改应用代码;本 skill 不收录项目重构清单或业务伪代码。
Comments
Markdown supported