/todo
Add a TODO comment to code with optional priority and assignee
$ npx -y skills add huangjia2019/claude-code-engineering --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/todo
Context preview
What this command does when you run it.
Add a TODO comment to code with optional priority and assignee
Command definition
todo.mdname: todo description: Add a TODO comment to code with optional priority and assignee
When the user runs `/todo [message]`, help them add a TODO comment.
Behavior
1. If a file is currently open or recently edited, add the TODO there 2. Format the TODO comment appropriately for the file's language:
- JavaScript/TypeScript: `// TODO: message`
- Python: `# TODO: message`
- HTML/XML: `<!-- TODO: message -->`
- CSS: `/* TODO: message */`
3. If the message includes priority markers, format accordingly:
- `!` → HIGH priority
- `?` → needs discussion
- Default → normal priority
Examples
User: `/todo fix null check` Result: `// TODO: fix null check`
User: `/todo ! critical security fix` Result: `// TODO [HIGH]: critical security fix`
User: `/todo ? should we use async here` Result: `// TODO [DISCUSS]: should we use async here`
Guidelines
- Insert the TODO at a logical location (near related code)
- If no file context, ask the user where to add it
- Keep TODO messages concise but descriptive
This repository demonstrates how to use Claude Code to do real engineering work, not just writing code. 本项目是极客时间专栏 《Claude Code 工程化实战》 的官方配套示例仓库,目标就是: 👉 把 Claude Code 从“对话式编码工具”,变成 可设计、可复用、可治理的工程系统。
Other commands on claude-code-engineering.
- /commit
Quick git commit with auto-generated or specified message
Open command - /explain
Explain code in simple, beginner-friendly terms
Open command - /log
Show recent git history with summary
Open command - /status
Show git status with helpful context
Open command - /review
对代码进行全面审查,输出结构化报告
Open command - /analyze
Deep analysis of code against project standards
Open command

