format: apply repo prettier (3.8.1) to the folded skills tree

963 markdown files reformatted with the repository's pinned prettier so
pnpm format:check covers the folded tree like every other repo file.

The formatter's embedded-language pass also normalized code fences
(TS semicolons, closed HTML tags in examples, lowercased CSS hex colors,
one renumbered list that skipped an index). Alphanumeric token deltas vs
the fold commit were audited file-by-file; all are formatter-equivalent
markup normalizations plus the four sanitized skills.
This commit is contained in:
fargo
2026-08-19 14:37:17 -05:00
parent d2eeb64433
commit 1a822493ba
962 changed files with 29594 additions and 27188 deletions
@@ -1023,6 +1023,7 @@ def handle_response(response: dict):
## Review Checklist
### 类型安全
- [ ] 函数有类型注解(参数和返回值)
- [ ] 使用 `Optional` 明确可能为 None
- [ ] 泛型类型正确使用
@@ -1030,6 +1031,7 @@ def handle_response(response: dict):
- [ ] 避免使用 `Any`,必要时添加注释说明
### 异步代码
- [ ] async/await 正确配对使用
- [ ] 没有在异步代码中使用阻塞调用
- [ ] 正确处理 `CancelledError`
@@ -1037,18 +1039,21 @@ def handle_response(response: dict):
- [ ] 资源正确清理(async context manager
### 异常处理
- [ ] 捕获特定异常类型,不使用裸 `except:`
- [ ] 异常链使用 `from` 保留原因
- [ ] 自定义异常继承自合适的基类
- [ ] 异常信息有意义,便于调试
### 数据结构
- [ ] 没有使用可变默认参数(list、dict、set
- [ ] 类属性不是可变对象
- [ ] 选择正确的数据结构(set vs list 查找)
- [ ] 大数据集使用生成器而非列表
### 测试
- [ ] 测试覆盖率达标(建议 ≥80%
- [ ] 测试命名清晰描述测试场景
- [ ] 边界情况有测试覆盖
@@ -1056,6 +1061,7 @@ def handle_response(response: dict):
- [ ] 异步代码有对应的异步测试
### 代码风格
- [ ] 遵循 PEP 8 风格指南
- [ ] 函数和类有 docstring
- [ ] 导入顺序正确(标准库、第三方、本地)
@@ -1063,6 +1069,7 @@ def handle_response(response: dict):
- [ ] 使用现代 Python 特性(f-string、walrus operator 等)
### 性能
- [ ] 避免循环中重复创建对象
- [ ] 字符串拼接使用 join
- [ ] 合理使用缓存(@lru_cache