Mcaf testing

From managedcode/PrompterOne · View interactive version

Mcaf testing is an AI agent skill from the GitHub repository managedcode/PrompterOne. Add or update automated tests for a change using the repository’s verification rules in `AGENTS.md`. Use when implementing a feature, bugfix, refactor, or regression test; prefer stable integration/API/UI coverage and pull deeper test strategy from the bundled references.

How to use this skill

Skill file

MCAF: Testing

Trigger On

Value

Do Not Use For

Inputs

Quick Start

  1. Read the nearest AGENTS.md and confirm scope and constraints.
  2. Run this skill's Workflow through the Ralph Loop until outcomes are acceptable.
  3. Return the Required Result Format with concrete artifacts and verification evidence.

Workflow

  1. Read the repo’s real verification commands from AGENTS.md.
  2. Start with a failing test first when the change adds behaviour or fixes a bug.
  3. Start with the smallest meaningful test scope:
  1. When the stack is .NET, use the external .NET skills from the Managed Code Skills catalog, use mcaf-dotnet as the orchestration skill when the task spans code, tests, and verification, and route framework mechanics through exactly one matching skill:
  1. Prefer integration, API, or UI coverage when behaviour crosses boundaries.
  2. Prove the user flow or caller-visible system flow, not just internal details.
  3. Add a regression test for every bug that can be captured reliably.
  4. If the stack is .NET and production code changed, do not stop at tests only. Finish with the repo-defined format and analyzer pass as well.
  5. Use deeper testing references only when the repo’s current strategy is unclear.

Deliver

Validate

Ralph Loop

Use the Ralph Loop for every task, including docs, architecture, testing, and tooling work.

  1. Brainstorm first (mandatory):
  1. Plan second (mandatory):
  1. Execute one planned step and produce a concrete delta.
  2. Review the result and capture findings with actionable next fixes.
  3. Apply fixes in small batches and rerun the relevant checks or review steps.
  4. Update the plan after each iteration.
  5. Repeat until outcomes are acceptable or only explicit exceptions remain.
  6. If a dependency is missing, bootstrap it or return status: not_applicable with explicit reason and fallback path.

Required Result Format

For setup-only requests with no execution, return status: configured and exact next commands.

Load References

Example Requests

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.