Langsung ke konten
Skillpedia
Agen33k Β· #8482

skill-improve

Fungsinya

Skill ini memperbaiki satu skill agent dengan memeriksanya, membuat perbaikan yang terarah, dan mengujinya kembali. Cocok untuk orang yang menulis atau memelihara skill dan menginginkan instruksi yang lebih jelas serta andal.

Kapan dipakai

  • βœ“Saat sebuah skill gagal pemeriksaannya dan membutuhkan perbaikan yang terarah.
  • βœ“Saat seseorang ingin membuat skill lebih jelas dan andal.
  • βœ“Saat skor kualitas sebuah skill sebaiknya dibandingkan sebelum dan sesudah perubahan.

Link skill

https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/skill-improve/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/skill-improve/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œPerbaiki skill tech-debt saya agar pemeriksaannya lolos, dan simpan hanya perubahan yang menaikkan skor.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill menjalankan pemeriksaan pada skill yang disebutkan, membuat perbaikan yang terarah, dan menjalankan pemeriksaan lagi. Skill menyimpan perubahan jika skornya naik dan membatalkannya jika skornya turun.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys automation

Automation mode: Resolve modes.automation (project.local.yaml β†’ project.yaml β†’ default collaborative). Every AskUserQuestion call and every file write follows .claude/docs/automation-modes.md (collaborative asks always Β· guided major-only Β· autonomous logs and proceeds; automation_always_ask categories always prompt).

Skill Improve

Runs an improvement loop on a single skill: test β†’ fix β†’ retest β†’ keep or revert.

Its score comes from /skill-test static and category checks, which read the skill rather than run it: a better score means a better-written skill, not proof that it behaves better. To check behaviour, run the skill on a real request before and after the change.


Phase 1: Parse Argument

Read the skill name from the first argument. If missing, output usage and stop:

Usage: /skill-improve [skill-name]
Example: /skill-improve tech-debt

Verify .claude/skills/[name]/SKILL.md exists. If not, stop with: "Skill '[name]' not found."

Glob CCGS Skill Testing Framework/catalog.yaml. When it exists, say so first: "CCGS Skill Testing Framework/ was renamed studio-tests/ in 1.2.0, and this skill reads only studio-tests/. Move any specs you wrote there; UPGRADING.md (v1.1.3 β†’ v1.2.0, studio-tests/) says how." Then go on.


Phase 2: Baseline Test

Run /skill-test static [name] and record the baseline score:

  • Count of FAILs
  • Count of WARNs
  • Which specific checks failed (Check 1–7)

Display to the user:

Static baseline:   [N] failures, [M] warnings
Failing: Check 4 (no ask-before-write), Check 5 (no handoff)

If the static result is NOT ASSESSED (the skill file could not be read or parsed), stop and report it with its reason: there is no score to improve, and 0 FAILs from a file nobody could read is not a clean result.

If baseline is 0 FAILs and 0 WARNs, note it and proceed to Phase 2b.

Phase 2b: Category Baseline

Look up the skill's category: field in studio-tests/catalog.yaml.

If no category: field is found, display: "Category: not yet assigned β€” skipping category checks." and skip to Phase 3.

If category is found, run /skill-test category [name] and record the category baseline:

  • Count of FAILs
  • Count of WARNs
  • Which specific category rubric metrics failed

Display to the user:

Category baseline: [N] failures, [M] warnings  ([category] rubric)

A category result of NOT ASSESSED (a rubric section the skill-test could not find or apply) is reported with its reason and is not a zero: the category dimension is then excluded from "already passes" below.

If BOTH static and category baselines are 0 FAILs and 0 WARNs β€” and neither is NOT ASSESSED β€” stop: "This skill already passes all static and category checks. No improvements needed."


Phase 3: Diagnose

Read the full skill: .claude/skills/[name]/SKILL.md and every file in its references/ folder, if it has one β€” the longest skills keep each phase there. Name the file each gap is in.

For each failing or warning static check, identify the exact gap:

  • Check 1 fail β†’ which frontmatter field is missing
  • Check 2 fail β†’ how many phases found vs. minimum required
  • Check 3 fail β†’ no verdict keywords anywhere in the skill body
  • Check 4 fail β†’ Write or Edit in allowed-tools but no ask-before-write language
  • Check 5 warn β†’ no follow-up or next-step section at the end
  • Check 6 warn β†’ context: fork set but fewer than 5 phases found
  • Check 7 warn β†’ argument-hint is empty or doesn't match documented modes

For each failing or warning category check (if category was assigned in Phase 2b), identify the exact gap in the skill's text. For example:

  • If G2 fails (gate mode, director panel width): skill body does not size the PHASE-GATE panel from modes.workflow (PR at minimal, TD + PR at standard, all 4 at full)
  • If A2 fails (authoring, no per-section May-I-write): skill asks once at the end, not before each section write
  • If T3 fails (team, BLOCKED not surfaced): skill doesn't halt dependent work on blocked agent

Show the full combined diagnosis to the user before proposing any changes.


Phase 4: Propose Fix

Write a targeted fix for each failure and warning. Show the proposed changes as clearly marked before/after blocks. Only change what is failing β€” do not rewrite sections that are passing. In a skill with a `refer

Pertanyaan umum

Apakah skor yang lebih baik berarti skill bekerja lebih baik?

Tidak selalu. Skor memeriksa seberapa baik skill itu ditulis, jadi menjalankannya pada permintaan nyata adalah cara untuk memeriksa perilakunya.

Bagaimana jika nama skill salah?

Skill berhenti dan melaporkan bahwa skill itu tidak ditemukan.

Apakah skill ini menulis ulang seluruh skill?

Tidak. Skill membuat perbaikan yang terarah dan hanya menyimpan yang meningkatkan skor.

Detail

Deskripsi asli dari pembuat

Improve a skill via a test-fix-retest loop β€” static checks, targeted fixes, keep or revert on score change.

repo: Donchitos/Claude-Code-Game-Studios

Popularitas

Bintang GitHub
33k
Peringkat
#8482
Lisensi
MIT
Diperbarui
18/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa