Skill Linter

v1.0.0

Analyze and validate SKILL.md files for best practices, common issues, and improvement suggestions. Use when reviewing a Skill, creating a new Skill, or when...

0· 112·1 current·1 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for mengbin92/skill-linter-checker.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Skill Linter" (mengbin92/skill-linter-checker) from ClawHub.
Skill page: https://clawhub.ai/mengbin92/skill-linter-checker
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install skill-linter-checker

ClawHub CLI

Package manager switcher

npx clawhub@latest install skill-linter-checker
Security Scan
VirusTotalVirusTotal
Pending
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description, the SKILL.md runtime instructions, and the provided Python linter are all aligned: they parse YAML frontmatter and check the markdown body for best practices. The skill requests no unrelated binaries, env vars, or config paths. Note: the included script accepts an arbitrary filepath argument and will read whatever file path it is given — functionally consistent with a linter but means the script can read any file you pass to it.
Instruction Scope
SKILL.md instructs the agent to load and analyze a SKILL.md file and produce a structured report — the linter code implements exactly that. The top frontmatter includes allowed-tools: Read, Edit, Write, which is reasonable if the skill will propose or apply edits, but it also expands the agent's ability to read/write files. The code itself does not access network endpoints or other system state beyond reading the supplied file path.
Install Mechanism
No install spec is present (instruction-only usage). A Python file is included but there is no automatic install/download or archive extraction. This is low risk: nothing is fetched from external URLs and no installers run.
Credentials
The skill requires no environment variables, credentials, or config paths. The absence of secrets or unrelated env requests is proportionate to a documentation/linting tool.
Persistence & Privilege
always:false and user-invocable:true (defaults) — no persistent/always-on privilege requested. The skill does not attempt to modify other skills or system-wide agent settings. The only potential privilege is file read/write if the agent is granted allowed-tools permissions.
Assessment
This skill appears coherent and focused: it lints SKILL.md files, needs no credentials, and includes a straightforward Python script that reads the file you provide and prints a report. Before installing or granting file access, consider: 1) only run it against SKILL.md files (or review the script) because it will read any path you pass it; 2) if you don't want the skill to modify files, remove or avoid granting the 'Write'/'Edit' allowed-tools or ensure it runs in read-only mode; 3) if you need higher assurance, review the included skill_linter.py locally to confirm there are no network calls or surprising behavior and run it on a sample SKILL.md first.

Like a lobster shell, security has layers — review code before you run it.

latestvk978aqs3cmj8892dqxkqjz82q183kk40
112downloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

Skill Linter & Advisor

Analyze SKILL.md files against Claude Code Skills best practices and provide actionable feedback.

Analysis Process

  1. Read the SKILL.md file - Load the complete content
  2. Parse frontmatter - Validate YAML structure and required fields
  3. Check content structure - Verify best practices for the markdown body
  4. Compare against patterns - Match against known good Skill patterns
  5. Generate report - Provide structured feedback with severity levels

Validation Checklist

Frontmatter (YAML Header)

CheckSeverityDescription
Has --- delimiters🔴 CriticalMust have opening and closing ---
Valid YAML syntax🔴 CriticalYAML must parse without errors
Has name field🟡 WarningDefaults to directory name, but explicit is better
Has description🔴 CriticalRequired for auto-trigger to work
Description quality🟡 WarningShould be specific, mention when to use
disable-model-invocation🟢 InfoOnly set if you want manual-only
user-invocable🟢 InfoSet to false to hide from / menu
allowed-tools🟡 WarningSpecify if Skill needs specific tools
model override🟢 InfoOnly if you need specific model
context: fork🟢 InfoUse for long-running or isolated tasks
agent with context🟢 InfoRequired when context: fork

Content Structure

