create-skill
19
总安装量
7
周安装量
#18889
全站排名
安装命令
npx skills add https://github.com/launchdarkly/agent-skills --skill create-skill
Agent 安装分布
opencode
7
claude-code
7
codex
7
cursor
7
gemini-cli
5
github-copilot
5
Skill 文档
Create a LaunchDarkly Skill
This skill guides contributors through adding a new skill to the LaunchDarkly agent-skills repository, following the open standard and local repo conventions.
Prerequisites
- Access to the LaunchDarkly agent-skills repo
- Familiarity with the workflow you want to encode
Steps
-
Pick a category and name
- Choose a category under
skills/(for example,feature-flags,ai-config). - Create a directory
skills/<category>/<skill-name>/. - Ensure
<skill-name>is lowercase with hyphens, and matches thenamefield exactly.
- Choose a category under
-
Create
SKILL.md- Copy
template/SKILL.md.templateinto the new skill directory and rename it toSKILL.md. - Fill in required frontmatter:
name,description. - Keep
SKILL.mdunder 500 lines and move deep details toreferences/.
- Copy
-
Add supporting files
- If needed, add
references/and optionalscripts/orassets/. - Keep reference files small and focused for on-demand loading.
- If needed, add
-
Update repo docs
- Add the skill to the table in
README.md. - If the skill requires specific tooling, document it clearly in the skill.
- Add the skill to the table in
-
Update the catalog
- Run
python3 scripts/generate_catalog.pyto updateskills.json.
- Run
-
Validate
- Run
python3 scripts/validate_skills.py. - Run
python3 -m unittest discover -s tests.
- Run
Guidelines
- Follow the Agent Skills spec for naming and frontmatter.
- Make âwhen to use thisâ explicit in the description.
- Avoid internal-only links or tools unless the skill is internal-only.
Examples
Example: Add an AI config skill
User: “Add a skill to guide creating AI Configs”
Expected behavior:
- Create
skills/ai-configs/create-ai-config/. - Fill
SKILL.mdusing the template. - Add references if needed.
- Update
README.mdandskills.json. - Run validation scripts.
Edge Cases
- Name mismatch: If
namedoesnât match the folder name, fix the folder or frontmatter. - Overlong SKILL.md: Move detailed content into
references/. - Missing catalog update: Regenerate
skills.jsonbefore committing.
References
README.mddocs/skills.mddocs/versioning.md