# Slate Ar Quality

> Slate Ar Quality is an Agent Skill for testing & quality published in the udecode/plate repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Slate v2 quality-gap Autoresearch shortcut. Runs deep-research and quality-gap loops for API/DX/architecture/test coverage gaps, then routes accepted findings to slate-patch, slate-plan, slate-ar-gate, or slate-ar-perf.

- Skill name: `slate-ar-quality`
- Category: [Testing & Quality](https://www.openparable.com/skill/testing-quality/1)
- Source: https://github.com/udecode/plate/blob/HEAD/.agents/skills/slate-ar-quality/SKILL.md
- Repository: udecode/plate (16,415 GitHub stars when collected)

## SKILL.md

# Slate AR Quality

Handle $ARGUMENTS by loading `slate-ar` and running its quality-gap mode.

Use this when the user wants to perfect a Slate v2 surface beyond a single bug:
API/DX gaps, architecture gaps, missing behavior coverage, docs/reference
holes, example quality, or broad "make this better" research.

## Contract

- Target cwd is `.tmp/slate-v2`.
- Use generic Codex Autoresearch research and quality-gap mechanics through
  `slate-ar`.
- Keep durable state under `.tmp/slate-v2/autoresearch.research/<slug>/`.
- `quality_gap=0` closes the current accepted checklist only. It does not mean
  discovery is permanently complete.

## Commands

Use Codex Autoresearch directly through the `slate-ar` wrapper:

```bash
<autoresearch-cli> research-setup --cwd .tmp/slate-v2 --slug "<slug>" --goal "<goal>"
<autoresearch-cli> quality-gap --cwd .tmp/slate-v2 --research-slug "<slug>" --list
<autoresearch-cli> gap-candidates --cwd .tmp/slate-v2 --research-slug "<slug>"
```

Use `gap-candidates --apply` only after inspecting the candidates and deciding
the write scope is safe.

## Routing

- Correctness gap with missing oracle: `slate-patch`.
- Test/behavior suite gap where the oracle exists: `slate-ar-gate`.
- Performance gap: `slate-ar-perf`.
- Public API/runtime architecture gap: `slate-plan`.
- Generic measured loop gap: `slate-ar`.

Do not use this as a substitute for a direct bug fix. If the failing behavior is
already known and reproducible, use `slate-patch`.

---

Source: https://www.openparable.com/skill/testing-quality/slate-ar-quality (OpenParable). Cite the canonical URL above.
