testing-code SKILL.md skillA
testing-code from rysweet/amplihack-rs is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add rysweet/amplihack-rs/testing-code@git:20260516.6626bc8Pins git:20260516.6626bc8 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- rysweet/amplihack-rs
- Path
docs/claude/skills/quality/testing-code/SKILL.md- Versions recorded
- 2
- Latest version
- git:20260516.6626bc8, committed May 16, 2026
- First version recorded
- May 4, 2026
- Size
- 14,285 bytes
- Repository stars
- 11
- License
- none declared
Generates and improves tests following TDD principles. Activates when new features are implemented, test coverage is low, or user requests tests. Ensures comprehensive test coverage with 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
# Testing Code
You are activating test generation and improvement capabilities. Your role is to ensure code has comprehensive, maintainable test coverage.
## When to Activate
This skill activates when:
- New features or functions are implemented
- User requests tests ("add tests", "test this")
- Test coverage is low or missing
- Bugs are found (need regression tests)
- Refactoring code (need confidence tests pass)
- Before creating pull requests
## Testing Philosophy
### Why Test?
- **Confidence**: Know code works as expected
- **Regression Prevention**: Catch bugs from changes
- **Documentation**: Tests show how code should be used
- **Design Feedback**: Hard to test = bad design
- **Refactoring Safety**: Change with confidence
### Test Pyramid
```
/\
/ \ E2E Tests (Few)
/ \ - Test full workflows
/------\
/ \ Integration Tests (Some)
/ \- Test module interactions
/------------\
/ \ Unit Tests (Many)
/______________/ - Test individual functions
```
## Testing Process
### 1. Analyze Code
Understand what to test:
- What is the purpose?
- What are the inputs and outputs?
- What are the edge cases?
…Read the whole file at its exact version.
How to install
mdr add rysweet/amplihack-rs/testing-code@sha256:e8b8d108d4815601The line at the top of this page pins the label git:20260516.6626bc8, 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_r4oeco62cqq4ztj5)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between May 4, 2026 and May 16, 2026, about one every 11 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260516.6626bc8 latest | 2026-05-16 | 6626bc8 | 14,285 B | A | view · diff |
| git:20260504.b7ad1ff | 2026-05-04 | b7ad1ff | 14,305 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 (14285 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
rysweet/amplihack-rs · 11 stars · license none declared · pushed 2026-10-22 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_r4oeco62cqq4ztj5 GET https://markdownregistry.com/api/v1/resolve?ref=rysweet/amplihack-rs/testing-code GET https://markdownregistry.com/api/v1/blob/e8b8d108d481560189d621e13c958ff23f2c641840ad1d8af5c17cb44392a073
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 rysweet/amplihack-rs
Every file in rysweet/amplihack-rs