Claude improvements

This commit is contained in:
Matt Godbolt
2025-05-07 12:32:11 -05:00
parent b7a35dedf6
commit c617461bd0
2 changed files with 11 additions and 0 deletions

3
.gitignore vendored
View File

@@ -29,3 +29,6 @@ newrelic_agent.log
# approval tests
*.received.*
# Claude local settings
.claude/settings.local.json

View File

@@ -17,6 +17,14 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
- ALWAYS run `npm run lint` before any git operations (`git add`, `git commit`, etc.)
- The linter will automatically fix formatting issues, so this must be run before committing
- Failing to run the linter may result in style issues and commit failures
- ALWAYS use HEREDOC syntax for complex shell commands, especially those containing quotes, newlines, or special characters:
```bash
gh pr create --title "Title" --body "$(cat <<'EOF'
PR body content with "quotes" and special chars like $variables
that would otherwise need escaping
EOF
)"
```
## Style Guidelines
- TypeScript: Strict typing, no implicit any, no unused locals