Skip to content
Agentmart
Submit a tool

data-structure-audit

Use when the user requests a complete, read-only codebase audit of data structures, state models, algorithms, control flow, or ownership.

Skill by BumpyClock

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/bumpyclock-data-structure-audit

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when the user requests a complete, read-only codebase audit of data structures, state models, algorithms, control flow, or ownership.

Use cases: data, security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/data-structure-audit

What's inside

Skill name
data-structure-audit
Description
Use when the user requests a complete, read-only codebase audit of data structures, state models, algorithms, control flow, or ownership.
License
MIT
Instructions
115 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • openai.yaml · agents/

SKILL.md (first lines)

# Data Structure Audit

Run a read-only, agent-orchestrated audit of the complete codebase. Find material simplifications in data structures, state representation, control flow, algorithms, and ownership.

Do not edit repository files. Do not run tests. Do not implement recommendations. Do not commit or push. Use read-only inspection commands only.

Act as the coordinator. Continue until the coverage contract is complete and independent reviewers validate the final audit.

## 1. Establish the coverage contract

Inspect the repository. Inventory every identifiable subsystem.

Give each subsystem:

- a stable ID and descriptive name;
- an exact, non-overlapping ownership boundary;
- its key implementation files;
- its public interfaces, major call sites, and relevant tests;
- one status: `queued`, `in review`, `recommend`, or `skip`.

Include frontend, backend, shared infrastructure, platform bridges, generated-contract ownership, and test or tooling infrastructure when material.

Maintain one canonical audit report outside the repository. Use it as the coverage contract and include:

- the subsystem inventory;
- confirmed opportunities;
- explicit skip decisions;
- cross-cutting patterns;
- duplicates and superseded findings;
- final priorities and dependencies;
- an audit log.

Do not use broad catch-all rows as proof of coverage.

## 2. Run bounded subsystem reviews

Delegate independent subsystems when separate context or expertise justifies the cost. Otherwise inspect directly. Give each worker an exact ownership boundary.

Limit concurrency to the lanes that you can coordinate. Use one consolidated wait mechanism. Let productive workers finish. Harvest each result before you close its worker.

Give each worker this brief:

> Review the assigned subsystem for at most two material simplifications in its data structures, state representation, control flow, algorithms, or ownership.
>
> Inspect its implementation, public interfaces, major call sites, and existing tests. Stay inside the assigned ownership boundary. Report cross-subsystem concerns without expanding the assigned scope.
>
> Look for:
>
> - scattered booleans or nullable fields that permit invalid combinations and need a state machine or discriminated union;
> - repeated object-shape assumptions that need one shared typed model;
> - duplicated branches that a small map, registry, reducer, or command model can remove;
> - unclear state or behavior ownership that a small module boundary can clarify;
> - repeated scans, transformations, or lookups that need a suitable collection or index;
> - lifecycle, concurrency, or asynchronous states that permit stale or contradictory values.
>
> Prefer clear local code. Do not force an abstraction.
>
> Reject changes that provide only stylistic consistency, hypothetical extensibility, minor line-count reduction, or relocated branching.
>
> Return at most two opportunities. Return `skip` when no opportunity meets the materiality threshold.

Require this schema for every returned opportunity:

- **Verdict:** `recommend` or `skip`.
- **Evidence:** Exact file and line references.
- **Current complexity:** Current complexity or permitted invalid states.
- **Proposed representation:** The proposed representation and why it is simpler.
- **Implementation scope:** The smallest credible scope, affected files, and affected interfaces.
- **Risks:** Regression risks and migration concerns.
- **Validation:** Existing validation and required additional validation.
- **Confidence:** `high`, `medium`, or `low`.

## 3. Validate and synthesize

Validate each finding against the current repository before acceptance. Reuse source reads and evidence from the current audit.

Reject, narrow, or demote a finding when it is vague, duplicated, based on incorrect semantics, or only relocates complexity.

Record each skip as completed coverage. Deduplicate overlapping findings. Assign each accepted recommendation to one authoritative subsystem.

Open bounded review batches until every inventory row has a final `recommend` or `skip` status.

## 4. Audit the audit

Use one bounded independent review to assess:

1. repository coverage and missing subsystem boundaries;
2. duplication and ownership overlap;
3. materiality and over-abstraction;
4. schema completeness;
5. dependency-aware priority order.

Add reviewers only for unresolved disagreement or distinct expertise. Reuse valid evidence rather than repeat completed checks.
If independent review is unavailable, complete direct validation and report the review limit without a false independent-verification claim.

If the coverage pass finds an omission, add a new subsystem row. Audit that row through the same workflow. Do not broaden a completed boundary to hide the omission.

Rank final recommendations by concrete impact, confidence, implementation effort, blast radius, and prerequisites. Identify the best first implementation slices.

## Completion gate

Complete the audit only when:

- every identifiable subsystem has a completed review;
- every subsystem has a recommendation or explicit skip;
- every finding has complete evidence, scope, risk, and validation fields;
- duplicates and weak abstractions are removed;
- priorities and dependencies are internally consistent;
- the audit created no repository changes.

Before the final response, inspect repository status. Report any pre-existing changes separately. Do not claim that this audit caused them.

Return the canonical report. State the coverage result, accepted recommendations, explicit skips, review validation result, and repository status.

From BumpyClock/agent-templates, MIT.

More from BumpyClock/agent-templates

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Sep 12, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from BumpyClock

Cite this page

data-structure-audit skill. Agent Mart. https://agentmart.dev/skills/bumpyclock-data-structure-audit (last updated 2026-10-24)