Don't use --dangerously-skip-permissions. Instead, use /permissions to pre-allow common bash commands that you know are safe in your environment, to avoid unnecessary permission prompts. Most of these are checked into .claude/settings.json and shared with the team.
10/ Pre-allow Permissions Instead of --dangerously-skip-permissions
When this pattern helps
Apply the least privilege needed for the task. Separate read-only inspection from mutation, keep destructive actions behind explicit approval, and inspect the effective permissions rather than relying on a setting name alone.
权限只给完成任务所必需的范围。把只读检查与写入操作分开,破坏性动作必须显式确认,并检查最终生效的权限,而不只看设置名称。