跳到正文
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
许可证
MIT
最近提交
2026年12月2日

skills/octocode-test-plan/SKILL.md

在 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.

相似的 Skill

reverse-engineer-anything

MOmorluto/rea486k近 7 天新增 8,943 个 star

reverse-engineer-anything

MOmorluto/rea486k近 7 天新增 8,943 个 star

test-driven-development

OBobra/superpowers331k近 7 天新增 4,772 个 star

精选

accessibility

审计 Web、iOS、Android 的无障碍合规,支持键盘导航与屏幕阅读器。

AFaffaan-m/ECC315k近 7 天新增 4,381 个 star

ai-regression-testing

AFaffaan-m/ECC315k近 7 天新增 4,381 个 star

agent-runtime-gateway-smoke-test

AFaffaan-m/ECC315k近 7 天新增 4,381 个 star