# Agent Friendly Commands

> Use these when you want low-noise lint/test output (good for LLM/CI logs) while staying aligned with repo policy.

- Skill: `majiayu000/agent-friendly-commands` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/agent-friendly-commands`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/agent-friendly-commands/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/agent-friendly-commands

---


## Goal

Run the same checks as CI with less ANSI noise and more compact reporters.

## Commands

- Lint (no ANSI): `npm run lint:agent`
- Unit/integration tests (Rust + UI): `npm run test:agent`
- Rust-only tests (nextest, CI profile): `npm run test:rust:agent`
- UI unit tests (Vitest, dot reporter): `npm run test:ui:agent`
- Smoke suite (builds first): `npm run test:smoke:agent`
- Smoke suite (no rebuild): `npm run test:smoke:quick:agent`

## When to use what

- Tight loop on a Rust failure: start with `npm run test:rust:agent`, then widen to `npm run test:agent`.
- Tight loop on a UI unit test: `npm run test:ui:agent -- -t "<substring>"`.
- Tight loop on smoke: `npm run test:smoke:quick:agent -- -t "<substring>"` (only if you already built recently).

## Notes

- These scripts use `scripts/agent.mjs` to set `NO_COLOR=1`, disable forced color, and use dot reporters for Vitest.
- Repo policy still applies: after code changes, the completion bar is `npm run lint`, `npm test`, `npm run smoke`.

