chore: add Claude Code configuration and update Xcode version#171
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Tick the box to add this pull request to the merge queue (same as
|
There was a problem hiding this comment.
Code Review
This pull request introduces several new commands and skills for Claude Code, including workflows for automated code reviews, PR summaries, and opening PRs, alongside a new CLAUDE.md guidance file. The review feedback highlights several improvement opportunities in the scripts, such as using git add -u instead of git add -A to prevent staging untracked files, using --body-file with gh pr create to avoid shell escaping issues, and ensuring pr-description.md is added to .gitignore to prevent accidental commits of temporary files.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| - If the current branch is `main` (or the default branch): | ||
| - Inspect the unstaged/staged changes (via `git diff` and `git status`) to infer a branch name in kebab-case that matches the type of change (e.g. `docs/update-readme`, `feat/add-login`, `fix/crash-on-startup`). | ||
| - Run `git checkout -b <inferred-branch-name>` to create and switch to the new branch. | ||
| - Stage all changed files with `git add -A` and commit them with an appropriate conventional-commit message. |
There was a problem hiding this comment.
Using git add -A automatically stages all untracked and modified files, which can accidentally commit sensitive files, build artifacts, or temporary files that aren't ignored by .gitignore. It is safer to use git add -u to only stage tracked files, or explicitly ask/confirm with the user before staging all untracked files.
| - Stage all changed files with `git add -A` and commit them with an appropriate conventional-commit message. | |
| - Stage modified files with git add -u (or ask the user before staging untracked files) and commit them with an appropriate conventional-commit message. |
|
|
||
| 6. **Push and create the PR** | ||
| - Push the branch to the remote: `git push -u origin <branch>`. | ||
| - Create the PR with `gh pr create` using `--title`, `--head`, `--base main`, and `--body` with the generated description. |
There was a problem hiding this comment.
Passing a multi-line markdown description directly to --body in a shell command can easily cause shell escaping issues, syntax errors, or truncation. It is much safer to write the description to a temporary file and use gh pr create --body-file (or -F ), or pass the body via standard input.
| - Create the PR with `gh pr create` using `--title`, `--head`, `--base main`, and `--body` with the generated description. | |
| - Create the PR with gh pr create using --title, --head, --base main, and --body-file with the generated description written to a temporary file. |
|
|
||
| 6. **Deliver the result** | ||
| - Reply with the PR summary in a **markdown code block** (so the user can copy it from the chat). | ||
| - **Also write** the same content to `pr-description.md` in the repository root so the user can open the file and copy from there. Tell the user the file path; they can delete the file after pasting into the PR. |
There was a problem hiding this comment.
Writing pr-description.md to the repository root will leave an untracked file in the user's working directory, which might be accidentally committed if they run git add . or git add -A later. To prevent this, consider suggesting that the user add pr-description.md to their .gitignore file, or write it to a standard temporary directory.
| - **Also write** the same content to `pr-description.md` in the repository root so the user can open the file and copy from there. Tell the user the file path; they can delete the file after pasting into the PR. | |
| - **Also write** the same content to pr-description.md (ensure this file is in .gitignore to avoid accidental commits) in the repository root so the user can open the file and copy from there. Tell the user the file path; they can delete the file after pasting into the PR. |
|
|
||
| 6. **Deliver the result** | ||
| - Reply with the PR summary in a **markdown code block** (so the user can copy it from the chat). | ||
| - **Also write** the same content to `pr-description.md` in the repository root so the user can open the file and copy from there. Tell the user the file path; they can delete the file after pasting into the PR. |
There was a problem hiding this comment.
Writing pr-description.md to the repository root will leave an untracked file in the user's working directory, which might be accidentally committed if they run git add . or git add -A later. To prevent this, consider suggesting that the user add pr-description.md to their .gitignore file, or write it to a standard temporary directory.
| - **Also write** the same content to `pr-description.md` in the repository root so the user can open the file and copy from there. Tell the user the file path; they can delete the file after pasting into the PR. | |
| - **Also write** the same content to pr-description.md (ensure this file is in .gitignore to avoid accidental commits) in the repository root so the user can open the file and copy from there. Tell the user the file path; they can delete the file after pasting into the PR. |
Generated by 🚫 Danger |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #171 +/- ##
==========================================
- Coverage 67.52% 64.16% -3.37%
==========================================
Files 6 6
Lines 194 173 -21
==========================================
- Hits 131 111 -20
+ Misses 63 62 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
✨ Summary
CLAUDE.mdwith codebase documentation for Claude Code.claude/directory with commands and skills configurationpr-summaryskill from.cursor/to.claude/skills/26.1.1to26.5🔧 Type of Change