agent-customization
**WORKFLOW SKILL** — Create, update, review, fix, or debug VS Code agent customization files (.instructions.md, .prompt.md,…
Record a short WebM video of a web page or web-based app with Playwright's page.screencast, demonstrating a feature or bug fix. Use when asked to record evidence, demo a change, show that it works, record a video, or capture a screencast.
Claude Code
$ npx -y skills add microsoft/vscode --skill record-video --agent claude-code
Codex
$ npx skills add microsoft/vscode --skill record-video -a codex -y
Cursor
$ npx skills add microsoft/vscode --skill record-video -a cursor -y
Gemini CLI
$ npx skills add microsoft/vscode --skill record-video -a gemini-cli -y
GitHub Copilot
$ npx skills add microsoft/vscode --skill record-video -a github-copilot -y
OpenCode
$ npx skills add microsoft/vscode --skill record-video -a opencode -y
Windsurf
$ npx skills add microsoft/vscode --skill record-video -a windsurf -y
name: record-video description: Record a short WebM video of a web page or web-based app with Playwright's page.screencast, demonstrating a feature or bug fix. Use when asked to record evidence, demo a change, show that it works, record a video, or capture a screencast.
Record a short `.webm` video of the real outcome with Playwright's `page.screencast`, and return it with the script that produced it.
Use whichever Playwright `page` is available: the Integrated Browser's `runPlaywrightCode` tool, or a Playwright session another skill attaches to an app (for example `@playwright/cli run-code`). If a skill exists for launching the app under test, follow it to get the page.
private data; ask before side effects on real services.
1. Get a Playwright page for the app and make sure it is visible (`document.visibilityState === 'visible'`); ask the user to reveal it if not. For the Integrated Browser, open a fresh page with `openBrowserPage` (`forceNew: true`); if the browser tools are missing, explain that `workbench.browser.enableChatTools` must be enabled and stop. 2. Dry-run the scenario without recording. Find stable role/name locators and check the assertions. Reset test data to a known start state. 3. Write the complete script before recording, so no locators need to be discovered mid-recording.
Run the whole script in a single Playwright call so pauses between calls don't end up in the video. Allow enough timeout for the scenario.
Save the video and script in the current session's storage folder, not in the workspace, and name them after the scenario, for example `<session folder>/add-and-complete-task.webm`.
const viewport = await page.evaluate(() => ({ width: innerWidth, height: innerHeight }));
const even = v => Math.max(2, Math.floor(v / 2) * 2);
const scale = Math.min(1, 1280 / viewport.width);
await page.screencast.start({
path: '<session folder>/add-and-complete-task.webm',
size: { width: even(viewport.width * scale), height: even(viewport.height * scale) },
});
try {
await page.screencast.showActions();
await page.screencast.showChapter('Add a task');
const input = page.getByRole('textbox', { name: 'New task' });
await input.pressSequentially('Buy milk', { delay: 60 });
await input.press('Enter');
const task = page.getByRole('checkbox', { name: 'Buy milk', exact: true });
if (await task.isChecked()) {
throw new Error('New task was unexpectedly completed.');
}
await page.waitForTimeout(1000);
await page.screencast.showChapter('Complete the task');
await task.check();
if (!await task.isChecked()) {
throw new Error('Task did not become completed.');
}
await page.waitForTimeout(1500);
} finally {
await page.screencast.stop();
}The video is only finalized by `stop()`, so always use `try/finally`. If the scenario fails, keep the partial video and report the error.
Return links to the video and the script, plus a short list of expected vs. actual outcomes. A demo supplements tests and code review; it doesn't replace them.
**WORKFLOW SKILL** — Create, update, review, fix, or debug VS Code agent customization files (.instructions.md, .prompt.md,…
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks…
Create a Copilot extension canvas at user, workspace, or plugin scope.
Create a hook (.json) to enforce policy or automate agent lifecycle events.
Create an instructions file (.instructions.md) for a project rule or convention.
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.
Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…
Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…