refactor: 用 CLAUDE.md 替代 skill 文件

skill 机制适用于跨项目复用的专家知识,
对于单一职责项目,始终生效的 CLAUDE.md 更合适。

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
empty
2025-12-16 10:32:25 +08:00
parent 5aba93e967
commit c37445b90f
2 changed files with 32 additions and 108 deletions

32
CLAUDE.md Normal file
View File

@@ -0,0 +1,32 @@
# Live Photo Studio
**Bundle ID**: `xyz.let5see.livephotomaker`
**最低支持**: iOS/iPadOS 18.0
**技术栈**: SwiftUI + Swift Concurrency + Core ML
## 项目结构
```
Sources/LivePhotoCore/ # 核心库 (Swift Package)
to-live-photo/to-live-photo/
├── Views/ # Home → Editor → Processing → Result
├── AppState.swift # 全局状态
└── DesignSystem.swift # Soft UI 设计令牌
```
## 构建命令
```bash
# 模拟器构建
xcodebuild -scheme to-live-photo -destination 'platform=iOS Simulator,name=iPhone 16 Pro' build
# Archive
xcodebuild -scheme to-live-photo -configuration Release -destination 'generic/platform=iOS' -archivePath build/to-live-photo.xcarchive archive
```
## 规则
- 提交信息使用中文
- 设计遵循 `DesignSystem.swift` 中的令牌
- 触控目标 ≥ 44pt
- 新增 View 必须适配深色模式和 iPad