The letter

One letter a week, starting soon.

The week's signal, what shipped, what is worth running tonight, and the editor's note. No tracking, no ads, nothing else.

We keep your address, your language and the date you joined, nothing else. Every letter has a one-click unsubscribe link that deletes the record.

← Accept All   Archive
Zenn (AI)Japan

危険な操作を止めるhooksを16件実測した

12.04

Claude Code に作業を任せるとき、怖いのは「止めてほしい操作が、そのまま実行されてしまう」ことです。rm -rf や force push のような操作を、頼み方ではなく仕組みで止めるために hooks(PreToolUse フック)があります。ただし、設定したフックが本当に止めるかどうかは、実際に危険な操作を頼んでみないと分かりません。

Read at Zenn (AI) ↗

More from Zenn (AI) on Accept All

More from Zenn (AI) on Accept All.