SKILL

pr-tests

Stage 2 of 4 of the /la:pr flow — write the full failing test suite for the agreed plan (TDD-first), then Codex-review the tests against the plan. Normally dispatched by /la:pr; if the /la:pr context (BRANCH, CHANGE_ID, OPENSPEC, tracker issue) is not already loaded in this session, invoke the la:pr skill instead.

Target: Software development & testing. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Step 1 — Write the tests first
  • Step 2 — Codex review of the tests against the plan
  • Step 3 — Commit the changed files
  • Step 4 — Hard stop

Preflight: run la-doctor --plugin --require-config --require-plan-store once per session before using any la- or dr- command. If it reports the missing-config finding (the one naming /la:init), run the fast path of the la:init skill, then re-run this preflight; stop and show the user its output on anything it still reports, or on any other failure. Stage 2 of 4 of the /la:pr flow. Prerequisite: /la:pr has run in this session and established BRANCH, CHANGEID, OPENSPEC, and the full tracker issue (body + comments), if there is one. If any of that is missing, invoke the la:pr skill instead — it rehydrates and dispatches back here. The /la:pr stopping policy applies throughout this stage. Before writing anything, recover the durable plan from pr-plan: OPENSPEC=1 — read the whole change folder openspec/changes/ / (proposal, design, tasks, delta specs). OPENSPEC=0 — the finalized plan is a comment on the tracker issue. TDD-first: land the full test suite for the agreed plan before writing any implementation. Tests should fail for the right reason (feature missing), not for setup reasons. If OPENSPEC=1, derive the test cases from the delta scenarios in openspec/changes/ /specs/ /spec.md:

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
MotleyAI/living-architecture
Source file
plugin/skills/pr-tests/SKILL.md
Fixed revision
d515fa3449c9734b464fc67d231a6e6b051106fc
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: MotleyAI/living-architecture · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T18:02:06.042Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.