代码验证
- 作者仓库星标 547
- 许可证 MIT
- 作者仓库 exiftool-vendored.js
- 领域
- 人工智能
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 94 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @photostructure · MIT
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 需简单配置
- 是否需要外部接口密钥
- 不需要
- 兼容的系统
- macOS · Linux · Windows
- 运行环境要求
- Node.js
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 命令执行
- 网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
# Work on TPP
Make progress on the referenced Technical Project Plan by determining the current
phase and taking appropriate action.
## Required Reading First
Before any work, read these documents:
- [CLAUDE.md](CLAUDE.md)
- [docs/SIMPLE-DESIGN.md](docs/SIMPLE-DESIGN.md)
- [docs/TDD.md](docs/TDD.md)
- [docs/TPP-GUIDE.md](docs/TPP-GUIDE.md)
## Process
1. Read the TPP from the path given (default: check `_todo/` for existing TPPs)
2. Read all documents listed in the TPP's "Required reading" section
3. Identify the current phase from the checklist
4. Execute work matching that phase:
- **Research & Planning**: Explore code, read docs, summarize findings in TPP
- **Write breaking tests**: Write tests that fail, proving the problem exists
- **Design alternatives**: Propose options with pros/cons in the Solutions section
- **Task breakdown**: Create specific, verifiable tasks with file paths and commands
- **Implementation**: Write code, compile (`npm run compile`), run tests (`npm test`)
- **Review & Refinement**: Lint (`npm run lint`), simplify, DRY up, remove dead code
- **Final Integration**: Verify all tests pass, update docs if needed
- **Review**: Final check against SIMPLE-DESIGN.md principles
5. Update the TPP with progress, findings, and any new lore
6. When done, move the TPP from `_todo/` to `_done/`
## Project Conventions
- Always run `npm run compile` before testing
- Use `??` (not `||`) for nullish coalescing
- Use `node:` prefix for Node.js imports
- Use `if (x != null)` not `if (x)` for boolean safety
- No mocks in tests - use real ExifTool and actual image files
- Conventional Commits for commit messages
- Always ask before committing or pushing
章节与文件索引
按说明文件中的顺序排列。
首先必读
工艺流程
项目惯例
文件/命令 -> _todo/ · npm run compile · npm test · npm run lint · _done/ · node: · if (x != null) · if (x)
内容校验值 -> 79e0a94ceb5e
当前原文的自动摘译,尚未人工审校。
首先必读
在进行任何工作之前,请阅读以下文档:CLAUDE.md docs/SIMPLE-DESIGN.md docs/TDD.md docs/TPP-GUIDE.md
工艺流程
从给定路径读取 TPP(默认:检查
_todo/是否存在现有 TPP) 阅读 TPP 的“必读”部分中列出的所有文档 从清单中识别当前阶段 执行与该阶段匹配的工作: 研究与规划:探索代码、阅读文档、总结 TPP 中的发现项目惯例
测试前始终运行
npm run compile使用??(不是||)进行无效合并 使用node:前缀进行 Node.js 导入 使用if (x != null)而不是if (x)进行布尔安全 测试中不进行模拟 - 使用真正的 ExifTool 和实际图像文件