← Browse by Chapter
Get the Book →
#79Chapter 14 — Permissions and the Sandbox
Propose a sandbox configuration for this repository. Read the build and test configuration, the package manager files, the CI configuration and any tooling config you find, and base every entry on a file you read: cite the file beside each entry. Give me: the write paths any tool needs outside the working directory, with the tool that needs each one; the network hosts the build and test commands must reach; the credential files and environment variables on this machine that sandboxed commands should not be able to read; and the shortest possible list of commands that cannot run sandboxed at all, with the reason for each. For every entry, say in one line what would break if I left it out and what it opens if I put it in. Do not write to any settings file.

Mastering Claude Code
These prompts are excerpts from the book. Get the full collection with explanations and use cases.