claudeplugins.
A complete site for Claude Code plugins — from setup to production-ready.
Articles
20 postsHow PostToolUse Hook Exit Codes Block Claude Code Execution
The PostToolUse hook is a script Claude Code shells out to after every tool call. Its exit code is the entire control surface — exit 2 blocks the assistant and feeds stderr back into the next turn.
10 minClaude Code Skill Description Auto Trigger Matching
51 minClaude Code Plugin Shared Source Enable Disable
33 minClaude Code Subagent — When to Delegate vs Keep in Main Context
Build a 5-step project exploring when Claude Code subagent delegation pays off: monolithic agent → context pressure → delegation threshold → isolation patterns → production guardrails.
38 minClaude Code SessionStart Hook: Refreshing Context on Resume
10 minclaude code PreToolUse hook block dangerous bash command
Wire a PreToolUse hook that returns hookSpecificOutput.permissionDecision: deny on destructive Bash patterns (rm -rf, git push --force, dropping prod tables) and pipes the reason back so the agent retries with a safer command instead of failing opaquely.
10 minPin Claude Code Plugins to Commit SHAs in marketplace.json
Branch refs in marketplace.json let a force-push swap your installed plugin overnight. Pin commit SHAs, layer stable and beta channels, and keep upgrades intentional.
11 minClaude Code Permission Rules: Exact Match, Wildcards, and Precedence
How permission rules in Claude Code's settings.json actually parse — exact-match versus prefix wildcards, allow/deny/ask precedence, and the gotchas that cause silent prompt loops.
6 minClaude Code Slash Command vs Skill: When Each Fits
Slash commands wrap one-shot prompts; skills package multi-step workflows with tool allowlists. Pick by argument shape, state, and reuse.
8 minClaude Skill Discoverability: Make Skills Fire When You Need Them
Concrete rules for naming and describing Claude Code skills so the agent loads them automatically instead of waiting for a slash invocation.
7 minMCP stdio vs HTTP Transport: When to Pick Each for Claude Code
A practical comparison of MCP stdio and HTTP transports for Claude Code skills — local-only reach, auth model, debuggability, and the failure modes that bite in production.
7 minPostToolUse Hooks in Claude Code: Auto-Format and Auto-Test Without the Noise
Wire a PostToolUse hook to run prettier or pytest after every Write/Edit, parse the JSON decision protocol, and use suppressOutput to keep the transcript clean.
6 min