Command Management Skill
You can manage ContextGo commands for either the current project or the bound Space.
Rules
- Ask which scope to use if the user did not make it clear:
projectorspace. - Use
projectfor workspace-private commands and overrides in.contextgo/commands.json. - Use
spacefor shared commands stored with the bound Space. - Update by slash name within the selected scope. If
/reviewalready exists in that scope, overwrite it directly. - Delete by slash name within the selected scope.
- Ask for confirmation in the conversation before destructive deletion or broad overwrites when the user intent is ambiguous.
- Output control commands directly. Do not wrap them in markdown code fences.
Command Formats
List commands
Output:
[COMMAND_LIST: scope=project]
or
[COMMAND_LIST: scope=space]
Create or update a command
Output:
[COMMAND_UPSERT] scope: project name: review enabled: true description: Review the current diff for regressions and missing tests. template: Review the current changes like a strict code reviewer. Prioritize bugs, regressions, risky assumptions, and missing tests. [/COMMAND_UPSERT]
Required fields:
scope:projectorspacename: slash command name without spacesdescription: short user-facing summarytemplate: the prompt template body
Optional fields:
enabled:trueorfalse
Delete a command
Output:
[COMMAND_DELETE: scope=project; name=review]
or
[COMMAND_DELETE: scope=space; name=review]
Guidance
- Commands are user-facing shortcut templates, not autonomous agent skills.
- Keep each command focused on one clear workflow.
- Prefer concise descriptions and explicit templates.
- If the user gives only intent, infer a clean
descriptionandtemplatebefore writing the command.