跳到正文
cccskills
免费在 GitHub 公开

tpp

Work on a Technical Project Plan. Use when starting complex features, cross-platform changes, native module modifications, or multi-session work that needs persistent context.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Work on TPP

Make progress on the referenced Technical Project Plan. Determine the current phase and take appropriate action.

Required Reading First

Before any work, you MUST read:

  • CLAUDE.md — project conventions, critical knowledge, anti-patterns, and CI/CD constraints
  • CONTRIBUTING.md — development setup, pre-commit checklist, npm script naming conventions
  • doc/gotchas.md — platform-specific quirks, timeout issues, testing pitfalls
  • doc/TPP-GUIDE.md — how TPPs work in this project
  • When touching native C++ code, also read:
    • doc/C++_REVIEW_TODO.md — memory management, RAII, platform API usage, security validation
    • The relevant platform API reference:
    • doc/MACOS_API_REFERENCE.md, doc/LINUX_API_REFERENCE.md, doc/WINDOWS_API_REFERENCE.md

Process

  1. Read the TPP from _todo/
  2. Read all files listed in the TPP's "Required reading" section
  3. Identify the current phase from the checklist
  4. Do the work for that phase
  5. Update the TPP with progress and discoveries
  6. When a phase is complete, check off the phase and move to the next

Phase-Specific Guidance

Research & Planning

  • Read relevant source code — don't guess how things work
  • Check all three platform implementations (darwin/, linux/, windows/)
  • Search for prior art in the codebase
  • Validate assumptions about platform APIs with web searches
  • Document findings in the TPP's Lore section

Write Breaking Tests

  • Write tests that demonstrate the problem or define the new behavior
  • Tests must follow project conventions: no exact equality for dynamic values, no arbitrary timeouts
  • Ensure tests are deterministic and CI-reliable across all platforms

Design Alternatives

  • Use the /replan skill for complex design decisions
  • Document at least two options with pros/cons
  • Consider cross-platform implications for every option
  • Evaluate backwards compatibility impact
  • Prefer zero runtime dependencies — solve with native APIs or stdlib, not npm packages

Implementation

  • Follow RAII for all native resource management
  • Platform-specific code goes in platform directories (darwin/, linux/, windows/)
  • Shared interfaces go in src/common/
  • Run npm run preflight before declaring implementation complete

Review & Refinement

  • Use the /review skill to catch issues
  • Verify all three platforms build and pass tests
  • Check for memory leaks (see CLAUDE.md memory leak detection section)

When Context Runs Low

If you're running low on context, run /handoff to persist your progress before the session ends.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

handoff

免费

Update TPP for engineer handoff when context is running low. Use when ending a session, running out of context, or switching to a different task.

中文简介正在准备中。当前显示原文说明。

photostructure/fs-metadata82026年10月6日 更新

replan

免费

Iterative deep planning with critiques and alternatives. Use when facing complex design decisions, cross-platform changes, native module modifications, or API changes requiring thorough analysis.

中文简介正在准备中。当前显示原文说明。

photostructure/fs-metadata82026年10月6日 更新

review

免费

Review code for potential issues and improvements. Use when asked to review specific files, functions, or code sections.

中文简介正在准备中。当前显示原文说明。

photostructure/fs-metadata82026年10月6日 更新

查看 photostructure 的全部技能

报告此技能的问题