Workload

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

Workload is an AI agent skill from the GitHub repository indexable-inc/index-bak. Implement Antithesis workloads by turning the property catalog into SDK assertions and test commands, then refine coverage after triage.

How to use this skill

Skill file

Antithesis Workload

Purpose and Goal

Implement or improve the Antithesis workload. Success means:

Use the antithesis-research skill first to build the property catalog. Use the antithesis-setup skill to scaffold the infrastructure. Use the antithesis-triage skill to review runs, then return here to improve the workload. If the user asks to submit or launch a run, use the antithesis-launch skill — do not run snouty launch directly.

Prerequisites

Scoping

Each invocation of the "Implement next property" workflow below focuses on one property to keep context manageable and quality high. (Post-triage iteration follows its own scoping based on triage findings.)

If the user asks for multiple properties, recommend doing one at a time — explain that implementation quality degrades as context accumulates, and each property's effort is unpredictable. Ask which one they'd like to start with. If they insist on multiple, proceed — but warn them first.

If the user specifies which property to work on, skip the full catalog scan — but still assess that property's status against its evidence file before proceeding. If it's already fully implemented, tell the user rather than redoing work.

If the user does not specify a property, run the full detection and recommendation flow below.

Detect implementation status

The detection work below is context-heavy (reading every evidence file, scanning the codebase for assertions). If your agent supports sub-agents, delegate it to a sub-agent that returns a per-property summary (status + brief rationale). This keeps the main implementation agent's context clean.

The detection task: for each property in the catalog, search the existing test and SUT code for Antithesis SDK assertion calls and cross-reference them with the property's evidence file at antithesis/scratchbook/properties/{slug}.md. Assess whether the existing assertions cover the code paths, failure scenarios, and instrumentation points the evidence file describes. Classify each property as:

Present and recommend

Read whatever provenance frontmatter is present in the catalog and include it when presenting status. Use whatever fields you find — the schema may evolve over time, so don't treat partial or older frontmatter as broken. Describe what's there in plain language. Examples:

Workload runs every property cycle, so don't ask the user to re-confirm provenance every run — display it as context and continue. The user will speak up if it no longer matches the system they're working on. The user-facing commit display uses the short hash (first 12 characters) for readability; the frontmatter still stores the full SHA.

Recommend one property at a time — don't dump the full catalog. A catalog can easily have dozens or hundreds of properties; an exhaustive status list is overwhelming and rarely what the user needs. This is the default: pick one, explain why, and wait for confirmation.

The exception is when the user explicitly asks to discuss what to work on rather than receive a single recommendation. In that case, give a high-level summary (counts by status, notable clusters, anything unusual) and have the conversation. Surface specific properties only as the conversation calls for them.

Strategy for picking the recommendation:

Explain why you picked the property you picked, and wait for the user to confirm or choose differently before proceeding.

For the chosen property, read both the catalog entry and its evidence file.

Other scoping questions

Ask the user only for blockers or scoping decisions you cannot infer safely, such as:

Definitions and Concepts

Documentation Grounding

Use the antithesis-documentation skill to access these pages. Prefer snouty docs.

Reference Files

| Reference | When to read |

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

| references/component-implementation.md | Implementing workload-side components or wrappers |

| references/assertions.md | Turning properties into SDK assertions |

| references/test-commands.md | Writing commands and organizing test templates |

| references/interesting-values.md | Choosing the value menu for the property under test |

| references/iteration.md | Improving coverage and assertions after triage |

Recommended Workflows

Implement next property

  1. Detect implementation status, then recommend one property and explain why (see "Detect implementation status" and "Present and recommend" above)
  2. Get user confirmation on which property to implement
  3. Read references/component-implementation.md
  4. Read references/assertions.md
  5. Read references/test-commands.md
  6. Read references/interesting-values.md
  7. Identify the property's value menu — boundary values plus configured-limit families. See interesting-values.md for the discovery process and worked examples
  8. Implement the chosen property: assertions, test commands, and supporting code

Post-triage iteration

  1. Read references/iteration.md
  2. Read references/assertions.md if assertions need to change
  3. Read references/test-commands.md if command coverage needs to change
  4. Update the workload and the relevant Antithesis scratchbook artifacts together

General Guidance

Output

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.