/tea-rags:explorefrom tea-rags
Investigates existing code behavior, usages, structure, and examples with minimal source investigation. Selects the smallest sufficient evidence route rather than broad searches.
Ships in tea-rags. 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.
None: SKILL.md is the whole skill.
Answer the literal question with the smallest sufficient source investigation. Reuse code, outlines, edges, skills and guides already retained in context. Reload only changed material or instructions missing after compaction; a new question does not itself require rereading this skill.
Start from what is known. If retained evidence answers the question, answer without tools. Otherwise select one route below, not a sequence of all routes. Core rules own project/path addressing, freshness, exact-text exceptions and result contracts; do not fetch their guides again when those rules are known.
Keep context small: discovery starts metaOnly:true with a small set (e.g.
limit:5, adjusted to scope). Choose anchors before bodies. Batch only methods
needed now, not containing classes/trees; headers/shared declarations need their
own evidence gap. Every read closes a missing fact in this question, never
prefetches for a future one.
Search/outline already supplies the needed method ids → read those methods
directly in ONE find_symbol(symbols:[…]). Do not first list their directory,
outline their file, or fetch their containing class. A known filename alone may
still need its outline to identify a method; retain that outline for follow-ups.
For known independent config/spec/migration reads, dispatch a single batch: one
bounded default code read command per file, concurrently in one code-mode
wrapper where available. Do not insert model turns between independent reads.
| Need | Route |
|---|---|
| Known symbol's definition | find_symbol(symbol:); reuse a held real id/body. |
| Known file/directory or several files | find_symbol(relativePath:), or ONE find_symbol(symbols:[<file paths>]). Read only needed member ids from an outline. |
| Exact-name occurrences or complete inventory/absence in known paths | Grep tool, filenames (-l) first; fetch enclosing bodies only for requested behavior/context. Ranked search is not proof of completeness. |
| Behavior without a known location | semantic_search; exact symbol plus intent → hybrid_search. Scope to the supplied path; use hits to fetch only missing evidence. |
| Callers, callees, flow or change impact | Known id → get_callers/get_callees (depth: 2); resolve missing ids once. A→B chain → trace_path. Batch only needed unread bodies. |
| Test coverage | One hybrid_search with module/exported names, testFile:"only", metaOnly:true; a missing hit is not proof of no tests. |
A factual question about an existing integration is not automatically template mining or preparation to implement it. Neither future implementation context nor words inside symbol names change the current question's intent. "Lessons from the existing integration" stays factual unless an implementation template is requested. An explicitly requested body remains a direct read.
Use a reference only when that branch is needed and its instructions are not already held. Recipes are not minimum call counts: continue only to close an identified evidence gap.
architecture-diagnostics
invocation, or structural refactoring → architecture-diagnostics. Never use
it or get_architecture_report to gather context, explain contracts or give a
code overview; read the relevant implementations instead.get_naming_lexicon; names introduced by a diff →
review_changes(sections:["naming"]). Detailed naming interpretation →
naming-pattern.Use an explicit current codegraph setting, otherwise availability in the tool list; no probe call. Without graph evidence, label inferred calls/dependencies and never claim a proven absence of cycles or paths.
Source establishes behavior; tests establish expectations; docs describe intent. Add tests or specifications only when requested or needed to resolve uncertainty. Verify a behavioral doc claim against source already held, or fetch its known symbol; discovery search is needed only when the location is unknown.
A complete fresh body from ANY tea-rags tool, including semantic_search, is
already read authoritative code. Answer from it; no find_symbol, Read or shell
confirmation of the same body. Metadata/signatures/outlines/container headers
are not method bodies. Refresh only affected edited/stale or missing evidence. A
held full body can answer a point question with zero further reads. An outline
is an address map, not evidence of method behavior; fetch only the relevant
missing bodies in ONE batch. Reassemble #partN before reasoning about its
whole method. If needed content is truncated, follow the relevant continuation;
unneeded pages are not required. Known paths and returned ids replace
rediscovery.
Stop when the requested facts have evidence. State unresolved limits rather than
expanding into neighboring patterns, ownership, tests or design work. Answer
directly with relevant file:line citations and a concise explanation; report
an explicit inventory's coverage limit. No mandatory strategy preamble, workflow
recital or extra output format for a simple question.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub artk0de/tearags-mcp --plugin tea-rags17 skills in this plugin
/analytics-rerankPick tea-rags rerank preset, build `{custom: {...}}` weight set, or compose analytics-driven search (ownership, tech-debt, hotspots, code-review, security-audit, fragile-silo). Invoke on intent like "rank by ownership", "find tech debt", "hotspot scan", "code review of recent changes", "security audit of auth code", "code that looks stable but breaks a lot", "custom weights for impact analysis". NOT for project health scan needing cross-preset overlap — use `tea-rags:risk-assessment`. NOT for debug root-cause — use `tea-rags:bug-hunt`. NOT for filter shape — use `tea-rags:filter-building`./architecture-diagnosticsDiagnose structural violations for an explicit architecture audit, an explicit invocation of this skill, or structural refactoring. Assess dependency/layer violations, coupling and move candidates. Not for context gathering, code overviews, behavior or contract questions, or routine feature work. Risk/health uses risk-assessment; failures use bug-hunt; plain cycles use find_cycles./bug-huntFind source of concrete failure — rank historically buggy code (high bugFixRate + churn) AND freshly changed never-fixed code (committed or still uncommitted) against symptom. Triggers on "debug X", "why does Y fail", "test fails", "stack trace says Z", "find bugs in X", "found a bug in X — show / compare Y", "suspects in X and Y — search both", a search hit with bugFixRate / ageDays labels ("proceed?", "проверь там"), "where is error 'X' in code", "где в коде строка / упоминается 'X'", "when did error 'X' appear in git history", "когда появилась ошибка 'X'", "read the whole file" / "прочитай весь файл" of a search hit, "падает". NOT for code history without an error string or failure ("when did X change", "посмотри через git" alone) — core routing answers it. NOT for code health scanning without bug intent — use risk-assessment for that.Other plugins' skills for the same job