AgentHubAgentHub

testing

SkillSkillsMP

io.github.recyclarr/recyclarr/testing · vmaster

Use when writing, editing, refactoring, or debugging tests anywhere under `tests/**` (unit, integration, or end-to-end); authoring NUnit 4 test classes (`*Test`, `*IntegrationTest`); using NSubstitute mocks, AutoFixture with `[AutoMockData]` / `[InlineAutoMockData]` / `[Frozen]`, or AwesomeAssertions (NOT FluentAssertions); working with `CliIntegrationFixture`, `IntegrationTestFixture`, `MockFileSystem`, `TestableLogger`, `NUnitAnsiConsole`, or `New*` factory helpers; adding or updating E2E fixtures under `tests/Recyclarr.Cli.IntegrationTests.E2E/`; editing `Fixtures/recyclarr.yml`, `metadata.json`, `cf/`, `cf-groups/`, or `quality-profiles/` fixture folders; running `Run-E2ETests.ps1` or `scripts/coverage.py`; investigating flaky tests, coverage gaps, or Testcontainers setup. Triggers on phrases like "write a test", "fix this test", "improve coverage", "add an E2E case", "mock this dependency", or any edit to `*.Tests.csproj` or files under `tests/**`.

概览

testing 是一个Agent Skill,收录自 SkillsMP。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

Agent Skill 是带 SKILL.md 的指令包。安装后,AI 会根据 description 在匹配任务时自动加载,无需每次手动粘贴提示词。

安装

选择你的平台查看安装方式

# 通用 CLI(Cursor / Claude Code / Codex 等均支持)
npx skills add recyclarr/recyclarr@testing

使用方式

安装完成后,在对话中直接描述你的任务(或提及技能名称)。Agent 会先读取 SKILL.md 的 description 判断是否启用,再按其中的步骤执行。可用 /skills(Claude Code)或在设置中查看已加载的 Skills。

相关资源

统一 Manifest

{
  "id": "io.github.recyclarr/recyclarr/testing",
  "type": "skill",
  "version": "master",
  "displayName": "testing",
  "description": "Use when writing, editing, refactoring, or debugging tests anywhere under `tests/**` (unit, integration, or end-to-end); authoring NUnit 4 test classes (`*Test`, `*IntegrationTest`); using NSubstitute mocks, AutoFixture with `[AutoMockData]` / `[InlineAutoMockData]` / `[Frozen]`, or AwesomeAssertions (NOT FluentAssertions); working with `CliIntegrationFixture`, `IntegrationTestFixture`, `MockFileSystem`, `TestableLogger`, `NUnitAnsiConsole`, or `New*` factory helpers; adding or updating E2E fixtures under `tests/Recyclarr.Cli.IntegrationTests.E2E/`; editing `Fixtures/recyclarr.yml`, `metadata.json`, `cf/`, `cf-groups/`, or `quality-profiles/` fixture folders; running `Run-E2ETests.ps1` or `scripts/coverage.py`; investigating flaky tests, coverage gaps, or Testcontainers setup. Triggers on phrases like \"write a test\", \"fix this test\", \"improve coverage\", \"add an E2E case\", \"mock this dependency\", or any edit to `*.Tests.csproj` or files under `tests/**`.",
  "author": {
    "name": "recyclarr",
    "url": "https://github.com/recyclarr"
  },
  "repository": {
    "url": "https://github.com/recyclarr/recyclarr",
    "source": "github",
    "subfolder": ".opencode/skills/testing"
  },
  "homepage": "https://skillsmp.com/skills/recyclarr-recyclarr-opencode-skills-testing-skill-md",
  "distribution": {
    "packages": [
      {
        "registryType": "source",
        "identifier": "recyclarr/recyclarr@testing",
        "version": "master",
        "runtimeHint": "npx skills add"
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "codex",
    "vscode"
  ],
  "keywords": [
    "stars:2001"
  ],
  "provenance": {
    "origin": "skillsmp",
    "originalId": "recyclarr-recyclarr-opencode-skills-testing-skill-md",
    "originalUrl": "https://skillsmp.com/skills/recyclarr-recyclarr-opencode-skills-testing-skill-md",
    "isOfficial": false,
    "status": "active"
  }
}
testing — Agent Skill 安装与配置 · AgentHub