mirror of
https://github.com/nodnarbnitram/claude-code-extensions.git
synced 2026-09-14 18:36:21 +08:00
b25e064fd1
## Summary - remove the redundant `manifest.hooks` entry from the generated `cce-core` plugin manifest - keep `plugins/cce-core/hooks/hooks.json` in the standard plugin location with the wrapped `hooks` record - update the sync script so regenerated packages do not reintroduce the duplicate-hook error ## Why Marketplace installs of `cce-core` now fail with: ```text Hook load failed: Duplicate hooks file detected: ./hooks/hooks.json resolves to already-loaded file ... The standard hooks/hooks.json is loaded automatically, so manifest.hooks should only reference additional hook files. ``` The previous hook-schema fix made the standard `hooks/hooks.json` file valid, but `plugin.json` still pointed at that same standard file. That caused the plugin loader to load it twice. ## Changes - remove `hooks: "./hooks/hooks.json"` from generated plugin manifests - regenerate `plugins/cce-core/.claude-plugin/plugin.json` ## Verification - `python3 scripts/sync_plugin_packages.py` - `python3 -m py_compile scripts/sync_plugin_packages.py install_extensions.py` - validated `plugins/cce-core/.claude-plugin/plugin.json` no longer has a `hooks` field - validated `plugins/cce-core/hooks/hooks.json` still contains a top-level `hooks` object
CCE Core Plugin
Essential Claude Code extensions providing core agents, hooks, commands, and universal tools.
Overview
The cce-core plugin is the foundational plugin that provides essential automation, safety hooks, and universal development agents. Everyone should install this plugin as it contains the core functionality needed for safe and productive Claude Code usage.
Features
- 8 Lifecycle Hooks: Safety guards, logging, context loading, and automation
- 13 Core Agents: Code reviewers, orchestrators, meta-agents, and universal specialists
- 9 Slash Commands: Git workflows, project analysis, security scanning, and extension scaffolding
- 2 Essential Skills: Commit message generation and code review automation
Plugin Components
Agents (13)
Core Agents:
code-archaeologist: Explore unfamiliar/legacy codebasescode-reviewer: Rigorous security-aware code reviewdocumentation-specialist: Project documentation creationperformance-optimizer: Performance analysis and optimization
Orchestrators:
tech-lead-orchestrator: Strategic project planningproject-analyst: Codebase analysis and tech stack detectionteam-configurator: AI team setup for projects
Universal Agents:
api-architect: RESTful/GraphQL API designfrontend-developer: Framework-agnostic UI developmentbackend-developer: Server-side development across stackstailwind-css-expert: Tailwind CSS stylingfact-checker: Verification and accuracy validationmeta-agent: Generate new Claude Code agents
Skills (2)
commit-helper: Smart commit message generationcode-reviewer: Automated code quality checks
Commands (9)
/cce:git-commit: Intelligent git commit workflow/cce:git-status: Repository state analysis/cce:prime: Load project context/cce:agent-from-docs: Create agents from documentation URLs/cce:agent-intent-from-docs: Create specialized agents with specific intent/cce:security-scan: Run security scans on code/cce:wrapup-skillup: Generate session learning reports/cce:frontend-mode: Load frontend development rules/cce:create-skill: Scaffold a new skill from the template structure
Hooks (8 Lifecycle Events)
- PreToolUse: Block dangerous commands, prevent .env commits
- PostToolUse: Log tool executions
- SessionStart: Load project context
- UserPromptSubmit: Mandatory skill activation
- Stop: Session cleanup
- SubagentStop: Subagent completion tracking
- PreCompact: Context compaction logging
- Notification: System notifications
Installation
From Marketplace (Recommended)
# Add the CCE marketplace
/plugin marketplace add github:nodnarbnitram/claude-code-extensions
# Install core plugin
/plugin install cce-core@cce-marketplace
From Local Source
git clone https://github.com/nodnarbnitram/claude-code-extensions.git
/plugin marketplace add /path/to/claude-code-extensions
/plugin install cce-core@cce-marketplace
Usage
Commands (Namespaced)
/cce:git-commit # Smart commit with conventional format
/cce:prime # Load project context and structure
/cce:security-scan # Scan for security vulnerabilities
Agents (Automatic Activation)
> Review this code for security issues
# Automatically uses code-reviewer agent
> Create an agent for working with GraphQL
# Automatically uses meta-agent
> Optimize the slow database queries
# Automatically uses performance-optimizer
Requirements
- Claude Code: Latest version
- Python: 3.11+ (for hooks)
- uv: Python package manager (for hook dependencies)
Safety Features
The core plugin includes critical safety hooks:
✅ Blocks dangerous rm commands ✅ Prevents .env file commits ✅ Logs all tool executions ✅ Validates security-sensitive operations
License
MIT License - see LICENSE for details.
Support
- Issues: GitHub Issues
- Documentation: Repository README