CLAUDE.md Β· SuperClaude-Org/SuperClaude_Framework
CLAUDE.md from SuperClaude-Org/SuperClaude_Framework: 342 lines covering π Python Environment Rules, π Project Structure, π§ Development Workflow, π¦ Coreβ¦
Template by SuperClaude-Org
Install
Works with Claude Code. Read the repository before you give any tool access to your data.
curl -fsSL https://raw.githubusercontent.com/SuperClaude-Org/SuperClaude_Framework/master/CLAUDE.md -o CLAUDE.md
Read it and adapt it to your project before use.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: prompt-engineering
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
What's in it
A CLAUDE.md file: project memory Claude Code loads at the start of every session.
- For
- Claude Code
- Length
- 342 lines
- File
CLAUDE.md
Sections
- π Python Environment Rules
- π Project Structure
- π§ Development Workflow
- π¦ Core Architecture
- π§ͺ Testing with PM Agent
- πΏ Git Workflow
- π Key Documentation Files
- π‘ Core Development Principles
- π§ MCP Server Integration
- π Development & Installation
- π Package Information
- π Claude Code Native Features (for developers)
First lines (shown under the repo's MIT license)
# CLAUDE.md This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. ## π Python Environment Rules **CRITICAL**: This project uses **UV** for all Python operations. Never use `python -m`, `pip install`, or `python script.py` directly. ### Required Commands ```bash # All Python operations must use UV uv run pytest # Run tests uv run pytest tests/pm_agent/ # Run specific tests uv pip install package # Install dependencies uv run python script.py # Execute scripts ``` ## π Project Structure **Current v4.3.0 Architecture**: Python package with 30 commands, 20 agents, 7 modes ``` # Claude Code Configuration (v4.3.0) # Installed via `superclaude install` to user's home directory ~/.claude/ βββ settings.json βββ commands/sc/ # 30 slash commands (/sc:research, /sc:implement, etc.) β βββ pm.md β βββ research.md β βββ implement.md β βββ ... (30 total) βββ agents/ # 20 domain-specialist agents (@pm-agent, @system-architect, etc.) β βββ pm-agent.md β βββ system-architect.md β βββ ... (20 total) βββ skills/ # Skills (confidence-check, etc.) # Python Package src/superclaude/ βββ __init__.py # Public API: ConfidenceChecker, SelfCheckProtocol, ReflexionPattern βββ pytest_plugin.py # Auto-loaded pytest integration (5 fixtures, 9 markers) βββ pm_agent/ # confidence.py, self_check.py, reflexion.py, token_budget.py βββ execution/ # parallel.py, reflection.py, self_correction.py βββ cli/ # main.py, doctor.py, install_commands.py, install_mcp.py, install_skill.py βββ commands/ # 30 slash command definitions (.md files) βββ agents/ # 20 agent definitions (.md files) βββ modes/ # 7 behavioral modes (.md files) βββ skills/ # Installable skills (confidence-check, etc.) βββ hooks/ # Claude Code hook definitions βββ mcp/ # MCP server configurations (10 servers) βββ core/ # Core utilities # Project Files tests/ # Python test suite (136 tests) βββ unit/ # Unit tests (auto-marked @pytest.mark.unit) βββ integration/ # Integration tests (auto-marked @pytest.mark.integration) docs/ # Documentation scripts/ # Analysis tools (workflow metrics, A/B testing) plugins/ # Exported plugin artefacts for distribution PLANNING.md # Architecture, absolute rules TASK.md # Current tasks KNOWLEDGE.md # Accumulated insights ``` ### Claude Code Integration Points SuperClaude integrates with Claude Code through these mechanisms: - **Slash Commands**: 30 commands installed to `~/.claude/commands/sc/` (e.g., `/sc:pm`, `/sc:research`) - **Agents**: 20 agents installed to `~/.claude/agents/` (e.g., `@pm-agent`, `@system-architect`) - **Skills**: Installed to `~/.claude/skills/` (e.g., confidence-check) - **Hooks**: Session lifecycle hooks in `src/superclaude/hooks/` - **Settings**: Project settings in `.claude/settings.json` - **Pytest Plugin**: Auto-loaded via entry point, provides fixtures and markers - **MCP Servers**: 8+ servers configurable via `superclaude mcp` ## π§ Development Workflow ### Essential Commands ```bash # Setup make dev # Install in editable mode with dev dependencies make verify # Verify installation (package, plugin, health) # Testing make test # Run full test suite uv run pytest tests/pm_agent/ -v # Run specific directory uv run pytest tests/test_file.py -v # Run specific file uv run pytest -m confidence_check # Run by marker uv run pytest --cov=superclaude # With coverage # Code Quality make lint # Run ruff linter make format # Format code with ruff make doctor # Health check diagnostics # MCP Servers superclaude mcp # Interactive install (gateway default) superclaude mcp --list # List available servers superclaude mcp --servers airis-mcp-gateway # Install AIRIS Gateway (recommended) superclaude mcp --servers tavily context7 # Install individual servers # Plugin Packaging make build-plugin # Build plugin artefacts into dist/ make sync-plugin-repo # Sync artefacts into ../SuperClaude_Plugin # Maintenance make clean # Remove build artifacts ``` ## π¦ Core Architecture ### Pytest Plugin (Auto-loaded) Registered via `pyproject.toml` entry point, automatically available after installation. **Fixtures**: `confidence_checker`, `self_check_protocol`, `reflexion_pattern`, `token_budget`, `pm_context` **Auto-markers**: - Tests in `/unit/` β `@pytest.mark.unit` - Tests in `/integration/` β `@pytest.mark.integration` **Custom markers**: `@pytest.mark.confidence_check`, `@pytest.mark.self_check`, `@pytest.mark.reflexion` ### PM Agent - Three Core Patterns **1. ConfidenceChecker** (src/superclaude/pm_agent/confidence.py) - Pre-execution confidence assessment: β₯90% required, 70-89% present alternatives, <70% ask questions - Prevents wrong-direction work, ROI: 25-250x token savings **2. SelfCheckProtocol** (src/superclaude/pm_agent/self_check.py) - Post-implementation evidence-based validation - No speculation - verify with tests/docs **3. ReflexionPattern** (src/superclaude/pm_agent/reflexion.py) - Error learning and prevention - Cross-session pattern matching ### Parallel Execution **Wave β Checkpoint β Wave pattern** (src/superclaude/execution/parallel.py): - 3.5x faster than sequential execution - Automatic dependency analysis - Example: [Read files in parallel] β Analyze β [Edit files in parallel] ### Slash Commands, Agents & Modes (v4.3.0) - Install via: `pipx install superclaude && superclaude install` - **30 Commands** installed to `~/.claude/commands/sc/` (e.g., `/sc:pm`, `/sc:research`, `/sc:implement`) - **20 Agents** installed to `~/.claude/agents/` (e.g., `@pm-agent`, `@system-architect`, `@deep-research`) - **7 Behavioral Modes**: Brainstorming, Business Panel, Deep Research, Introspection, Orchestration, Task Management, Token Efficiency - **Skills**: Installable to `~/.claude/skills/` (e.g., confidence-check) > **Note**: TypeScript plugin system planned for v5.0 ([#419](https://github.com/SuperClaude-Org/SuperClaude_Framework/issues/419)) ## π§ͺ Testing with PM Agent ### Example Test with Markers
Signals
- Stars
- 23,911
- Forks
- 1,987
- Open issues
- 60
- Last commit (this folder)
- Mar 22, 2026 (7 months ago)
- Last release
- Mar 22, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from SuperClaude-Org
Cite this page
CLAUDE.md Β· SuperClaude-Org/SuperClaude_Framework. Agent Mart. https://agentmart.dev/templates/superclaude-org-superclaude-framework-claude-md (last updated 2026-10-24)