一键导入
ai-create-skill
Guides the agent through creating a new AI skill following the agentskills.io format and this repository's conventions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guides the agent through creating a new AI skill following the agentskills.io format and this repository's conventions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Defines the analyse-plan-execute workflow that the agent must follow for non-trivial tasks.
Defines a strict code review process where the agent validates quality through linting, tests, complexity analysis, and critical challenge of design decisions.
Guides the agent to always write commit messages following the Conventional Commits 1.0.0 specification, ensuring structured, parseable, and semantically meaningful commit history.
Guides the agent through applying Domain-Driven Design principles when modeling, structuring, and implementing business logic.
Guides the agent through applying Hexagonal Architecture (Ports & Adapters) to isolate domain logic from external concerns within a service.
Guides the agent to apply consistent, meaningful naming conventions across all code — variables, functions, classes, files, and infrastructure — ensuring readability and predictability.
| name | ai-create-skill |
| description | Guides the agent through creating a new AI skill following the agentskills.io format and this repository's conventions. |
Create new AI agent skills that follow the Agent Skills format and fit into this repository's category structure.
Use this skill when:
Choose the correct category. Place the skill under the most specific matching category:
ai/ — Cross-cutting skills applicable to any projectcommon/ — Cross-cutting skills applicable to any projectoperations/ — DevOps, CI/CD, deployment, and infrastructure skillsfrontend/ — General frontend skillsfrontend/*/ — Technology specific skillsbackend/ — General backend skillsbackend/*/ — Technology specific skillsCreate the skill directory. Use a kebab-case name that clearly identifies the skill:
skills/<category>/<skill-name>/
Create SKILL.md with frontmatter. Every skill must have a SKILL.md file with YAML frontmatter containing name and description:
---
name: <category>-<skill-name>
description: A single sentence describing what this skill does.
---
The name must be unique across the repository.
The description should be concise — it is used for skill discovery and matching.
Write the skill body. Structure the Markdown body with these sections:
Required sections:
# <name> — Title matching the frontmatter name, followed by a one-line summary.## When to use — Bullet list of situations where this skill should activate.## Instructions — Numbered step-by-step instructions the agent must follow.Optional sections:
## Prerequisites — Other skills or tools required before this one applies.## Core concepts — Background knowledge the agent needs to reason correctly.## Examples — Concrete code or output examples demonstrating correct behavior.## References — Links to external documentation or standards.Write instructions for an AI agent, not a human.
Keep skills focused. One skill = one concern. If a skill grows beyond ~150 lines, consider splitting it into multiple skills and referencing prerequisites between them.
Add optional supporting files if needed:
scripts/ — Executable helper scripts the agent can invoke (shell, Node.js, Python).references/ — Supporting documentation, checklists, or lookup tables.Update the category README. Add the new skill to the bullet list in skills/<category>/README.md:
- <skill-name>/SKILL.md
Validate the skill.
name unique in the repository?Use this as a starting point for a new skill:
---
name: <category>-<skill-name>
description: A brief description of what this skill does.
---
# <category>-<skill-name>
One-line summary of what this skill accomplishes.
## When to use
Use this skill when:
- Situation A
- Situation B
- Situation C
## Instructions
1. First actionable step.
2. Second actionable step.
3. Additional steps as needed.