Philosophy-driven coding standards with Zen of Python principles and best practices
This plugin is not yet in any themed marketplace. To install it, you'll need to add it from GitHub directly.
Choose your preferred installation method below
A marketplace is a collection of plugins. Every plugin gets an auto-generated marketplace JSON for individual installation, plus inclusion in category and themed collections. Add a marketplace once (step 1), then install any plugin from it (step 2).
One-time setup for access to all plugins
When to use: If you plan to install multiple plugins now or later
Step 1: Add the marketplace (one-time)
/plugin marketplace add https://claudepluginhub.com/marketplaces/all.json
Run this once to access all plugins
Step 2: Install this plugin
/plugin install code-zen@all
Use this plugin's auto-generated marketplace JSON for individual installation
When to use: If you only want to try this specific plugin
Step 1: Add this plugin's marketplace
/plugin marketplace add https://claudepluginhub.com/marketplaces/plugins/code-zen.json
Step 2: Install the plugin
/plugin install code-zen@code-zen
Philosophy-driven coding standards for multiple languages, designed as a Claude Code plugin.
Code Zen is a collection of language-agnostic and language-specific coding guidelines that help you write clear, maintainable code following zen-like principles:
Install Code Zen directly from GitHub (recommended):
sh -c "$(curl -fsSL https://raw.githubusercontent.com/daviguides/code-zen/main/install.sh)"
The installer will:
zen-code-standards/
to ~/.claude/zen-code-standards/
~/.claude/CLAUDE.md
If you prefer manual setup:
# Clone repository
git clone https://github.com/daviguides/code-zen.git
cd code-zen
# Copy standards
cp -r zen-code-standards ~/.claude/
# Add to ~/.claude/CLAUDE.md
cat >> ~/.claude/CLAUDE.md << 'EOF'
# Project Coding Standards
## Standards Inheritance
- **INHERITS FROM**: @./zen-code-standards/coding-standards.md
- **PRECEDENCE**: Project-specific rules override universal standards
- **FALLBACK**: When no override exists, universal standards apply
EOF
Code Zen can be used in two ways: as automatic standards via CLAUDE.md or as a Claude Code plugin with interactive commands.
Once installed globally, reference Code Zen in any project's CLAUDE.md
:
# Project Coding Standards
## Standards Inheritance
- **INHERITS FROM**: @./zen-code-standards/coding-standards.md
- **PRECEDENCE**: Project-specific rules override universal standards
- **FALLBACK**: When no override exists, universal standards apply
## Project Overrides
<!-- Add project-specific overrides here -->
See claude-plug-in-sample.md for detailed examples.
Code Zen also provides interactive commands and specialized agents:
Load context for your session:
/load-zen-context # Load Zen of Python principles
/load-python-context # Load Python-specific standards
Analyze and improve code:
/zen-check # Check code compliance with Zen principles
/zen-refactor # Refactor code following Zen principles
Code Zen includes agents that activate automatically:
These agents provide context-aware assistance during development, code reviews, and refactoring.
For maximum benefit, use both:
# 1. Install standards globally
sh -c "$(curl -fsSL https://raw.githubusercontent.com/daviguides/code-zen/main/install.sh)"
# 2. Use commands as needed
/load-zen-context
/zen-check
/zen-refactor
code-zen/
├── .claude-plugin/
│ └── plugin.json # Plugin metadata
├── commands/ # Interactive commands
│ ├── load-zen-context.md
│ ├── load-python-context.md
│ ├── zen-check.md
│ └── zen-refactor.md
├── agents/ # Specialized agents
│ ├── zen-reviewer.md
│ └── python-zen-expert.md
├── zen-code-standards/ # Standards library
│ ├── coding-standards.md # Entry point
│ ├── universal/ # Language-agnostic principles
│ │ ├── general_coding_principles.md
│ │ └── project_setup_guidelines.md
│ ├── python/ # Python-specific guidelines
│ │ ├── python_quick_reference.md
│ │ ├── python_library_preferences.md
│ │ ├── tdd_optimized_guidelines.md
│ │ └── zen_of_python/
│ │ ├── zen_quick_reference.md
│ │ ├── zen_guideline_llm.md
│ │ └── zen_theory_explained.md
│ └── other_rules/
│ └── file-references-guideline.md
├── docs/ # Documentation site
├── install.sh # One-line installer
└── README.md
Code Zen is built on timeless principles:
See universal/general_coding_principles.md for complete guidelines.
Contributions welcome! To add support for a new language:
zen-code-standards/<language>/
directorycoding-standards.md
to reference new languageMIT License - See LICENSE for details
Philosophy-driven code standards for Claude Code
1.0.0