MCP HubMCP Hub
스킬 목록으로 돌아가기

evolve-skill

pjt222
업데이트됨 2 days ago
8 조회
17
2
17
GitHub에서 보기
메타designdata

정보

`evolve-skill` 스킬은 기존 스킬을 내용을 제자리에서 개선하거나 고급 변형을 생성하는 방식으로 업데이트합니다. 이 스킬은 평가, 요구사항 수집, 변경 적용, 버전 메타데이터 및 상호 참조의 동기화를 처리합니다. 스킬의 단계가 구식이 되었을 때, 피드백으로 결함이 드러났을 때, 또는 복잡성 업그레이드가 필요할 때 사용하세요.

빠른 설치

Claude Code

추천
기본
npx skills add pjt222/agent-almanac -a claude-code
플러그인 명령대체
/plugin add https://github.com/pjt222/agent-almanac
Git 클론대체
git clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/evolve-skill

Claude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요

문서

Evolve an Existing Skill

Improve, extend, or create advanced variant of skill originally made w/ create-skill. Covers maintenance: assess gaps, apply improvements, bump versions, sync registry + cross-refs.

Use When

  • Procedure outdated after tooling change
  • Feedback → missing pitfalls, unclear steps, weak validation
  • Needs grow basic → intermediate (intermediate → advanced)
  • Advanced variant needed alongside original (e.g., create-r-package + create-r-package-advanced)
  • Related skills added/removed → cross-refs stale

In

  • Required: Path to existing SKILL.md
  • Required: Evolution trigger (feedback, tooling, complexity, new related, discovered pitfalls)
  • Optional: Target complexity if change (basic, intermediate, advanced)
  • Optional: Create variant instead refine (default: refine in-place)

Do

Step 1: Assess Current

Read SKILL.md + eval each section vs checklist:

SectionCheckCommon Issues
FrontmatterRequired fields, description <1024Missing tags, stale version
When to Use3-5 concrete triggersVague/overlapping
InputsRequired vs optional separatedMissing defaults
ProcedureEach step code + Expected + On failureMissing On failure, pseudocode not real
ValidationBinary pass/failSubjective ("clean")
Common Pitfalls3-6 w/ cause + avoidanceToo generic ("be careful")
Related Skills2-5 valid refsStale to renamed/removed
# Read the skill
cat skills/<skill-name>/SKILL.md

# Check frontmatter parses
head -20 skills/<skill-name>/SKILL.md

# Verify related skills still exist
grep -oP '`[\w-]+`' skills/<skill-name>/SKILL.md | sort -u

→ List specific gaps.

If err: no SKILL.md or no frontmatter → skill N/A, use create-skill from scratch.

Step 2: Gather Reqs

Identify + categorize trigger:

TriggerExampleScope
User feedback"Step 3 unclear"Refinement
Tooling changeNew API, deprecated cmdRefinement
Discovered pitfallCommon failure undocumentedRefinement
Complexity upgradeToo shallow for real useRefinement or variant
New relatedAdjacent skill addedRefinement (cross-refs)
Advanced use casePower users deeperVariant

Document changes + target sections before edit.

→ Concrete list (e.g., "Add On failure Step 4", "Add Step 6 edge case X", "Update Related → new-skill").

If err: unclear → consult user. Vague goals → vague improvements.

Step 3: Choose Scope

Decision matrix:

CriteriaRefinement (in-place)Variant (new skill)
Skill IDUnchanged<skill>-advanced
File pathSame SKILL.mdNew dir
Version bumpPatch/minorStarts 1.0
ComplexityMay increaseHigher than original
RegistryNo new entryNew entry
SymlinksNo changeNew symlinks
OriginalModified directlyLeft intact, gains cross-ref

Refinement: Improve quality, fix gaps, modest new. Keeps identity.

Variant: Doubles length, diff audience, diff inputs. Original stays for simpler uses.

→ Clear decision + rationale.

If err: unsure → default refinement. Extract variant later easier than merge back.

Step 4: Apply Changes

Refinements

Edit existing SKILL.md directly:

# Open for editing
# Add/revise procedure steps
# Strengthen Expected/On failure pairs
# Add tables or examples
# Update When to Use triggers
# Revise Inputs if scope changed

Editing rules:

  • Preserve all sections — add not remove
  • Step numbering sequential after insertions
  • Every new/modified step → Expected + On failure
  • New pitfalls at end of Common Pitfalls
  • New related at end of Related Skills

Variants

