garynair

Prompting Frameworks — Testing skill for Claude Code

Testing community

Four Claude/Cowork skills for structuring and QA'ing prompts: ART (refining vague asks), ICIO (structuring production API prompts), CoT (multi-factor judgment reasoning), and Reflexion (draft-critique.

How to install Prompting Frameworks

This entry records only its repository, not the path inside it, so there is no exact command to give. Open garynair/prompting-frameworks and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Prompting Frameworks does

Four Claude/Cowork skills for structuring and QA'ing prompts: ART (refining vague asks), ICIO (structuring production API prompts), CoT (multi-factor judgment reasoning), and Reflexion (draft-critique-revise QA loop).

Alternatives in Testing

  • Test Runner — Run Python tests with pytest, unittest, or other testing frameworks 23.4k ★
  • Pua — Use when the user invokes /pua or asks for PUA mode, try-harder/retry help, change-approach coaching, completi 19.5k ★
  • Test Skill — Test a skill with 3 prompts to validate quality 339 ★

README

Prompting Frameworks

Four Claude/Cowork skills for structuring and QA'ing prompts, built around GRC and audit-facing work but generally applicable. Each `.skill` file is a ready-to-install package (zip a folder containing `SKILL.md` — the standard Claude Code / Cowork skill format); import it directly, or read the `SKILL.md` inside for the technique on its own.

See `AI_Prompting_Frameworks_Reference_Guide.docx` for the full writeup tying all four together.

The four skills

Skill Use it for
art-framework-prompting.skill Refining a vague, underspecified one-line ask before acting on it — a personal convention, not an industry-standard framework
icio-framework-prompting.skill Structuring production LLM/API prompts (Instruction / Context / Input data / Output format) for pipelines where parseable output matters — n8n steps, scoring calls, structured DB writes
cot-framework-prompting.skill Chain-of-Thought reasoning for multi-factor judgment calls (risk tiering, control effectiveness ratings, severity classification) before committing to a verdict — this one is a real, citable industry-standard technique, safe to reference by name in client-facing material
reflexion-self-critique.skill A single-pass draft → critique-against-rubric → revise loop for any deliverable before finalizing it — audit findings, client memos, training content

**ART vs ICIO vs CoT vs Reflexion, in one line each:**

  • ART = sharpening what you ask Claude, conversationally
  • ICIO = structuring a prompt that runs unattended against an API/parser
  • CoT = forcing explicit reasoning before a judgment call
  • Reflexion = QA'ing a finished draft against an explicit rubric before shipping it

ART and ICIO are personal conventions (not external frameworks — don't cite them as industry standard in client-facing material). CoT is a real, citable technique. Reflexion is a lightweight, single-model variant of self-critique prompting.

Install

Each `.