Interactive SKILL.md Schema Tool

RedSkill Xiaohongshu SKILL.md Frontmatter & Trigger Validator

Parse YAML frontmatter line by line, catch duplicate keys or inline cookies, simulate user-prompt trigger collisions, and export a normalized SKILL.md in your browser.

Validate SKILL.md YAML Frontmatter & Test Prompt Triggers

Paste any Xiaohongshu or RedNote SKILL.md specification below to validate YAML delimiter syntax, kebab-case naming rules, inline credential leaks, and trigger routing accuracy. Test sample user prompts side-by-side to spot overbroad single-word triggers before deploying a skill into Claude Code, Cursor, or Windsurf.

Presets:

Frontmatter & Safety Diagnostics

    Prompt Trigger Match & Collision Simulator

    Normalized SKILL.md Output
    
                

    Skip frontmatter debugging with 15 or 38 pre-audited Xiaohongshu SKILL.md packs

    Every single-file validation above stays free forever. Upgrade once for schema-validated SKILL.md packs with narrow trigger routing, claim-preflight-rules.json, and hardened MCP presets — preview the ZIP file tree on Pricing.

    Creator ($19): 15 SKILL.md + 3 MCP presets Pro ($49): All 38 Skills + EN/ZH/JA matrices Guarantee: One-time USD · Instant ZIP · 14-day refund
    Compare bundles →

    Why YAML frontmatter errors silently break AI agent skill routing

    Modern coding and writing agents scan only the YAML frontmatter header of each installed SKILL.md file when building their tool routing table. Even a small formatting mistake — such as a leading tab character, a duplicate name field, or an unquoted colon inside the description string — causes strict YAML parsers to skip the entire file without raising a loud UI alert.

    Trigger ambiguity creates the opposite failure mode. In our public snapshot of 136 Xiaohongshu Skills, overly generic trigger phrases like write, post, or content hijack unrelated user requests and inflate prompt token overhead on every turn. Writing narrow, two-to-five-word intent phrases paired with an explicit Do not use section ensures the right RedSkill activates only when your operator actually needs Xiaohongshu drafting or compliance auditing.

    Frontmatter schema rules checked by this validator

    Rule Group What Is Checked Why It Matters for RedSkill Workflows
    Fence & YAML syntax Opening and closing --- fences, spaces-only indentation, duplicate keys, unquoted colons Prevents silent parser drops across Claude Code, Cursor, Windsurf, and OpenClaw loaders.
    Slug & description contract Lowercase kebab-case name (under 64 chars) and specific 40–280 char description Keeps CLI install slugs deterministic and gives routing models concise, high-signal intent cues.
    Trigger collision simulation Phrase overlap and generic single-word collision checks against real test prompts Catches false-positive activations before your team combines multiple skills in one workspace.
    Credential & capability safety Inline API keys, bearer tokens, Xiaohongshu web_session cookies, and high-privilege tools Blocks accidental secret commits and encourages separating local drafting from live account mutation.

    Frequently asked questions

    Does this SKILL.md validator upload my prompts or files to a server?

    No. Every YAML parsing rule, secret scan, and prompt trigger match runs locally inside your browser JavaScript runtime. Your draft files never leave your machine.

    What makes a valid SKILL.md name slug?

    Use lowercase ASCII letters, digits, and single hyphens only, starting and ending with an alphanumeric character (for example xhs-ceramide-seeding-brief). Avoid uppercase characters, underscores, spaces, and punctuation.

    How many trigger phrases should I list per Xiaohongshu Skill?

    Three to six concrete multi-word phrases work best. Pair each positive trigger list with a clear ## Do not use section so adjacent workflows like comment moderation and carousel writing do not collide.

    How is this different from the SKILL.md Workflow Generator?

    The SKILL.md Workflow Generator scaffolds a brand-new vertical pack from scratch, whereas this validator audits and normalizes custom or third-party SKILL.md files you already have and simulates how user prompts route to them.

    Related RedSkill tools and guides