mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-03-31 06:03:29 +08:00
* docs(zh-CN): sync Chinese docs with latest upstream changes * update --------- Co-authored-by: neo <neo.dowithless@gmail.com>
543 B
543 B
paths
| paths | ||
|---|---|---|
|
Swift 钩子
此文件扩展了 common/hooks.md 的内容,添加了 Swift 特定内容。
PostToolUse 钩子
在 ~/.claude/settings.json 中配置:
- SwiftFormat: 在编辑后自动格式化
.swift文件 - SwiftLint: 在编辑
.swift文件后运行代码检查 - swift build: 在编辑后对修改的包进行类型检查
警告
标记 print() 语句 — 在生产代码中请改用 os.Logger 或结构化日志记录。