fupio

Fupio はオンラインで共有する最も簡単な方法です 詳しく見る »

Fupio に参加
egghead.io - Bite-sized Web Development Video Tutorials & Training

egghead.io - Bite-sized Web Development Video Tutorials & Training

Guiding Claude Code with rich feedback turns blocked commands into learning opportunities. Return structured JSON with denial reasons and alternatives so Claude self-corrects in real time. ## Exit code vs. JSON output Exit code 2 (lesson 15): - Blocks tool execution - Shows error to Claude - No structured guidance JSON output (this lesson): - Blocks with permissionDecision: "deny" - Provides permissionDecisionReason with clear alternatives - Creates a self-correcting feedback loop ## Return structured feedback Use HookJSONOutput to deny with guidance:
https://egghead.io/lessons/guide-claude-code-with-rich-pre-tool-use-feedback~ex177

Comments