From tk-research
Use when planning or designing features and need to understand current codebase state, find existing patterns, or verify assumptions about what exists; when design makes assumptions about file locations, structure, or existing code that need verification - prevents hallucination by grounding plans in reality
How this skill is triggered — by the user, by Claude, or both
Slash command
/tk-research:investigating-a-codebaseThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Understand current codebase state to ground planning and design decisions in reality, not assumptions. Find existing patterns, verify design assumptions, and provide definitive answers about what exists and where.
Understand current codebase state to ground planning and design decisions in reality, not assumptions. Find existing patterns, verify design assumptions, and provide definitive answers about what exists and where.
Use for:
Don't use for:
When given design assumptions to verify:
Why this matters: Prevents implementation plans based on wrong assumptions about codebase structure.
| Task | Strategy |
|---|---|
| Where is X | Glob likely names → Grep keywords → Read matches |
| How does X work | Find entry point → Follow imports → Read implementation |
| What patterns exist | Find examples → Compare implementations → Extract conventions |
| Does X exist | Multiple searches → Definitive yes/no → Evidence |
| Verify assumptions | Extract claims → Search each → Compare reality vs expectation |
Multiple search approaches:
Don't stop at first result:
Verify everything:
Lead with direct answer:
Provide actionable intelligence:
Handle "not found" confidently:
| Mistake | Fix |
|---|---|
| Assuming file locations | Always verify with Read/Glob before reporting |
| Stopping at first result | Explore multiple paths to verify findings |
| Vague locations ("in auth folder") | Exact paths (src/auth/index.ts:42) |
| Not documenting search strategy | Explain what was checked when reporting "not found" |
| Confusing "not found" types | Distinguish "doesn't exist" from "couldn't locate" |
| Skipping design assumption comparison | Explicitly report: confirmed/discrepancy/addition/missing |
| Reporting assumptions as facts | Only report what was verified in codebase |
Provenance: ported from ed3d-plugins/ed3d-research-agents (CC-BY-SA-4.0).
npx claudepluginhub tk-evans01/tk-harness --plugin tk-researchCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.