Skip to content

Allow Claude to run yarn#1147

Open
kevinherdez wants to merge 1 commit intoNWACus:mainfrom
kevinherdez:kevinherdez/fixClaudePrettify
Open

Allow Claude to run yarn#1147
kevinherdez wants to merge 1 commit intoNWACus:mainfrom
kevinherdez:kevinherdez/fixClaudePrettify

Conversation

@kevinherdez
Copy link
Collaborator

The syntax to allow yarn was incorrect. This allows Claude to run yarn install and yarn prettify

# Limit tools to safe operations for this codebase
claude_args: |
--allowedTools "Read,Glob,Grep,Edit,Write,yarn,Bash(pnpm prettify),Bash(pnpm tsc),Bash(pnpm lint),Bash(pnpm test),Bash(pnpm test:*),Bash(git status),Bash(git diff),Bash(git add),Bash(git commit),Bash(git checkout -b *),Bash(git push),Bash(gh pr create *),Bash(gh issue comment *),mcp__github_inline_comment__create_inline_comment"
--allowedTools "Read,Glob,Grep,Edit,Write,Bash(yarn install),Bash(yarn prettify),Bash(pnpm prettify),Bash(pnpm tsc),Bash(pnpm lint),Bash(pnpm test),Bash(pnpm test:*),Bash(git status),Bash(git diff),Bash(git add),Bash(git commit),Bash(git checkout -b *),Bash(git push),Bash(gh pr create *),Bash(gh issue comment *),mcp__github_inline_comment__create_inline_comment"
Copy link
Collaborator

@yuliadub yuliadub Mar 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets take out these other ones while we are at?

Bash(pnpm prettify),Bash(pnpm tsc),Bash(pnpm lint),Bash(pnpm test),Bash(pnpm test:*)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants