Audit a skill against design best practices - structure, modularization, token efficiency, reference file patterns, and known gotchas.
Audits skill designs against best practices for structure, modularization, and token efficiency.
npx claudepluginhub jugrajsingh/skillgardenThis skill is limited to using the following tools:
references/gotchas.mdreferences/modularization.mdreferences/structure.mdEvaluate a skill's SKILL.md and reference files against best practices for structure, modularization, and token efficiency.
If path provided, read it directly. Otherwise:
Glob: **/skills/*/SKILL.md
Ask user which skill to audit via AskUserQuestion.
Read the SKILL.md and list any references/ directory contents:
Glob: {skill_dir}/references/*.md
Count SKILL.md lines. Reference: every SKILL.md line costs tokens on every invocation.
| Lines | Rating | Action |
|---|---|---|
| < 200 | Good | No action needed |
| 200-400 | Watch | Consider if all content is always needed |
| 400-500 | Extract | Identify conditionally-loaded sections |
| > 500 | Over budget | Must extract to references |
Read references/structure.md for the structural checklist.
Read references/modularization.md for the reference file pattern checklist.
Read references/gotchas.md for known pitfalls.
============================================================================
Skill Audit: {plugin}:{skill}
============================================================================
Token Budget:
SKILL.md: {lines} lines ({rating})
References: {count} files, {total_lines} lines (loaded conditionally)
Structure: Score
✓/✗ Frontmatter complete {pass/fail}
✓/✗ Skill has allowed-tools {pass/fail}
✓/✗ Workflow numbered steps {pass/fail}
✓/✗ Detection before generation {pass/fail}
✓/✗ User confirmation before action {pass/fail}
✓/✗ Report section at end {pass/fail}
Modularization: Score
✓/✗ No unconditional large blocks {pass/fail}
✓/✗ References used for variant content {pass/fail}
✓/✗ References loaded conditionally {pass/fail}
✓/✗ No repeated content across references {pass/fail}
Gotchas: Score
✓/✗ No backticks around shell metacharacters {pass/fail}
✓/✗ No name collision (command vs skill) {pass/fail}
✓/✗ Variables use correct placeholder syntax {pass/fail}
✓/✗ ASCII indicators (no emoji) {pass/fail}
Findings:
{severity} {description}
...
Recommendations:
{numbered_list}
============================================================================
references/structure.md - Skill structure checklistreferences/modularization.md - Reference file patterns and when to extractreferences/gotchas.md - Known pitfalls in skill authoringExpert guidance for Next.js Cache Components and Partial Prerendering (PPR). **PROACTIVE ACTIVATION**: Use this skill automatically when working in Next.js projects that have `cacheComponents: true` in their next.config.ts/next.config.js. When this config is detected, proactively apply Cache Components patterns and best practices to all React Server Component implementations. **DETECTION**: At the start of a session in a Next.js project, check for `cacheComponents: true` in next.config. If enabled, this skill's patterns should guide all component authoring, data fetching, and caching decisions. **USE CASES**: Implementing 'use cache' directive, configuring cache lifetimes with cacheLife(), tagging cached data with cacheTag(), invalidating caches with updateTag()/revalidateTag(), optimizing static vs dynamic content boundaries, debugging cache issues, and reviewing Cache Component implementations.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.