Audit intermediate Works with: Any AI

CODEOWNERS and Review Assignment Coverage Review

Table output

Check a CODEOWNERS file against your repo folders to find unowned areas, overlaps, stale owners and over-wide patterns.

The Open buttons send the prompt text as currently shown below to that site only when you click. Fill in the placeholders first.

[VERIFY] is an editorial flag, not a blank to fill. Wherever the prompt shows [VERIFY], check that item against a reliable source before you use it.

Rate this prompt

Loading ratings…

I will paste our CODEOWNERS file from [REPO_NAME] and the top two levels of our folder tree. CODEOWNERS: [CODEOWNERS_CONTENT]. Folder tree: [FOLDER_TREE]. Current teams and people available: [TEAM_ROSTER]. Areas that are riskiest in our judgment: [RISKY_AREAS].

Please produce: 1) A coverage table listing every folder with the columns Folder, Matching rule, Owner and Status (covered, uncovered, overlapping, owner not in roster). 2) Counts and percentages for each status, with the arithmetic. 3) Rules that look wrong, such as a catch-all pattern placed last that overrides earlier ones, a pattern that matches nothing, or ownership by one person only (a single point of failure). 4) A comparison of the risky areas I named against who currently reviews them. 5) A tidied suggested CODEOWNERS draft with comments, using team handles in place of individuals wherever the roster allows.

Rules for you: pattern matching in CODEOWNERS follows specific precedence and syntax, so explain your reading of the order and mark any assumption [VERIFY] against GitHub's current documentation. Do not invent teams or handles; use placeholders when something is missing. Warn me that requiring owner review on every path can slow work, and suggest where to be lenient. Nothing should be applied automatically; I will test on a branch.

Fill in before use

Optional: type your details and the prompt above updates. Nothing is saved or sent.

Replace each bracketed placeholder with your own details, then paste into Any AI or another assistant.

Related prompts