Recommending Test Layers
bitwarden/ai-plugins
A skill your agent uses when deciding WHICH new tests a change needs and at WHICH layer each belongs, working from a Jira key, a Testmo CSV, an assessing-test-coverage report, a PR, or a feature…
Testing methodologies, test-driven development (TDD), unit and integration testing, and testing best practices across multiple frameworks.
$ npx skills add einverne/dotfiles --skill test-expert -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install einverne/dotfiles test-expert --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/einverne/dotfiles.git skills-src && mkdir -p .claude/skills && cp -r skills-src/claude/skills/test-expert .claude/skills/test-expert && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "test-expert" agent skill from https://github.com/einverne/dotfiles/tree/master/claude/skills/test-expert into .claude/skills/test-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-expert", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/einverne/dotfiles/tree/master/claude/skills/test-expertType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add einverne/dotfiles --skill test-expert -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install einverne/dotfiles test-expert --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/einverne/dotfiles.git skills-src && mkdir -p .agents/skills && cp -r skills-src/claude/skills/test-expert .agents/skills/test-expert && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "test-expert" agent skill from https://github.com/einverne/dotfiles/tree/master/claude/skills/test-expert into .agents/skills/test-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-expert", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add einverne/dotfiles --skill test-expert -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install einverne/dotfiles test-expert --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/einverne/dotfiles.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/claude/skills/test-expert .cursor/skills/test-expert && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "test-expert" agent skill from https://github.com/einverne/dotfiles/tree/master/claude/skills/test-expert into .cursor/skills/test-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-expert", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/einverne/dotfiles.git --path claude/skills/test-expert--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add einverne/dotfiles --skill test-expert -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install einverne/dotfiles test-expert --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/einverne/dotfiles.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/claude/skills/test-expert .gemini/skills/test-expert && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "test-expert" agent skill from https://github.com/einverne/dotfiles/tree/master/claude/skills/test-expert into .gemini/skills/test-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-expert", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install einverne/dotfiles test-expertInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add einverne/dotfiles --skill test-expert -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/einverne/dotfiles.git skills-src && mkdir -p .github/skills && cp -r skills-src/claude/skills/test-expert .github/skills/test-expert && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "test-expert" agent skill from https://github.com/einverne/dotfiles/tree/master/claude/skills/test-expert into .github/skills/test-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-expert", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add einverne/dotfiles --skill test-expert -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install einverne/dotfiles test-expert --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/einverne/dotfiles.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/claude/skills/test-expert .opencode/skills/test-expert && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "test-expert" agent skill from https://github.com/einverne/dotfiles/tree/master/claude/skills/test-expert into .opencode/skills/test-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-expert", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
test-expertTesting methodologies, test-driven development (TDD), unit and integration testing, and testing best practices across multiple frameworks.
Test Expert is an agent skill from einverne/dotfiles. Testing methodologies, test-driven development (TDD), unit and integration testing, and testing best practices across multiple frameworks. Use when the user needs to write tests, implement TDD, or improve test coverage and quality.
Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering Test-driven development, Test coverage and Test strategy. The repository describes itself as: my personal dotfiles managed by dotbot, zinit. The licence is GPL-3.0.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit c6c0686. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pytestjestFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Test Expert loads about 2.3k tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 357 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from einverne/dotfiles at commit c6c0686, republished under its GPL-3.0 licence (© einverne). 357 words, ~2,269 tokens.
.claude/skills/test-expert/SKILL.md (or your agent's skills folder).You are a testing expert. Your role is to help users write effective tests, follow TDD practices, and ensure code quality through comprehensive test coverage.
/\
/ \ E2E Tests (Few)
/____\
/ \ Integration Tests (Some)
/________\
/ \ Unit Tests (Many)
/__________\def test_add_numbers():
assert add(2, 3) == 5 # Function doesn't exist yetdef add(a, b):
return a + bdef add(a: int, b: int) -> int:
"""Add two numbers and return the result."""
return a + b# Good: Clear, focused, independent
def test_user_can_be_created_with_email():
# Arrange
email = "user@example.com"
# Act
user = User(email=email)
# Assert
assert user.email == email
assert user.is_active == True# Good names describe what's being tested
def test_user_creation_with_valid_email_succeeds():
pass
def test_user_creation_with_invalid_email_raises_error():
pass
def test_empty_cart_has_zero_total():
passimport pytest
from myapp import Calculator
class TestCalculator:
@pytest.fixture
def calc(self):
return Calculator()
def test_add(self, calc):
assert calc.add(2, 3) == 5
def test_divide_by_zero_raises_error(self, calc):
with pytest.raises(ZeroDivisionError):
calc.divide(10, 0)
@pytest.mark.parametrize("a,b,expected", [
(2, 3, 5),
(0, 0, 0),
(-1, 1, 0),
])
def test_add_multiple_cases(self, calc, a, b, expected):
assert calc.add(a, b) == expecteddescribe('Calculator', () => {
let calc;
beforeEach(() => {
calc = new Calculator();
});
test('adds two numbers', () => {
expect(calc.add(2, 3)).toBe(5);
});
test('throws error on division by zero', () => {
expect(() => calc.divide(10, 0)).toThrow();
});
test.each([
[2, 3, 5],
[0, 0, 0],
[-1, 1, 0],
])('add(%i, %i) returns %i', (a, b, expected) => {
expect(calc.add(a, b)).toBe(expected);
});
});#!/usr/bin/env bats
@test "script exits with status 0 on success" {
run ./myscript.sh input.txt
[ "$status" -eq 0 ]
}
@test "script produces expected output" {
run ./myscript.sh input.txt
[ "${lines[0]}" = "Expected output" ]
}
@test "script fails with invalid input" {
run ./myscript.sh nonexistent.txt
[ "$status" -ne 0 ]
[[ "$output" =~ "Error" ]]
}from unittest.mock import Mock, patch, MagicMock
# Mock an object
mock_db = Mock()
mock_db.get_user.return_value = {"id": 1, "name": "Test"}
# Patch a function
@patch('myapp.external_api_call')
def test_function(mock_api):
mock_api.return_value = {"status": "success"}
result = my_function()
assert result == expected
mock_api.assert_called_once_with(expected_arg)// Jest mocking
jest.mock('./api');
import { fetchUser } from './api';
test('loads user data', async () => {
fetchUser.mockResolvedValue({ id: 1, name: 'Test' });
const user = await loadUser(1);
expect(user.name).toBe('Test');
expect(fetchUser).toHaveBeenCalledWith(1);
});import pytest
from myapp import create_app, db
@pytest.fixture
def app():
app = create_app('testing')
with app.app_context():
db.create_all()
yield app
db.session.remove()
db.drop_all()
def test_user_can_be_saved_to_database(app):
user = User(email='test@example.com')
db.session.add(user)
db.session.commit()
retrieved = User.query.filter_by(email='test@example.com').first()
assert retrieved is not None
assert retrieved.email == 'test@example.com'def test_api_returns_user_list(client):
response = client.get('/api/users')
assert response.status_code == 200
assert len(response.json) > 0
assert 'email' in response.json[0]// Playwright example
test('user can login', async ({ page }) => {
await page.goto('https://example.com');
await page.fill('[name="email"]', 'user@example.com');
await page.fill('[name="password"]', 'password123');
await page.click('button[type="submit"]');
await expect(page.locator('.welcome')).toContainText('Welcome back');
});@pytest.fixture
def sample_user():
return User(
email='test@example.com',
name='Test User'
)
@pytest.fixture
def authenticated_client(client, sample_user):
client.login(sample_user)
return clientimport factory
class UserFactory(factory.Factory):
class Meta:
model = User
email = factory.Sequence(lambda n: f'user{n}@example.com')
name = factory.Faker('name')
is_active = True
# Usage
user = UserFactory()
admin = UserFactory(is_admin=True)
users = UserFactory.create_batch(10)project/
├── src/
│ └── myapp/
│ ├── __init__.py
│ └── calculator.py
└── tests/
├── __init__.py
├── conftest.py # Shared fixtures
├── unit/
│ └── test_calculator.py
├── integration/
│ └── test_database.py
└── e2e/
└── test_user_flow.py# Python
pytest --cov=myapp --cov-report=html
# JavaScript
jest --coverage
# View coverage
open htmlcov/index.htmldef test_raises_error():
with pytest.raises(ValueError, match="Invalid input"):
function_that_raises("bad")@pytest.mark.asyncio
async def test_async_function():
result = await async_function()
assert result == expected@patch('myapp.datetime')
def test_time_dependent(mock_datetime):
mock_datetime.now.return_value = datetime(2024, 1, 1)
result = function_using_time()
assert result == expected# .github/workflows/test.yml
name: Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run tests
run: |
pip install -r requirements-dev.txt
pytest --cov --cov-report=xml
- name: Upload coverage
uses: codecov/codecov-action@v2Remember: Good tests are your safety net. They give you confidence to refactor and add features. Invest time in writing quality tests!
© einverne, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in claude/skills/test-expert of einverne/dotfiles.
Open the folder on GitHubat commit c6c0686
Test Expert next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Test Expert this skilleinverne/dotfiles | 121 | — | ~2.3k | Automated safety check: Pass | GPL-3.0 | |
| Recommending Test Layersbitwarden/ai-plugins | 154 | — | ~2.4k | Automated safety check: Pass | Custom licence | |
| Test Automationrevfactory/harness-100 | 1.3k | — | ~1.7k | Automated safety check: Pass | Apache-2.0 | |
| Python Testingathola/claude-night-market | 341 | — | ~800 | Automated safety check: Pass | MIT | |
| Designing TestsCloudAI-X/opencode-workflow | 275 | — | ~2.9k | Automated safety check: Pass | MIT | |
| Automated Test Planningtestdouble/han | 279 | — | ~6.7k | Automated safety check: Pass | MIT |
bitwarden/ai-plugins
A skill your agent uses when deciding WHICH new tests a change needs and at WHICH layer each belongs, working from a Jira key, a Testmo CSV, an assessing-test-coverage report, a PR, or a feature…
revfactory/harness-100
A full test automation pipeline. An agent skill from revfactory/harness-100.
athola/claude-night-market
Python testing patterns with pytest, fixtures, TDD, mocking, async and integration tests.
CloudAI-X/opencode-workflow
Guides test strategy, TDD/BDD approaches, test coverage planning, and testing best practices.
testdouble/han
Produce a standalone test plan by analyzing code for test coverage gaps and edge cases.
cwinvestments/memstack
A skill your agent uses when the user says 'write tests', 'add tests', 'test coverage', 'unit tests', 'integration tests', 'component tests', 'mocking', 'edge cases', or needs to generate tests with…
einverne/dotfiles
Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction.
einverne/dotfiles
Browser automation, debugging, and performance analysis using Puppeteer CLI scripts.
einverne/dotfiles
Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms.
einverne/dotfiles
Guide for implementing Google Gemini API audio capabilities - analyze audio with transcription, summarization, and understanding (up to 9.5 hours), plus generate speech with controllable TTS.
einverne/dotfiles
Guide for implementing Google Gemini API document processing - analyze PDFs with native vision to extract text, images, diagrams, charts, and tables.
einverne/dotfiles
Presentation creation, editing, and analysis. An agent skill from einverne/dotfiles.
Categories
Testing methodologies, test-driven development (TDD), unit and integration testing, and testing best practices across multiple frameworks. Test Expert is an agent skill from einverne/dotfiles. Testing methodologies, test-driven development (TDD), unit and integration testing, and testing best practices across multiple frameworks.
Test Expert fits situations like: the user needs to write tests; improve test coverage and quality.
Run `npx skills add einverne/dotfiles --skill test-expert -a claude-code`. Or copy the skill folder (claude/skills/test-expert in einverne/dotfiles) into .claude/skills/test-expert in your project. Claude Code loads it when a task matches its description.
Run `npx skills add einverne/dotfiles --skill test-expert -a codex`. Or copy the skill folder (claude/skills/test-expert in einverne/dotfiles) into .agents/skills/test-expert in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add einverne/dotfiles --skill test-expert -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/test-expert, .gemini/skills/test-expert, .github/skills/test-expert and .opencode/skills/test-expert in your project.
Going by SKILL.md and its folder, Test Expert needs the command-line tools its instructions call (pytest and jest). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Test Expert is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.3k tokens (SKILL.md is roughly 9.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Test Expert: Recommending Test Layers (bitwarden/ai-plugins, 154 stars), Test Automation (revfactory/harness-100, 1.3k stars), Python Testing (athola/claude-night-market, 341 stars) and Designing Tests (CloudAI-X/opencode-workflow, 275 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
einverne (a GitHub user) maintains it in einverne/dotfiles, which has 121 GitHub stars. The repository holds 39 skills in this directory. The repository was last updated on September 9, 2026.
Source: einverne/dotfiles on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.