Instructor qa

From cognesy/instructor-php · View interactive version

Instructor qa is an AI agent skill from the GitHub repository cognesy/instructor-php. Run multi-dimensional quality assurance for InstructorPHP. Use when asked to validate a change, assess production readiness, reproduce CI failures, harden a PR, choose the right verification commands, or investigate regressions across tests, static analysis, docs QA, dependency compatibility, and lo

How to use this skill

Skill file

Instructor QA

This skill is the repo-local quality assurance specialist for InstructorPHP. It chooses the smallest sufficient verification set for simple work, and for complex or multi-step QA it turns the work into a deterministic bd plan and executes it methodically.

Treat these files as source of truth:

Read references/scenarios.md when you need the scenario-to-command mapping or the complex QA playbooks.

When To Use

Use this skill when the user asks to:

Working Model

Start by classifying the request into one or more QA lanes:

Prefer the smallest sufficient lane set first. Expand only when the risk profile justifies it.

Default Execution Flow

  1. Read the request, changed files, and the relevant sections of QUALITY.md.
  2. Identify risk shape:
  1. Choose the minimum verification bundle that can falsify the risky assumptions.
  2. Run checks from fast/high-signal to broader/slower.
  3. Separate failures caused by the current change from pre-existing repository debt.
  4. Report exactly what ran, what passed, what failed, what was skipped, and the residual risk.

Deterministic `bd` Path

For complex QA, do not keep the work as loose shell exploration. Build and execute a deterministic bd plan.

Use the bd path when any of these are true:

When that happens:

  1. Find an existing scoped bd task or create one.
  2. If the work is too large for one task, create an epic and child tasks by lane or phase.
  3. Claim the active task before substantial work: bd update <id> --claim --json.
  4. Execute the plan deterministically:
  1. Close the task only after the relevant checks ran or the blockers were explicitly tracked.

Do not hide unrelated repo debt inside the current change. Track it separately.

Repo-Specific Rules

Reporting Standard

Your final QA summary should always include:

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.