본문으로 건너뛰기

Declarative Skill Manifest

skill 컬렉션을 코드로 정의하세요 — 단일 manifest 파일로 설치하고, 공유하고, 설정을 재현합니다.

언제 중요한가요?

여러 머신에서 재현 가능한 skill 설정, 단일 명령으로 팀 온보딩, 또는 오픈소스 프로젝트 부트스트랩이 필요할 때 declarative manifest를 사용하세요.

Skill Manifest란?​

skill manifest는 skill 컬렉션의 이식 가능한 선언입니다. skill을 하나씩 수동으로 설치하는 대신, manifest 파일에 나열하고 skillshare install을 실행하면 모든 것을 갖출 수 있습니다.

manifest 위치는 mode에 따라 다릅니다:

ModeManifest 위치커밋 가능?
Project.skillshare/config.yaml (skills: 섹션)예 — 팀과 공유하려면 커밋
Global~/.config/skillshare/skills/.metadata.json아니오 — 개인 머신 상태

Project Mode Manifest​

project mode에서는 skills:가 targets:와 함께 config.yaml에 존재합니다:

# .skillshare/config.yaml
targets:
- claude
- cursor

skills:
- name: react-best-practices
source: anthropics/skills/skills/react-best-practices
group: frontend
- name: _team-skills
source: my-org/shared-skills
tracked: true
- name: commit
source: anthropics/skills/skills/commit

이 파일은 git에 커밋됩니다 — 팀원이 repo를 clone하고 skillshare install -p를 실행하면 나열된 모든 skill이 설치됩니다.

manifest는 무엇을 설치할지를 기록합니다. 각 skill이 실제로 해석된 정확한 커밋은 그 옆의 .skillshare/skills.lock.json에 기록되며, 이 파일은 자동으로 작성되고 함께 커밋해야 합니다. 두 파일이 모두 있으면 upstream이 그 사이 진행되었더라도 skillshare install -p는 모든 팀원에게 동일한 커밋을 제공합니다. Lockfile을 참고하세요.

Global Mode Manifest​

global mode에서는 skill 기록이 .metadata.json(중앙화된 메타데이터 저장소)에 저장됩니다. 이 파일에는 런타임 추적 데이터(해시, 타임스탬프)도 포함되며 자동으로 관리됩니다.

동작 방식​

Manifest로부터 설치하기​

인자 없이 skillshare install을 실행하면 manifest를 읽고 나열된 모든 skill을 설치합니다:

# Global mode — installs all skills from ~/.config/skillshare/skills/.metadata.json
skillshare install

# Project mode — installs all skills from .skillshare/config.yaml skills: section
skillshare install -p

# Preview without installing
skillshare install --dry-run

이미 존재하는 skill은 자동으로 건너뜁니다. project mode에서는 설치된 커밋이 lockfile과 다른 skill은 건너뛰는 대신 고정된 커밋으로 이동됩니다.

자동 조정(Reconciliation)​

manifest는 실제 skill 컬렉션과 동기화 상태를 유지합니다:

  • skillshare install <source> — 설치된 skill을 manifest에 자동으로 추가
  • skillshare uninstall <name>... — manifest에서 해당 항목을 자동으로 제거

project mode에서는 config.yaml과 skills.lock.json이 업데이트됩니다. global mode에서는 .metadata.json이 업데이트됩니다. manifest를 수동으로 편집할 필요는 없습니다 (물론 할 수는 있습니다).

Global tracked 선언과 감사 승인 기록은 checkout이 없어도 유지되며, checkout을 수동으로 삭제해도 사라지지 않습니다. 복원하려면 소스에 접근할 수 있고 대상 경로가 비어 있을 때 skillshare install을 실행하세요. 경로를 차지한 폴더는 먼저 옮기세요. 경로를 비우기 위해 unlink를 사용하면 해당 global tracked 기록도 제거됩니다.

