skill-generation

Generate SKILL.md files from JSON patterns with YAML frontmatter.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/gitwalter/cursor-agent-factory --skill skill-generation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-generation
Source: https://github.com/gitwalter/cursor-agent-factory/tree/main/.cursor/skills/skill-generation
Command: npx skills add https://github.com/gitwalter/cursor-agent-factory --skill skill-generation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of standardized skill-definition files by transforming predefined patterns into fully formed SKILL.md entries, reducing manual drafting time.

Core Features & Use Cases

  • Load a skill pattern from patterns/skills/{skill-id}.json and extract metadata, frontmatter, and sections.
  • Apply user customizations to frontmatter, knowledge references, and MCP tool references.
  • Render a complete Markdown Skill entry ready for integration into a target project.
  • Create the skill directory structure {.cursor/skills/{skill-name}/} with SKILL.md and optional references.
  • Update repository READMEs or tooling to reflect new skill counts when added to a project.

Quick Start

Use the skill-generation workflow to generate a new skill from patterns/skills/{skill-id}.json and save it under the target project's .cursor/skills/{skill-name}/, then render and commit.

Frequently Asked Questions about skill-generation

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

FAQPage Schema
How do I auto-generate skill definition files from patterns?

To auto-generate skill definitions, this Skill loads metadata from a pattern file at patterns/skills/{skill-id}.json and renders a complete Markdown entry with YAML frontmatter. It creates the target directory structure and outputs a ready-to-commit SKILL.md file.

What is the process for customizing skill frontmatter and references?

Customizing skill frontmatter involves applying user-defined modifications to the extracted pattern metadata. The generation process applies these customizations directly to frontmatter, knowledge references, and MCP tool references before rendering the final Markdown.

Do I need a specific directory structure to generate a SKILL.md file?

Yes, generating a SKILL.md file requires placing your pattern files in the patterns/skills/{skill-id}.json directory. The tool then creates the output structure under .cursor/skills/{skill-name}/ to store the rendered definition and optional references.

Can I update repository READMEs automatically when adding new skills?

Yes, you can update repository READMEs automatically when adding new skills to a project. The generation workflow includes functionality to update repository documentation and tooling to reflect the new skill counts upon integration.

What's the best way to standardize skill definitions across multiple projects?

The best way to standardize skill definitions is using predefined JSON patterns to generate consistent SKILL.md files. This approach reduces manual drafting time and ensures uniform frontmatter and sections across all target projects.