Agent skill · Testing & QA

spectron-test-setup

Set up Spectron (deprecated) tests for legacy Electron application testing

a5c-aigithub.com/a5c-aiGitHub ↗
claude-codecodexcan modify filesMIT
Install
npx skills add a5c-ai/babysitter --skill spectron-test-setup --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 2 KB
Bundled scripts: none
Allowed tools: ReadWriteEditBashGlobGrep
Path: library/specializations/desktop-development/skills/spectron-test-setup/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,642
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# spectron-test-setup Set up Spectron tests for legacy Electron applications. Note: Spectron is deprecated; use Playwright for new projects. ## Capabilities - Configure Spectron test environment - Generate test structure - Set up WebDriverIO integration - Handle application lifecycle - Create page objects ## Input Schema ```json { "type": "object", "properties": { "projectPath": { "type": "string" }, "electronPath": { "type": "string" } }, "required": ["projectPath"] } ``` ## Example Test ```javascript const Application = require('spectron').Application; const path = require('path'); describe('Application launch', function () { beforeEach(function () { this.app = new Application({ path: require('electron'), args: [path.join(__dirname, '..')] }); return this.app.start(); }); afterEach(function () { if (this.app && this.app.isRunning()) { return this.app.stop(); } }); it('shows initial window', function () { return this.app.client.getWindowCount().then(count => { expect(count).toBe(1); }); }); }); ``` ## Migration Note Consider migrating to `playwright-electron-config` for modern Electron testing. ## Related Skills - `playwright-electron-config` - `electron-mock-factory`

What's inside
Steps it walks through
  1. Capabilities
  2. Input Schema
  3. Example Test
  4. Migration Note
  5. Related Skills
Ships with 1 file
  • README.md
More from babysitter
All skills →
About this skill
What does the spectron-test-setup skill do?

Set up Spectron (deprecated) tests for legacy Electron application testing

How do I install it?

Run `npx skills add a5c-ai/babysitter --skill spectron-test-setup --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going