.agents/skills/markdown-docs/SKILL.md
Enforces documentation quality and structural consistency across Markdown files in the Skill System Foundry repository. Triggers on creating, editing, reviewing, or auditing any .md file — including SKILL.md entry points, reference documents, README files, capability.md files, role definitions, and CONTRIBUTING.md. Also triggers when asked to check documentation consistency, fix cross-references, improve descriptions, enforce progressive disclosure, review frontmatter formatting, or align terminology across files. Use this skill whenever Markdown content is being created or modified, even if the user does not explicitly mention "documentation."
npx skillsauth add milanhorvatovic/skill-system-foundry markdown-docsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Enforces documentation quality, structural consistency, and progressive disclosure across all Markdown files in the Skill System Foundry repository.
This skill codifies the conventions from the repository's existing documentation standards. It applies to every .md file — entry points (SKILL.md, capability.md), reference documents, templates, READMEs, and contribution guides.
The model is already smart. Only add context it does not already have.
Challenge every paragraph:
Do not explain general programming concepts, standard library APIs, or well-known conventions. If a sentence can be removed without losing meaning, remove it.
Each piece of knowledge has a single authoritative location. If the same concept appears in multiple files, one file owns the definition and others reference it. Do not copy content between SKILL.md, reference files, templates, or CONTRIBUTING.md.
Every registered skill directory must have a SKILL.md with YAML frontmatter containing:
name — lowercase letters, numbers, and hyphens only. Max 64 characters. Must match the parent directory name exactly. No leading, trailing, or consecutive hyphensdescription — max 1024 characters. Third person. Must state what the skill does AND when to trigger it. No XML tags (Anthropic platform restriction)>) to avoid YAML quoting issues with colons, commas, and special charactersdescription: Tracks: milestones breaks YAML parsingallowed-tools — space-delimited tool names (e.g., Bash Read Write Edit Glob Grep)compatibility — max 500 characters, environment requirementslicense — SPDX identifier or license namemetadata — arbitrary key-value map (author, version, spec)Content flows through three levels:
SKILL.md body, loaded when triggeredreferences/, scripts/, assets/, loaded on demandSKILL.md serves as an overview that points to detailed materials. Do not inline large reference content into SKILL.md when a reference file serves the same purpose.
SKILL.md must stay under 500 lines. When approaching this limit, move detailed material into references/ filesReferences stay one level deep from the entry point:
SKILL.md → references/foo.mdSKILL.md → references/foo.md → references/bar.mdThe model may partially read chained files, breaking progressive disclosure.
SKILL.md (e.g., references/foo.md, scripts/validate.py)form-validation-rules.md not doc2.mdSKILL.md — agents need to know what each file contains and when to load itskills/<domain>/SKILL.mdSKILL.md references roles, use system-root-relative paths (roles/<group>/<n>.md)SKILL.md (uppercase) — registered entry point for a skill directorycapability.md (lowercase) — entry point for capabilitiesDescriptions are the primary trigger mechanism — agents use them to decide whether to activate a skill. A weak description means the skill under-triggers.
A good description includes:
Good: "Manages project timelines, tracks milestones, generates status reports. Use when asked to plan sprints, check deadlines, or summarize progress."
Bad: "Helps with projects."
Make descriptions "pushy" — keyword-rich and specific, erring toward over-triggering rather than under-triggering.
Templates in assets/ follow these rules:
validate_skill.py after placeholder replacementWhen creating or editing any Markdown file, verify:
description missing trigger phrases — agents will under-triggerSKILL.md exceeding 500 linesSKILL.mddescription without folded block scalar:, #, {, })tools
Greets a recipient through one of two registered tones — formal or casual — by dispatching to a dedicated capability. Activates when the conversation asks for a tone-specific welcome or a switch between formal and casual greetings; use when comparing the two styles. Demonstrates the router pattern in the Skill System Foundry — a thin SKILL.md entry point routing to capability files, with allowed-tools declared in frontmatter so capability shell fences pass validation.
testing
Greets a single recipient with a friendly welcome message rendered in a formal or casual tone. Activates when the conversation asks to say hello or welcome someone; use when a minimal standalone skill is needed. Demonstrates the smallest valid standalone skill in the Skill System Foundry — required name and description frontmatter plus an optional metadata block — and how its layout passes validation.
testing
Designs and evolves AI-agnostic skill systems. Triggers on skill/capability creation, role definition, or router migration; use when auditing consistency or improving token efficiency.
development
Governs the configuration.yaml file that serves as the single source of truth for all validation rules in the Skill System Foundry. Triggers when adding, modifying, or reviewing validation rules, limits, patterns, or reserved words. Also triggers when working with constants.py, yaml_parser.py, or any code that reads from configuration.yaml. Use this skill when asked to add a new validation check, change a limit or threshold, update reserved word lists, add SPDX license identifiers, modify regex patterns, or troubleshoot why a validation rule is not working as expected. Activates on mentions of configuration, validation rules, constants, thresholds, or pattern definitions.