Test Analysis Extensions
microsoft/testfx
Provides file paths to language-specific reference files for the test ANALYSIS skills (assertion-quality, test-anti-patterns, test-gap-analysis, test-smell-detection, test-tagging).
Mandatory testing conventions including the narrow diagnostic exception for testing test-only code, AAA pattern, test naming, and assertions across all stacks (.NET, TypeScript, Python).
$ npx skills add macalbert/envilder --skill common-testing-conventions -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install macalbert/envilder common-testing-conventions --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/macalbert/envilder.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/common-testing-conventions .claude/skills/common-testing-conventions && 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 "common-testing-conventions" agent skill from https://github.com/macalbert/envilder/tree/main/.github/skills/common-testing-conventions into .claude/skills/common-testing-conventions/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "common-testing-conventions", 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/macalbert/envilder/tree/main/.github/skills/common-testing-conventionsType 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 macalbert/envilder --skill common-testing-conventions -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install macalbert/envilder common-testing-conventions --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/macalbert/envilder.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.github/skills/common-testing-conventions .agents/skills/common-testing-conventions && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "common-testing-conventions" agent skill from https://github.com/macalbert/envilder/tree/main/.github/skills/common-testing-conventions into .agents/skills/common-testing-conventions/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "common-testing-conventions", 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 macalbert/envilder --skill common-testing-conventions -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install macalbert/envilder common-testing-conventions --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/macalbert/envilder.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.github/skills/common-testing-conventions .cursor/skills/common-testing-conventions && 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 "common-testing-conventions" agent skill from https://github.com/macalbert/envilder/tree/main/.github/skills/common-testing-conventions into .cursor/skills/common-testing-conventions/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "common-testing-conventions", 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/macalbert/envilder.git --path .github/skills/common-testing-conventions--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 macalbert/envilder --skill common-testing-conventions -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install macalbert/envilder common-testing-conventions --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/macalbert/envilder.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.github/skills/common-testing-conventions .gemini/skills/common-testing-conventions && 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 "common-testing-conventions" agent skill from https://github.com/macalbert/envilder/tree/main/.github/skills/common-testing-conventions into .gemini/skills/common-testing-conventions/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "common-testing-conventions", 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 macalbert/envilder common-testing-conventionsInstalls 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 macalbert/envilder --skill common-testing-conventions -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/macalbert/envilder.git skills-src && mkdir -p .github/skills && cp -r skills-src/.github/skills/common-testing-conventions .github/skills/common-testing-conventions && 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 "common-testing-conventions" agent skill from https://github.com/macalbert/envilder/tree/main/.github/skills/common-testing-conventions into .github/skills/common-testing-conventions/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "common-testing-conventions", 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 macalbert/envilder --skill common-testing-conventions -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install macalbert/envilder common-testing-conventions --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/macalbert/envilder.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.github/skills/common-testing-conventions .opencode/skills/common-testing-conventions && 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 "common-testing-conventions" agent skill from https://github.com/macalbert/envilder/tree/main/.github/skills/common-testing-conventions into .opencode/skills/common-testing-conventions/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "common-testing-conventions", 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.
common-testing-conventionsMandatory testing conventions including the narrow diagnostic exception for testing test-only code, AAA pattern, test naming, and assertions across all stacks (.NET, TypeScript, Python).
Common Testing Conventions is an agent skill from macalbert/envilder. Mandatory testing conventions including the narrow diagnostic exception for testing test-only code, AAA pattern, test naming, and assertions across all stacks (.NET, TypeScript, Python). Use when writing tests or changing test infrastructure.
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files (for example `dotnet.md`, `examples.md` and `python.md`).
It sits in Testing & QA, covering Unit testing. It works with TypeScript, Python and .NET. The repository describes itself as: One secret mapping for local dev, CI/CD, and runtime. Envilder resolves cloud secrets from your own vaults without SaaS middlemen, duplicated config, or .env drift. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit b6a0327. 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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are csharp).
From 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.
Common Testing Conventions loads about 1.9k tokens when it runs. Until then it costs about 67 tokens; SKILL.md has 669 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 macalbert/envilder at commit b6a0327, republished under its MIT licence (© macalbert). 669 words, ~1,910 tokens.
.claude/skills/common-testing-conventions/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.Mandatory testing conventions across all stacks. Stack-specific libraries and examples are documented in dedicated supporting files.
NEVER write unnecessary comments or XML summaries.
Exception: // Arrange, // Act, // Assert comments are REQUIRED in tests.
| Rule | Example |
|---|---|
Use class not record | public class OrderMother { ... } |
Always use {} brackets | if (x) { return; } never if (x) return; |
| Aligned wrapped parameters | Align parameters with opening parenthesis |
| File | Description |
|---|---|
| dotnet.md | .NET testing stack (xUnit, AwesomeAssertions, NSubstitute, Bogus, Verify.Xunit, WireMock, Testcontainers) |
| typescript.md | TypeScript testing stack: CLI, SDK, CDK, Website (Vitest, Playwright, Biome) |
| python.md | Python testing stack (pytest, Mock/AsyncMock, pytest-snapshot, black, mypy, Pydantic) |
| examples.md | Full test examples for C# and TypeScript |
| reference.md | Naming rules, anti-patterns, checklist |
Tests specify production behavior. Do not create tests whose subject is test-only code by default, including fixtures, mothers, builders, mocks, stubs, seeders, test containers, data loaders, or runner configuration. Shared, reusable, independently versioned, or public test-support code is still test-only code; those traits do not justify testing it directly.
Start by validating test-infrastructure changes through the production-behavior tests that consume them or a direct reproduction of the affected workflow. A focused test of support code is allowed only when those paths cannot identify a failure with enough diagnostic precision. It must target the smallest stable contract needed to localize the fault and state why consumer or workflow evidence is insufficient.
This is diagnostic instrumentation, not default behavioral verification. Never add it for coverage or to mirror implementation details.
All tests MUST follow Arrange-Act-Assert with clear comments:
[Fact(Timeout = CancellationTokenForTest.ShortTimeout)]
public async Task Should_CreateGroup_When_RequestIsValid()
{
// Arrange
var request = new CreateGroupRequest { Name = "Test Group" };
var command = new CreateGroupCommand(request);
// Act
var actual = await _sut.Handle(command, CancellationToken.None);
// Assert
actual.Should().NotBeNull();
actual.GroupId.Should().NotBeEmpty();
_repository.Received(1).AddGroup(Arg.Any<Group>());
}Rules:
// Arrange, // Act, // Assert) appears AT MOST ONCE per test: if you need two actions,
write two testsexpect(), .Should(), assert, or any verification
statement in Arrange or Act. If you feel tempted to assert in Arrange (precondition check), extract
it to a separate test or use a guard clause that throws: not an assertion.if, switch, or conditional logic inside Arrange, Act, or Assert blockstry/catch/finally inside tests: use framework teardown (IAsyncLifetime, [ClassCleanup], pytest yield fixtures)// Act & Assert combined blocks: Act and Assert are ALWAYS separate phasesAwesomeAssertions .Should().ThrowAsync<T>() | Python → lambda + pytest.raises() | Vitest
→ expect(...).rejects.toThrow()Should_{ExpectedBehavior}_When_{Condition}| ✓ Good | ✗ Bad |
|---|---|
Should_CreateGroup_When_RequestIsValid | TestCreateGroup |
Should_ThrowNotFound_When_UserDoesNotExist | "should login" |
Should_ReturnEmptyList_When_NoRecordsFound | Should_Work |
| Purpose | Name |
|---|---|
| Subject under test | sut |
| Expected value | expected |
| Actual result | actual |
var expected = GroupMother.Create(id: groupId);
var actual = await _sut.Handle(query, CancellationToken.None);
actual.Id.Should().Be(expected.Id);Tests must run safely in parallel while a development environment is active on the same machine.
public class CreateGroupCommandHandlerTests
{
private readonly Fixture _fixture;
private readonly CreateGroupCommandHandler _sut;
private readonly IEnvilderRepository _repository;
public CreateGroupCommandHandlerTests()
{
_fixture = new();
_repository = Substitute.For<IEnvilderRepository>();
_sut = new(_repository);
}
[Fact(Timeout = CancellationTokenForTest.ShortTimeout)]
public async Task Should_CreateGroup_When_RequestIsValid()
{
// Test implementation
}
}See the dedicated supporting file for each stack:
| Stack | Conventions | Test Doubles |
|---|---|---|
| .NET | dotnet-testing | dotnet-test-doubles |
| TypeScript | typescript-testing | typescript-test-doubles |
| Python | python-testing | python-test-doubles |
Cross-stack:
© macalbert, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 5 other files in .github/skills/common-testing-conventions of macalbert/envilder.
Open the folder on GitHubat commit b6a0327
Common Testing Conventions 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 |
|---|---|---|---|---|---|---|
| Common Testing Conventions this skillmacalbert/envilder | 138 | — | ~1.9k | Automated safety check: Pass | MIT | |
| Test Analysis Extensionsmicrosoft/testfx | 1k | 2 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Assertion Qualitymicrosoft/testfx | 1k | — | ~4.1k | Automated safety check: Pass | MIT | |
| Test Gap Analysismicrosoft/testfx | 1k | — | ~4k | Automated safety check: Pass | MIT | |
| Test Anti Patternsmicrosoft/testfx | 1k | — | ~4.9k | Automated safety check: Pass | MIT | |
| Zizkadb TestZIZKA-AI-SL/ZizkaDB | 124 | — | ~358 | Automated safety check: Pass | Custom licence |
microsoft/testfx
Provides file paths to language-specific reference files for the test ANALYSIS skills (assertion-quality, test-anti-patterns, test-gap-analysis, test-smell-detection, test-tagging).
microsoft/testfx
Analyzes the variety and depth of assertions across test suites in any language.
microsoft/testfx
Performs pseudo-mutation analysis on production code in any language to find gaps in existing test suites.
microsoft/testfx
Audits existing test code in any language for anti-patterns and quality issues — produces a severity-ranked report (Critical / Warning / Info) with concrete code-level fixes.
ZIZKA-AI-SL/ZizkaDB
Run the full ZizkaDB test suite across all layers — lint, Python unit tests, SDK tests, MCP tests, TypeScript tests, and dashboard build verification.
ComposioHQ/composio
Select and run TypeScript SDK verification for packages, examples, type checks, linting, builds, Vitest suites, Effect v4 CLI tests, and runtime E2E tests.
macalbert/envilder
Five independent analysis perspectives for code review: correctness, architecture, security, conventions, and complexity.
macalbert/envilder
Index of Architecture Decision Records (ADRs) for cross-cutting technical decisions.
macalbert/envilder
Git commit messages, PR workflow, and branching strategy using Conventional Commits and Semantic Versioning.
macalbert/envilder
Workflow for maintaining changelogs, READMEs, and documentation files.
macalbert/envilder
Audit and synchronize documentation across website, READMEs, and docs/.
macalbert/envilder
Test doubles including Fakes (Bogus), Dummies (AutoFixture), Stubs, Spies, and Mocks (NSubstitute).
Works with
Categories
Mandatory testing conventions including the narrow diagnostic exception for testing test-only code, AAA pattern, test naming, and assertions across all stacks (.NET, TypeScript, Python). Common Testing Conventions is an agent skill from macalbert/envilder.NET, TypeScript, Python).
Common Testing Conventions fits situations like: changing test infrastructure; tasks that involve Unit testing.
Run `npx skills add macalbert/envilder --skill common-testing-conventions -a claude-code`. Or copy the skill folder (.github/skills/common-testing-conventions in macalbert/envilder) into .claude/skills/common-testing-conventions in your project. Claude Code loads it when a task matches its description.
Run `npx skills add macalbert/envilder --skill common-testing-conventions -a codex`. Or copy the skill folder (.github/skills/common-testing-conventions in macalbert/envilder) into .agents/skills/common-testing-conventions 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 macalbert/envilder --skill common-testing-conventions -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/common-testing-conventions, .gemini/skills/common-testing-conventions, .github/skills/common-testing-conventions and .opencode/skills/common-testing-conventions in your project.
SKILL.md names no scripts, command-line tools or credentials: Common Testing Conventions is instructions for the agent only. 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.
Common Testing Conventions is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.6k 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 Common Testing Conventions: Test Analysis Extensions (microsoft/testfx, 1k stars), Assertion Quality (microsoft/testfx, 1k stars), Test Gap Analysis (microsoft/testfx, 1k stars) and Test Anti Patterns (microsoft/testfx, 1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
macalbert (a GitHub user) maintains it in macalbert/envilder, which has 138 GitHub stars. The repository holds 30 skills in this directory. The repository was last updated on October 5, 2026.
Source: macalbert/envilder on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.