协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
sync-push【开发与工程】Use when the user wants to back up, save, or push their current Claude Code config to GitHub.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Push your current local Claude Code configuration to the GitHub backup repo.
All syncable files from the current project and global config:
.mcp.json, .claude/settings.json.claude/agents/, .claude/commands/, .claude/skills/.claude/hooks/ (scripts, config, sounds).claude/rules/, .claude/agent-memory/.auto-memory/ (memory files)~/.claude/settings.json (global settings, opt-in via --include-global)Files that are never pushed: CLAUDE.md (version-controlled with project), settings.local.json, hooks-config.local.json, conversations, sessions.
Parse user arguments and run the push script:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/sync-push.sh" [OPTIONS]
Options:
--profile NAME — Push to a specific profile (default: active profile)--force — Skip multi-machine safety check and secret warnings--dry-run — Show what would be pushed without actually pushing--include-global — Also push ~/.claude/settings.json (global settings are opt-in)If the script warns about another machine having pushed more recently, advise the user to pull first (/sync-pull) or use --force if they're sure.
If the script warns about potential secrets, tell the user which files were flagged and suggest reviewing them before using --force.
$ARGUMENTS