Skip to main content

check-skill-formatting

Checks skill files for formatting violations — preprocessing patterns, placeholder conventions, and frontmatter. Use when validating skills, checking formatting, or when check formatting, lint skills, or skill quality are mentioned.

Quellinformationen

Repository
outfitter-dev/outfitter
Letzte Quellaktivität
25. Februar 2026 um 16:13
Erkannte Sprache von SKILL.md
Englisch
Sterne
6
Forks
1

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

Datei-Explorer
2 Dateien

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
check-skill-formatting
description
Checks skill files for formatting violations — preprocessing patterns, placeholder conventions, and frontmatter. Use when validating skills, checking formatting, or when check formatting, lint skills, or skill quality are mentioned.
user-invocable
true
allowed-tools
Skill, Bash, Read, Glob, Grep
argument-hint
[path]
# Check Skill Formatting Validate skill files against formatting conventions. Catches preprocessing hazards, placeholder violations, and frontmatter issues. ## Steps 1. Load the `/skillcheck` skill (runs preprocessing linter) 2. Run the placeholder linter to find `[string]` patterns that should use `{ string }` convention 3. Run the fence linter to find bare code fences and nesting issues 4. Run the relative paths linter to find `../` references that should use `${CLAUDE_PLUGIN_ROOT}` 5. Review findings and fix violations ## Placeholder Linter Scan markdown files for `[string]` patterns that aren't markdown links or file references: ```bash bun .claude/skills/check-skill-formatting/scripts/lint-placeholders.ts ${ARGUMENTS:-plugins/} ``` ### What it catches Instructional placeholders using brackets instead of braces: | Found | Expected | | --------------------------------- | ----------------------------------- | | `[Complete AWS-specific content]` | `{ complete AWS-specific content }` | | `[Details follow...]` | `{ details follow }` | | `[Section content]` | `{ section content }` | ### What it skips - Markdown links: `[text](url)` or `[text](#anchor)` - File references: `[file.md]`, `[config.json]` - Checkboxes: `[x]`, `[ ]`, `[-]` - GitHub admonitions: `[!NOTE]`, `[!WARNING]` - Code fences and HTML comments - All-caps tokens under 12 chars: `[REDACTED]`, `[TIME]` ## Fence Linter Scan markdown files for code fence issues — bare fences without language specifiers and broken nesting: ```bash bun plugins/fieldguides/scripts/lint-fences.ts ${ARGUMENTS:-plugins/} ``` ### What it catches - **Bare fences**: Opening ` ``` ` without a language (suggests one based on content heuristics) - **Broken nesting**: Inner fence with same backtick count as outer fence (use ` ` ```` for outer) ### Fix patterns | Issue | Fix | | ---------------------------------- | ---------------------------- | | ` ``` ` with TypeScript content | ` ```typescript ` | | ` ``` ` with shell commands | ` ```bash ` | | ` ``` ` with plain text | ` ```text ` | | Inner ` ``` ` inside outer ` ``` ` | Use ` ` ```` for outer fence | ## Relative Paths Linter Scan markdown files for `../` path references that should use `${CLAUDE_PLUGIN_ROOT}`: ```bash bun plugins/fieldguides/scripts/lint-relative-paths.ts ${ARGUMENTS:-plugins/} ``` ### What it catches - **Markdown links**: `[text](../other-skill/SKILL.md)` with relative targets - **Bare paths**: `../SECURITY.md` references in prose ### Fix patterns | Issue | Fix | | --------------------------------- | ---------------------------------------------------------- | | `[link](../skill-name/SKILL.md)` | `[link](${CLAUDE_PLUGIN_ROOT}/skills/skill-name/SKILL.md)` | | `[link](../patterns/handler.md)` | `[link](${CLAUDE_PLUGIN_ROOT}/shared/patterns/handler.md)` | | `../EXTERNAL.md` (outside plugin) | Remove link or reference by name |
Auf GitHub ansehen