Skip to main content

Claude Code 配置管理工具 - 快速初始化项目的 .claude 配置目录

Project description

ZCO Claude - Claude Code Configuration Manager

PyPI version Python 3.8+ License: MIT

ZCO Claude is a Claude Code configuration management tool that helps you quickly initialize .claude configuration directories for your projects, sharing custom skills, coding standards, and automation scripts.

中文文档


✨ Features

  • 🔗 Project Linking - Share ClaudeSettings configurations across multiple projects via symlinks
  • 🧩 Custom Skills - Provides extended skills like zco-plan, zco-plan-new, zco-help
  • 📋 Development Plan Management - Structured task planning and execution system
  • 📝 Coding Standards - Built-in coding standards and best practices for Go/Python
  • 🔧 Auto Repair - Detect and fix broken symlink configurations

📦 Installation

Option 1: Install via pip (Recommended)

pip install zco-claude

Option 2: Local Development Install/Uninstall

git clone <repository-url>
cd <project-directory>
##; method A: Copy install to ~/.local/bin
make install   
##; method B: Symlink install (recommended for development)
make link
##; Uninstall
make uninstall 

🚀 Quick Start

1. Initialize a Project

# Initialize current directory
zco-claude init

# Initialize a specific project
zco-claude init /path/to/project

# Use custom template
zco-claude init /path/to/project --tpl /custom/template

After initialization, the project will have a .claude/ directory with the following symlinks:

  • .claude/rules/ → Coding standards
  • .claude/hooks/ → Git hooks
  • .claude/commands/ → Custom commands
  • .claude/skills/ → Extended skills

2. Start Claude Code

cd /path/to/project
claude .

3. Use Extended Skills

# View all available tools
/zco-help

# Execute a development plan
/zco-plan 001

# Create a new plan
/zco-plan-new {describe your requirement in any language}

📚 Core Skills

Skill Command Description
zco-plan zco-plan {seq} Execute structured development plans
zco-plan-new zco-plan-new <description> Create a new development plan
zco-docs-update zco-docs-update Update CLAUDE.md Git metadata
zco-help zco-help [filter] Display available Claude tools

🛠️ CLI Commands

Command Description Example
init [path] [--tpl] Initialize project configuration zco-claude init .
list-linked-repos List all linked projects zco-claude list-linked-repos
fix-linked-repos [--remove-not-found] Fix symlinks for all projects zco-claude fix-linked-repos
fix [path] [--tpl] Fix specific project configuration zco-claude fix /path/to/project

📁 Project Structure

zco-claude-init/
├── ClaudeSettings/          # Master configuration templates
│   ├── skills/              # Custom skills (zco-* prefix)
│   │   ├── zco-plan/        # Execute development plans
│   │   ├── zco-plan-new/    # Create new plans
│   │   ├── zco-docs-update/ # Update document metadata
│   │   └── zco-help/        # Display help information
│   ├── rules/               # Coding standards
│   ├── hooks/               # Git hooks
│   ├── commands/            # Custom commands
│   ├── settings.json        # Team-shared settings
│   └── README.md            # Configuration guide
│
├── docs/plans/              # Structured development plans
│   ├── plan.template.md     # Plan template
│   └── plan.{seq}.{date}.md # Specific plan documents
│
├── zco_claude_init.py       # Project linking script
├── pyproject.toml           # Package configuration
├── setup.py                 # Installation script
└── Makefile                 # Shortcut commands

🔧 Development Plan Management

Create a Plan

# using skill in claude code
/zco-plan-new {describe your requirement in any language}

# Or manually copy template
cp docs/plans/plan.template.md docs/plans/plan.002.$(date +%y%m%d).md

Execute a Plan

# using skill in claude code
/zco-plan 002

Plan documents use YAML front matter to define metadata, including status tracking, priority, verification criteria, etc.


🏗️ Development

Build Package

# Local build and check
make twine-pypi-local

# Upload to PyPI
make twine-pypi-upload

Create a New Skill

  1. Create skill directory:

    mkdir -p ClaudeSettings/skills/zco-{your-skill}
    
  2. Create SKILL.md:

    ---
    name: zco-your-skill
    description: Skill description
    allowed-tools: Bash, Read, Glob
    ---
    # Skill documentation...
    
  3. Test the skill:

    zco-help zco-your-skill
    

📄 License

MIT License


🤝 Contributing

Issues and Pull Requests are welcome!


Maintainer: NicoNing (vmico@outlook.com)
Homepage: https://github.com/zco-team/zco-claude

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zco_claude-0.1.4.tar.gz (169.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zco_claude-0.1.4-py3-none-any.whl (208.1 kB view details)

Uploaded Python 3

File details

Details for the file zco_claude-0.1.4.tar.gz.

File metadata

  • Download URL: zco_claude-0.1.4.tar.gz
  • Upload date:
  • Size: 169.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.16

File hashes

Hashes for zco_claude-0.1.4.tar.gz
Algorithm Hash digest
SHA256 307c58b09a750fe8127666aa5e96072859daeff22ff2256c524b54272f2de2a3
MD5 6b9d9c3ab27f8f5875c9bb8461f8fb0f
BLAKE2b-256 daa57cce8b5140e33d4bce6fc2a5b222e6712a17a0372ff5f5e38b09e4a8b179

See more details on using hashes here.

File details

Details for the file zco_claude-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: zco_claude-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 208.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.16

File hashes

Hashes for zco_claude-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0dc2ebca0518b36a8fcd000ba0d560295ac45e77eb9cbc7cfed03cfeecc831cc
MD5 d9184623c6c2f30e6fe9cb54c06e169a
BLAKE2b-256 9a3361f8c916e12cb1df49b67d9c11803505f62d04046e317b04d6f19784a736

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page