add_tests SKILL.md skillA

add_tests from linkerdog/rara is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add linkerdog/rara/add_tests@git:20260512.3a03083

Pins git:20260512.3a03083 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
linkerdog/rara
Path
.agents/skills/add_tests/SKILL.md
Versions recorded
3
Latest version
git:20260512.3a03083, committed May 12, 2026
First version recorded
Apr 20, 2026
Size
7,598 bytes
Repository stars
17
License
Apache-2.0

Add or update tests for the RARA codebase. Use when implementing non-trivial behavior changes, fixing regressions, tightening TUI rendering, or adding repo-specific test coverage in Rust. Especially relevant for focused unit tests, TUI snapshot tests, agent/runtime regressions, and behavior-driven test updates in this repository.

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

# Add Tests For RARA

Use this skill when a change in `rara` needs test coverage or when an existing failing behavior should be captured with a regression test.

## Goals

- Prefer focused, behavior-driven tests over broad integration churn.
- Capture the real regression first, then add only enough setup to make the failure explicit.
- Keep tests aligned with the repository's TUI, runtime, and local-first architecture.

## Default Testing Strategy

For a non-trivial change, choose the narrowest useful test surface:

1. Pure helper logic:
   - Add a unit test next to the helper.
   - Prefer direct function assertions.

2. TUI event or state transitions:
   - Add tests in `src/tui/runtime/events.rs`, `src/tui/state.rs`, or the nearest focused module.
   - Assert on structured state, not incidental strings, unless the visible text is the contract.

3. TUI rendering contracts:
   - Use focused render tests in `src/tui/render/*`.
   - Use snapshot tests when layout, ordering, labels, or visual grouping are the contract.
   - Keep snapshots stable and intentionally small.

4. Agent / planning / transcript regressions:
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add linkerdog/rara/add_tests@sha256:62f05dbd704270e8

The line at the top of this page pins the label git:20260512.3a03083, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_hqdquravjqi6qgnc.svg)](https://markdownregistry.com/a/art_hqdquravjqi6qgnc)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Apr 20, 2026 and May 12, 2026, about one every 11 days.

versioncommittedcommitsizeaudit
git:20260512.3a03083 latest2026-05-12 3a03083 7,598 BA view · diff
git:20260506.06844ff2026-05-06 06844ff 6,175 BA view · diff
git:20260420.4134b852026-04-20 4134b85 4,922 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7598 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

GitHub

linkerdog/rara · 17 stars · license Apache-2.0 · pushed 2026-10-26 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_hqdquravjqi6qgnc
GET https://markdownregistry.com/api/v1/resolve?ref=linkerdog/rara/add_tests
GET https://markdownregistry.com/api/v1/blob/62f05dbd704270e861dcd1abbd19bc0137493c2d9f49001184ac079d02d16871

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 linkerdog/rara

context-cache-management SKILL.md skill
linkerdog/rara · .agents/skills/context-cache-management/SKILL.md · Extend RARA context compression, provider cache behavior, memory placement, or model context budgeting while preserving…
git:20260506.4e0a138 · audit A · 17 stars
handle-unused-code SKILL.md skill
linkerdog/rara · .agents/skills/handle-unused-code/SKILL.md · Handle unused code warnings by investigating purpose via journals, then choose the right fix: suppress, wire-up, or…
git:20260611.d9a3cd5 · audit A · 17 stars
project-github-titles SKILL.md skill
linkerdog/rara · .agents/skills/project-github-titles/SKILL.md · Use when preparing commit messages, pull request titles, or first-line summaries for the RARA repository. Enforces the…
git:20260512.3a03083 · audit A · 17 stars
rara-codebase SKILL.md skill
linkerdog/rara · .agents/skills/rara-codebase/SKILL.md · Use when you need to understand the RARA codebase structure — what each file does, where subsystems live, and how they…
git:20260727.f48e907 · audit A · 17 stars
rara-docs-journal SKILL.md skill
linkerdog/rara · .agents/skills/rara-docs-journal/SKILL.md · Use when creating, updating, or reviewing RARA implementation journals under docs/journal/. Applies to dated rollout…
git:20260512.3a03083 · audit A · 17 stars
rara-docs-spec SKILL.md skill
linkerdog/rara · .agents/skills/rara-docs-spec/SKILL.md · Use when creating, revising, or reviewing RARA canonical feature specs under docs/features/. Applies to stable runtime…
git:20260512.3a03083 · audit A · 17 stars
release-rara SKILL.md skill
linkerdog/rara · .agents/skills/release-rara/SKILL.md · Use when preparing, validating, tagging, or troubleshooting a RARA release. Enforces the release order that prevents…
git:20260706.5853a8e · audit A · 17 stars
support-acp SKILL.md skill
linkerdog/rara · .agents/skills/support-acp/SKILL.md · Guide for building external clients (IDE plugins, agents) that integrate with RARA via the Agent Client Protocol (ACP)…
git:20260509.481d119 · audit A · 17 stars
AGENTS.md AGENTS.md file
linkerdog/rara · AGENTS.md
git:20260917.4c79bb8 · audit A · 17 stars

Every file in linkerdog/rara

Browse by kind, by grade A, or by owner.