Skip to content
FunCoding

octocode-test-plan

Load this skill first when asked for a written test plan for a feature, change or fix. Give the executor risk-ranked cases, setup, expected results and pass criteria.

Star
972
License
MIT
Last commit
Dec 2, 2026

skills/octocode-test-plan/SKILL.md

View on GitHub

Octocode Test Plan

Identify the target, revision and executor. Write a plan runnable from the plan file and repository alone. Planning permits reads and authorized inspection. Listing and dry-run modes can execute project code; check their effects first. Execute cases or edit tests only under a separate request that covers those actions.

Plan loop

  1. Identify the executor's tools, environment and permissions. Ask only when missing target or executor information changes the plan. A case the executor cannot run is a gap.
  2. Map entry → validation → state → output → consumers, documented claims and current tests. Exact-read deciding source; confirm identity with LSP or name the gap. Pin commands from manifests, CI, docs or authorized inspection; never guess flags. An unpinned command is a gap the plan check turns into Draft or Blocked.
  3. Rank risks by impact and evidence of likelihood. Explain each P0 (must pass to ship), distinguish P1 (should pass) from P2 (adds confidence), and include severe reachable failures even without a prior incident.
  4. Choose the cheapest test level that observes the risk. Derive expected results from a spec, contract, type or documented error. Disclose when the implementation is the only oracle.
  5. Preserve the reproduction and nearby boundaries for a fix. Include failure paths, fixtures, cleanup and restoration checks. Reuse existing tests where the risk and oracle match.
  6. Write the executor contract, cases, exclusions and measurable success criteria per output.md; save the plan. Run the plan check: its script, then its judgment checks.

Conditional detail

NeedRead
Pin by input type, discover code/tests, inspect commands or map a diffCode-map recipes · change scope, claims, existing tests
Select technique, level, independent oracle or stable fixturesCase design · levels and oracles
Plan sections, case fields, executor contract, results formatoutput.md routes each section's reference
Source, semantic or runtime proof limitsEvidence rules

Return as output.md leads: Ready, Draft or Blocked is plan readiness, never passed tests.

Use octocode-debugging for a failure that needs reproduction first and octocode-pr-review for a merge verdict.

Similar Skills

reverse-engineer-anything

MOmorluto/rea486k8,943 new stars in the last 7 days

reverse-engineer-anything

MOmorluto/rea486k8,943 new stars in the last 7 days

test-driven-development

OBobra/superpowers331k4,772 new stars in the last 7 days

Featured

accessibility

Audit accessibility on Web, iOS, and Android to meet WCAG 2.2, with keyboard navigation and screen-reader support.

AFaffaan-m/ECC315k4,381 new stars in the last 7 days

ai-regression-testing

AFaffaan-m/ECC315k4,381 new stars in the last 7 days

agent-runtime-gateway-smoke-test

AFaffaan-m/ECC315k4,381 new stars in the last 7 days