Skip to content

MonadWorks/claude-code-toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Claude Code Toolkit

Automation tools and custom commands for Claude Code CLI, including migration archiving, auto-commit hooks, and productivity slash commands.

Tech Stack

Shell Markdown Claude Code

Slash Commands

Command Description
/suggest <task> Analyze a task and recommend suitable skills/agents/commands
/clone-ref <url> [folder] Clone a repository as reference and generate architecture docs
/publish <path or description> Create a GitHub repo with auto-naming and tech stack badges

Hooks

Migration Auto-Archive

  • Trigger: After Bash/Write tool execution
  • Behavior: Detects *migration* directories and copies them to ~/Desktop/迁移包层
  • Naming: {content}-migration-{YYYYMMDDHHmm}

Good Feedback Auto-Commit

  • Trigger words: "这很好", "目前很好", "不错", "可以", "OK", etc.
  • Behavior: Auto git init (if needed) + git commit
  • Committer: shuaizhicheng336@gmail.com

Installation

cp -r commands/ ~/.claude/commands/
cp -r scripts/ ~/.claude/scripts/
# Merge settings.local.json into your .claude/settings.local.json

File Structure

commands/
├── suggest.md        # Tool recommendation command
├── clone-ref.md      # Clone reference repo command
└── publish.md        # GitHub publish command

scripts/
├── archive-migration.sh           # Archive migration packages
├── check-and-archive-migration.sh # Hook: detect and archive
├── check-good-commit.sh           # Hook: auto-commit on positive feedback
└── detect-migration.sh            # Backup detection script

settings.local.json   # Hook configuration example

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages