Toolverse
All skills

debug-hooks

by parcadei

Systematic hook debugging workflow. Use when hooks aren't firing, producing wrong output, or behaving unexpectedly.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
parcadei
Category
Data Science

About this skill

Systematic hook debugging workflow. Use when hooks aren't firing, producing wrong output, or behaving unexpectedly.

How to use

  1. Zainstaluj umiejętność w swoim projekcie Claude, umieszczając folder debug-hooks w katalogu .claude/skills/.

  2. Zacznij od obserwacji – sprawdź cache projektu poleceniem ls -la $CLAUDE_PROJECT_DIR/.claude/cache/ oraz pliki logów za pomocą tail, aby zobaczyć, co się dzieje w tle.

  3. Zweryfikuj rejestrację hooków w pliku $CLAUDE_PROJECT_DIR/.claude/settings.json – poszukaj wpisów SessionEnd, PostToolUse lub UserPromptSubmit, aby upewnić się, że hook jest zarejestrowany. Sprawdź też globalny plik ~/.claude/settings.json, ponieważ hooki łączą się z obu lokalizacji.

  4. Potwierdź, że pliki hooków istnieją w katalogu .claude/hooks/ – szukaj plików .sh lub skompilowanych bundli .mjs, jeśli używasz TypeScript.

  5. Przetestuj hook ręcznie, przekazując do niego JSON z danymi testowymi – na przykład dla SessionEnd hook wyślij JSON z session_id i reason, a dla PostToolUse hook podaj tool_name i tool_input.

  6. Jeśli hook wciąż nie działa, sprawdź, czy nie używa detached spawn z stdio: 'ignore' – ten wzorzec ukrywa błędy. Dodaj tymczasowe logowanie do pliku, aby zobaczyć rzeczywisty błąd.

Related skills

rust-coding-skill

by UtakataKyosui

Guides Claude in writing idiomatic, efficient, well-structured Rust code using proper data modeling, traits, impl organization, macros, and build-speed best practices.

Data Science
248325

data-storytelling

by wshobson

Transform data into compelling narratives using visualization, context, and persuasive structure. Use when presenting analytics to stakeholders, creating data reports, or building executive presentations.

Data Science
26105

claude-automation-recommender

by anthropics

Analyze a codebase and recommend Claude Code automations (hooks, subagents, skills, plugins, MCP servers). Use when user asks for automation recommendations, wants to optimize their Claude Code setup, mentions improving Claude Code workflows, asks how to first set up Claude Code

Data Science
1787

skill-creator

by anthropics

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.

Data Science
59147

xlsx

by anthropics

Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2)

Data Science
40128

arxiv-search

by langchain-ai

Search arXiv preprint repository for papers in physics, mathematics, computer science, quantitative biology, and related fields

Data Science
76172