testing-skills-with-subagents

Test skills with subagents under pressure scenarios to close loopholes.

68|6|Updated Apr 16, 2020
One-click install
npx skills add https://github.com/zenobi-us/dotfiles --skill testing-skills-with-subagents-zenobi-us
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-skills-with-subagents
Source: https://github.com/zenobi-us/dotfiles/tree/main/devtools/files/opencode/skills/testing-skills-with-subagents
Command: npx skills add https://github.com/zenobi-us/dotfiles --skill testing-skills-with-subagents-zenobi-us

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solves? Skills, especially those enforcing discipline, can be bypassed by AI agents under pressure or through rationalization, leading to inconsistent behavior and suboptimal outcomes.

Core Features & Use Cases

  • TDD for Documentation: Applies the Red-Green-Refactor cycle to process documentation, ensuring skills are effective.
  • Pressure Scenario Testing: Runs baseline tests without the skill, then with, to identify and address agent rationalizations.
  • Loophole Closure: Systematically refactors skills to explicitly counter common excuses, making them bulletproof against bypass.
  • Use Case: You've created a new test-driven-development skill but need to ensure agents will follow it even under extreme time pressure. Use this Skill to create pressure scenarios, test the skill with subagents, and refine it until it's bulletproof against rationalization.

Quick Start

Use the testing-skills-with-subagents skill to test your new 'code-review-guidelines' skill, starting with a baseline test to see how agents behave without it.

Frequently Asked Questions about testing-skills-with-subagents

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

FAQPage Schema
How do I test if my AI skills will actually follow discipline rules under pressure?

Test-driven development for skills uses baseline testing without the skill, then with it, to reveal whether agents rationalize or bypass your rules. This pressure scenario testing exposes loopholes before deployment, ensuring your skill holds up under real constraints.

Can I automate testing of GitHub pull request review workflows with subagents?

Yes. This skill automates GitHub PR review resolution by processing all comments, creating separate commits per thread and CI check type, and achieving zero unresolved threads—all while testing whether your skills enforce their own requirements.

What's the best way to make compliance skills bulletproof against agent rationalization?

Systematically refactor skills to counter common excuses through loophole closure. Test against subagents under pressure scenarios, then iterate until the skill explicitly blocks every bypass path agents might take.

How do I apply test-driven development to documentation and skill design?

Use the Red-Green-Refactor cycle on documentation: write failing tests first, verify the skill doesn't meet them, then refactor until it does. This ensures your skills are effective and resistant to rationalization.

Can I test an existing skill like code-review-guidelines to ensure agents follow it?

Yes. Start with a baseline test to see how agents behave without the skill, then run the same test with it enabled. Compare results to identify rationalization patterns and refine the skill to close gaps.