Skill Generator
Meta-skill that creates new SKILL.md files from research outputs and patterns discovered in execution
- License 许可
- MIT
- 最近更新
- 2026-06-22
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- Skill Generator
- tags
- [ "meta", "authoring", "generation" ]
- author
- ForgeWeave Core
- version
- 1.0.0
- skill_id
- skill-generator
- description
- Meta-skill that creates new SKILL.md files from research outputs and patterns discovered in execution
- tui_compatibility
- [ "opencode", "claude", "gemini", "qwen" ]
02 资源文件 2
- 参考文档references/skill-spec-reference.md1.4 KB
- 脚本scripts/scaffold_skill.py2.5 KB
03 SKILL.md 正文
Skill Generator
Purpose
Analyze execution patterns, research findings, or user workflows and distill them into reusable ForgeWeave skills. Identifies repeatable jobs, extracts the workflow steps, and produces a complete SKILL.md bundle with scripts, references, and evals.
When to Use
- A workflow has been repeated 2+ times manually
- Research findings reveal a repeatable process that should be codified
- An ad-hoc process in a session should become a reusable skill
- The user says "we should make this a skill"
When Not to Use
- The workflow is a one-time task — skip
- The workflow requires no agent judgment (use a regular script)
- Creating a skill for an existing skill (use the
skill-authoringskill instead)
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
source |
string | Yes | Description of the repeatable job or path to research output |
name |
string | Yes | Desired skill name (kebab-case) |
workflow_steps |
array | No | Existing workflow notes if available |
Expected Outputs
| Output | Description |
|---|---|
| SKILL.md | Complete skill bundle following the 10-section format |
| scripts/ | Deterministic steps extracted from the workflow |
| evals/ | Validation tests for the skill |
| references/ | Supporting documentation |
Exact Workflow Steps
- Analyze the source workflow or research to identify the repeatable job
- Scope: one job per skill, max 3 use cases
- Write SKILL.md with all 10 sections in order
- Extract deterministic steps into standalone scripts
- Create eval tests for happy path and failure modes
- Validate: bundle structure, frontmatter, section order, scripts exist
Required Checks
- [ ] Skill covers exactly one repeatable job
- [ ] SKILL.md has all 10 sections in order
- [ ] All referenced scripts exist
- [ ] At least one eval covers the happy path
Failure Modes
| Failure Condition | Response |
|---|---|
| Source workflow is too broad | Narrow to one repeatable job |
| No deterministic steps found | Skill is fine with SKILL.md only |
| Validation fails | Fix issues and regenerate |
Examples
Example: Generate a skill from research output
- Research on "Next.js 16 caching APIs" reveals a repeatable pattern
- Name:
nextjs-caching - SKILL.md captures: purpose, workflow steps for analyzing caching configs, inputs
- evals/ test the skill against known Next.js 16 patterns
References
| Reference | Path |
|---|---|
| Skill Authoring skill | ../skill-authoring/SKILL.md |
| SKILL_SPEC.md | ./SKILL_SPEC.md |
04 同仓库更多 Skills
Workflow Orchestrator
Coordinates multi-skill execution pipelines (e.g., research → plan → build → test)
Web Research
Browser-driven or scraping-based skill for real-time internet extraction using Playwright and HTTP-based fetching
Validation Engine
Checks outputs from other skills for consistency, correctness, and adherence to AGENTS.md rules
Tool Selector
Determines which tools, APIs, MCP actions, or system capabilities are required for a given task
Test Generator
Creates test plans and test cases (unit, integration, edge cases) based on existing or planned code
skill-builder
Complete guide for designing, writing, testing, iterating, and packaging Claude Skills (SKILL.md files). Use this skill whenever someone wants to: create a new skill from scratch, improve or update an existing skill, understand the skill format, write a SKILL.md, build a skill folder with scripts and references, evaluate whether a skill is well-written, package a skill for distribution, optimize a skill's trigger description, or understand best practices for Agent Skills. Triggers include phrases like "build a skill", "write a SKILL.md", "make a skill for", "improve this skill", "skill format", "create an agent skill", "how do I write a skill", or any request to teach Claude a domain-specific capability through the skills system.