placeholder-scan
Scan a codebase for unfinished work that must not ship - TODO/FIXME/HACK comments, not-implemented errors, empty bodies and stub returns (64 script patterns across 10 languages), plus a grep pass for mock data, lorem ipsum and debug logging - and report by severity. Used by the ship skill's completion sweep and harden's static gates. Scripts from ribatshepo/auto-orchestrate production-code-workflow (MIT).
- License 许可
- MIT
- 最近更新
- 2026-10-07
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- placeholder-scan
- description
- Scan a codebase for unfinished work that must not ship - TODO/FIXME/HACK comments, not-implemented errors, empty bodies and stub returns (64 script patterns across 10 languages), plus a grep pass for mock data, lorem ipsum and debug logging - and report by severity. Used by the ship skill's completion sweep and harden's static gates. Scripts from ribatshepo/auto-orchestrate production-code-workflow (MIT).
02 资源文件 18
- 参考文档references/review-checklist.md9.8 KB
- 脚本scripts/__init__.py48 B
- 脚本scripts/detect_placeholders.py2.6 KB
- 脚本scripts/layer0/__init__.py1.5 KB
- 脚本scripts/layer0/colors.py1.3 KB
- 脚本scripts/layer0/constants.py1.5 KB
- 脚本scripts/layer0/exit_codes.py1016 B
- 脚本scripts/layer1/__init__.py1.8 KB
- 脚本scripts/layer1/config.py3.7 KB
- 脚本scripts/layer1/error_json.py2.7 KB
- 脚本scripts/layer1/file_ops.py4.4 KB
- 脚本scripts/layer1/heartbeat.py7.9 KB
- 脚本scripts/layer1/logging.py2.2 KB
- 脚本scripts/layer1/memory.py5.3 KB
- 脚本scripts/layer1/output_format.py4.2 KB
- 脚本scripts/layer1/spec_utils.py3.9 KB
- 脚本scripts/placeholder_parser.py15.9 KB
- 脚本scripts/placeholder_scanner.py7.1 KB
03 SKILL.md 正文
Placeholder scan
Finds code that looks finished but isn't. Read-only.
Run
python3 <this skill's base dir>/scripts/detect_placeholders.py -o table <repo> # one path per run: the repo root
python3 <this skill's base dir>/scripts/detect_placeholders.py -o json -s major <repo> # machine-readable, major and up
Needs Python 3.9+. It skips node_modules, .next, .vercel, dist, coverage and similar build folders.
Then
- The script's patterns vary by language and can miss things; always add this grep pass:
console.log(/debuggerin app code,lorem ipsum,example.com/test@in UI copy, hard-coded ids or emails,NEXT_PUBLIC_flags left on for debugging, mock data imported by production routes,.only(/.skip(in tests, commented-out code blocks, and a case-insensitive search fornot implemented,lorem,TODO,FIXME,XXXin*.ts, *.tsx, *.sql. - Check each hit in context: a TODO in a test fixture or a documented post-launch item is fine if it's ticketed; anything on a production path is not.
- Report:
| Severity | File:line | Pattern | Why it matters | Fix or ticket |. Blocker/critical hits on production paths fail the ship skill's completion gate.
Language-specific review points: references/review-checklist.md.
04 同仓库更多 Skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment [Superpowers; user-invoked. Use to write or pressure-test a skill, e.g. product-studio changes.]
writing-plans
Use when you have a spec or requirements for a multi-step task, before touching code [product-studio: canonical Code-tab execution, entered via build-ticket; user-invoked otherwise]
writing-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
wizard
Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs. [Python alternative to playwright-skill (canonical for scripted browser checks); user-invoked only.]
web-design-guidelines
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".