test-skill

Parse SKILL.md YAML frontmatter to validate required name and description fields.

2.9k|257|Updated Apr 7, 2025
One-click install
npx skills add https://github.com/invariantlabs-ai/mcp-scan --skill test-skill-invariantlabs-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-skill
Source: https://github.com/invariantlabs-ai/mcp-scan/tree/main/tests/mcp_servers/.test-client/skills/test-skill
Command: npx skills add https://github.com/invariantlabs-ai/mcp-scan --skill test-skill-invariantlabs-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This minimal, deterministic test validates the Skill unit loading pipeline by ensuring the SKILL.md frontmatter contains the required fields (name and description) and that basic metadata can be extracted.

Core Features & Use Cases

  • Basic metadata validation: Ensures SKILL.md contains required fields and is discoverable.
  • Lightweight smoke test: Confirms the skill can be parsed without executing any risky scripts.
  • Use Case: Serves as a sanity check during repository onboarding or CI to guarantee skill scaffolding integrity.

Quick Start

Run the test-skill to validate the skill loading and environment setup.

Frequently Asked Questions about test-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate SKILL.md frontmatter for required fields?

To validate SKILL.md frontmatter, parse the YAML to confirm the required name and description fields are present. This metadata validation ensures basic skill scaffolding integrity without executing risky scripts.

What is a smoke test for markdown skill discovery and metadata extraction?

A markdown skill smoke test is a lightweight check that confirms a skill can be parsed and discovered across repositories. It verifies basic metadata extraction from YAML frontmatter without running complex scripts.

How do I check if a skill components directory exists during CI onboarding?

To check if a skill components directory exists, run a validation test that locates optional components directories when present. This sanity check guarantees skill scaffolding integrity during repository onboarding or CI.

Does basic YAML frontmatter validation require any external dependencies?

Basic YAML frontmatter validation requires no external dependencies to check for required fields. It deterministically parses the SKILL.md file to ensure name and description fields are present and discoverable.

Why is my skill unit not discoverable across repositories?

Your skill unit may not be discoverable if the SKILL.md frontmatter is missing required name and description fields. Validating the YAML metadata ensures basic extraction works and confirms the skill can be parsed.