CheckSeverityDescription
Has clear title/heading🟡 WarningFirst line should indicate purpose
Has process/steps🟡 WarningSkills should have actionable steps
Has output format🟡 WarningDefine expected output structure
Uses specific language🟡 WarningAvoid vague terms like "etc", "etc."
Has examples🟢 InfoConcrete examples improve reliability
Has constraints/guardrails🟢 InfoDefine what NOT to do
Appropriate length🟡 WarningToo short (<100 words) or too long (>2000)

Common Issues

IssueSeverityFix
Missing description🔴 CriticalAdd description explaining when to trigger
Description too vague🟡 WarningBe specific about use cases
No clear output format🟡 WarningAdd expected output structure
Missing tool declarations🟡 WarningAdd allowed-tools if using tools
Too many responsibilities🟡 WarningSplit into multiple focused Skills
Hardcoded paths🟡 WarningUse variables or relative paths
No error handling guidance🟢 InfoAdd what to do when things go wrong

Output Format

# Skill Analysis Report

## File: {filepath}

### Frontmatter Analysis

| Field | Status | Value | Notes |
|-------|--------|-------|-------|
| name | ✅/⚠️/❌ | {value} | {feedback} |
| description | ✅/⚠️/❌ | {value} | {feedback} |
| ... | | | |

**Frontmatter Score:** X/10

### Content Analysis

| Check | Status | Notes |
|-------|--------|-------|
| Has clear purpose | ✅/⚠️/❌ | {feedback} |
| Actionable steps | ✅/⚠️/❌ | {feedback} |
| Output format defined | ✅/⚠️/❌ | {feedback} |
| Has examples | ✅/⚠️/❌ | {feedback} |
| Appropriate length | ✅/⚠️/❌ | {word_count} words |

**Content Score:** X/10

### Issues Found

#### 🔴 Critical (Must Fix)
1. {issue description} → {fix suggestion}

#### 🟡 Warnings (Should Fix)
1. {issue description} → {fix suggestion}

#### 🟢 Suggestions (Nice to Have)
1. {issue description} → {fix suggestion}

### Overall Assessment

**Total Score:** X/10

**Verdict:**
- ✅ Excellent - Ready to use
- 🟡 Good - Minor improvements suggested
- ⚠️ Needs Work - Address warnings before using
- ❌ Critical Issues - Must fix before using

### Recommended Actions

1. {action item}
2. {action item}
3. {action item}

### Improved Version (Optional)

If significant improvements are needed, provide a rewritten SKILL.md:

```yaml
---
# improved frontmatter
---

# Improved content...

## Skill Patterns Reference

### Pattern 1: Checklist/Task Skill
For: Code review, testing, validation tasks

Structure:
- Clear trigger description
- Step-by-step process
- Checklist categories
- Severity ratings
- Structured output format

### Pattern 2: Generator Skill
For: Documentation, commit messages, reports

Structure:
- Input requirements
- Analysis steps
- Template/format specification
- Examples
- Constraints

### Pattern 3: Explorer/Research Skill
For: Code exploration, debugging, analysis

Structure:
- Context gathering (!commands)
- Investigation steps
- What to look for
- How to present findings

### Pattern 4: Workflow Skill
For: Multi-step processes, releases, deployments

Structure:
- Prerequisites check
- Sequential steps
- Validation points
- Rollback guidance

## Examples of Good Descriptions

✅ **Good:**
- "Perform a thorough code review following the team checklist. Use when reviewing code changes, pull requests, or when the user asks for a code review."
- "Generate API documentation from source code. Use when the user asks to document an API endpoint, route handler, or controller."
- "Create a standardized git commit message following Conventional Commits format. Use when the user asks to commit or create a commit message."

❌ **Bad:**
- "Does code review" (too vague)
- "Helps with documentation" (when?)
- "A skill for git" (too broad)

## Examples of Good Output Formats

✅ **Good:**
```markdown
## Output Format

Structure your review as:

**Summary**
[One-paragraph overall assessment]

**Critical Issues**
[Must fix before merging]

**Approved?**
[YES / NO / YES WITH CONDITIONS]

Bad:

Just give me a review of the code.

Comments

Loading comments...