본문으로 건너뛰기
cccskills
무료GitHub에 공개

sync

Syncs WDS skills from the current project (_bmad/wds/) to ~/.claude/commands/ so they work in any project. Called automatically on every agent activation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

WDS Sync

Keeps ~/.claude/commands/ current with the WDS installation in the active project. Agents call this silently on every activation. Users can also call it directly.


Entry points

On agent activation — silent mode

  • First time (no global commands exist): ask the user once, then sync.
  • Subsequent activations: compare files, sync silently if changed, skip if identical.
  • Never block activation. If sync fails for any reason, continue.

Direct user request ("sync", "update WDS", "sync skills", "check for updates") — verbose, report each step.


Steps

1 — Locate project installation

Find _bmad/wds/ relative to the current project root.

If _bmad/wds/ does not exist:

  • Silent mode: stop silently.
  • Verbose mode: ⚠️ WDS not installed in this project. Run: npx bmad-method install

Store the source root: WDS_SRC = {project-root}/_bmad/wds


2 — Detect home directory

# Mac / Linux
HOME_DIR="$HOME"

# Windows (PowerShell)
$HOME_DIR = $env:USERPROFILE

Destination directories:

  • Commands: {HOME_DIR}/.claude/commands/
  • Tools: {HOME_DIR}/.claude/wds/tools/memory/
  • Data: {HOME_DIR}/.claude/wds/data/

3 — Check sync state

Check if {HOME_DIR}/.claude/commands/wrap.md exists.

First time (file missing): go to step 4 — ask user.

Already synced: compare {HOME_DIR}/.claude/commands/wrap.md to {WDS_SRC}/skills/wrap.md.

# Mac / Linux
diff -q "{HOME_DIR}/.claude/commands/wrap.md" "{WDS_SRC}/skills/wrap.md"

# Windows
Compare-Object (Get-Content "{HOME_DIR}\.claude\commands\wrap.md") (Get-Content "{WDS_SRC}\skills\wrap.md")

If identical: finish silently. If different: go to step 5 — sync silently.


4 — First time: ask user

Print exactly:

WDS is installed in this project but skills are not yet available globally.
Sync now? Adds /saga /freya /mimir /start /wrap /handoff to all Claude Code sessions.
[Y/n]

If n: stop. Do not ask again this session. If y (or Enter): go to step 5.


5 — Sync files

Create destination directories if they don't exist:

# Mac / Linux
mkdir -p "{HOME_DIR}/.claude/commands"
mkdir -p "{HOME_DIR}/.claude/wds/tools/memory"
mkdir -p "{HOME_DIR}/.claude/wds/data"

# Windows
New-Item -ItemType Directory -Force "{HOME_DIR}\.claude\commands"
New-Item -ItemType Directory -Force "{HOME_DIR}\.claude\wds\tools\memory"
New-Item -ItemType Directory -Force "{HOME_DIR}\.claude\wds\data"

Copy agent commands:

SourceDestination
{WDS_SRC}/skills/saga.activation.md{HOME_DIR}/.claude/commands/saga.md
{WDS_SRC}/skills/freya.activation.md{HOME_DIR}/.claude/commands/freya.md
{WDS_SRC}/skills/mimir.activation.md{HOME_DIR}/.claude/commands/mimir.md
{WDS_SRC}/skills/start.md{HOME_DIR}/.claude/commands/start.md
{WDS_SRC}/skills/wrap.md{HOME_DIR}/.claude/commands/wrap.md
{WDS_SRC}/skills/handoff.md{HOME_DIR}/.claude/commands/handoff.md

Copy tools and data:

SourceDestination
{WDS_SRC}/tools/memory/SKILL.md{HOME_DIR}/.claude/wds/tools/memory/SKILL.md
{WDS_SRC}/data/wds-glossary.md{HOME_DIR}/.claude/wds/data/wds-glossary.md
{WDS_SRC}/data/agent-contracts.md{HOME_DIR}/.claude/wds/data/agent-contracts.md
{WDS_SRC}/data/shared-activation.md{HOME_DIR}/.claude/wds/data/shared-activation.md

Skip any source file that does not exist — do not error.


6 — Report

First-time / direct call:

✓ WDS skills synced to ~/.claude/commands/
  /saga  /freya  /mimir  /start  /wrap  /handoff

Silent update (changes detected):

✓ WDS skills updated.

No changes (direct call only):

WDS skills are up to date.

Silent mode with no changes: no output.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

memory

무료

Session state backend for WDS. Called by wrap, start, and handoff tools — never directly by users. Writes to progress/ in the project repo.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bmad-code-org/bmad-method-wds-expansion902026년 5월 30일 업데이트

Create alignment around your idea before starting the project

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bmad-code-org/bmad-method-wds-expansion902026년 5월 30일 업데이트

Project onboarding - determine project type, complexity, tech stack, and route to correct phase

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bmad-code-org/bmad-method-wds-expansion902026년 5월 30일 업데이트

Establish project context - foundation for all design work

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bmad-code-org/bmad-method-wds-expansion902026년 5월 30일 업데이트

Map business goals to user psychology through structured workshops

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bmad-code-org/bmad-method-wds-expansion902026년 5월 30일 업데이트

Create UX scenario outlines from Trigger Map through structured micro-steps

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bmad-code-org/bmad-method-wds-expansion902026년 5월 30일 업데이트

bmad-code-org의 스킬 모두 보기

이 스킬의 문제 신고