Skip to content
Back to skills

Observe Before Editing

ASecurity

Observe Before Editing

  • 3,935 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added February 7, 2026
code-quality

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add parcadei/Continuous-Claude-v3 --skill observe-before-editing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Observe Before Editing?

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

Security grade badge for Observe Before Editing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/parcadei-observe-before-editing/badge)](https://www.skillsdirectory.com/skills/parcadei-observe-before-editing)

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: observe-before-editing
description: Observe Before Editing
user-invocable: false
---

# Observe Before Editing

Before editing code to fix a bug, confirm what the system *actually produced*.

## Pattern

Outputs don't lie. Code might. Check outputs first.

## DO

1. Check if expected directories exist: `ls -la .claude/cache/`
2. Check if expected files were created: `ls -la .claude/cache/learnings/`
3. Check logs for errors: `tail .claude/cache/*.log`
4. Run the failing command manually to see actual error
5. Only then edit code

## DON'T

- Assume "hook didn't run" without checking outputs
- Edit code based on what you *think* should happen
- Confuse global vs project paths (check both: `.claude/` and `~/.claude/`)

## Source Sessions

- a541f08a: Token limit error was invisible until manual run revealed it
- 6a9f2d7a: Looked in wrong cache path (`~/.claude/` vs `.claude/`), assumed hook failure
- a8bd5cea: Confirmed hook worked by finding output files in project cache
- 1c21e6c8: Verified Artifact Index indexing by checking DB file exists

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.

Comments

Loading comments…