AGENT SKILL

skill-creator

Creates new AI agent skills following the Agent Skills spec. Trigger: When user asks to create a new skill, add agent instructions, or document patterns for AI.

License 许可
Apache-2.0
最近更新
2026-11-15
Stars
★ 0
Forks
2

01 前言 Front Matter

name
skill-creator
license
Apache-2.0
metadata
{ "scope": [ "root" ], "author": "prowler-cloud", "version": "1.0", "auto_invoke": [ "Creating new skills" ] }
description
Creates new AI agent skills following the Agent Skills spec. Trigger: When user asks to create a new skill, add agent instructions, or document patterns for AI.
allowed-tools
Read, Edit, Write, Glob, Grep, Bash, WebFetch, WebSearch, Task

02 资源文件 2

03 SKILL.md 正文

When to Create a Skill

Create a skill when:

  • A pattern is used repeatedly and AI needs guidance
  • Project-specific conventions differ from generic best practices
  • Complex workflows need step-by-step instructions
  • Decision trees help AI choose the right approach

Don't create a skill when:

  • Documentation already exists (create a reference instead)
  • Pattern is trivial or self-explanatory
  • It's a one-off task

Skill Structure

skills/{skill-name}/
├── SKILL.md              # Required - main skill file
├── assets/               # Optional - templates, schemas, examples
│   ├── template.py
│   └── schema.json
└── references/           # Optional - links to local docs
    └── docs.md

Naming (melon-alquimia)

Type Pattern Examples
Monorepo / infra (root skills/) melon-{area} melon-monorepo
App / MS (under <subrepo>/skills/<name>/) melon-{area} or melon-ms-{service} melon-front-web, melon-ms-auth
Meta skill-* skill-creator, skill-sync

Use metadata.scope values defined in skill-sync/SKILL.md.


Frontmatter Fields

Field Required Description
name Yes Skill identifier (lowercase, hyphens)
description Yes What + Trigger
license Yes SPDX id (e.g. Apache-2.0, MIT)
metadata.author Yes Team or prowler-cloud for upstream-derived
metadata.version Yes Semantic version string
metadata.scope For sync Scopes whose AGENTS.md get Auto-invoke rows
metadata.auto_invoke For sync Action phrases as a YAML list

Canonical reference: assets/skill-frontmatter-contract.md.


Registering the Skill

Do not hand-edit AGENTS.md. Run ai-specs sync after creating or changing skill metadata so the root-generated files are refreshed through the supported workflow.


Checklist Before Creating

  • [ ] Skill name not already in skills/
  • [ ] Pattern is reusable
  • [ ] Frontmatter matches assets/skill-frontmatter-contract.md
  • [ ] Commands section with copy-paste commands
  • [ ] Run ai-specs sync after adding scope + auto_invoke

Resources

04 同仓库更多 Skills