# Surgical Implementation

> Make the smallest justified code or configuration change, surface material assumptions, avoid unrelated cleanup, and define verifiable success criteria. Use when implementing features, fixes, refactors, or configuration changes in an existing repository; do not use for read-only analysis or broad rewrites the user explicitly requested.

- **Type:** Skill
- **Install:** `agentstack add skill-26zl-universal-agent-skills-surgical-implementation`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [26zl](https://agentstack.voostack.com/s/26zl)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [26zl](https://github.com/26zl)
- **Source:** https://github.com/26zl/universal-agent-skills/tree/main/skills/surgical-implementation

## Install

```sh
agentstack add skill-26zl-universal-agent-skills-surgical-implementation
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Surgical Implementation

Keep every changed line traceable to the requested outcome. Match the repository before introducing a new convention.

## Workflow

1. Read the relevant code, local instructions, and nearby tests before choosing an approach.
2. State only assumptions that could materially change the implementation. Ask when guessing would create meaningful risk.
3. Define a short success condition that can be checked after the change.
4. Choose the smallest design that satisfies the request and existing contracts.
5. Modify only the required files. Match local naming, structure, error handling, and style.
6. Remove imports or helpers made obsolete by this change. Leave pre-existing cleanup alone unless requested.
7. Run focused checks against the success condition, then inspect the final diff for unrelated edits.

## Guardrails

- Do not add speculative features, abstraction layers, configuration, or fallback behavior.
- Do not silently choose among materially different interpretations.
- Do not refactor adjacent code merely because it could be cleaner.
- Do not rewrite comments or formatting outside the changed behavior.
- Report unrelated defects separately instead of folding them into the patch.
- Expand scope only when the requested behavior cannot be implemented safely without it; explain the dependency first.

## Completion evidence

- the success condition and focused checks performed;
- any necessary scope expansion and why it was unavoidable;
- remaining uncertainty or checks that could not run.

## Source & license

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

- **Author:** [26zl](https://github.com/26zl)
- **Source:** [26zl/universal-agent-skills](https://github.com/26zl/universal-agent-skills)
- **License:** MIT

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

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-26zl-universal-agent-skills-surgical-implementation
- Seller: https://agentstack.voostack.com/s/26zl
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
