Introduces a .core/ folder structure that provides: - workspace.yaml for active package configuration - Claude Code plugin with skills for multi-repo navigation - Hook script suggesting core CLI over raw commands - Full .core/ folder specification for other packages Also restructures README.md and CLAUDE.md for better fresh developer experience with clear "what happens" and "what's next" sections. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
55 lines
1.3 KiB
JSON
55 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://claude.ai/code/plugin-schema.json",
|
|
"name": "host-uk-workspace",
|
|
"version": "1.0.0",
|
|
"description": "Claude Code integration for Host UK developer workspace",
|
|
|
|
"skills": [
|
|
{
|
|
"name": "workspace",
|
|
"file": "skills/workspace.md",
|
|
"description": "Navigate and manage the Host UK multi-repo workspace"
|
|
},
|
|
{
|
|
"name": "switch-package",
|
|
"file": "skills/switch-package.md",
|
|
"description": "Switch the active package for core CLI commands"
|
|
},
|
|
{
|
|
"name": "package-status",
|
|
"file": "skills/package-status.md",
|
|
"description": "Show status of all packages in the workspace"
|
|
}
|
|
],
|
|
|
|
"hooks": {
|
|
"pre_command": [
|
|
{
|
|
"pattern": "^(git (add|commit|push|pull)|composer (test|lint))$",
|
|
"script": "hooks/prefer-core.sh",
|
|
"description": "Suggest core CLI equivalents for common commands"
|
|
}
|
|
]
|
|
},
|
|
|
|
"commands": {
|
|
"status": {
|
|
"description": "Show workspace and package status",
|
|
"run": "core health"
|
|
},
|
|
"test": {
|
|
"description": "Run tests in active package",
|
|
"run": "core php test"
|
|
},
|
|
"lint": {
|
|
"description": "Run linter in active package",
|
|
"run": "core php lint"
|
|
}
|
|
},
|
|
|
|
"context": {
|
|
"workspace_root": true,
|
|
"registry_file": "repos.yaml",
|
|
"packages_dir": "packages"
|
|
}
|
|
}
|