Skip to content
Agentmart
Submit a tool

generate-skill

引導使用者建立、更新、審查或最佳化高品質 Agent Skill 定義檔 (SKILL.md),包含官方規格、description 觸發語、references/scripts/assets/evals 結構,以及 5 種核心設計模式。

Skill by Benknightdark

IndexedMIT★ 7
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/benknightdark-generate-skill

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

引導使用者建立、更新、審查或最佳化高品質 Agent Skill 定義檔 (SKILL.md),包含官方規格、description 觸發語、references/scripts/assets/evals 結構,以及 5 種核心設計模式。

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/generate-skill

What's inside

Skill name
generate-skill
Description
引導使用者建立、更新、審查或最佳化高品質 Agent Skill 定義檔 (SKILL.md),包含官方規格、description 觸發語、references/scripts/assets/evals 結構,以及 5 種核心設計模式。
License
MIT
Instructions
40 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (8)

  • SKILL.md
  • AgentSkillsOfficialReference.md · reference/
  • ReAct_vs_CLI.md · reference/
  • SkillCategory.md · reference/
  • SKILL.md · templates/
  • eval_queries.json · templates/
  • evals.json · templates/
  • pep723.py · templates/

SKILL.md (first lines)

# Skill Generator Specification

## Perceive
1. Receive the user's request to create, update, convert, review, or optimize an Agent Skill.
2. Identify the target task, usage scenarios, pain points, expected outputs, target agent client, and whether the user already has source material such as docs, runbooks, examples, code, prompts, or previous failures.
3. If high-impact information is missing, ask concise follow-up questions before generating final files. Do not invent domain rules that should come from the user or existing project material.

## Reason
1. **Load Official Agent Skills Reference**: Load and analyze `.agents/skills/generate-skill/reference/AgentSkillsOfficialReference.md` first. Treat it as the source of truth for `SKILL.md` frontmatter, directory structure, progressive disclosure, description triggering, scripts, references, assets, evals, and client implementation considerations.
2. **Load Reference Patterns**: Load and analyze `.agents/skills/generate-skill/reference/SkillCategory.md` to understand 5 core design patterns:
   - **Tool Wrapper**: Suitable for encapsulating APIs, libraries, or team development conventions.
   - **Generator**: Suitable for consistently producing structured documents in specific formats (e.g., reports, templates).
   - **Reviewer**: Suitable for systematically checking the quality of code or outputs (e.g., security, style).
   - **Inversion**: Suitable for guided requirement gathering, ensuring the Agent does not guess answers prematurely.
   - **Pipeline**: Suitable for complex tasks that require a strict execution order and cannot skip steps.
3. **Load Reference Templates**: Load and analyze the standard templates under `.agents/skills/generate-skill/templates/` (including `SKILL.md`, `evals.json`, `eval_queries.json`, and `pep723.py`) to provide standard, high-quality boilerplate content to the user.
4. **Load ReAct Guidelines**: Load and analyze `.agents/skills/generate-skill/reference/ReAct_vs_CLI.md` when the skill involves local exploration, CLI behavior, autonomous debugging, cross-file analysis, CI/CD assistance, or another agentic operating-system workflow.
5. **Requirement Matching**: Based on the user's requirement, choose the most suitable pattern or combination of patterns. Use official Agent Skills format as the baseline; Perceive/Reason/Act is optional structure, not a mandatory official requirement.
6. **Progressive Disclosure Planning**: Decide what belongs in `SKILL.md` versus `references/`, `scripts/`, `assets/`, and `evals/`. Keep `SKILL.md` concise and load detailed material only when needed.
7. **Description & Validation Planning**: Draft a trigger-focused `description`, identify likely should-trigger and should-not-trigger prompts, and plan output quality checks for important or shareable skills.

## Act
1. **Pattern Recommendation & Explanation**: Present the recommended pattern(s), why they fit, and whether a ReAct-style autonomous workflow or simpler CLI/tool-wrapper approach is appropriate.
2. **Gather Necessary Variables**: Guide the user to provide key information needed to generate or update the skill, including:
   - Skill name (`name`)
   - Trigger-focused description (`description`)
   - Target agent/client and compatibility constraints
   - Source material, domain rules, examples, and gotchas
   - Required references, scripts, assets, templates, or evals
   - Optional metadata, license, and allowed tool expectations
3. **Generate File Content**:
   - Generate a standards-compliant `SKILL.md` whose first line is `---`.
   - Ensure `name` is valid and matches the skill directory.
   - Keep the main body procedural, concise, and grounded in provided expertise.
   - Use relative paths from the skill root for all `references/`, `scripts/`, and `assets/`.
   - Guide the user to adopt the standard structure by generating supporting files (`evals/evals.json`, `eval_queries.json`, and non-interactive scripts) based on the loaded templates.
4. **Quality Gate**: Before finalizing, check the output against `.agents/skills/generate-skill/reference/AgentSkillsOfficialReference.md`, especially frontmatter validity, description trigger quality, progressive disclosure, resource paths, script safety, and eval recommendations.
5. **Provide Advanced Suggestions**: Recommend trigger evals, output quality evals, reference files, templates, or scripts that would make the skill more reliable in real use.

From Benknightdark/neo-skills, MIT.

More from Benknightdark/neo-skills

Signals

Stars
7
Forks
1
Open issues
0
Last commit (this folder)
May 30, 2026 (5 months ago)
Last release
Sep 6, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Benknightdark

Cite this page

generate-skill. Agent Mart. https://agentmart.dev/skills/benknightdark-generate-skill (last updated 2026-10-24)