pitfall

Community

Capture mistakes to prevent repeat failures

Authorejoongseok
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you stop repeating the same session mistakes by capturing each “trial-and-error” as a structured 5-part record and storing it to the right place (memory or project documentation).

Core Features & Use Cases

  • 5-Element Pitfall Capture: Extracts and stores Tried, Failed, Cause, Fix, and Trigger as a single, consistent record.
  • Intelligent Medium Routing: Automatically decides whether the pitfall belongs in memory, documentation, or both based on whether it’s generally applicable or project-specific.
  • Duplicate Prevention (Idempotent SKIP): Runs a Grep check against likely sink locations and skips saving if the same trigger is already recorded.
  • Guardrails for Incomplete Data: If any of the five elements are missing, it pauses to ask the user for the missing parts and avoids saving incomplete entries.

Quick Start

Use the pitfall skill to capture the latest session mistake by asking the assistant to run: pitfall --target both --note "Briefly describe what went wrong and what you changed to fix it".

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pitfall
Download link: https://github.com/ejoongseok/claude-settings/archive/main.zip#pitfall

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.