rmyz/dotfiles/search-by-codeowner
Claude Code and agent skill by rmyz/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
Search for a term in files owned by a specific GitHub team based on CODEOWNERS. Use when asked to find code within a team's ownership boundary.
Install
npx vskill@latest install rmyz/dotfiles/search-by-codeownerSKILL.md
The same SKILL.md was published earlier as rmyz/dotfiles/search-by-codeowner.
Search by Code Owner
Overview
The .github/CODEOWNERS file in the Kibana checkout maps file paths to owning GitHub teams. This skill searches tracked .js, .jsx, .ts, .tsx, .json, .md, .yml, and .yaml files outside node_modules, build, and target directories whose last matching rule assigns them to the requested team.
The scan root is the current directory. The worktree needs kbnb to have run.
Helper script
The script lives with the skill (outside the Kibana repo). Because Node resolves modules relative to the script's location, NODE_PATH must point at Kibana's node_modules so @kbn/setup-node-env, @babel/runtime, etc. resolve correctly:
Options:
--team <team>-- GitHub team (e.g.,@elastic/kibana-core). The@prefix is added automatically if missing.--search <term>-- term to search for (case-insensitive grep)
Output: JSON with team, searchTerm, totalScannedFiles, totalMatchingFiles, matchingFiles[], and analysisTimeMs.
How it works
- Parses
.github/CODEOWNERSin rule order - Lists tracked files and applies CODEOWNERS glob patterns; the last matching rule sets each file's owners
- Runs
grep -ilon files owned by the target team - Returns relative file paths (relative to the scan root) sorted alphabetically
If the script fails, read .github/CODEOWNERS, drop paths that a later rule assigns to another team, and use Grep on the remaining paths.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagents/skills/search-by-codeowner/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rmyz/dotfiles/search-by-codeowner)