agentleFS
BioconductorBioconductor/ai-agent-skills/skills/validate-skill/SKILL.md

validate-skill

Skill10 starsChanged 3 months agoMITView on GitHub

Validate that a skill conforms to the ai-agent-skills repository standards

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 3 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run Generic Validation (Optional): If available, run markdownlint on the file, and validate the YAML frontmatter syntax (e.g., by …

    line 36
  2. Very specific:

    Validate Repository Standards: Check the file against the requirements in AGENTS.md and SKILL_STANDARD.md.

    line 37
  3. Very specific:

    Ensure the YAML frontmatter contains required fields and no prohibited fields (platforms, triggers).

    line 38
  4. Distinctive:

    Check that the structure matches the standard format.

    line 39
  5. Distinctive:

    Verify agent neutrality (no tool references or platform commands in instructions).

    line 40
  6. Distinctive:

    Ensure it does not duplicate content from SSOT documents.

    line 42

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

validate-skill

Validate that a skill conforms to bioconductor standards. Uses generic validators (markdownlint, yamllint) for basic checks, then adds bioconductor-specific validation for platform-agnostic compliance and repository conventions.

Usage

Invoke this skill to validate a skill file:

  • "Validate this skill"
  • "Check if skills/[skill-name]/SKILL.md meets standards"

Prerequisites

  • Target skill file exists at skills/{skill-name}/SKILL.md
  • Optional: markdownlint and yamllint installed

Note — CI/CD integration: The deterministic subset of these checks (frontmatter completeness, directory-name matching, name uniqueness, SKILLS.md sync, broken links, version bump) runs automatically via GitHub Actions on every PR that modifies a SKILL.md file. Use this skill for interactive local validation before opening a PR and for the full subjective review (agent neutrality, verbosity, SSOT compliance) that the static script cannot evaluate.

Process

  1. Locate Target Skill: Determine the skill to validate from the user's prompt or current directory.
  2. Run Generic Validation (Optional): If available, run markdownlint on the file, and validate the YAML frontmatter syntax (e.g., by extracting the frontmatter and running yamllint -d relaxed on it).
  3. Validate Repository Standards: Check the file against the requirements in AGENTS.md and SKILL_STANDARD.md.
    • Ensure the YAML frontmatter contains required fields and no prohibited fields (platforms, triggers).
    • Check that the structure matches the standard format.
    • Verify agent neutrality (no tool references or platform commands in instructions).
    • Confirm it describes a workflow, not just code snippets.
    • Ensure it does not duplicate content from SSOT documents.
  4. Generate Validation Report: Produce a summary of passed and failed checks, categorized by CRITICAL, WARNING, and INFO.
  5. Suggest Next Steps: Offer to help fix any identified issues.

Output Format

Generate a validation report in markdown format:

# Skill Validation Report: [skill-name]

**Status**: ✅ PASS | ❌ FAIL ([N] issues)

## Generic Validation
**markdownlint**: ✅ PASS | ⚠️ [N] warnings
**YAML frontmatter**: ✅ PASS | ❌ FAIL

## Bioconductor-Specific Validation
### CRITICAL Issues (Must Fix)
❌ **[Issue title]** ([location])
   - Issue: [What violates standards]
   - Fix: [How to fix it]
   - Reference: [AGENTS.md or SKILL_STANDARD.md section]

### WARNING Issues (Should Fix)
⚠️ **[Issue title]** ([location])

### INFO Issues (Optional Improvements)
ℹ️ **[Issue title]** ([location])

Examples

Example: Validating a Skill

User: "Check if the analyze-r-package skill meets standards" Agent:

  1. Locates skills/analyze-r-package/SKILL.md
  2. Runs generic and repository-specific validations
  3. Reports results, identifying any CRITICAL or WARNING issues.

See also: SKILL_STANDARD.md, AGENTS.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.