/shia-guides:style-guide-lintfrom shia-guides
Quality-check the code-style guide for contradictions, duplications, and ambiguous rules. Run after editing the code-style skill files.
Ships in shia-guides. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Detect contradictions and duplications across the code-style guide files before they drift apart. A duplicated rule is a latent contradiction: once one copy is edited and the other is not, the guide disagrees with itself.
Output is a report. Never apply fixes as part of this skill; propose them.
Resolve the guide directory in this order:
plugins/shia-guides/skills/code-style/ under the current repository, if it exists (linting the working copy).code-style skill directory (sibling of this skill's base directory).Lint SKILL.md and every file under reference/.
Read every target file and extract each normative statement (imperatives and value judgments: prefer, avoid, do, don't, never, always, use, write). Build a table:
| ID | Location | Rule (condensed) | Topic |
|---|---|---|---|
| S-01 | SKILL.md:26 | Comments explain why/why not, not what | comments |
Group the inventory by topic and examine every same-topic pair (within a file and across files). SKILL.md must also be audited against itself — its principle bullets and its dedicated sections can restate each other. Classify each overlapping pair:
Rules of thumb:
For the 2–3 topics with the heaviest overlap, write a short code sample (in the relevant language) that the overlapping rules all apply to, and derive what the guide tells you to do. If two rules push the sample in different directions, that confirms a contradiction — record the sample in the finding. If the rules agree on the sample, the pair stays at whatever Step 2 classified it as (usually duplication). Static reading misses conflicts that only appear in application; this step catches them.
Present findings sorted by severity: contradictions, then duplications. For each finding include:
file:line locations and short quotes.Close with the inventory size (rules extracted per file) so coverage is visible. If nothing is found, say so plainly and still show the inventory size.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
9 skills in this plugin
/code-styleriseshia's coding conventions. Use it always unless a project-specific convention (CLAUDE.md, style guides) exists./code-style-auditAudit Claude-authored commits across all repositories Claude has worked in against the code-style guide, reporting violations plus guide defects (missing, dead, or ambiguous rules) the violations reveal. Run on demand from the dotfiles (marketplace) repo./commitCreate a git commit with auto-generated messagenpx claudepluginhub riseshia/dotfiles --plugin shia-guides