/asi:substitute-eraserfrom asi
Scans existing codebase files for placeholder tokens (TODO, FIXME, mock, stub) and generates a prioritized remediation plan. Useful for technical debt audits and pre-merge cleanup.
Ships in asi. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Scan existing codebases for placeholder tokens. Generate remediation plan.
Audit existing files for substitution tokens (TODO, FIXME, placeholder, mock, etc.) and produce actionable remediation plan. Distinct from accept-no-substitutes which validates agent output.
This skill scans what already exists:
Complements accept-no-substitutes (output validation).
# Scan current directory
just substitute-scan .
# Scan specific path
just substitute-scan src/
| Severity | Tokens | Action |
|---|---|---|
| CRITICAL | TODO, FIXME, placeholder, xxx | Must fix before merge |
| WARNING | mock-, fake-, stub-* (outside tests) | Review context |
| INFO | example_, demo_ | Document or remove |
Output format:
SUBSTITUTE ERASER REPORT
========================
Scanned: 142 files
Found: 23 substitutions
CRITICAL (7):
src/auth.py:42 TODO: implement token refresh
src/api.py:118 placeholder value
src/db.py:55 FIXME: race condition
...
WARNING (12):
src/service.py:30 mock_client (not in test file)
...
INFO (4):
README.md:15 example_config
...
REMEDIATION PLAN:
1. [CRITICAL] src/auth.py:42 - Implement token refresh logic
2. [CRITICAL] src/api.py:118 - Replace placeholder with actual value
...
| Pattern | Acceptable In |
|---|---|
mock-*, fake-*, stub-* | *_test.py, test_*.py, /tests/ |
example_* | README.md, /docs/, /examples/ |
demo_* | /demo/, documentation |
TODO | Issue tracker references with ID |
Mark intentional placeholders:
# SUBSTITUTE-OK: mock used for test isolation
mock_client = MockHTTPClient()
# Full scan with report
just substitute-scan <path>
# Critical only (CI mode)
just substitute-critical <path>
# Generate remediation tasks
just substitute-tasks <path> --output=github # GitHub issues
just substitute-tasks <path> --output=linear # Linear tickets
just substitute-tasks <path> --output=todo # TODO file
# Interactive fix mode
just substitute-fix <path>
Operates as MINUS (-1) in audit triads:
substitute-eraser(-1) + code-generator(+1) + review-coordinator(0) = 0
Emits rejection signal when scan finds violations above threshold.
references/patterns.md - Detection regex patterns (shared with accept-no-substitutes)references/remediation.md - Fix strategies per token typescripts/scan.py - Main scanning scriptscripts/report.py - Report generationWhat SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (plurigrid/asi) — no native marketplace selected
npx claudepluginhub p/plurigrid-asi-plugins-asi1,393 skills in this plugin
/abductive-replHypothesis-Test Loops via REPL for Exploratory Abductive Inference/academic-researchSearch academic papers across arXiv, PubMed, Semantic Scholar, bioRxiv, medRxiv, Google Scholar, and more. Get BibTeX citations, download PDFs, analyze citation networks. Use for literature reviews, finding papers, and academic research./accept-no-substitutesThis skill should be used when agents generate placeholder tokens like "pseudo-", "mock-", "temporary", "TODO", "demo-", or similar incompleteness markers. Detects substitution patterns in agent OUTPUT and triggers mandatory user interview instead of accepting incomplete work. Activates automatically on any output containing forbidden tokens.Other plugins' skills for the same job