Test

From g2i-ai/agents · View interactive version

Test is an AI agent skill from the GitHub repository g2i-ai/agents. Behavior-first test guidance.

How to use this skill

Skill file

Test

Invocation

This skill is performed in the Developer persona. If you are not already running as Developer (for example, the user invoked /test directly), read subagents/developer.md and adopt its role guidance for the rest of this task. Stay in the current chat—do not delegate to a subagent.

Objective

Write or improve tests that defend real user-visible behavior without encoding broken behavior as correct.

Core Rules

Naming Guidance

Repo Conventions

Bug Discovery Protocol

  1. A failing test that exposes a real bug is a useful deliverable.
  2. If the observed behavior looks wrong, ask whether it is intentional before turning it into the asserted contract.
  3. Fix the application behavior when it is in scope.
  4. If the bug is out of scope, document the gap clearly instead of pretending the behavior is correct.

Review Checklist

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.