Integration Playground

Create a disposable fixture environment for safely exercising Skills against local APIs, data, and files; use when testing a Skill with isolated local fixtures.

quantumquirkxyz Updated

File contents

Integration Playground

Contract

  • Input: JSON fixture definition, an optional executable plus argument array, and a temporary output directory.
  • Output: disposable playground directory; when a command is supplied, its exit status, stdout, stderr, and command evidence.
  • Boundary: output must be under the system temporary directory; only Node.js commands run with a minimal environment and commands never pass through a shell.

Run node .agents/skills/platform/skill-lab.mjs playground --output /tmp/quirk-playground --fixtures '{"api":{"status":"ok"}}' --command '["node","script.mjs"]'. Never point it at a production directory or pass credentials into a playground command.

quantumquirkxyz/skills-quirk/tree/main/.agents/skills/auxiliary/integration-playground commit 64263ae9f4

Frequently asked questions

npx skillmds@latest add quantumquirkxyz/integration-playground