Rewrite Claude skill-directory references to the native skill root.
name: skill-canonical-location-audit
description: 'Audit skills for canonical-location duplication. Use when ensuring a canonical location for a given item is defined in exactly one skill and duplicates are flagged.'
Skill Canonical-Location Audit
Audit skills to ensure canonical locations for the same item are not defined in multiple places.
When to Use This Skill
Use this skill when:
You add or update skills that define canonical locations.
You want to verify that canonical paths live in exactly one skill.
You need a duplication report listing which skills conflict.
Scope
Applies to all skills under .agents/skills/**/SKILL.md.
Focuses on canonical locations (paths, folders, or file names) for a given item (e.g., PR context artifacts, evidence locations, issue mirrors).
Audit Workflow
Inventory canonical-location statements
Read each SKILL.md and extract explicit canonical location statements (paths, folders, file names).
Group statements by the item they describe (e.g., “PR context summary”, “baseline evidence”).
Detect duplicates
For each item group, verify that exactly one skill defines its canonical location.
If two or more skills define the same item’s canonical location, flag it as a duplication.
Report results
Produce a short report listing:
The item with duplicated canonical location
The conflicting skills
A recommendation for consolidation (name the single skill to keep as source-of-truth)
Output Template (Suggested)
Item:
Skills with definitions: , , ...
Recommendation: Keep as canonical; remove duplicates from others.
Notes
If a skill references a canonical location indirectly (e.g., “see evidence-and-timestamp-conventions”), do NOT treat that as a duplication.
Only treat explicit canonical paths or filenames as definitions.
1---2name: skill-canonical-location-audit-73description: Converted skill4---5# Converted skill67Applied rewrites:8- Rewrite Claude skill-directory references to the native skill root.910---11name: skill-canonical-location-audit12description: 'Audit skills for canonical-location duplication. Use when ensuring a canonical location for a given item is defined in exactly one skill and duplicates are flagged.'13---1415# Skill Canonical-Location Audit1617Audit skills to ensure canonical locations for the same item are not defined in multiple places.1819## When to Use This Skill2021Use this skill when:22- You add or update skills that define canonical locations.23- You want to verify that canonical paths live in exactly one skill.24- You need a duplication report listing which skills conflict.2526## Scope2728- Applies to all skills under `.agents/skills/**/SKILL.md`.29- Focuses on canonical locations (paths, folders, or file names) for a given item (e.g., PR context artifacts, evidence locations, issue mirrors).3031## Audit Workflow32331) Inventory canonical-location statements34 - Read each `SKILL.md` and extract explicit canonical location statements (paths, folders, file names).35 - Group statements by the item they describe (e.g., “PR context summary”, “baseline evidence”).36372) Detect duplicates38 - For each item group, verify that exactly one skill defines its canonical location.39 - If two or more skills define the same item’s canonical location, flag it as a duplication.40413) Report results42 - Produce a short report listing:43 - The item with duplicated canonical location44 - The conflicting skills45 - A recommendation for consolidation (name the single skill to keep as source-of-truth)4647## Output Template (Suggested)4849- Item: <canonical item name>50 - Skills with definitions: <skill A>, <skill B>, ...51 - Recommendation: Keep <skill X> as canonical; remove duplicates from others.5253## Notes5455- If a skill references a canonical location indirectly (e.g., “see evidence-and-timestamp-conventions”), do NOT treat that as a duplication.56- Only treat explicit canonical paths or filenames as definitions.
Run npx skillmds@latest add drmoisan/skill-canonical-location-audit-7 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Converted skill It is listed under Security on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
drmoisan (@drmoisan) published this skill. Their other Agent Skills are listed on their SkillMD profile.