What are hooks in Claude Code?
Hooks are configured integrations that can run checks or commands at supported lifecycle points. They can automate formatting or policy checks, but th...
The question library
Explore practical questions, clear explanations, and code examples across developer technologies.
Showing 745–756 of 3610 questions
Hooks are configured integrations that can run checks or commands at supported lifecycle points. They can automate formatting or policy checks, but th...
Keep hook scripts reviewed and version-controlled, scope permissions, validate inputs, avoid unsafe shell interpolation, document side effects, and te...
The Model Context Protocol standardizes connections between AI applications and external tools or data sources through servers. It can connect approve...
Assess source provenance, permissions, authentication, network access, data flows, command execution, and update mechanism. Use trusted servers, minim...
A model interprets a goal, chooses a tool and arguments, receives the result, then decides whether to continue or finish. Reliable systems validate ar...
Choose the most restrictive supported mode that still permits the task. Interactive development should retain meaningful approval checkpoints. Unatten...
Explicitly prohibit edits, define the diff and risk priorities, and request actionable findings with locations, evidence, impact, and severity. Indepe...
Run focused tests for changed modules first, then broader integration or full suites based on dependency and risk. Report skipped, timed-out, or faile...
Classify failures as likely regression, flaky test, environment issue, or pre-existing failure, using evidence. Reproduce the failure and fix the root...
Specify request and response contracts, validation, authorization, error semantics, compatibility, and tests. Trace callers and consumers before modif...
Review compatibility, locks, backfill volume, rollback feasibility, deployment order, and integrity. For zero-downtime systems, an expand-and-contract...
Claude Code can help spot likely secrets, but it is not a complete scanner. Use established secret scanning and pre-commit or CI controls. If a real c...