feat: opt claude

This commit is contained in:
2025-12-01 23:57:09 +08:00
parent 398ab1b515
commit f118cc1e9b
12 changed files with 1542 additions and 139 deletions

24
.claude/commands/lint.md Normal file
View File

@@ -0,0 +1,24 @@
---
description: 运行前端代码检查和格式化
---
# 前端代码质量检查
执行以下操作:
1. 切换到 plus-ui 目录
2. 运行 ESLint 检查并自动修复
3. 运行 Prettier 格式化代码
4. 显示检查结果
使用命令:
```bash
cd plus-ui
npm run lint:eslint:fix
npm run prettier
```
检查以下文件类型:
- *.vue (Vue 组件)
- *.ts (TypeScript 文件)
- *.tsx (TypeScript JSX)