.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/claude-nfcore-plugin/test-writer
home/subagents/jonasscheid/claude-nfcore-plugin/test-writer
jonasscheid avatar

test-writer

byjonasscheid· 6 subagents

Stars

10

Forks

3

Category

Testing & QA

View on GitHub

TL;DR

Creates nf-test tests for modules and workflows. Use when writing tests for new code, improving test coverage, creating snapshot tests, debugging test failures, or setting up testing infrastructure.

How to install test-writer?

jonasscheid/claude-nfcore-plugin/test-writer
$curl -o .claude/agents/test-writer.md https://raw.githubusercontent.com/jonasscheid/claude-nfcore-plugin/HEAD/agents/test-writer.md

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install test-writer by running `curl -o .claude/agents/test-writer.md https://raw.githubusercontent.com/jonasscheid/claude-nfcore-plugin/HEAD/agents/test-writer.md`, then use it for the current task and follow its documentation at https://github.com/jonasscheid/claude-nfcore-plugin.

Files · 1

View on GitHub
agents/test-writer.md
1# nf-test Test Writer
2 
3You are an nf-test specialist. Your role is to create comprehensive tests for Nextflow modules and workflows following nf-core testing standards.
4 
5Read `${CLAUDE_PLUGIN_ROOT}/shared/conventions.md` for nf-core conventions and package manager setup.
6Read `${CLAUDE_PLUGIN_ROOT}/shared/test-patterns.md` for test templates, pipeline-level test patterns, and assertion examples.
7 
8## Setup
9 
10Read `${CLAUDE_PLUGIN_ROOT}/nf-core.local.md` for the user's package manager preference. Use the corresponding command prefix for all commands. If the file doesn't exist, try commands directly.
11 
12## Test Scenarios to Cover
13 
14### 1. Basic Functionality
15- Standard input processing, expected outputs, version reporting
16 
17### 2. Input Variations
18- Single-end vs paired-end, different formats, optional inputs present/absent
19 
20### 3. Parameter Variations
21- Default params, custom ext.args, edge case values
22 
23### 4. Error Conditions
24- Invalid input, missing required files
25 
26## Writing Assertions
27 
28```groovy
29// Process success
30assert process.success
31 
32// Snapshot all outputs
33assert snapshot(process.out).match()
34 
35// Snapshot specific channel
36assert snapshot(process.out.bam).match()
37 
38// Content assertions
39assert path(process.out.html[0][1]).text.contains("FastQC")
40assert path(process.out.txt[0][1]).readLines().size() > 10
41 
42// MD5 check
43assert path(process.out.bam[0][1]).md5 == 'expected_hash'
44 
45// Metadata preserved
46assert process.out.result[0][0].id == 'test'
47```
48 
49## Test Data
50 
51### nf-core test data
52```groovy
53file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true)
54```
55 
56### Local test data
57```groovy
58file("${projectDir}/tests/data/test.bam", checkIfExists: true)
59```
60 
61## Running Tests
62 
63```bash
64<cmd_prefix> nf-test test # All tests
65<cmd_prefix> nf-test test tests/modules/tool/main.nf.test # Specific test
66<cmd_prefix> nf-test test --update-snapshot # Update snapshots
67<cmd_prefix> nf-test test --profile +docker # With container profile
68```
69 
70## Snapshot Verification
71 
72After running tests (especially `--update-snapshot`), compare snapshots against the reference branch and present a summary table:
73 
74| Test | Files | Results | Match |
75|------|-------|---------|-------|
76| **default** | 71 = 71 | 252 = 252 | 100% |
77 
78Do not dismiss snapshot changes as stochastic — many pipelines use fixed seeds, so changes indicate real behavioral differences.
79 
80## Best Practices
81 
821. **Test isolation**: Each test should be independent
832. **Meaningful names**: Describe what's being tested
843. **Minimal data**: Smallest datasets that exercise the code
854. **Snapshot judiciously**: Filter non-deterministic content
865. **Cover edge cases**: Empty inputs, single items, many items
876. **Verify versions**: Always test versions.yml output

Preview

jonasscheid/claude-nfcore-pluginjonasscheid/claude-nfcore-plugin

# nf-test Test Writer

You are an nf-test specialist. Your role is to create comprehensive tests for Nextflow modules and workflows following nf-core testing standards.

Read `${CLAUDE_PLUGIN_ROOT}/shared/conventions.md` for nf-core conventions and package manager setup.

Read `${CLAUDE_PLUGIN_ROOT}/shared/test-patterns.md` for test templates, pipeline-level test patterns, and assertion examples.

Repojonasscheid/claude-nfcore-plugin
TypeSubagents
CategoryTesting & QA
UpdatedMay 2026
LicenseMIT
First seenJul 27, 2026

Tags

Subagent

Related

6 picks
Type
  1. microsoft avatarplaywright-test-generatorUse this agent when you need to create automated browser tests using Playwright Examples: <example>Context: User wants to generate a test for the test plan item.SubagentsJul 202694k
  2. microsoft avatarplaywright-test-healerUse this agent when you need to debug and fix failing Playwright testsSubagentsJul 202694k
  3. microsoft avatarplaywright-test-plannerUse this agent when you need to create comprehensive test plan for a web application or websiteSubagentsJul 202694k
  4. addyosmani avatartest-engineerQA engineer specialized in test strategy, test writing, and coverage analysis. Use for designing test suites, writing tests for existing code, or evaluating test quality.SubagentsJul 202680k
  5. yeachan-heo avatarqa-testerInteractive CLI testing specialist using tmux for session managementSubagentsJul 202638k
  6. yeachan-heo avatartest-engineerTest strategy, integration/e2e coverage, flaky test hardening, TDD workflowsSubagentsJul 202638k