go-workspace-skill
Installation
SKILL.md
Go Workspace Skill
Use a workspace config file as the source of truth for repository membership, clone URLs, and which repositories are Go projects. Prefer scripts/run.sh over assembling Git and Go commands by hand; it delegates to the skill's own Python executor and does not require the target workspace to contain a Makefile.
Workflow
-
Resolve the workspace root.
- If already in the workspace root, run
scripts/run.shdirectly. - If invoking the skill from a global skill install, pass
--root /abs/path/to/workspace.
- If already in the workspace root, run
-
Resolve the workspace config.
- By default, the script looks for
.go-workspace.jsonand thengo-workspace.jsonin the workspace root. - Override that path with
--config /abs/path/to/config.jsonor theGO_WORKSPACE_SKILLS_CONFIGenvironment variable. - If no config exists yet, create one with
scripts/run.sh --root /path/to/workspace init-config(add--output /path/to/file.jsonto write somewhere other than.go-workspace.json, and--forceto overwrite an existing one).
- By default, the script looks for