feat(install): support \${CLAUDE_PLUGIN_ROOT} variable in hooks config

- find_module_hooks now returns (hooks_config, plugin_root_path) tuple
- Add _replace_hook_variables() for recursive placeholder substitution
- Add feature-dev module config to config.json

Generated with SWE-Agent.ai

Co-Authored-By: SWE-Agent.ai <noreply@swe-agent.ai>
This commit is contained in:
cexll
2026-01-23 12:00:55 +08:00
parent cc24d43c8b
commit 4f5d24531c
2 changed files with 40 additions and 8 deletions

View File

@@ -169,6 +169,18 @@
}
]
},
"feature-dev": {
"enabled": false,
"description": "7-phase feature development workflow with codeagent orchestration",
"operations": [
{
"type": "copy_dir",
"source": "skills/feature-dev",
"target": "skills/feature-dev",
"description": "Install feature-dev skill with hooks"
}
]
},
"course": {
"enabled": false,
"description": "课程开发工作流,包含 dev、产品需求和测试用例技能",