code-review-testing

Guide integration and unit test design for agent code.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/mithran-hq/aegis-code --skill code-review-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review-testing
Source: https://github.com/mithran-hq/aegis-code/tree/main/.codex/skills/code-review-testing
Command: npx skills add https://github.com/mithran-hq/aegis-code --skill code-review-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Guides developers in creating effective test suites for agent code, ensuring reliability and correctness in modifications.

Core Features & Use Cases

  • Test Authoring Guidance: Provides best practices for designing integration and unit tests for agent components.
  • Test Placement Advice: Recommends organizing tests in dedicated files, promoting maintainability.
  • Use Case: When updating agent logic, follow the guidance to add comprehensive tests that cover key behaviors and prevent regressions.

Quick Start

Refer to the existing test helpers and add an integration test for your latest agent feature following the provided standards.

Frequently Asked Questions about code-review-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write effective tests for agent code?

To write effective tests for agent code, follow provided best practices for designing comprehensive integration and unit tests that validate key behaviors and prevent regressions. Use existing test helpers to streamline creation.

What's the best way to organize unit and integration tests for agents?

The best way to organize unit and integration tests is by placing them in dedicated files. This test placement advice promotes maintainability and ensures your agent test suites remain structured as logic evolves.

When should I use integration tests versus unit tests for agent components?

Use integration tests versus unit tests based on targeted testing strategies for your agent components. Integration tests validate interacting modules, while unit tests isolate specific functions to ensure correctness in modifications.

Do I need test helpers to streamline agent test creation?

You need test helpers to streamline agent test creation by providing reusable components for your test suites. Referencing existing helpers allows you to quickly add integration tests following established standards.

Why does adding tests prevent regressions in agent logic?

Adding tests prevents regressions in agent logic by ensuring changes are validated through appropriate testing frameworks. Comprehensive test suites cover key behaviors, confirming reliability and correctness before deployment.