Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Maintains CODEOWNERS files and team directories, and resolves each file's owner team to help split large PRs.
32% 95%+64 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 7 of 22 without it.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Use resolve-codeowners.js to annotate any list of files with their CODEOWNERS team — handy when splitting a large PR by team owner. It uses the same matcher as the CI check in validate-codeowners, so it resolves exactly as GitHub does (case-sensitive, no install needed).
# From a git diff
git diff --name-only HEAD~1 | node .agents/skills/codeownership/resolve-codeowners.js
# Explicit file list
node .agents/skills/codeownership/resolve-codeowners.js apps/ledger-live-desktop/src/foo.ts libs/env/src/bar.ts
# Override CODEOWNERS location
node .agents/skills/codeownership/resolve-codeowners.js --codeowners /path/to/CODEOWNERS <files...>
Output format (same columns as CODEOWNERS, but resolved to actual files):
apps/ledger-live-desktop/src/main/index.ts @ledgerhq/platform
apps/ledger-live-desktop/src/renderer/foo.ts @ledgerhq/wallet-xp
.github/workflows/e2e.yml @ledgerhq/wallet-ci @ledgerhq/qaa
random/unknown/file.xyz (no owner)
Semantics: last-rule-wins; ownerless entries appear as (no owner).
Next to this one in the catalogue, plus more from the same author.