Sync Public

Sync Claude Code config to public repository

majiayu000 Updated 567 repo stars

File contents

When the user requests to sync the Claude Code configuration to the public repository:

  1. Ensure you're in the monorepo root (/Users/.../wythm) with a clean working tree, then execute the sync script:

    .claude/scripts/sync-to-public.sh
    
  2. The script will:

    • Copy the .claude/ directory to wythm-claude-workflows repository
    • Exclude sensitive files (settings.local.json, logs, etc.)
    • Create a commit with a descriptive message
    • Automatically push to GitHub
  3. Show the user:

  4. If any errors occur, report them clearly and suggest manual intervention if needed

Usage: /sync-public

Purpose: Keep the public Claude Code workflows repository up-to-date with the latest agents, commands, hooks, and skills from the main Wythm project.

Note: This command is safe to run - it excludes all sensitive data (tokens, IDs, logs) by design.

majiayu000/claude-skill-registry-data/tree/main/integration/sync-public commit f305a08135

Frequently asked questions

npx skillmds@latest add majiayu000/sync-public