AgentSkillsCN

check-code-complete

在合并代码前,务必确保代码中不存在 TODO 注释、占位实现,或已废弃的冗余代码。

SKILL.md
--- frontmatter
name: check-code-complete
description: Verify code has no TODOs, stub implementations, or dead code before merge
allowed-tools: Bash, Read, Glob, Grep

Check Code Complete Skill

Scan codebase for incomplete work that shouldn't be merged.

Usage

bash
/check-code-complete           # Check current directory
/check-code-complete ./src     # Check specific path

What Gets Checked

CategoryExamples
TODOsTODO:, FIXME:, HACK:, XXX:
StubsEmpty functions, throw "not implemented"
Dead codeCommented blocks, unused imports/vars
Debug artifactsconsole.log, debugger, .only()

Output

List of issues found with file:line references and summary count.

Runbook

Full procedure: runbook/check-code-complete.md in your knowledge base.