# Create the variant directory
mkdir -p skills/<skill-name>-advanced/

# Copy the original as a starting point
cp skills/<skill-name>/SKILL.md skills/<skill-name>-advanced/SKILL.md

# Edit the variant:
# - Change `name` to `<skill-name>-advanced`
# - Update `description` to reflect the advanced scope
# - Raise `complexity` (e.g., intermediate → advanced)
# - Reset `version` to "1.0"
# - Add/expand procedure steps for the advanced use case
# - Reference the original in Related Skills as a prerequisite

→ SKILL.md (refined/variant) passes Step 1 checklist.

If err: edit breaks structure → git diff review, revert git checkout -- <file>.

Step 4.5: Sync Translated Variants

Required when translations exist. Applies human authors + AI agents. No skip — stale source_commitnpm run validate:translations false staleness across locales.

Check + update translations:

# Check for existing translations
ls i18n/*/skills/<skill-name>/SKILL.md 2>/dev/null

If translations exist

  1. Current source commit:
SOURCE_COMMIT=$(git rev-parse HEAD)
  1. Update source_commit each translated:
for locale_file in i18n/*/skills/<skill-name>/SKILL.md; do
  sed -i "s/^source_commit: .*/source_commit: $SOURCE_COMMIT/" "$locale_file"
done
  1. Flag → re-translation in commit msg:
evolve(<skill-name>): <description of changes>

Translations flagged for re-sync: de, zh-CN, ja, es
Changed sections: <list sections that changed>
  1. Regenerate status:
npm run translation:status

If no translations exist

No action. Proceed Step 5.

Variants

Defer translation new variants until stabilize (1-2 versions). Translating v1.0 variant that may change by v1.2 wastes effort. Add after refinement.

→ All translated source_commit updated. Commit msg notes locales + sections. npm run translation:status exits 0.

If err: sed fails match field → translated file non-standard. Open manually, verify source_commit in YAML. Missing → re-scaffold npm run translate:scaffold.

Step 5: Version + Metadata

Bump version semver:

ChangeBumpExample
Typo/wordingPatch: 1.0 → 1.1Fixed unclear sentence
New step/pitfall/tableMinor: 1.0 → 2.0Added Step 7 edge case
Restructured, inputs changedMajor: 1.0 → 2.0Reorganized 5 → 8 steps

Also update:

  • complexity if scope expanded (basic → intermediate)
  • tags if coverage changed
  • description if scope materially diff

version reflects magnitude. New variants start "1.0".

If err: forget bump → no track. Always bump before commit.

Step 6: Registry + Cross-Refs

Refinements

No registry changes (path unchanged). Update cross-refs only if Related Skills changed in other skills:

# Check if any skill references the evolved skill
grep -r "<skill-name>" skills/*/SKILL.md

Variants

Add new skill to skills/_registry.yml:

- id: <skill-name>-advanced
  path: <skill-name>-advanced/SKILL.md
  complexity: advanced
  language: multi
  description: One-line description of the advanced variant

Then:

  1. Increment total_skills top of registry
  2. Add Related Skills in original → variant
  3. Add Related Skills in variant → original
  4. Symlinks for slash command discovery:
# Project-level
ln -s ../../skills/<skill-name>-advanced .claude/skills/<skill-name>-advanced

# Global
ln -s /mnt/d/dev/p/agent-almanac/skills/<skill-name>-advanced ~/.claude/skills/<skill-name>-advanced

→ Registry total_skills = find skills -name SKILL.md | wc -l. Cross-refs bidirectional.

If err: count wrong → find skills -name SKILL.md | wc -l get truth + correct. Broken symlinks → readlink -f debug.

Step 7: Validate

Full checklist:

  • SKILL.md exists expected path
  • YAML frontmatter parses
  • version bumped (refinement) or "1.0" (variant)
  • All sections: When to Use, Inputs, Procedure, Validation, Common Pitfalls, Related Skills
  • Every step has Expected + On failure
  • Related Skills ref valid existing
  • Registry entry (variants) correct path
  • total_skills matches actual disk
  • Symlinks resolve (variants)
  • git diff no accidental deletions
  • Refinements w/ translations: source_commit updated or flagged re-sync
# Verify frontmatter
head -20 skills/<skill-name>/SKILL.md

# Count skills on disk vs registry
find skills -name SKILL.md | wc -l
grep total_skills skills/_registry.yml

# Check symlinks (for variants)
ls -la .claude/skills/<skill-name>-advanced
readlink -f .claude/skills/<skill-name>-advanced/SKILL.md

# Review all changes
git diff

→ All pass. Ready to commit.

If err: address each. Most common: stale total_skills — always verify last.

Check

  • SKILL.md exists + valid YAML
  • version reflects changes
  • Every step has Expected + On failure
  • Related Skills valid (no broken)
  • Registry total_skills matches disk
  • Variants: new entry in _registry.yml correct path
  • Variants: symlinks at .claude/skills/ + ~/.claude/skills/
  • git diff no accidental removal
  • Refinements w/ translations: source_commit updated or flagged

Traps

  • Forget version bump: No track. Always version before commit.
  • Accidental deletion: Restructure → drop On failure or table row. Review git diff before commit.
  • Stale cross-refs: Variant → both original + variant reference each other. One-directional → incomplete graph.
  • Registry count drift: Variant → increment total_skills. Forget → validation failures elsewhere.
  • Stale translations post-evolution: 1,288 translations → every skill evolution → up to 4 locale files stale. Check ls i18n/*/skills/<skill-name>/SKILL.md + update source_commit or flag re-translation. Skip → npm run validate:translations stale warnings.
  • Scope creep in refinement: Refinement doubling length → probably variant. >3 new steps → reconsider Step 3 decision.
  • git mv on NTFS (WSL): /mnt/ paths, git mv for dirs → broken permissions (d?????????). Use mkdir -p + copy + git rm old. See env guide troubleshooting.

  • create-skill — foundation new skills; evolve-skill assumes this followed
  • commit-changes — commit evolved skill w/ descriptive msg
  • configure-git-repository — version-controlled changes
  • security-audit-codebase — review for accidentally included secrets

