Designing Tests
CloudAI-X/opencode-workflow
Guides test strategy, TDD/BDD approaches, test coverage planning, and testing best practices.
Audit CWS (runtime-security) iouring functional-test coverage and add a functional test for any iouring opcode whose operation CWS observes but that is not exercised through iouring.
$ npx skills add DataDog/datadog-agent --skill cws-iouring-coverage -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install DataDog/datadog-agent cws-iouring-coverage --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/DataDog/datadog-agent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/cws-iouring-coverage .claude/skills/cws-iouring-coverage && 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 "cws-iouring-coverage" agent skill from https://github.com/DataDog/datadog-agent/tree/main/.agents/skills/cws-iouring-coverage into .claude/skills/cws-iouring-coverage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cws-iouring-coverage", 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/DataDog/datadog-agent/tree/main/.agents/skills/cws-iouring-coverageType 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 DataDog/datadog-agent --skill cws-iouring-coverage -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install DataDog/datadog-agent cws-iouring-coverage --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/DataDog/datadog-agent.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/cws-iouring-coverage .agents/skills/cws-iouring-coverage && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cws-iouring-coverage" agent skill from https://github.com/DataDog/datadog-agent/tree/main/.agents/skills/cws-iouring-coverage into .agents/skills/cws-iouring-coverage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cws-iouring-coverage", 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 DataDog/datadog-agent --skill cws-iouring-coverage -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install DataDog/datadog-agent cws-iouring-coverage --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/DataDog/datadog-agent.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/cws-iouring-coverage .cursor/skills/cws-iouring-coverage && 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 "cws-iouring-coverage" agent skill from https://github.com/DataDog/datadog-agent/tree/main/.agents/skills/cws-iouring-coverage into .cursor/skills/cws-iouring-coverage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cws-iouring-coverage", 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/DataDog/datadog-agent.git --path .agents/skills/cws-iouring-coverage--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 DataDog/datadog-agent --skill cws-iouring-coverage -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install DataDog/datadog-agent cws-iouring-coverage --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/DataDog/datadog-agent.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/cws-iouring-coverage .gemini/skills/cws-iouring-coverage && 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 "cws-iouring-coverage" agent skill from https://github.com/DataDog/datadog-agent/tree/main/.agents/skills/cws-iouring-coverage into .gemini/skills/cws-iouring-coverage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cws-iouring-coverage", 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 DataDog/datadog-agent cws-iouring-coverageInstalls 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 DataDog/datadog-agent --skill cws-iouring-coverage -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/DataDog/datadog-agent.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/cws-iouring-coverage .github/skills/cws-iouring-coverage && 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 "cws-iouring-coverage" agent skill from https://github.com/DataDog/datadog-agent/tree/main/.agents/skills/cws-iouring-coverage into .github/skills/cws-iouring-coverage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cws-iouring-coverage", 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 DataDog/datadog-agent --skill cws-iouring-coverage -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install DataDog/datadog-agent cws-iouring-coverage --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/DataDog/datadog-agent.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/cws-iouring-coverage .opencode/skills/cws-iouring-coverage && 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 "cws-iouring-coverage" agent skill from https://github.com/DataDog/datadog-agent/tree/main/.agents/skills/cws-iouring-coverage into .opencode/skills/cws-iouring-coverage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cws-iouring-coverage", 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.
cws-iouring-coverageAudit CWS (runtime-security) iouring functional-test coverage and add a functional test for any iouring opcode whose operation CWS observes but that is not exercised through iouring.
Cws Iouring Coverage is an agent skill from DataDog/datadog-agent, published by the product's own GitHub organization. Audit CWS (runtime-security) iouring functional-test coverage and add a functional test for any iouring opcode whose operation CWS observes but that is not exercised through iouring. Test-driven — coverage is judged by tests, never by reading eBPF/hook internals. Use when auditing iouring test coverage or after new IORINGOP opcodes appear.
Its SKILL.md is about 1.2k 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 coverage and Test-driven development. The repository describes itself as: Main repository for Datadog Agent. The licence is Apache-2.0.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 20eff25. 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:
goFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
man7.orgFrom 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.
Cws Iouring Coverage loads about 1.2k tokens when it runs. Until then it costs about 92 tokens; SKILL.md has 567 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 DataDog/datadog-agent at commit 20eff25, republished under its Apache-2.0 licence (© DataDog). 567 words, ~1,151 tokens.
.claude/skills/cws-iouring-coverage/SKILL.md (or your agent's skills folder).For every io_uring operation CWS observes, there must be a functional test that issues the operation through io_uring and asserts the event fires. This skill finds the gaps and fills them.
Coverage is decided by tests, nothing else. Do not read eBPF programs or C hooks (anything
under pkg/security/ebpf/) to judge coverage — implementation is out of scope and misleads.
The only question is: does an io_uring test exist for this operation, and does it pass?
The one io_uring-specific fact (it's a test assertion, not implementation): io_uring completes
asynchronously, so every io_uring test must assert event.async == true.
List A — io_uring opcodes. WebFetch https://man7.org/linux/man-pages/man2/io_uring_enter.2.html
and list every IORING_OP_* with the syscall it performs (e.g. IORING_OP_SOCKET → socket(2)).
Offline fallback: the iouring-go fork is replaced in go.mod — import path stays
github.com/iceber/iouring-go, but source on disk is under
$(go env GOMODCACHE)/github.com/lebauce/iouring-go@*/syscall/types.go.
List B — tested syscalls. Read pkg/security/tests/. A syscall is tested when a test
issues it as the triggering action (inside the func() error {…} passed to
WaitSignal/runSyscallTester) and asserts an event — not when it only appears as setup.
Build the list from test bodies, not event names: the asserted event may be named differently.
List C — tested io_uring opcodes. grep -rn 'iouring\.\|io_uring' pkg/security/tests/*.go.
Mostly t.Run("io_uring", …) subtests plus a few standalone funcs.
Conclude, per opcode in A:
Write a test for every gap.
Model on an existing subtest (open_test.go → t.Run("io_uring", …)). For each gap:
testsuite. Many rules are scoped to
process.file.name == "syscall_tester"; reuse the parent rule only if it already admits
testsuite (e.g. in [ "syscall_tester", "testsuite" ]), otherwise add a new rule scoped to
process.file.name == "testsuite". Check the parent's ruleDefs first.iour, err := iouring.New(1); submit the op; read the result; in the validation
callback assert event type, key fields, and event.async == true.checkKernelCompatibility(t, "io_uring <op> needs Linux X.Y", func(kv *kernel.Version) bool { return kv.Code < kernel.VersionCode(X, Y, 0) }).
Don't skip on a negative errno — a malformed raw SQE returns one too, so skipping would hide
the gap behind a green test. On a supported kernel, treat an unexpected negative result as a
failure (return fmt.Errorf(...)). (A library prep helper can't be malformed, so an
errno skip there is harmless.)available list (~-prefixed
entries) in pkg/security/tests/main_linux.go — those prefix-match subtests and pull yours
into the ebpfless run, where io_uring is unsupported. If so, add an exclude entry. The
match is exact on the full t.Name(), so prefer a flat sibling name
(TestOpen/io_uring_ftruncate, not a nested TestOpen/io_uring/ftruncate).No prep helper in the fork? The fork wraps only a subset. For other opcodes build a raw SQE
with a custom iouring.PrepRequest using the helpers in pkg/security/tests/iouring_test.go
(extend them as needed). This is the one place you may touch an opcode's low-level shape.
gofmt -l <your files> (no output = OK).dda inv security-agent.functional-tests --skip-linters --testflags="-test.run <YourTest>".
Green = covered, red = the gap is real.Report the per-opcode classification (out of scope / tested / gap) and the test files added or changed.
© DataDog, Apache-2.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 .agents/skills/cws-iouring-coverage of DataDog/datadog-agent.
Open the folder on GitHubat commit 20eff25
Cws Iouring Coverage 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 |
|---|---|---|---|---|---|---|
| Cws Iouring Coverage this skillDataDog/datadog-agent | 3.8k | — | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| 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 | |
| Test Writerhamzafarooq/claude-code-starter | 145 | — | ~345 | Automated safety check: Pass | MIT | |
| Manual Test Planningtestdouble/han | 279 | — | ~2.9k | Automated safety check: Pass | MIT | |
| Test Experteinverne/dotfiles | 121 | — | ~2.3k | Automated safety check: Pass | GPL-3.0 |
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.
hamzafarooq/claude-code-starter
Write unit tests for any function — happy path, edge cases, and error cases.
testdouble/han
Produce a plain-language manual test plan from the context supplied to it — an executive summary, a high-level list of named tests, and a detail section per test with the steps a person follows by…
einverne/dotfiles
Testing methodologies, test-driven development (TDD), unit and integration testing, and testing best practices across multiple frameworks.
ayoubben18/ab-method
Add retroactive test coverage for code that was not written test-first.
DataDog/datadog-agent
Classify a failed CI as either caused by an active incident, flakiness, or a true code regression.
DataDog/datadog-agent
Run a structured discovery session to build an Allium specification through conversation.
DataDog/datadog-agent
Monitor the current PR's GitLab pipeline to completion, then report success, auto-fix, or investigate a failure.
DataDog/datadog-agent
A skill your agent uses when an engineer or manager asks to recap, summarize, or post an update on a Jira Epic — a progress update for an in-progress Epic (how far along it is, what's shipped so…
DataDog/datadog-agent
Explains a lading.yaml config file from the regression test suite, using the lading Rust source as ground truth for field meanings and defaults.
DataDog/datadog-agent
Extract an Allium specification from an existing codebase. An agent skill from DataDog/datadog-agent.
Categories
Audit CWS (runtime-security) iouring functional-test coverage and add a functional test for any iouring opcode whose operation CWS observes but that is not exercised through iouring. Cws Iouring Coverage is an agent skill from DataDog/datadog-agent, published by the product's own GitHub organization. Audit CWS (runtime-security) iouring functional-test coverage and add a functional test for any iouring opcode whose operation CWS observes but that is not exercised through iouring.
Cws Iouring Coverage fits situations like: auditing iouring test coverage; after new IORINGOP opcodes appear.
Run `npx skills add DataDog/datadog-agent --skill cws-iouring-coverage -a claude-code`. Or copy the skill folder (.agents/skills/cws-iouring-coverage in DataDog/datadog-agent) into .claude/skills/cws-iouring-coverage in your project. Claude Code loads it when a task matches its description.
Run `npx skills add DataDog/datadog-agent --skill cws-iouring-coverage -a codex`. Or copy the skill folder (.agents/skills/cws-iouring-coverage in DataDog/datadog-agent) into .agents/skills/cws-iouring-coverage 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 DataDog/datadog-agent --skill cws-iouring-coverage -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cws-iouring-coverage, .gemini/skills/cws-iouring-coverage, .github/skills/cws-iouring-coverage and .opencode/skills/cws-iouring-coverage in your project.
Going by SKILL.md and its folder, Cws Iouring Coverage needs the command-line tools its instructions call (go).
SKILL.md names 1 domain. In commands or code: man7.org; the agent is likely to contact it when it follows the instructions. 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.
Cws Iouring Coverage is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.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 Cws Iouring Coverage: Designing Tests (CloudAI-X/opencode-workflow, 275 stars), Automated Test Planning (testdouble/han, 279 stars), Test Writer (hamzafarooq/claude-code-starter, 145 stars) and Manual Test Planning (testdouble/han, 279 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
DataDog (a GitHub organization, an official publisher) maintains it in DataDog/datadog-agent, which has 3,757 GitHub stars. The repository holds 35 skills in this directory. The repository was last updated on October 8, 2026.
Source: DataDog/datadog-agent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.