generate-tests SKILL.md skillA
generate-tests from coco-research/coco is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add coco-research/coco/generate-tests@v0.1.0Pins v0.1.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- coco-research/coco
- Path
skills/generate-tests/SKILL.md- Versions recorded
- 2
- Latest version
- v0.1.0, committed Sep 14, 2026
- First version recorded
- Apr 26, 2026
- Size
- 6,833 bytes
- Repository stars
- 629
- License
- Apache-2.0
Use when asked to generate tests for a file, module or component, to raise coverage, or to bootstrap a suite for untested code. Detects the project's test framework and conventions first, then writes unit, integration and edge-case tests.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Generate Tests — Comprehensive Test Suite Generator Generate complete test coverage for any file, component, or module. Covers unit tests, integration tests, edge cases, error handling, and mocking — adapted to whatever testing framework the project uses. **Use when**: you want tests generated for a file or component, need to improve test coverage, want edge case coverage, need mocks for external dependencies, or want to bootstrap a test suite for untested code. --- ## When This Skill Is Activated Follow every step below. Do NOT generate tests without first analyzing the project's testing setup and the target code. --- ## Step 1: Detect the Testing Setup Before writing any tests, discover the project's testing conventions: 1. **Find the test framework** — Check `package.json` (dependencies/scripts), or config files: - `jest.config.*` / `jest` key in `package.json` → Jest - `vitest.config.*` → Vitest - `cypress.config.*` → Cypress - `playwright.config.*` → Playwright - `pytest.ini` / `pyproject.toml` [tool.pytest] → pytest - `go.mod` → Go testing - `Cargo.toml` → Rust (#[cfg(test)]) …
Read the whole file at its exact version.
How to install
mdr add coco-research/coco/generate-tests@sha256:a8ea060969fabce3The line at the top of this page pins the label v0.1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_z5fnplxtihu7nad4)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Apr 26, 2026 and Sep 14, 2026, about one every 142 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v0.1.0 latest | 2026-09-14 | e75f220 | 6,833 B | A | view · diff |
| v0.1.0 | 2026-04-26 | d53cc6c | 6,800 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (6833 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
coco-research/coco · 629 stars · license Apache-2.0 · pushed 2026-11-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_z5fnplxtihu7nad4 GET https://markdownregistry.com/api/v1/resolve?ref=coco-research/coco/generate-tests GET https://markdownregistry.com/api/v1/blob/a8ea060969fabce3bac1a8094bccff9a73623d4979d87389fe2f495337482224
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from coco-research/coco
Every file in coco-research/coco