Skip to content

Instantly share code, notes, and snippets.

@bbshih
Created December 3, 2025 01:31
Show Gist options
  • Select an option

  • Save bbshih/dbc0ae3bca41d26c4f2b561fe80da59b to your computer and use it in GitHub Desktop.

Select an option

Save bbshih/dbc0ae3bca41d26c4f2b561fe80da59b to your computer and use it in GitHub Desktop.
Claude Code settings

Global Claude Code Preferences

Code Quality Commands

When running linting or formatting commands, always use the fix/auto-fix variants:

  • Use yarn lint:fix instead of yarn lint
  • Use yarn eslint:fix instead of yarn eslint
  • Use yarn prettier:fix instead of yarn prettier
  • Use yarn format or yarn format:* (these typically auto-fix)
  • Use npx eslint --fix instead of npx eslint
  • Use npx prettier --write instead of npx prettier --check
{
"permissions": {
"allow": [
"Bash(npm run lint:*)",
"Bash(npm run build:*)",
"Bash(npm run build)",
"Bash(npm run test:*)",
"Bash(npm run typecheck:*)",
"Bash(npm run typecheck)",
"Bash(npm run format:*)",
"Bash(npm run check:*)",
"Bash(yarn lint)",
"Bash(yarn lint:*)",
"Bash(yarn build)",
"Bash(yarn build:*)",
"Bash(yarn test)",
"Bash(yarn test:*)",
"Bash(yarn typecheck)",
"Bash(yarn typecheck:*)",
"Bash(yarn format)",
"Bash(yarn format:*)",
"Bash(yarn check)",
"Bash(yarn check:*)",
"Bash(yarn tsc:*)",
"Bash(yarn codegen)",
"Bash(yarn codegen:*)",
"Bash(yarn prettier)",
"Bash(yarn prettier:*)",
"Bash(yarn eslint)",
"Bash(yarn eslint:*)",
"Bash(yarn betterer)",
"Bash(yarn betterer:*)",
"Bash(yarn coverage:*)",
"Bash(yarn graph:check)",
"Bash(yarn graph:generate)",
"Bash(yarn graphql:*)",
"Bash(yarn turbo:*)",
"Bash(pnpm lint:*)",
"Bash(pnpm build:*)",
"Bash(pnpm build)",
"Bash(pnpm test:*)",
"Bash(pnpm typecheck:*)",
"Bash(pnpm typecheck)",
"Bash(pnpm format:*)",
"Bash(pnpm check:*)",
"Bash(npx tsc:*)",
"Bash(npx eslint:*)",
"Bash(npx prettier:*)",
"Bash(npx jest:*)",
"Bash(npx cypress run:*)",
"Bash(npx graphql-codegen:*)",
"Bash(docker build:*)",
"Bash(docker ps:*)",
"Bash(docker logs:*)",
"Bash(git status:*)",
"Bash(git log:*)",
"Bash(git diff:*)",
"Bash(git branch:*)",
"Bash(git show:*)",
"Bash(git rev-parse:*)",
"Bash(gh pr view:*)",
"Bash(gh pr list:*)",
"Bash(gh pr status:*)",
"Bash(gh pr checks:*)",
"Bash(gh pr diff:*)",
"Bash(gh issue view:*)",
"Bash(gh issue list:*)",
"Bash(gh issue status:*)",
"Bash(gh repo view:*)",
"Bash(gh repo list:*)",
"Bash(gh run list:*)",
"Bash(gh run view:*)",
"Bash(gh workflow list:*)",
"Bash(gh api:*)",
"Bash(gh auth status:*)",
"Bash(ls:*)",
"Bash(pwd)",
"Bash(which:*)",
"Bash(whoami)",
"Bash(date)",
"Bash(wc:*)",
"Bash(diff:*)",
"Bash(env)",
"Bash(printenv:*)",
"mcp__unblocked__unblocked_context_engine",
"mcp__unblocked__confluence_pages",
"mcp__unblocked__failure_debugging",
"mcp__unblocked__historical_context",
"mcp__unblocked__jira_issues",
"mcp__unblocked__pr_details",
"mcp__unblocked__slack_conversation_details"
]
},
"hooks": {
"Notification": [
{
"hooks": [
{
"type": "command",
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/notify.sh 'Claude needs your input' 'Claude Code'",
"timeout": 5
}
]
}
]
},
"statusLine": {
"type": "command",
"command": "npx -y ccstatusline@latest",
"padding": 0
},
"enabledPlugins": {
"code-documentation@claude-code-workflows": true,
"debugging-toolkit@claude-code-workflows": true,
"git-pr-workflows@claude-code-workflows": true,
"backend-development@claude-code-workflows": true,
"frontend-mobile-development@claude-code-workflows": true,
"full-stack-orchestration@claude-code-workflows": true,
"unit-testing@claude-code-workflows": true,
"tdd-workflows@claude-code-workflows": true,
"code-review-ai@claude-code-workflows": true,
"code-refactoring@claude-code-workflows": true,
"dependency-management@claude-code-workflows": true,
"error-debugging@claude-code-workflows": true,
"team-collaboration@claude-code-workflows": true,
"agent-orchestration@claude-code-workflows": true,
"context-management@claude-code-workflows": true,
"incident-response@claude-code-workflows": true,
"error-diagnostics@claude-code-workflows": true,
"distributed-debugging@claude-code-workflows": true,
"observability-monitoring@claude-code-workflows": true,
"deployment-strategies@claude-code-workflows": true,
"deployment-validation@claude-code-workflows": true,
"cloud-infrastructure@claude-code-workflows": true,
"cicd-automation@claude-code-workflows": true,
"application-performance@claude-code-workflows": true,
"database-cloud-optimization@claude-code-workflows": true,
"comprehensive-review@claude-code-workflows": true,
"performance-testing-review@claude-code-workflows": true,
"framework-migration@claude-code-workflows": true,
"codebase-cleanup@claude-code-workflows": true,
"database-design@claude-code-workflows": true,
"database-migrations@claude-code-workflows": true,
"security-scanning@claude-code-workflows": true,
"security-compliance@claude-code-workflows": true,
"backend-api-security@claude-code-workflows": true,
"frontend-mobile-security@claude-code-workflows": true,
"data-validation-suite@claude-code-workflows": true,
"api-scaffolding@claude-code-workflows": true,
"api-testing-observability@claude-code-workflows": true,
"documentation-generation@claude-code-workflows": true,
"accessibility-compliance@claude-code-workflows": true,
"javascript-typescript@claude-code-workflows": true,
"shell-scripting@claude-code-workflows": true,
"developer-essentials@claude-code-workflows": true
},
"alwaysThinkingEnabled": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment