Skip to main content

my-new-skill

One sentence that describes WHEN to invoke this skill. Write it as a trigger phrase, not a summary — include the words a user would say ("fix bug", "add feature", "review diff"). The agent routes on this field.

来源信息

仓库
Archive228/loopkit
最近来源活动
2026年7月14日 21:09
检测到的 SKILL.md 语言
英语
星标
757
Forks
124

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
3 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
my-new-skill
description
One sentence that describes WHEN to invoke this skill. Write it as a trigger phrase, not a summary — include the words a user would say ("fix bug", "add feature", "review diff"). The agent routes on this field.
# My New Skill <!-- Anthropic-shaped SKILL.md template. Copy this folder to skills/<your-name>/ and edit. Keep the body under ~150 lines — long bodies are a context tax on every turn where this skill is loaded. Recommended structure: 1. One-paragraph statement of the failure mode this skill exists to prevent. 2. A short checklist or numbered procedure the agent should follow. 3. Red flags — the shortcuts an agent takes when it wants to skip this. 4. Evidence — a required before/after pair proving the skill actually changes behaviour. Ships in the sibling evidence/ folder. 5. (optional) `references/` sibling files with deeper material the skill lazy-loads only when needed. Do not include: - Marketing copy. - Duplicates of other skills (link, do not copy). - Project-specific rules — those belong in .claude/rules/. Frontmatter contract (validated by scripts/validate-skills + CI): - `name` — kebab-case, unique across the repo, matches the directory name. - `description` — one non-empty line, phrased as a trigger. - Anything else is optional and not currently enforced. --> Without this skill, the agent tends to <failure mode>. This skill enforces <the alternative>. ## Steps 1. <step> 2. <step> 3. <step> ## Red flags — STOP | Thought | Reality | |---|---| | "I've done this before, I don't need the checklist" | Skills evolve; re-read the current SKILL.md. | | "This case is simple" | Simple cases become complex mid-task. | | "The user didn't ask for this rigor" | The user asked for a working result. Rigor is how you get one. | ## Evidence Every skill ships with a real before/after pair proving it changes agent behaviour on a concrete task. Without this, the skill is a claim, not a tool. - `evidence/before.md` — a verbatim snippet of what the agent does on a representative task WITHOUT this skill loaded. Include the prompt, the agent's response, and what went wrong (or what got skipped). - `evidence/after.md` — the same prompt with this skill loaded. Show the changed behaviour and why it is better. If you cannot produce a before/after pair, the skill is not ready to ship. Land it as a draft in a branch, gather the evidence, then merge. ## References - `references/<topic>.md` (only if needed; keep the body lightweight)
在 GitHub 查看