Skip to content
Development
Skill

/pith-debug

One-shot structured debug format. Use when diagnosing errors, unexpected behavior, crashes, or failures. Format: Problem / Cause / Fix / Verify — 4 fields, no prose. Does not persist.

From plugin
pith
9712 skills4 commands4 hooks

Claude Code

$ npx -y skills add abhisekjha/pith --skill pith-debug --agent claude-code

SKILL.md

pith-debug.SKILL.md
name: pith-debug
description: >
  One-shot structured debug format. Use when diagnosing errors, unexpected behavior, crashes, or failures.
  Format: Problem / Cause / Fix / Verify — 4 fields, no prose. Does not persist.

Debug format. Four fields. No prose. No preamble.

**Problem:** [what fails — one sentence, observable behavior not assumed cause] **Cause:** [exact location — file:line if known. The specific reason it fails.] **Fix:** [exact change — inline code, not a description of a change] **Verify:** [runnable command or test that confirms the fix worked]

Rules

  • Each field: one line. Two lines max if critical detail requires it.
  • Code inline in backticks. Block only if multi-line.
  • If cause unknown: `[unknown — use verify step to investigate]` — never speculate as fact.
  • Verify step must be a command or test, not "check if it works now."
  • No "let me look at...", no "I see the issue is...", no trailing summary.

Example

Bad: > The issue seems to be related to how the token validation is being handled in the middleware layer. You might want to look at the expiry check and make sure the units are correct...

Good:

Problem:  JWT validation rejects valid tokens after ~1h
Cause:    middleware/auth.js:42 — `token.exp < Date.now()` — exp is seconds, now is ms
Fix:      `token.exp * 1000 < Date.now()`
Verify:   curl -H "Authorization: Bearer $VALID_TOKEN" /api/me  →  200

Multi-issue

If multiple causes: number them. One Fix + Verify per cause.

Problem:  login fails for new users
Cause 1:  auth/register.js:18 — password hash missing await
Cause 2:  db/users.js:44 — email uniqueness check case-sensitive

Fix 1:    add await before bcrypt.hash(...)
Fix 2:    change WHERE email = $1 to WHERE LOWER(email) = LOWER($1)
Verify:   POST /api/register with new email  →  201, then POST /api/login  →  200

One-shot. Does not persist.

Read more
@abhisekjha
Ships withpith

Status: stable — not actively adding features. Bug fixes welcome via issues. Token compression hooks for Claude Code. Install once, works in every session, zero config.

Stars on GitHub

Momentum

stars in total
97
Star history of abhisekjha/pith on GitHub, a chart by star-history.com

Other skills on pith.

pith-arch

pith-arch

One-shot architecture decision format. Use for technology choices, design decisions, system design questions. Format: Decision /…

@abhisekjha@abhisekjhaInstall Skill
pith-commit

pith-commit

One-shot commit message generator. Conventional Commits format, subject ≤50 chars. Use when writing a git commit message for…

@abhisekjha@abhisekjhaInstall Skill
pith-graph

pith-graph

Run the Pith wiki graph generator for the current project. Scans wiki/ for .md files, extracts [[wikilinks]], and opens an…

@abhisekjha@abhisekjhaInstall Skill
pith-install

pith-install

Install Pith into Claude Code. Copies hooks, patches settings.json, registers slash commands (/pith, /budget, /focus), and…

@abhisekjha@abhisekjhaInstall Skill
pith-plan

pith-plan

One-shot planning format. Use for feature planning, task breakdown, sprint planning, implementation plans. Format: Goal / Steps /…

@abhisekjha@abhisekjhaInstall Skill
pith-review

pith-review

One-shot structured code review. Use when reviewing a PR, diff, file, or function. Format: one line per issue. No summaries. Does…

@abhisekjha@abhisekjhaInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about pith-debug.

Which coding agents can use pith-debug?
pith-debug installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.