| name | gsd-ns-context |
| description | codebase intelligence | map graphify docs learnings |
<cursor_skill_adapter>
A. Skill Invocation
- This skill is invoked when the user mentions
gsd-ns-context or describes a task matching this skill.
- Treat all user text after the skill mention as
{{GSD_ARGS}}.
- If no arguments are present, treat
{{GSD_ARGS}} as empty.
B. User Prompting
When the workflow needs user input, prompt the user conversationally:
- Present options as a numbered list in your response text
- Ask the user to reply with their choice
- For multi-select, ask for comma-separated numbers
C. Tool Usage
Use these Cursor tools when executing GSD workflows:
Shell for running commands (terminal operations)
StrReplace for editing existing files
Read, Write, Glob, Grep, Task, WebSearch, WebFetch, TodoWrite as needed
D. Subagent Spawning
When the workflow needs to spawn a subagent:
- Use
Task(subagent_type="generalPurpose", ...)
- The
model parameter maps to Cursor's model options (e.g., "fast")
</cursor_skill_adapter>
Route to the appropriate codebase-intelligence skill based on the user's intent.
gsd-scan and gsd-intel were folded into gsd-map-codebase flags by #2790.
| User wants | Invoke |
|---|
| Map the full codebase structure | gsd-map-codebase |
| Quick lightweight codebase scan | gsd-map-codebase --fast |
| Query mapped intelligence files | gsd-map-codebase --query |
| Generate a knowledge graph | gsd-graphify |
| Update project documentation | gsd-docs-update |
| Extract learnings from a completed phase | gsd-extract-learnings |
Invoke the matched skill directly using the Skill tool.