fabioc-aloha/alex_skill_mall/opt-in-workspace-writes

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Extensions/tools that auto-write to user workspaces without consent:

Install

npx vskill@latest install fabioc-aloha/alex_skill_mall/opt-in-workspace-writes

SKILL.md

Opt-In for Workspace Writes

The Problem

Extensions/tools that auto-write to user workspaces without consent:

  • Create .vscode/ folders unexpectedly
  • Add config files that get committed accidentally
  • Scaffold structures the user didn't want
  • Violate the principle of least surprise

The Solution

Get explicit consent before any workspace mutation.

1. Ask First
typescript
const choice = await vscode.window.showInformationMessage(
'Initialize Alex configuration in this workspace?',
{ modal: true },
'Yes, create .github/',
'No, skip'
);
if (choice !== 'Yes, create .github/') {
return; // User declined, do nothing
}
2. Show What Will Be Created
typescript
const files = [
'.github/copilot-instructions.md',
'.github/config/settings.json'
];
const choice = await vscode.window.showInformationMessage(
`This will create ${files.length} files:\n${files.join('\n')}`,
{ modal: true, detail: files.join('\n') },
'Create Files',
'Cancel'
);
3. Provide Undo/Remove
typescript
// After creating files
vscode.window.showInformationMessage(
'Configuration created.',
'Undo'
).then(selection => {
if (selection === 'Undo') {
// Delete the created files
files.forEach(f => fs.unlinkSync(path.join(workspaceRoot, f)));
}
});

Never Auto-Write These

PathWhy It's Dangerous
.vscode/Shared via git, affects all developers
.github/Shared via git, affects CI/CD
package.jsonChanges dependencies/scripts
.gitignoreAffects what's tracked
Root config files.eslintrc, tsconfig.json, etc.

Acceptable Auto-Behavior

  • Reading files (no consent needed)
  • Writing to temp directories
  • Writing to user-global config (already your data)
  • Writing to extension storage area

Verification

  1. Fresh install → no files created until user opts in
  2. User can decline and extension still works
  3. Created files are clearly attributed to the extension

When to Apply

  • Extension activation
  • Command that generates files
  • Any feature that modifies workspace

Tags

architecture extension-development ux consent

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
4
Repository forks
1
7-day trend score
13

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/fabioc-aloha/alex_skill_mall/opt-in-workspace-writes/badge)](https://verified-skill.com/skills/fabioc-aloha/alex_skill_mall/opt-in-workspace-writes)

Something wrong with this skill or its page? Tell us.