Align tests

From c9r-io/orchestrator · View interactive version

Align tests is an AI agent skill from the GitHub repository c9r-io/orchestrator. Execute formatting and unit-test alignment after large refactors or broad code changes. Trigger when the user explicitly uses the command "-- 对齐测试 --" or asks to align/fix tests after massive modifications. Run formatters, fix code style, run relevant unit tests, analyze failing test cases, update t

How to use this skill

Skill file

Align Tests

Run a strict formatting + test-alignment workflow after major refactors.

In this repository, discover Rust workspace commands from Cargo.toml and frontend commands from gui/package.json. For other targets, derive commands from their own build files before running anything.

Workflow

  1. Scope the impacted areas.
  1. Run formatters and fix code style.
  1. Run unit tests first, then broaden.
  1. Analyze failures by root cause.
  1. Apply fixes with minimal blast radius.
  1. Re-run and converge.
  1. Run and fix lint + warnings.
  1. Re-run formatters before final verification.
  1. Final verification.
  1. Report outcome clearly.

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.