Skip to content
Back to skills

Ar Contract Tests

ASecurity

Contract tests and fixtures for Agent Router: reproduce failures, define negative cases and verify externally observable JSON and hook behavior.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agentsgo

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add FlorianBruniaux/agent-router --skill ar-contract-tests --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ar Contract Tests?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ar Contract Tests
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/florianbruniaux-ar-contract-tests/badge)](https://www.skillsdirectory.com/skills/florianbruniaux-ar-contract-tests)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ar-contract-tests
description: "Contract tests and fixtures for Agent Router: reproduce failures, define negative cases and verify externally observable JSON and hook behavior."
---

# ar-contract-tests

## Triggers

Adding a regression, protocol fixture or test for a specified behavior.

## Non-triggers

Running the entire release gate without a test change, architecture redesign.

## Inputs

Reproduction, expected output or exit code, owning crate and fixture provenance.

## Steps

1. Reproduce the failing public behavior with sanitized deterministic inputs. Done when the expected assertion fails for the right reason.
2. Cover success, no-op, invalid input, unavailable dependency and refusal when applicable. Done when each case maps to an assertion on output or effects.
3. Run the owning test target and inspect fixture differences. Done when the regression passes without changing unrelated snapshots.

## Checks

Run from the repository root, using `rtk` when available.

```sh
cargo test -p xtask --locked
cargo test -p router-policy --test fixture_matrix --locked
cargo test -p agent-router-cli --locked
```

## Stop

Never copy provider responses, credentials or personal data into fixtures. Missing expected behavior must be resolved before recording a golden file.

This is a textual skill, not an executable extension. Host permissions still apply.

Files in this skill

  • SKILL.md1.3 KB
  • evals/scenarios.json520 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.