Silverile VS Code Extension

IDE

Story-driven development inside VS Code. Review code against acceptance criteria, generate user stories from code, create Copilot prompts, validate implementations, and more — without leaving your editor.

Prerequisites

  • VS Code 1.105.0 or later
  • A Silverile account with at least one product/workspace
  • GitHub Copilot — required for AI-powered features and the @silverile chat participant

Step 1 — Install the extension

From the VS Code Marketplace (recommended)

Open the Silverile extension on the VS Code Marketplace →

1Open the Extensions view (Ctrl+Shift+X / Cmd+Shift+X)
2Search for Silverile.AI and click Install
3Reload VS Code when prompted

Step 2 — Get your API credentials

1Log in to silverile.com
2Go to Settings → User Settings → IDE API Keys
3Click Generate Key
4Copy the Key ID (e.g. ide_XXXXXXXXXXXXXXXX) and Key Secret
Keep the Key Secret private. It cannot be recovered after you leave the page.

Step 3 — Configure your API key in VS Code

1Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P)
2Run Silverile: Configure IDE API Key
3Enter your Key ID when prompted
4Enter your Key Secret when prompted
Credentials are stored in VS Code's encrypted Secret Storage — never in plaintext settings files.

Step 4 — Set your Product ID

1Open the Command Palette
2Run Silverile: Select/Change Product
3Choose your project from the list

This sets Silverile.productId in your VS Code settings. You can also set it manually via Settings → Search "Silverile".

Step 5 — Verify the setup

Right-click anywhere in a code file and look for the Silverile submenu. If it appears, the extension is active. You can also check the status bar at the bottom of VS Code for the IDE key indicator.

Develop a story

The primary way to implement a Silverile story in VS Code. The extension fetches the story, builds a scoped implementation prompt from its title, description, acceptance criteria, and implementation details, then submits it directly to Copilot Chat. Copilot explores your codebase and implements the story automatically.

Via @silverile chat (recommended)

@silverile develop story 1569

Also accepted: implement, build, start, work on, handover — e.g. @silverile implement story 1569 or @silverile start story 1569.

1In Copilot Chat, type @silverile develop story 1569 and press Enter
2The extension fetches story 1569 from Silverile and builds an implementation prompt
3The prompt is submitted to Copilot Chat — Copilot explores your codebase and implements the story
4The prompt is also copied to clipboard as a backup if the submission fails

Via Show My Work

You can also start development directly from your assigned work list — see the Show my work section below.

Review code against a story

Validate whether selected code satisfies the acceptance criteria of a user story.

1Select the code you want to review
2Right-click → Silverile → Review Code Against Story
3Enter a story ID or pick from your workspace
4The review panel opens with pass/fail results per acceptance criterion

Generate a user story from code

Convert selected code or an entire file into a structured draft Silverile story.

1Select the code (or open the file)
2Right-click → Silverile → Generate User Story from Code
3Review the generated story in the preview panel
4Confirm to create it in your Silverile workspace

Generate a Copilot prompt from a story

Turn a user story into a deterministic, scoped prompt for GitHub Copilot — with token count shown.

1Right-click → Silverile → Generate Copilot Prompt from User Story (With AI)
2Enter a story ID
3The prompt preview panel shows the generated prompt with token counts
4Copy it into Copilot Chat or use it directly

Generate test scripts from a story

Create test cases directly from acceptance criteria. Supported languages: Java, TypeScript, JavaScript, Python, C#, Go.

1Right-click → Silverile → Generate Test Scripts from Story
2Enter a story ID and select a language
3Review the script in the test preview panel
4Save to a file

Fix a defect

Resolve tracked defects from your Silverile defect tracker without leaving VS Code.

1Open the Command Palette → search Silverile and choose the fix/defect command
2Enter the defect ID
3The extension analyzes the defect and proposes a fix inline

Validate story implementation

Check whether a story is fully implemented, partially implemented, or not yet started.

1Select the relevant code
2Right-click → Silverile → Review Code Against Story
3The AI returns a status: ✅ Fully Implemented / ⚠️ Partially Implemented / ❌ Not Implemented

Show my work

View all stories and defects assigned to you without opening the Silverile web app.

1Open the Command Palette → Silverile: Show My Work (or use the @silverile chat)
2Your active work items are listed with status and links

@silverile chat participant

Use @silverile in GitHub Copilot Chat for natural-language workflows. Requires the GitHub Copilot and GitHub Copilot Chat extensions.

@silverile develop story 1569
@silverile what are my current stories?
@silverile generate a copilot prompt for story #42
@silverile validate story #107 against the selected code
@silverile generate test scripts for story #88 in TypeScript
@silverile fix defect #15

Context menu reference

Right-click in any text editor when the editor has focus:

Silverile
├── Review Code Against Story
├── Generate User Story from Code
├── Generate Copilot Prompt from User Story (With AI)
├── Generate Test Scripts from Story
├── ─────────────────────────────
├── Select/Change Product
├── Configure IDE API Key
├── Configure Silverile Settings

All commands are also available via the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).

Settings reference

SettingTypeDescription
Silverile.productIdstringNumeric product/workspace ID. Set automatically via Select/Change Product, or enter manually in VS Code Settings.
API credentials are stored in VS Code Secret Storage and are not visible in the settings file.

Troubleshooting

The Silverile submenu doesn't appear in the right-click menu

Ensure the editor has text focus — click inside a code file. The menu only appears with editorTextFocus active.

"API key not configured" warning

Run Silverile: Configure IDE API Key and re-enter your credentials. Make sure you copied both the Key ID and Key Secret before leaving the key generation page.

"Product not found" or empty story list

Run Silverile: Select/Change Product to re-select your workspace. Verify your account has access to the product in Silverile.

@silverile doesn't appear in Copilot Chat

GitHub Copilot Chat is required. Install the GitHub Copilot and GitHub Copilot Chat extensions, then reload VS Code.

The extension is not activating

Open the Extensions view and confirm Silverile.AI is installed and enabled. Check that your VS Code version is 1.105.0 or later.