testing-skills-with-subagents

Test skills using the RED-GREEN-REFACTOR cycle with pressure scenarios.

8|1|Updated Feb 25, 2022
One-click install
npx skills add https://github.com/ayubun/dotfiles --skill testing-skills-with-subagents-ayubun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-skills-with-subagents
Source: https://github.com/ayubun/dotfiles/tree/main/configs/opencode/skills/ed3d-extending-opencode/testing-skills-with-subagents
Command: npx skills add https://github.com/ayubun/dotfiles --skill testing-skills-with-subagents-ayubun

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill addresses the challenge of ensuring that skills are effective and agents comply with them under pressure, especially before deployment.

Core Features & Use Cases

  • RED-GREEN-REFACTOR Cycle: Provides a structured approach to skill testing, mirroring the TDD process.
  • Baseline Testing: Identifies failures without the skill to understand what needs preventing.
  • Skill Writing: Assists in creating minimal, effective skills that address specific failures.
  • Pressure Testing: Ensures agents follow rules even when tempted to break them.
  • Refactoring: Closes loopholes and strengthens the skill against new rationalizations.

Quick Start

Run the testing-skills-with-subagents skill to start the RED-GREEN-REFACTOR cycle for your skill.

Frequently Asked Questions about testing-skills-with-subagents

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

FAQPage Schema
How does TDD apply to process documentation and skill testing?

TDD applies to process documentation by using a RED-GREEN-REFACTOR cycle to test skills. This identifies baseline failures, writes minimal skills to fix them, and refactors to close loopholes against agent rationalizations.

What is the best way to ensure agent compliance under pressure?

The best way to ensure agent compliance under pressure is through structured pressure testing. This simulates realistic scenarios where agents are tempted to break rules, allowing you to close loopholes and strengthen the skill's effectiveness.

How do I start the RED-GREEN-REFACTOR cycle for skill testing?

To start the RED-GREEN-REFACTOR cycle for skill testing, run the testing framework. It begins with baseline testing to identify failures without the skill, then writes minimal skills to address those specific failures.

Why do I need baseline testing before writing an agent skill?

You need baseline testing before writing an agent skill to identify failures that occur without the skill. This establishes what specific problems need preventing and guides the creation of minimal, effective skills to address them.

How do I close loopholes in agent skills when rationalization occurs?

To close loopholes in agent skills when rationalization occurs, use the refactoring phase of the testing cycle. This strengthens the skill by analyzing rationalizations under pressure and updating the documentation to prevent future bypasses.

Can I test process documentation effectiveness before deployment?

Yes, you can test process documentation effectiveness before deployment by applying this skill testing framework. It subjects your skills to realistic pressure scenarios to verify compliance and close loopholes prior to release.