improve-ic-skill
БесплатноБез исполняемых скриптовНе проверенImprove an existing skill in the IC Skills repo (skills.internetcomputer.org). Load this skill whenever asked to improve, fix, update, enhance, review, or add…
от jiayaoqijia★ 81 звезда на GitHubОб этом скилле
Improve IC Skill
A token-efficient workflow for improving an existing skill in the IC Skills repo. The guiding principle: understand the problem first, change precisely, verify only what changed. Evals exist as regression safety nets — run them selectively, not automatically on every pass.
Step 0 — Understand the problem before touching anything
This is a hard stop. Do not read any file, run any command, or make any change until you have a specific problem statement from the user.
You need to know:
- What is the specific issue? (e.g. "canister ID X is stale", "missing pitfall about Y", "description doesn't trigger on Z", "code example uses deprecated API W")
- Why does it matter? (e.g. "agents generate broken code", "skill never triggers for this use case", "upstream sync added a new command we don't cover")
If the request is vague ("improve the motoko skill", "the ckbtc skill feels weak") — ask:
"What specific issue should I focus on? For example: a missing pitfall, a stale canister ID, a broken code example, or a description that isn't triggering correctly."
If the user cannot or will not provide a specific issue — stop. Do not proceed. Do not read the skill. Do not run commands. Do not "explore and find improvements yourself." Explain clearly:
"I need a specific problem to solve before I can start. Blind improvements risk changing things that don't need changing. To find a concrete issue, try: running
npm run validate, checkingevaluations/<skill-name>.jsonfor failing cases, or pointing me to a GitHub issue or upstream diff."
If the user pushes back, repeats the vague request, or expresses frustration — hold the position. The answer is always the same: no specific issue = no work started.
The only exception: if the reason is unambiguous from context already in the conversation (a GitHub issue body, an upstream diff, a specific error message) — proceed directly to Step 1 without asking.
Step 1 — Understand the skill
Read skills/<skill-name>/SKILL.md fully. Check:
- What it covers and what it's missing
- Whether it's upstream-tracked:
grep <skill-name> .claude/upstream.md— if it appears, note which sections are owned by icskills (those cannot be overwritten from upstream) - Recent git history:
git log --oneline -5 -- skills/<skill-name>/SKILL.md
Step 2 — Validate baseline
npm run validate
Fix any errors before making content changes. Warnings are acceptable — don't chase them unless they're relevant to your improvement.
Step 3 — Identify improvements
Read with fresh eyes. Common high-value areas:
Pitfalls — highest-value content; every pitfall documented prevents an agent hallucination. Look for: incorrect usage patterns you know about, error messages agents typically misread, wrong defaults, API gotchas.
Canister IDs and version numbers — verify against mainnet and current release tags. Stale IDs silently break agent-generated code.
Code examples — verify syntax compiles, APIs still exist, no deprecated patterns.
Description — must state what it does, when to use it, AND when NOT to use it. Include specific keywords agents match on. A weak description means the skill never triggers.
Required frontmatter — metadata.title and metadata.category are required by CI. Missing these blocks deployment.
For upstream-tracked skills (writing-motoko, migrating-motoko-actors, troubleshooting-motoko-migrations, reviewing-motoko, migrating-to-moc-2, caffeine-app, mops-cli, static-site): read .claude/upstream.md carefully. Only modify icskills-owned sections freely; changes to shared content should also be filed upstream.
Step 4 — Apply improvements
Edit skills/<skill-name>/SKILL.md. Stay focused — don't refactor things you weren't asked to touch.
Step 5 — Validate again
npm run validate
Fix any errors. Warnings from unrelated sections are fine to leave.
Optionally run LLM quality scoring if the changes were substantial:
skill-validator score evaluate --provider claude-cli skills/<skill-name>
Step 6 — Check and update evals
Open evaluations/<skill-name>.json at the repo root (not inside the skill directory).
If the file doesn't exist yet, create it as part of this improvement session. A skill being improved is the right moment to seed its first evals. Start lean — 1-2 output_evals covering the most important pitfalls, and 2-3 trigger_evals for the description. Don't try to be comprehensive; a small, accurate eval file beats an overwhelming one that never gets run.
For upstream sync sessions where no eval file exists: seed cases directly from the upstream diff — new commands, changed defaults, renamed APIs, and new pitfalls in the diff are exactly where agents will hallucinate without updated guidance. The diff is your best source.
# Verify no eval file exists
ls evaluations/<skill-name>.json 2>/dev/null || echo "No evals yet — crea
Установить improve-ic-skill в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл improve-ic-skill?
Improve an existing skill in the IC Skills repo (skills.internetcomputer.org). Load this skill whenever asked to improve, fix, update, enhance, review, or add content to an existing skill at skills/<skill-name>/SKILL.md — including adding pitfalls, updating canister IDs, fixing code examples, strengthening the description, or updating evals. Do NOT use for creating a brand-new skill (use skill-creator for that). Trigger examples: "the motoko skill is missing a pitfall", "update icp-cli for the new recipe format", "the ckbtc description is weak", "add an eval for the canister-security skill".
Как установить скилл improve-ic-skill?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл improve-ic-skill запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic