Developer Tools
In-depth guides and analysis on developer tools from the Safeguard engineering team.
2959 articles
Claude Code MCP scopes: local, project and user explained
Local, project and user scopes decide who sees an MCP server and where its config lives. Learn which to use, and how precedence and approval work.
Writing Claude Code permission rules for MCP tools
How to allow, ask or deny MCP tools in Claude Code: the server and tool naming, wildcard limits, and why deny rules always win over allow rules.
Claude Code managed settings: where admins put policy
Managed settings sit above user and project settings. File paths per OS, server-managed and MDM options, and a few keys that lock login, providers and modes.
Running Claude Code in CI: print mode, bare mode and permissions
How to run Claude Code non-interactively in scripts and CI: the print flag, bare mode, allowed tools, dontAsk mode and JSON output.
Claude Code hooks: how exit code 2 blocks an action
Hooks run your script at fixed points in Claude Code's lifecycle. How PreToolUse hooks block with exit code 2, how decisions combine, and what exit 0 means.
Claude Code GitHub Action: setup and security checklist
Set up the Claude Code GitHub Action with least privilege: secrets, app permissions, who can trigger runs, and cost caps, based on Anthropic's docs.
Claude Code /rewind: what checkpoints can and cannot undo
Claude Code checkpoints let you rewind file edits and conversation, but not Bash changes, most subagent edits or outside edits. The limits and the safe habit.
Claude Code authentication order: API key vs subscription login
Why Claude Code may use your API key instead of your subscription. The credential precedence order, how to check it with /status, and long-lived tokens for CI.
Claude Artifacts: templates, export formats, storage and sharing
What Claude Artifacts are, which templates exist, what each exports to, the 20 MB storage limit and why artifacts start private, per Anthropic.
CI security gate when the scanner is down: block or pass?
When a security scan in CI times out or errors, should the build fail or continue? A decision guide by branch, risk and override process, with a clear record.
CI is down and production is broken: can you still ship a hotfix?
When the build system is what failed, a hotfix needs another route. Plan a documented, logged emergency deploy path that keeps the checks you can't skip.
How to chunk source code for retrieval without cutting functions in half
Fixed size chunks split functions mid body. Parse the code and chunk by function or class instead. A practical guide with sizes and overlap to test.
Self-healing security runs on Safeguard.
Your first fix PR is minutes away.
No sales call required, even your agent can complete the purchase over MCP.