skillforge

Generate production-grade Agent Skill packages through a structured 7-step pipeline: requirement analysis, architecture decisions, metadata crafting, body generation, quality audit, resource file creation, and usage documentation. Use when creating new Skills from scratch, upgrading low-quality Skills, or batch-producing Skills for a specific domain. Outputs a complete skill directory with SKILL.md, scripts/, references/, and templates/.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "skillforge" with this command: npx skills add mmlong818/skillforge

SkillForge — Agent Skill Generator

Generate complete, production-ready Agent Skill packages via a 7-step pipeline. Each step has defined inputs, outputs, and quality constraints.

Core Design Principles

Apply these principles throughout all 7 steps:

  1. Concise is Key — Context window is a public good. Only include knowledge the AI model does NOT already have. Challenge each paragraph: "Does this justify its token cost?"
  2. Description is the trigger — Determines whether the Skill gets selected. Must include WHAT + WHEN.
  3. Progressive disclosure — SKILL.md < 500 lines. Supporting files in scripts/, references/, templates/ loaded on demand.
  4. Code examples > text — Prefer concise, runnable examples over verbose descriptions.
  5. Anti-patterns are essential — Show what NOT to do using ❌/✅ contrast format.
  6. Imperative tone — "Run" not "You should run".
  7. No auxiliary files — No README.md, CHANGELOG.md. Skills are for AI agents, not humans.

Pipeline Overview

User requirement
  → Step 1: Requirement deep analysis
  → Step 2: Architecture decisions
  → Step 3: Metadata (YAML frontmatter)
  → Step 4: SKILL.md body
  → Step 5: Quality audit + optimization
  → Step 6: Resource files (scripts/, references/, templates/)
  → Step 7: Usage documentation
  → Complete Skill package

Execute steps sequentially. Each step builds on previous outputs.

Step 1: Requirement Deep Analysis

Analyze the user's requirement. Output a structured document (2000-5000 chars).

Read the full step prompt: references/step-prompts.md → Section "Step 1".

Output structure:

  1. Core positioning (name, one-line description, target users, value proposition)
  2. Functional boundaries (core features as input→process→output triples, extensions, exclusions)
  3. Usage scenarios (at least 5, each with: user request, expected behavior, output format)
  4. Knowledge gap analysis (most critical):
    • AI already knows → exclude from SKILL.md
    • AI doesn't know → core content of SKILL.md
    • AI often gets wrong → needs anti-pattern examples
  5. Dependencies and constraints

Step 2: Architecture Decisions

Make 5 key decisions. Read full prompt: references/step-prompts.md → Section "Step 2".

DecisionOptions
Structure patternWorkflow / Task-oriented / Guide / Capability
Freedom levelHigh / Medium / Low
Resource file planTable of files with paths, types, purposes, line counts
Progressive disclosureWhat goes in SKILL.md vs references/ vs scripts/
Quality assuranceValidation checklist, common errors, quality standards

Output a complete directory tree at the end.

Step 3: Metadata Crafting

Generate YAML frontmatter with optimized description.

  1. Generate 3 candidate descriptions
  2. Score each on: trigger precision (1-5), capability coverage (1-5), information density (1-5)
  3. Select highest-scoring candidate

Read full prompt: references/step-prompts.md → Section "Step 3".

description quality rules:

  • 30-80 words, objective descriptive tone
  • Must include WHAT the skill does AND WHEN to use it
  • Every word must earn its place

Step 4: SKILL.md Body Generation

Generate the complete body (excluding frontmatter). Target: 150-450 lines.

Read full prompt: references/step-prompts.md → Section "Step 4".

Structure (adapt as needed):

  1. Overview (2-3 sentences)
  2. Core workflow (numbered steps or decision flow)
  3. Detailed rules and instructions (domain-specific)
  4. Code examples (✅ Good / ❌ Bad contrast format)
  5. Edge case handling
  6. Output format specification
  7. Validation checklist (Markdown checkboxes)

Key constraints:

  • No generic knowledge AI already has
  • No repetition of description content
  • Sections > 100 lines → split to references/
  • All code examples must be complete and runnable

Step 5: Quality Audit

Audit the generated SKILL.md (Step 3 frontmatter + Step 4 body) against 10 dimensions, then output the optimized version.

Read full prompt: references/step-prompts.md → Section "Step 5".

10-dimension scoring (1-10 each):

#Dimension
1Description trigger precision
2Knowledge increment (only AI-unknown content)
3Code example quality (runnable, representative)
4Anti-pattern coverage (❌/✅ contrast)
5Structure clarity
6Progressive disclosure (<500 lines)
7Tone consistency (imperative throughout)
8Edge case handling
9Actionability (instructions directly executable)
10Completeness (no missing critical content)

Fix any dimension scoring below 8. Output optimized complete SKILL.md.

Step 6: Resource File Generation

Generate all supporting files planned in Step 2.

Read full prompt: references/step-prompts.md → Section "Step 6".

Rules:

  • Strictly follow Step 2 file plan — no omissions, no extras
  • If Step 2 says "no resource files needed" → skip this step
  • Every file must be complete — no ... or TODO placeholders
  • Scripts must include shebang lines

Step 7: Usage Documentation

Generate usage guide with 4 sections:

  1. Installation (1-3 sentences)
  2. Trigger examples (at least 5 natural language requests)
  3. Iteration suggestions (3-5 specific improvement directions)
  4. Validation checklist (completeness checks with checkboxes)

Read full prompt: references/step-prompts.md → Section "Step 7".

Execution Workflow

When a user requests Skill generation:

  1. Collect requirement: skill name, target domain, core capabilities, usage scenarios (optional), notes (optional)
  2. Execute Steps 1-7 sequentially, presenting each step's output to the user
  3. After Step 5, write the final SKILL.md to disk
  4. After Step 6, write all resource files to disk
  5. After Step 7, present the complete skill package

File output structure:

{skill-name}/
├── SKILL.md
├── scripts/       (if planned)
├── references/    (if planned)
└── templates/     (if planned)

Quality Gate

Before delivering the final package, verify:

  • SKILL.md exists with valid YAML frontmatter (name + description)
  • description includes WHAT + WHEN, 30-80 words
  • SKILL.md body < 500 lines
  • All code examples are complete and runnable
  • Anti-patterns use ❌/✅ contrast format
  • Imperative tone throughout
  • All Step 2 planned resource files exist
  • No README.md, CHANGELOG.md, or auxiliary docs
  • No generic knowledge AI already has
  • Directory structure matches Step 2 plan

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Research

apify-market-research

No summary provided by upstream source.

Repository SourceNeeds Review
-2.6K
apify
Research

apify-trend-analysis

No summary provided by upstream source.

Repository SourceNeeds Review
-2.2K
apify
Research

apify-audience-analysis

No summary provided by upstream source.

Repository SourceNeeds Review
-1.9K
apify