Primary finding
Originality check is unreliable — only inspects skills/ on default branch, missing skills in PR branch or other paths
lowbugmedium
- skills/pr-triage/SKILL.md:95-101
The check only lists `/skills` on main once per run. If two PRs in the same run each introduce the same new skill directory, both will pass originality (neither is on main yet). Also, repos may use a default branch other than `main`. Lastly, comparing case-sensitively can miss collisions like `myskill` vs `MySkill` on case-insensitive filesystems.
Recommendation
Use the repo's default branch (`gh api repos/owner/repo --jq .default_branch`), and also collect new-skill names seen earlier in the same run to detect intra-run collisions; do case-insensitive matching.