Skip to content
Back to skills

Octocode Test Plan

ASecurity

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.

  • 971 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 1, 2026
ai-agentsdebugging

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add bgauryy/octocode --skill octocode-test-plan --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Octocode Test Plan?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Octocode Test Plan
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bgauryy-octocode-test-plan/badge)](https://www.skillsdirectory.com/skills/bgauryy-octocode-test-plan)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: octocode-test-plan
description: "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."
---

# 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](output.md#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](output.md); save the plan. Run the [plan check](output.md#plan-check): its script, then its judgment checks.

## Conditional detail

| Need | Read |
|---|---|
| Pin by input type, discover code/tests, inspect commands or map a diff | [Code-map recipes](references/code-map.md) · [change scope, claims, existing tests](references/code-map-scope.md) |
| Select technique, level, independent oracle or stable fixtures | [Case design](references/case-design.md) · [levels and oracles](references/case-oracles.md) |
| Plan sections, case fields, executor contract, results format | [output.md](output.md) routes each section's reference |
| Source, semantic or runtime proof limits | [Evidence rules](references/evidence.md) |

Return as [output.md](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.

Files in this skill

  • README.md5.1 KB
  • SKILL.md2.7 KB
  • output.md3.7 KB
  • references/case-design.md2.6 KB
  • references/case-oracles.md1.9 KB
  • references/code-map-scope.md3.1 KB
  • references/code-map.md3.2 KB
  • references/evidence.md2.9 KB
  • references/plan-cases.md1.8 KB
  • references/plan-executor.md2.7 KB
  • references/plan-sections.md1.7 KB
  • references/presentation.md1.4 KB
  • references/protocol-catalog.md3.1 KB
  • references/report-mermaid.md4.5 KB
  • references/report-output.md5.8 KB
  • references/report-render.md2.6 KB
  • references/report-widgets.md1.4 KB
  • references/writing-tells.md5.4 KB
  • scripts/lib/entrypoint.mjs552 B
  • scripts/lib/fail.mjs594 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.