skill-generate

Generate SKILL.md files from domain maps, skill specs, and source docs.

320|20|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/TanStack/intent --skill skill-generate-tanstack
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-generate
Source: https://github.com/TanStack/intent/tree/main/packages/intent/meta/generate-skill
Command: npx skills add https://github.com/TanStack/intent --skill skill-generate-tanstack

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the creation of a standardized SKILL.md by distilling domain maps, skill specs, and source documentation into a single, maintainable artifact.

Core Features & Use Cases

  • Generate a complete SKILL.md for a library by combining domain_map.yaml, skill_spec.md, and source docs.
  • Validate Output against the tree-generator spec and ensure frontmatter correctness.
  • Regenerate and update skills when source docs change to keep skills current.

Quick Start

Invoke the generator to produce a complete SKILL.md from the repository's domain_map.yaml, skill_spec.md, and source documentation.

Frequently Asked Questions about skill-generate

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

FAQPage Schema
How do I generate a SKILL.md file from source documentation?

Generate a SKILL.md by consolidating domain maps, skill specs, and source docs into structured frontmatter and a concise body. The skill distills existing artifacts into a single maintainable file under the library's skills path.

What is the best way to automate SKILL.md creation when source docs change?

Automate SKILL.md creation by invoking the generator to regenerate and update the file whenever source documentation changes. This keeps skills current by validating output against the tree-generator spec and ensuring frontmatter correctness.

Can I generate skill documentation using only raw source docs without a domain map?

Generate skill documentation using only raw source docs through Mode B. When domain_map.yaml and skill specifications do not exist, Mode B processes raw source docs directly to produce a valid SKILL.md.

Does the generated SKILL.md have a line limit or specific frontmatter requirements?

The generated SKILL.md must remain under 500 lines and adhere to the tree-generator frontmatter. It includes references to all input artifacts to maintain traceability across the domain map and source docs.

What inputs do I need to generate a complete SKILL.md using Mode A?

Generate a complete SKILL.md using Mode A by providing the repository's domain_map.yaml, skill_spec.md, and source documentation. These inputs are combined and validated against the tree-generator spec for frontmatter correctness.

Why does my generated skill documentation fail frontmatter validation?

Generated skill documentation fails frontmatter validation when the output does not adhere to the tree-generator spec. Ensure the consolidated domain maps and skill specs are structured into valid frontmatter before generating the final file.