mock-code-finder
Made by JeffFind stubs, mocks, placeholders, TODOs, and fake code in a project. Use when "find mocks", "find stubs", "find placeholders", "check for fake code", or auditing for incomplete code.
From Jeffrey's Skills.md: professionally crafted skills for any AI agent, installed and kept in sync by the jsm CLI. Subscription only, $20/month.
Works With
Quality and Utility come from canonical skill metadata. Community ratings appear separately as stars when subscriber reviews exist.
Subscribe to download
Public previews are available, but downloads, CLI sync, and premium content require an active subscription.
Sign In to Subscribe- Full skill content with deterministic versioning
- CLI sync + local search index
- Access to Jeffrey’s premium library
Save to your account
Saved skills live in your cloud list. Run jsm sync on each machine to pull them locally.
What's New with this Skill
1Updates, enhancements, and release notes for this skill.
Mock Code Finder: Systematically Eliminate Stubs and Placeholders
Multi-method detection skill that finds stubs, mocks, placeholders, and TODOs using ripgrep, ast-grep, and behavioral checks, then builds a resolution plan as beads or a TODO list.
- 11 detection methods across keyword, AST, and behavioral analysis
- Auto-detects beads (br CLI) and adapts: beads for 5+ findings, a TODO list for smaller batches
- Caller tracing confirms stubs by checking whether downstream code depends on real output
- Finds what grep misses: sleep() as fake I/O, hardcoded scores, divergent code paths
- Discovery, resolution, and bead-refinement prompts, backed by behavioral lessons drawn from 7+ repos
- 4-way finding categorization: just-needs-code, blocked-on-infra, dead-code, intentional-stub
- ast-grep pattern library for Rust, Python, TypeScript, and Go
The Problem
Long-running multi-agent projects accumulate fake code: todo!() macros, functions that always return true, sleep() calls standing in for real I/O, hardcoded scores, and API routes that return 501. A single grep catches the obvious markers but misses structural and behavioral stubs.
Detection layers
Mock Code Finder uses 11 detection methods across three kinds of analysis: