skill-generation

Generate Claude Code skills and AGENTS.md from repository context.

95|4|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/aspenkit/aspens --skill skill-generation-aspenkit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-generation
Source: https://github.com/aspenkit/aspens/tree/main/.agents/skills/skill-generation
Command: npx skills add https://github.com/aspenkit/aspens --skill skill-generation-aspenkit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This pipeline automates the end-to-end generation of Claude Code skills and AGENTS.md content from repository context. It orchestrates model prompts, context building, and output parsing to produce production-ready skill artifacts.

Core Features & Use Cases

  • Doc-init pipeline that selects backends, scans the codebase, discovers domains, builds a canonical representation of skills, and outputs ready-to-use skill files.
  • Prompt system & context builder that loads canonical prompts, constructs per-skill context, and orchestrates multi-target transforms for Claude and non-Claude targets.
  • Incremental writing & validation that streams outputs, validates chunks, and writes files while preserving hand-written content when applicable.

Quick Start

Run the doc-init workflow to generate initial skill skeletons for a repository and inspect the generated skill files.

Frequently Asked Questions about skill-generation

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

FAQPage Schema
How do I generate Claude Code skills from an existing repository?

To generate Claude Code skills from a repository, run the doc-init workflow to scan the codebase, discover domains, and output ready-to-use skill files. The pipeline builds per-skill context and orchestrates transforms to produce production-ready artifacts.

What is the doc-init pipeline for Claude Code skill generation?

The doc-init pipeline is an automated workflow that scans repository context, selects backends, discovers domains, and builds a canonical representation of skills to output multi-target skill files, hooks, and prompts.

Can I generate AGENTS.md content automatically from my codebase?

Yes, you can generate AGENTS.md content automatically by running the doc-init workflow. The pipeline orchestrates context building and output parsing to translate repository context into AGENTS.md and skill artifacts.

How does context building work for automated skill generation?

Context building for automated skill generation loads canonical prompts and constructs per-skill context from repository scanning results. It then orchestrates multi-target transforms for Claude and non-Claude targets to produce skill files.

Does automated skill generation preserve hand-written content in existing files?

Yes, automated skill generation uses incremental writing and validation that streams outputs, validates chunks, and writes files while preserving hand-written content when applicable during the generation process.

What's the best way to create prompt systems for Claude Code without manual setup?

The best way to create prompt systems without manual setup is running the doc-init workflow. It loads canonical prompts, constructs per-skill context, and orchestrates multi-target transforms to generate production-ready skill artifacts automatically.