skills/identify-where/SKILL.md
Identify where a plain-language feature or behavior lives in the current codebase and return the top-level file(s) to inspect first. Use this when the user says 'where is X implemented', 'find where this logic lives', 'which file handles Y', 'locate this feature', or 'what file should I read first for Z'. Also trigger when someone describes behavior in prose and wants likely owning files.
npx skillsauth add ryan-mahoney/ryan-llm-skills identify-whereInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Find the best starting file(s) for a feature described in plain language. This skill favors top-level ownership files (routes, feature entry modules, public API exports, page roots, orchestrators) over leaf helpers so the next agent can orient quickly.
$1 - Required. Plain-language description of functionality to locate (example: user invite email flow).$2 - Optional. Search scope path. Defaults to ..$1 is present and non-empty.feature_query="$1"
search_scope="${2:-.}"
AGENTS.md exists, read it first to learn routing, module boundaries, and naming conventions.Extract likely domain terms, synonyms, and implementation words from feature_query.
invoice, workspace, invite).create, sync, validate).invite -> invitation).Run both filename and content searches using rg.
query_regex="$(printf '%s' "$feature_query" | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9 ]/ /g' | xargs -n1 | paste -sd'|' -)"
rg --files "$search_scope" | rg -i "$query_regex"
rg -n -i "$query_regex" "$search_scope"
From all matches, rank files in this order:
When present, prefer files that are imported by many callers or act as the first boundary for the behavior.
Pattern reference: Reachability-first analysis mirrors skills/controller-refactor-plan/SKILL.md.
For the top 3-5 candidates, confirm they are actually involved by checking imports/callers:
candidate="<path>"
candidate_base="$(basename "${candidate%.*}")"
rg -n "$candidate_base" "$search_scope"
Discard false positives and promote files with concrete behavioral evidence.
Return:
Primary file when confidence is high.Other likely files (usually 2-5) ranked by confidence.high, medium, low).Use this output shape:
## Primary File
- `<path>` - Why this is the ownership entry point.
## Other Likely Files
- `<path>` - Why it likely participates.
## Evidence
- `<search signal 1>`
- `<search signal 2>`
## Confidence
- `<high|medium|low>`
Pattern reference: Evidence-first reporting style should follow skills/specops-analysis/SKILL.md and architecture-context checks should follow skills/architect-initial/SKILL.md.
testing
This skill should be used when the user asks to "run the spec", "implement the spec", or "execute the spec". Implements every step in a SpecOps implementation spec by delegating each step (or logical group of adjacent steps) to a sequential subagent, conventional-committing each one independently, and — when `roborev` is on the path — running `roborev check` on every commit and `roborev fix` (with spec context, so the fix cannot silently drift the implementation away from the spec) on any commit that fails.
development
Exhaustively audit a top-level UI implementation component against an HTML prototype and produce a grouped markdown checklist of corrections. Use when a user asks for UI parity review, visual QA, design implementation audit, pixel-level drift detection, or behavior/style mismatch analysis between prototype HTML and shipped component code.
development
Audit a SpecOps implementation spec against its source analysis spec to find requirements, policies, contracts, edge cases, error modes, invariants, defaults, side effects, or implementation steps that the implementation has dropped, weakened, contradicted, or silently changed — then patch the implementation spec to restore them. Use this skill whenever the user mentions auditing, comparing, conforming, reconciling, or checking an implementation spec against an analysis spec, finding gaps between two specs, ensuring an implementation spec preserves analysis behavior, or verifying spec derivation or traceability. Also trigger when the user describes "did the implementation spec lose anything from the analysis," "does the implementation match the analysis," "verify the implementation spec covers everything," or asks to confirm one spec is faithful to another. Run this before generating code from an implementation spec and after either spec is edited.
development
Audit a set of SpecOps analysis specs for cross-spec coherence — establish a dependency-ordered implementation sequence, then verify pairwise integration contracts at module boundaries plus three cross-cutting consistency dimensions (shared data models, side-effect ownership, terminology) — and patch the affected specs to resolve gaps. Use this skill whenever the user mentions cross-spec consistency, integration gaps between specs, conflicts between specs, duplicate work across specs, implementation order, dependency order for migration, building an implementation-order checklist, ensuring specs interoperate, terminology drift across specs, or shared data model conflicts. Also trigger when the user describes "do my specs agree with each other," "what order should I implement these in," "find inconsistencies across all my specs," or asks to audit a folder of analysis specs as a set rather than individually. Run this once after generating a full set of analysis specs, before deriving implementation specs.