# Skill Linter: Validate and Fix SKILL.md Before Publishing

> Lint agent skill folders with 26 rules: frontmatter, name, trigger cues, links, body size and marketplace safety. Guided fixes, Markdown or JSON reports and 62 tests.

Skill Linter: Validate and Fix SKILL.md Before Publishing is a paid AI agent skill on Agensi by José Miguel Gómez, in Prompt & Skill Engineering. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [José Miguel Gómez](https://www.agensi.io/creators/jose-miguel-gomez)
- Category: [Prompt & Skill Engineering](https://www.agensi.io/skills/prompt-skill-engineering)
- Version: 1.0
- Last updated: 2026-12-03
- Security: scan passed (2026-12-03); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/skill-linter-validate-and-fix-skill-md-before-publishing
- Tags: prompt-engineering, automation, documentation, code-review

## What it does

- Checks your skill files against 26 different rules for quality and safety
- Identifies broken links and path errors that might confuse your AI agent
- Fixes formatting issues in the headers of your skill documents
- Scans for unsafe files or hidden risks before you share a package
- Generates a clear report table showing exactly what needs to be changed
- Guideds you through fixing descriptions to make them easier for agents to read

## Who it's for

- **Creators selling skills on marketplaces:** Ensure your skill meets all safety and formatting rules before you submit it for sale. Try: "Check if my new skill folder is ready for the marketplace."
- **Developers organizing their AI agent tools:** Keep your personal library of skills clean, consistent, and easy for your agent to understand. Try: "Fix the formatting and links in my local skills folder."
- **Teams sharing internal AI instructions:** Make sure every shared skill follows the same quality standards so they work for everyone. Try: "Review these shared skills for broken links or bad descriptions."

## About this skill

When you build or collect skills for your AI agent, tiny mistakes in the files can stop them from working. A broken link or a messy description might confuse your agent. This skill looks through your skill folders to find these hidden errors. It checks for over 20 different rules, from simple things like file names to complex safety checks. It ensures your skills are safe to share and follow the right standards.

**How it works**

1. Tell your AI agent which folder or skill file you want to check.
2. Choose a profile like marketplace for a deep safety check or extended for a quick quality review.
3. Review the report your agent creates showing errors, warnings, and safety signals.
4. Follow the step-by-step fix suggestions to repair descriptions, links, and folder settings.

**What you get:** A clean, valid skill folder that is ready to be published or used without errors.

## Requires

- Python 3.10+

## Known limitations

It only checks inline links and simple file patterns. The safety scan identifies potential risks but cannot prove a file is 100% safe.

## Technical details

This skill uses a Python script (skill_lint.py) to parse SKILL.md files and folder structures. It evaluates files against three profiles (core, extended, marketplace) using regex and pattern matching. It reads frontmatter, checks Markdown link integrity, and scans for prohibited patterns like binaries or network hooks. It follows a multi-step workflow defined in fix-recipes.md and report-template.md to guide the agent in editing the files.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Skill Linter: Validate and Fix SKILL.md Before Publishing skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What kind of problems does this skill help me fix?

This skill checks your skill folders for over 20 different quality and safety rules. It finds hidden errors like broken links, messy descriptions, or files that might be unsafe to share, and then helps you fix them step by step.

### Do I need any special software or files to use this?

You just need a folder containing a skill or a specific skill file you want to review. It uses standard tools that are already available to your agent, so you do not need to provide any extra software or accounts.

### Which review profile should I choose?

You can choose a quick quality review called extended or a deep safety check called marketplace. Use the marketplace profile if you plan to share your skill with others to ensure it follows the highest safety standards.

### What does the final report look like?

You will get a clear report showing any errors or warnings in a table format. The skill then provides specific suggestions to help you repair your file settings, descriptions, and folder structure until everything is perfect.

### Are there any things this skill cannot check or fix?

It cannot check every type of link style or complex file data beyond simple lists. While it looks for patterns to help keep packages safe, it cannot prove a file is 100 percent safe, so you should still review the findings.

### How do I tell my agent to start the review process?

You can ask your agent to validate, review, or prepare a specific folder for publishing. Simply tell your agent which folder to look at and whether you want a quick quality check or a full safety review.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
