Skip to content
Back to skills

Investigate And Plan First

ASecurity

Use before editing code on any multi-file task, bug fix, or feature. Stops blind edits, scope creep, and endless self-review loops.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 29, 2026
ai-agentsgo

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add Ganesh-Dark/ai-coding-agent-skills --skill investigate-and-plan-first --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Investigate And Plan First?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Investigate And Plan First
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ganesh-dark-investigate-and-plan-first/badge)](https://www.skillsdirectory.com/skills/ganesh-dark-investigate-and-plan-first)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: investigate-and-plan-first
description: Use before editing code on any multi-file task, bug fix, or feature. Stops blind edits, scope creep, and endless self-review loops.
---

# Investigate and Plan First

Coding agents often start editing the first file they see, realize halfway through that they missed a caller, and end up rewriting four unrelated files. Spend a minute reading before you touch anything.

## Rules

- Read the call sites and related files first. Do not make edits until you know where the data comes from and where it goes.
- If the request is ambiguous or two valid designs exist, ask the user before guessing.
- Keep your diff scoped strictly to what the user asked for. Do not refactor adjacent functions, rename unrelated variables, or reformat untouched files.
- When you fix a bug from a production log, check whether the current branch matches the commit that produced the log. Line numbers shift over time, so verify you are looking at the right version of the code.
- Avoid endless self-review loops. When reviewing your own diff, fix real bugs or broken edge cases once and stop. Do not invent style nitpicks just to keep editing.

## Example

Bad:
The user asks to fix a tax calculation bug in `billing.py`. The agent edits `billing.py`, rewrites formatting in `invoice.py`, and renames helper functions in `utils.py` because it thought they looked messy.

Good:
The agent searches for callers of `calculate_tax`, checks how `invoice.py` passes the subtotal, fixes only the tax calculation in `billing.py`, and leaves `invoice.py` and `utils.py` untouched.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.