mirror of
https://github.com/cexll/myclaude.git
synced 2026-02-05 02:30:26 +08:00
## Overview Complete implementation of enterprise-level workflow features including multi-backend execution (Codex/Claude/Gemini), GitHub issue-to-PR automation, hooks system, and comprehensive documentation. ## Major Changes ### 1. Multi-Backend Support (codeagent-wrapper) - Renamed codex-wrapper → codeagent-wrapper - Backend interface with Codex/Claude/Gemini implementations - Multi-format JSON stream parser (auto-detects backend) - CLI flag: --backend codex|claude|gemini (default: codex) - Test coverage: 89.2% **Files:** - codeagent-wrapper/backend.go - Backend interface - codeagent-wrapper/parser.go - Multi-format parser - codeagent-wrapper/config.go - CLI parsing with backend selection - codeagent-wrapper/executor.go - Process execution - codeagent-wrapper/logger.go - Async logging - codeagent-wrapper/utils.go - Utilities ### 2. GitHub Workflow Commands - /gh-create-issue - Create structured issues via guided dialogue - /gh-implement - Issue-to-PR automation with full dev lifecycle **Files:** - github-workflow/commands/gh-create-issue.md - github-workflow/commands/gh-implement.md - skills/codeagent/SKILL.md ### 3. Hooks System - UserPromptSubmit hook for skill activation - Pre-commit example with code quality checks - merge_json operation in install.py for settings.json merging **Files:** - hooks/skill-activation-prompt.sh|.js - hooks/pre-commit.sh - hooks/hooks-config.json - hooks/test-skill-activation.sh ### 4. Skills System - skill-rules.json for auto-activation - codeagent skill for multi-backend wrapper **Files:** - skills/skill-rules.json - skills/codeagent/SKILL.md - skills/codex/SKILL.md (updated) ### 5. Installation System - install.py: Added merge_json operation - config.json: Added "gh" module - config.schema.json: Added op_merge_json schema ### 6. CI/CD - GitHub Actions workflow for testing and building **Files:** - .github/workflows/ci.yml ### 7. Comprehensive Documentation - Architecture overview with ASCII diagrams - Codeagent-wrapper complete usage guide - GitHub workflow detailed examples - Hooks customization guide **Files:** - docs/architecture.md (21KB) - docs/CODEAGENT-WRAPPER.md (9KB) - docs/GITHUB-WORKFLOW.md (9KB) - docs/HOOKS.md (4KB) - docs/enterprise-workflow-ideas.md - README.md (updated with doc links) ## Test Results - All tests passing ✅ - Coverage: 89.2% - Security scan: 0 issues (gosec) ## Breaking Changes - codex-wrapper renamed to codeagent-wrapper - Default backend: codex (documented in README) ## Migration Guide Users with codex-wrapper installed should: 1. Run: python3 install.py --module dev --force 2. Update shell aliases if any 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
120 lines
3.4 KiB
JSON
120 lines
3.4 KiB
JSON
{
|
|
"version": "1.0",
|
|
"install_dir": "~/.claude",
|
|
"log_file": "install.log",
|
|
"modules": {
|
|
"dev": {
|
|
"enabled": true,
|
|
"description": "Core dev workflow with Codex integration",
|
|
"operations": [
|
|
{
|
|
"type": "merge_dir",
|
|
"source": "dev-workflow",
|
|
"description": "Merge commands/ and agents/ into install dir"
|
|
},
|
|
{
|
|
"type": "copy_file",
|
|
"source": "memorys/CLAUDE.md",
|
|
"target": "CLAUDE.md",
|
|
"description": "Copy core role and guidelines"
|
|
},
|
|
{
|
|
"type": "copy_file",
|
|
"source": "skills/codex/SKILL.md",
|
|
"target": "skills/codex/SKILL.md",
|
|
"description": "Install codex skill"
|
|
},
|
|
{
|
|
"type": "run_command",
|
|
"command": "bash install.sh",
|
|
"description": "Install codeagent-wrapper binary",
|
|
"env": {
|
|
"INSTALL_DIR": "${install_dir}"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"bmad": {
|
|
"enabled": false,
|
|
"description": "BMAD agile workflow with multi-agent orchestration",
|
|
"operations": [
|
|
{
|
|
"type": "merge_dir",
|
|
"source": "bmad-agile-workflow",
|
|
"description": "Merge BMAD commands and agents"
|
|
},
|
|
{
|
|
"type": "copy_file",
|
|
"source": "docs/BMAD-WORKFLOW.md",
|
|
"target": "docs/BMAD-WORKFLOW.md",
|
|
"description": "Copy BMAD workflow documentation"
|
|
}
|
|
]
|
|
},
|
|
"requirements": {
|
|
"enabled": false,
|
|
"description": "Requirements-driven development workflow",
|
|
"operations": [
|
|
{
|
|
"type": "merge_dir",
|
|
"source": "requirements-driven-workflow",
|
|
"description": "Merge requirements workflow commands and agents"
|
|
},
|
|
{
|
|
"type": "copy_file",
|
|
"source": "docs/REQUIREMENTS-WORKFLOW.md",
|
|
"target": "docs/REQUIREMENTS-WORKFLOW.md",
|
|
"description": "Copy requirements workflow documentation"
|
|
}
|
|
]
|
|
},
|
|
"essentials": {
|
|
"enabled": true,
|
|
"description": "Core development commands and utilities",
|
|
"operations": [
|
|
{
|
|
"type": "merge_dir",
|
|
"source": "development-essentials",
|
|
"description": "Merge essential development commands"
|
|
},
|
|
{
|
|
"type": "copy_file",
|
|
"source": "docs/DEVELOPMENT-COMMANDS.md",
|
|
"target": "docs/DEVELOPMENT-COMMANDS.md",
|
|
"description": "Copy development commands documentation"
|
|
}
|
|
]
|
|
},
|
|
"gh": {
|
|
"enabled": true,
|
|
"description": "GitHub issue-to-PR workflow with codeagent integration",
|
|
"operations": [
|
|
{
|
|
"type": "merge_dir",
|
|
"source": "github-workflow",
|
|
"description": "Merge GitHub workflow commands"
|
|
},
|
|
{
|
|
"type": "copy_file",
|
|
"source": "skills/codeagent/SKILL.md",
|
|
"target": "skills/codeagent/SKILL.md",
|
|
"description": "Install codeagent skill"
|
|
},
|
|
{
|
|
"type": "copy_dir",
|
|
"source": "hooks",
|
|
"target": "hooks",
|
|
"description": "Copy hooks scripts"
|
|
},
|
|
{
|
|
"type": "merge_json",
|
|
"source": "hooks/hooks-config.json",
|
|
"target": "settings.json",
|
|
"merge_key": "hooks",
|
|
"description": "Merge hooks configuration into settings.json"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|