GitHub 저장소

pjt222/agent-almanac
경로: i18n/caveman-ultra/skills/evolve-skill
0
agentsagentskillsai-assisted-developmentclaude-codeskillsteams

연관 스킬

content-collections

메타

이 스킬은 콘텐츠 콜렉션(Content Collections)을 위한 프로덕션 검증된 설정을 제공합니다. 콘텐츠 콜렉션은 Markdown/MDX 파일을 Zod 검증이 포함된 타입 안전한 데이터 콜렉션으로 변환해주는 TypeScript 최우선 도구입니다. 블로그, 문서 사이트 또는 콘텐츠 중심의 Vite + React 애플리케이션을 구축할 때 타입 안전성과 자동 콘텐츠 검증을 보장하기 위해 사용하세요. Vite 플러그인 구성과 MDX 컴파일부터 배포 최적화 및 스키마 검증에 이르기까지 모든 것을 다룹니다.

스킬 보기

polymarket

메타

이 스킬은 개발자들이 Polymarket 예측 시장 플랫폼을 활용한 애플리케이션을 구축할 수 있도록 지원하며, 거래 및 시장 데이터를 위한 API 통합 기능을 포함합니다. 또한 WebSocket을 통한 실시간 데이터 스트리밍을 제공하여 실시간 거래와 시장 활동을 모니터링할 수 있습니다. 이를 통해 거래 전략을 구현하거나 실시간 시장 업데이트를 처리하는 도구를 생성하는 데 활용할 수 있습니다.

스킬 보기

creating-opencode-plugins

메타

이 스킬은 개발자들이 명령어, 파일, LSP 작업 등 25개 이상의 이벤트 유형에 연결되는 OpenCode 플러그인을 만들 수 있도록 돕습니다. JavaScript/TypeScript 모듈을 위한 플러그인 구조, 이벤트 API 명세, 구현 패턴을 제공합니다. OpenCode AI 어시스턴트의 라이프사이클을 사용자 정의 이벤트 기반 로직으로 가로채거나, 모니터링하거나, 확장해야 할 때 사용하세요.

스킬 보기

sglang

메타

SGLang은 RadixAttention 프리픽스 캐싱을 활용하여 JSON, 정규식, 에이전트 워크플로우를 위한 고속 구조화 생성에 특화된 고성능 LLM 서빙 프레임워크입니다. 특히 반복되는 프리픽스가 있는 작업에서 상당히 빠른 추론 속도를 제공하여 복잡한 구조화 출력 및 다중 턴 대화에 이상적입니다. 제약 디코딩이 필요하거나 광범위한 프리픽스 공유가 있는 애플리케이션을 구축할 때는 vLLM과 같은 대안보다 SGLang을 선택하십시오.

스킬 보기