Research

From indexable-inc/index-bak · View interactive version

Research is an AI agent skill from the GitHub repository indexable-inc/index-bak. Analyze a codebase to figure out how it should be tested with Antithesis: map the system, identify failure-prone areas and testable properties, and produce the research artifacts needed for workload and environment planning.

How to use this skill

Skill file

Antithesis Research

Purpose and Goal

Research a target system and produce scratchbook artifacts that unblock the rest of the workflow. Success means:

Prerequisites and Scoping

At the start of every research run, ask the user about external references:

Before I start, are there docs, design notes, related repos, issue trackers, or anything else outside this directory tree that I should also consult? "Just this directory" is fine.

Capture the answer verbatim. Each external reference becomes a path (or URL) plus a brief why note. The orchestrator (this skill) holds the answer for the full duration of the run and threads it as input to every reference workflow that produces a top-level artifact: sut-discovery.md, sut-analysis.md, property-discovery.md, deployment-topology.md, property-evaluation.md. Each of those references' agent-instruction sections accepts the list as input. The list is also recorded in the provenance frontmatter of every top-level artifact (see references/scratchbook-setup.md).

Beyond the scope question, ask only for blockers or scoping decisions you cannot infer safely:

If scratchbook artifacts already exist, treat them as inputs and extend them instead of rewriting them unless the user asks for a fresh pass.

Definitions and Concepts

Documentation Grounding

Use the antithesis-documentation skill to ground Antithesis-specific terminology and implementation advice.

Reference Files

| Reference | When to read |

| ----------------------------------- | --------------------------------------------------- |

| references/scratchbook-setup.md | Always — read first to initialize the workspace |

| references/sut-discovery.md | Discovering system characteristics through structured attention focuses |

| references/sut-analysis.md | General methodology for analyzing the codebase and understanding components |

| references/property-discovery.md | Discovering properties through structured attention focuses |

| references/property-catalog.md | Format and methodology for documenting properties |

| references/faults.md | Understanding fault types, quiet periods, and process fault availability |

| references/deployment-topology.md | Designing the container topology for Antithesis |

| references/property-evaluation.md | Evaluating the property catalog as a portfolio |

Recommended Workflows

Full research pass (new project)

  1. Read references/scratchbook-setup.md
  2. Read references/sut-discovery.md and references/sut-analysis.md
  3. Analyze the system using the ensemble or single-agent workflow from references/sut-discovery.md
  4. Scan the codebase for existing Antithesis SDK assertions. Search for imports

of the Antithesis SDK and calls to assertion functions (assert_always!,

assert_sometimes!, assert_reachable!, assert_unreachable!, or their

non-macro equivalents). For each assertion found, record the file path, line

number, assertion type, and message string. Write the results to

antithesis/scratchbook/existing-assertions.md. Begin the file with

provenance frontmatter per references/scratchbook-setup.md. If no

assertions are found, write the file with a note confirming the codebase has

no existing instrumentation.

  1. Read references/property-discovery.md and references/property-catalog.md
  2. Discover properties using the ensemble or single-agent workflow from references/property-discovery.md
  3. Read references/deployment-topology.md
  4. Design the deployment topology and write it to antithesis/scratchbook/deployment-topology.md
  5. Read references/property-evaluation.md
  6. Evaluate the property catalog using the ensemble or single-agent workflow from references/property-evaluation.md
  7. Address evaluation findings: apply refinements, fill gaps, escalate biases to the user
  8. Write or update all remaining findings in the scratchbook under antithesis/scratchbook/

Targeted property research

  1. Read references/sut-discovery.md and references/sut-analysis.md if the system model is missing or stale
  2. Read references/property-discovery.md and references/property-catalog.md
  3. Discover properties using the ensemble or single-agent workflow from references/property-discovery.md
  4. Turn claimed guarantees, incidents, and bug reports into explicit properties, and choose the Antithesis assertion type that matches each one
  5. Update antithesis/scratchbook/property-catalog.md and record assumptions or open questions
  6. Write evidence files for new properties to antithesis/scratchbook/properties/{slug}.md
  7. Update antithesis/scratchbook/property-relationships.md with any new clusters or connections
  8. Read references/property-evaluation.md
  9. Evaluate the updated property catalog using the ensemble or single-agent workflow from references/property-evaluation.md
  10. Address evaluation findings: apply refinements, fill gaps, escalate biases to the user

Property expansion (after triage)

  1. Read references/property-discovery.md and references/property-catalog.md
  2. Review triage findings from the antithesis-triage skill
  3. Use the attention focuses from references/property-discovery.md to look for new properties inspired by triage findings
  4. Update the relevant files in the scratchbook
  5. Write evidence files for new properties to antithesis/scratchbook/properties/{slug}.md
  6. Update antithesis/scratchbook/property-relationships.md with any new clusters or connections
  7. If the expansion is substantial (a new category of properties or more than 3

new properties), read references/property-evaluation.md and evaluate the

updated catalog. Small expansions of 1-3 properties in existing categories

do not require a full evaluation pass.

General Guidance

Output

All top-level scratchbook artifacts (everything in the list above except per-property evidence files) include provenance frontmatter recording sut_path, commit, updated, and external_references. Per-property evidence files inherit context from property-catalog.md and do not need their own frontmatter. See references/scratchbook-setup.md.

These outputs should be concrete enough for the antithesis-setup skill and the antithesis-workload skill to use directly.

Self-Review

Before declaring this skill complete, review your work against the criteria below. If your agent supports spawning sub-agents, create a new agent with fresh context to perform this review — give it the path to this skill file and have it read all output artifacts. A fresh-context reviewer catches blind spots that in-context review misses. If your agent does not support sub-agents, perform the review yourself: re-read the success criteria at the top of this file, then systematically check each item below against your actual output.

Review criteria:

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.