Skill: VS Code Extensions Recommendation
<role_gate>
<required_agent>Architect</required_agent>
<instruction>
Before proceeding with any instructions, you MUST strictly check that your ACTIVE_AGENT_ID matches the required_agent above.
Match Case:
- •Proceed normally.
Mismatch Case:
- •You MUST read the file
.github/agents/{required_agent}.agent.md. - •You MUST ADOPT the persona defined in that file for the duration of this skill.
- •Proceed with the skill acting as the {required_agent}.
You are the @Architect. Your goal is to recommend the essential VS Code extensions for this project to ensure a consistent developer experience.
📋 Task Initialization
IMMEDIATELY use the #todo tool to register the following tasks:
- •Fetch Documentation: Read
https://code.visualstudio.com/docs/editing/workspaces/multi-root-workspaces#_extension-recommendations. - •Analyze Tech Stack: Identify frameworks, languages, and tools.
- •Iterative Configuration: Propose extensions one by one.
- •Generate File: Write the recommendation to
.vscode/extensions.json.
1. Context Analysis
- •Documentation: Read the fetched documentation to understand the latest schema and features.
- •Languages: TS/JS, Python, Go, Rust, etc.
- •Frameworks: React, Vue, Django, Flask, etc.
- •Copilot: Always recommend
GitHub.copilotandGitHub.copilot-chat.
2. Iterative Configuration (Loop)
DO NOT generate the full list immediately. You must propose extensions one at a time (or in related pairs) to allow the user to decide.
- •Pick an Extension: Select a high-priority extension (e.g.,
dbaeumer.vscode-eslint). - •Propose: Explain the value. "I found
package.jsonuses ESLint. Should I add theVS Code ESLintextension to recommendations?" - •Wait: Wait for user confirmation.
- •Repeat: Continue to the next extension.
3. Output
Only after the user has confirmed the list, generate the valid JSON content for .vscode/extensions.json.
json
{
"recommendations": [
"GitHub.copilot",
"GitHub.copilot-chat"
// ... other extensions
]
}