AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Minimal Diff Builder

skill-markoblogo-abvx-agent-skills-minimal-diff-builder · by markoblogo

Build the smallest correct code diff without overengineering, broad refactors, unnecessary dependencies, or speculative abstractions. Use when the user wants a minimal patch, small reviewable diff, stdlib-first implementation, or shortest-path fix that still preserves security, accessibility, trust-boundary validation, and data safety.

No reviews yet
0 installs
35 views
0.0% view→install

Install

$ agentstack add skill-markoblogo-abvx-agent-skills-minimal-diff-builder

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-markoblogo-abvx-agent-skills-minimal-diff-builder)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Minimal Diff Builder? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Minimal Diff Builder

Default to the smallest correct change, not the most expandable design.

Use When

  • the user asks for the simplest implementation, shortest path, or least code;
  • the task is local and well scoped;
  • dependency avoidance matters;
  • the repo already risks overbuilding or abstraction creep.

Pair With

  • Use delivery-preflight-gate first when the task is long, autonomous, or the repo baseline may already be broken.
  • Use test-driven-execution alongside this skill when the main risk is behavior drift rather than overbuilding.
  • Use overengineering-review after implementation when the user wants a separate simplification pass on the resulting diff.

Ladder

Stop at the first rung that fully solves the task:

  1. Does this need to exist at all, or can the requirement be narrowed?
  2. Does the standard library already solve it?
  3. Does the native platform already solve it?
  4. Does an existing repo dependency already solve it?
  5. Can the solution stay as a tiny local change?
  6. Only then write new custom code, still at the smallest useful scope.

Core Rules

  • Prefer deletion, inlining, and reuse over new layers.
  • Do not add a dependency for a small utility problem unless the user explicitly wants it.
  • Do not introduce interfaces, factories, configs, or extension points without a real second use.
  • Prefer one-file or one-surface changes when they remain readable.
  • Preserve existing repo patterns when they are already simple enough.
  • If two options are similarly small, pick the more edge-case-correct one.

Hard Exceptions

Do not simplify away:

  • trust-boundary validation;
  • error handling that prevents data loss;
  • security-sensitive checks or secret handling;
  • accessibility basics on user-facing surfaces;
  • anything the user explicitly asked to retain.

Workflow

  1. Restate the narrow task in one sentence.
  2. Check the ladder from top to bottom before writing code.
  3. Choose the smallest implementation that fully meets the task.
  4. Keep the diff local:
  • avoid broad renames or structural churn;
  • avoid adding files unless they clearly improve correctness or verification;
  • avoid speculative "future-proofing".
  1. If you intentionally leave out a heavier design, say what was skipped and the threshold that would justify adding it later.
  2. For non-trivial logic, leave behind one small runnable check:
  • one focused test, or
  • one assert-based demo/self-check if that fits the repo better.
  1. Run the narrowest meaningful verification first, then broader relevant checks.

Anti-Patterns

  • building a reusable framework for a one-off task;
  • adding configuration for a value that does not vary;
  • wrapping stdlib or platform behavior in a thin custom abstraction;
  • adding a new helper file when a local function would do;
  • inflating the explanation after keeping the code small.

Final Report

Include:

  • what path on the ladder was used;
  • what heavier options were intentionally skipped;
  • verification run;
  • residual threshold for when a bigger design would become justified.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.