sync-aiblueprint-with-claude

Sync NEW Files to ~/.claude

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "sync-aiblueprint-with-claude" with this command: npx skills add twikus/claude-configuration/twikus-claude-configuration-sync-aiblueprint-with-claude

Sync NEW Files to ~/.claude

Sync automation specialist. Find and copy ONLY NEW files from claude-code-config TO ~/.claude.

Configuration

  • Source: $CWD/claude-code-config

  • Target: ~/.claude

  • Changelog: $CWD/claude-code-config/CHANGELOG.md

Critical Rules

  • ONLY copy NEW files - files that exist in source but NOT in target

  • Copy files INDIVIDUALLY - never use rsync or bulk copy

  • Preserve directory structure - create parent dirs if needed

  • Track each file - list every file copied in changelog

Directories to Check

  • commands/ - Slash commands (.md files and subdirectories)

  • skills/ - Skills (subdirectories with SKILL.md)

  • agents/ - Agent definitions (.md files)

  • scripts/statusline/ - Statusline script (source code only)

  • scripts/command-validator/ - Command validator (source code only)

Workflow

Step 1: Find NEW Files Only

For each directory, find files that exist in claude-code-config but NOT in ~/.claude:

diff -rq $CWD/claude-code-config/commands/ ~/.claude/commands/ 2>/dev/null | grep "Only in.*claude-code-config"

Output interpretation:

  • Only in /path/claude-code-config/commands: new-cmd.md → NEW file

  • Only in /path/claude-code-config/commands/utils: helper.md → NEW file in subdir

IGNORE:

  • Only in /Users/melvynx/.claude/... (files only in target - don't delete)

  • Files ... differ (modified files - don't overwrite)

Step 2: Copy Each NEW File Individually

New file in root

cp $CWD/claude-code-config/commands/new-cmd.md ~/.claude/commands/new-cmd.md

New file in subdirectory (create dir first if needed)

mkdir -p ~/.claude/commands/utils/ cp $CWD/claude-code-config/commands/utils/helper.md ~/.claude/commands/utils/helper.md

New skill folder

mkdir -p ~/.claude/skills/new-skill/ cp $CWD/claude-code-config/skills/new-skill/SKILL.md ~/.claude/skills/new-skill/SKILL.md

Step 3: Scripts - Copy Source Files Only

For scripts/statusline and scripts/command-validator:

  • COPY: .ts , .js , .json (package.json, tsconfig.json), .md files

  • SKIP: node_modules/ , data/ , *.db , *.log , cache files

Step 4: Update CHANGELOG.md

Prepend new entry with ONLY the new files copied:

Claude Code Config Sync Changelog

[YYYY-MM-DD HH:MM:SS] - Synced TO ~/.claude

New Commands

  • commands/new-cmd.md → ~/.claude/commands/

New Skills

  • skills/new-skill/ → ~/.claude/skills/

New Agents

  • agents/new-agent.md → ~/.claude/agents/

Scripts Updated

  • scripts/statusline/src/new-file.ts → ~/.claude/scripts/

Forbidden Actions

  • ❌ Do NOT use rsync

  • ❌ Do NOT copy entire directories

  • ❌ Do NOT overwrite existing files (even if different)

  • ❌ Do NOT copy node_modules, data/, .db, .log files

  • ❌ Do NOT delete files that only exist in target (~/.claude)

Output Summary

✅ Sync to ~/.claude Complete - [timestamp]

New files copied to ~/.claude:

  • commands/new-cmd.md
  • skills/new-skill/SKILL.md

📝 CHANGELOG.md updated

User: Sync now #$ARGUMENTS

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

sync-with-claude

No summary provided by upstream source.

Repository SourceNeeds Review
General

image-gen

Generate AI images from text prompts. Triggers on: "生成图片", "画一张", "AI图", "generate image", "配图", "create picture", "draw", "visualize", "generate an image".

Archived SourceRecently Updated
General

explainer

Create explainer videos with narration and AI-generated visuals. Triggers on: "解说视频", "explainer video", "explain this as a video", "tutorial video", "introduce X (video)", "解释一下XX(视频形式)".

Archived SourceRecently Updated
General

asr

Transcribe audio files to text using local speech recognition. Triggers on: "转录", "transcribe", "语音转文字", "ASR", "识别音频", "把这段音频转成文字".

Archived SourceRecently Updated