@claudeautopm/plugin-core
v2.0.0
Published
Core framework functionality for ClaudeAutoPM - universal agents, rules, hooks, and utilities
Maintainers
Readme
@claudeautopm/plugin-core
Core framework functionality for ClaudeAutoPM
Version: 2.0.0 Category: Core Framework Size: ~8 KB (gzipped) Status: ✅ Required (always installed)
Overview
This is the core framework plugin that provides essential functionality for ClaudeAutoPM. It includes universal agents, rules, hooks, and utilities that apply to ALL projects regardless of technology stack.
This plugin is REQUIRED and is automatically installed with ClaudeAutoPM.
What's Included
🤖 Agents (4)
Core agents for framework functionality:
- agent-manager - Create, analyze, and manage agents in the registry
- code-analyzer - Analyze code changes for bugs, trace logic flow, investigate issues
- test-runner - Run tests and provide comprehensive analysis of results
- file-analyzer - Analyze and summarize large files to reduce context usage
📋 Commands (3)
Framework utility commands:
- code-rabbit - Process CodeRabbit review comments with context-aware discretion
- prompt - Handle complex prompts with many @ references
- re-init - Reinitialize CLAUDE.md with framework rules
📜 Rules (23)
Universal rules that apply to all projects:
Critical Priority:
tdd.enforcement- Enforce Test-Driven Development (Red-Green-Refactor)context7-enforcement- Enforce Context7 documentation queriesframework-path-rules- Path convention enforcementgolden-rules- Core framework principlessecurity-checklist- Universal security standards
High Priority:
agent-coordination- Agent orchestration patternsagent-mandatory- Agent usage requirementscommand-pipelines- Command orchestrationdevelopment-workflow- Universal development workflowgit-strategy- Git workflow and branchingdefinition-of-done- Quality standardspipeline-mandatory- Pipeline enforcement
Medium Priority:
ai-integration-patterns- AI integration best practicescontext-optimization- Context management strategiesdevelopment-environments- Environment setupnaming-conventions- Naming standardsno-pr-workflow- Alternative git workflowperformance-guidelines- Performance optimizationstandard-patterns- Universal coding patterns
Low Priority:
datetime- Date/time handling conventionsfrontmatter-operations- Frontmatter parsingstrip-frontmatter- Frontmatter utilitiesuse-ast-grep- AST parsing utilities
🪝 Hooks (7)
Enforcement hooks for framework behavior:
Context7 Enforcement:
pre-command-context7.js- Enforce Context7 queries before command execution (BLOCKING)pre-agent-context7.js- Enforce Context7 queries before agent invocation (BLOCKING)unified-context7-enforcement.sh- Unified Context7 wrappercontext7-reminder.md- Context7 reminder text
Agent Enforcement:
enforce-agents.js+.sh- Enforce agent usage over direct tool calls (BLOCKING)strict-enforce-agents.sh- Stricter agent enforcement (BLOCKING)
Testing:
test-hook.sh- Hook testing utility
📦 Scripts (10)
Framework utilities and libraries:
lib/ - Shared Libraries (5 scripts):
datetime-utils.sh- Date and time utilitiesfrontmatter-utils.sh- Markdown frontmatter parsinggithub-utils.sh- GitHub API utilitieslogging-utils.sh- Logging utilitiesvalidation-utils.sh- Validation utilities
mcp/ - MCP Management (5 scripts):
add.sh- Add MCP serverenable.sh- Enable MCP serverdisable.sh- Disable MCP serverlist.sh- List MCP serverssync.sh- Sync MCP configuration
Installation
This plugin is automatically installed with ClaudeAutoPM. No manual installation needed.
# When you install ClaudeAutoPM:
npm install -g claudeautopm
autopm init
# plugin-core is automatically includedFeatures
TDD Enforcement ✅
Always enabled - Enforces Test-Driven Development:
- Red-Green-Refactor cycle mandatory
- Tests MUST be written before implementation
- 100% test coverage for new code
- Zero tolerance policy
# Enforced by: rules/tdd.enforcement.mdContext7 Enforcement ✅
Always enabled - Enforces Context7 documentation queries:
- MUST query Context7 before ALL command/agent execution
- Live documentation verification
- API signature validation
- Zero tolerance policy
# Enforced by:
# - rules/context7-enforcement.md
# - hooks/pre-command-context7.js
# - hooks/pre-agent-context7.jsAgent Coordination ✅
Always enabled - Agent orchestration and coordination:
- Agent selection patterns
- Parallel vs sequential execution
- Error handling in agent workflows
- Context management between agents
# Enforced by: rules/agent-coordination.mdMCP Management ✅
Always enabled - MCP server management utilities:
- Add/enable/disable MCP servers
- List configured servers
- Sync MCP configuration
# Provided by: scripts/mcp/*.shUsage
Using Core Agents
# Invoke agents directly
@agent-manager create a new specialized agent for GraphQL
@code-analyzer review recent changes for bugs
@test-runner execute full test suite with analysis
@file-analyzer summarize large-log-file.logUsing Core Commands
# Process CodeRabbit reviews
/code-rabbit
# Handle complex prompts
/prompt
# Reinitialize framework
/re-initUsing Scripts
# Use utility libraries (sourced by other scripts)
source .claude/scripts/lib/github-utils.sh
source .claude/scripts/lib/logging-utils.sh
# MCP management
bash .claude/scripts/mcp/add.sh context7
bash .claude/scripts/mcp/list.sh
bash .claude/scripts/mcp/sync.shDependencies
Peer Dependencies
None - this is the base plugin.
Required By
All other plugins depend on plugin-core:
@claudeautopm/plugin-pm- PM workflows@claudeautopm/plugin-devops- DevOps automation@claudeautopm/plugin-cloud- Cloud infrastructure@claudeautopm/plugin-frameworks- Frontend frameworks@claudeautopm/plugin-databases- Databases@claudeautopm/plugin-languages- Programming languages@claudeautopm/plugin-data- Data engineering
Configuration
No configuration needed - all core features are always enabled.
Size and Performance
- Package size: ~8 KB (gzipped) / ~80 KB (uncompressed)
- Installation time: < 1 second
- Memory footprint: Minimal (utilities loaded on-demand)
Compatibility
- Minimum ClaudeAutoPM version: 3.0.0
- Node.js: >= 18.0.0
- Platform: Cross-platform (macOS, Linux, Windows)
License
MIT
Support
- Issues: https://github.com/rafeekpro/ClaudeAutoPM/issues
- Documentation: https://github.com/rafeekpro/ClaudeAutoPM#readme
- Changelog: See CHANGELOG.md
Part of ClaudeAutoPM v3.0.0 Plugin Architecture