선언을 제거하려면 skillshare uninstall _team-skills -g(또는 devops/_team-skills 같은 기록된 전체 경로)를 실행하세요. checkout이나 소스 연결이 필요하지 않습니다. checkout이 없는 tracked 선언인 동안에는 기록과 감사 승인 기록만 제거합니다. 해당 경로의 일반 폴더나 Git checkout이 아닌 대상을 가리키는 링크와 그 대상, .gitignore는 그대로 유지됩니다. 휴지통으로 옮기지 않으므로 trash restore로 되돌릴 수 없습니다. 경로가 사용 중이면 _가 포함된 정식 이름을 쓰세요. 축약 이름은 기존 skill이나 폴더를 선택할 수 있습니다.

이후 install이나 reconcile이 해당 경로의 일반 폴더 또는 따라가는 비 checkout 링크를 탐색하면 일반 기록(Tracked=false)으로 정규화됩니다. 그 뒤에는 일반 uninstall이 적용되어 해당 항목을 휴지통으로 옮깁니다. 없는 경로와 따라가지 않거나 사용할 수 없는 링크는 이 탐색 대상이 아닙니다.

Project mode에서는 로컬 설치 기록이 없는 config 선언이 유지되어 새로 clone한 곳에서 skillshare install -p로 설치할 수 있습니다.

Skill 항목 필드​

skills: 목록의 각 항목에는 다음 필드가 있습니다:

필드필수설명
name예skill 이름 (source 안의 디렉터리 이름)
source예install 소스 (GitHub shorthand, HTTPS URL, SSH URL)
tracked아니오tracked repository의 경우 true (.git 보존)
group아니오하위 디렉터리 경로 (예: frontend 또는 frontend/vue). install 중 --into에 해당.

사용 사례​

개인 설정​

여러 머신에서 개인 skill 컬렉션을 유지하세요:

# On machine A — skills are already installed and tracked in registry
skillshare push # backup config + registry to git

# On machine B — fresh machine
skillshare pull # restore config + registry from git
skillshare install # install all skills from manifest
skillshare sync # distribute to all targets

팀 온보딩​

새 팀원이 한 명령으로 동일한 AI 컨텍스트를 얻습니다:

# .skillshare/config.yaml skills: section is committed to the repo
git clone <project-repo>
cd <project-repo>
skillshare install -p # installs all declared skills
skillshare sync -p # links to project targets

오픈소스 부트스트랩​

프로젝트 유지관리자가 config.yaml에 권장 skill을 선언합니다:

# .skillshare/config.yaml
targets:
- claude
- cursor

skills:
- name: react-best-practices
source: anthropics/skills/skills/react-best-practices
group: frontend
- name: commit
source: anthropics/skills/skills/commit
Group 필드와 --into

--into로 설치하면 group이 자동으로 기록됩니다:

skillshare install anthropics/skills/skills/pdf --into frontend -p
# config.yaml will contain: name: pdf, group: frontend

skillshare install -p(인자 없이)를 실행하면 manifest로부터 동일한 디렉터리 구조가 재생성됩니다.

기여자는 clone한 뒤 skillshare install -p를 실행하여 즉시 프로젝트 전용 AI 컨텍스트를 얻습니다.

워크플로우 요약​

Project mode:
1. Install skills normally → config.yaml skills: auto-updates
2. Commit config.yaml and skills.lock.json via git → same skills, same commits for the team
3. Run `skillshare install -p` → reproduce on clone
4. Run `skillshare sync` → distribute to all targets

Global mode:
1. Install skills normally → .metadata.json auto-updates
2. Push/pull config via git → portable across machines
3. Run `skillshare install` → reproduce on new machine
4. Run `skillshare sync` → distribute to all targets

Extras 설정​

skill 외에도, config.yaml은 extras를 선언할 수 있습니다 — 별도 디렉터리로 sync되는 skill이 아닌 리소스(rules, commands, prompts)입니다. Extras는 config.yaml의 extras: 섹션에서 설정됩니다 (global과 project 모두):

extras:
- name: rules
targets:
- path: ~/.claude/rules
- path: ~/.cursor/rules
mode: copy

자세한 내용은 sync extras를 참고하세요.

관련 문서​