Loading...
Loading...
Compare original and translation side by side
ghgitgh auth statusghgitgh auth statuscoderabbitaicoderabbit[bot]coderabbitai[bot]coderabbitaicoderabbit[bot]coderabbitai[bot]AGENTS.mdAGENTS.mdAGENTS.mdAGENTS.mdgit statusgit pushgit statusgit pushgh pr list --head $(git branch --show-current) --state open --json number,titlegh pr list --head $(git branch --show-current) --state open --json number,titlegh api graphql ... pullRequest.reviewThreads ...isResolved == falsecoderabbitaicoderabbit[bot]coderabbitai[bot]gh api graphql ... pullRequest.reviewThreads ...isResolved == falsecoderabbitaicoderabbit[bot]coderabbitai[bot]_([^_]+)_ \| _([^_]+)_<details><summary>🤖 Prompt for AI Agents</summary>CodeRabbit Issues for PR #123: [PR Title]
| # | Severity | Issue Title | Location & Details | Type | Action |
|---|----------|-------------|-------------------|------|--------|
| 1 | 🔴 CRITICAL | Insecure authentication check | src/auth/service.py:42<br>Authorization logic inverted | 🐛 Bug 🔒 Security | Fix |
| 2 | 🟠 HIGH | Database query not awaited | src/db/repository.py:89<br>Async call missing await | 🐛 Bug | Fix |_([^_]+)_ \| _([^_]+)_<details><summary>🤖 Prompt for AI Agents</summary>CodeRabbit Issues for PR #123: [PR Title]
| # | Severity | Issue Title | Location & Details | Type | Action |
|---|----------|-------------|-------------------|------|--------|
| 1 | 🔴 CRITICAL | Insecure authentication check | src/auth/service.py:42<br>Authorization logic inverted | 🐛 Bug 🔒 Security | Fix |
| 2 | 🟠 HIGH | Database query not awaited | src/db/repository.py:89<br>Async call missing await | 🐛 Bug | Fix |✅ Fixed: [Issue Title] atAgent prompt: [prompt used][Location]
✅ 已修复:[问题标题] 位于Agent提示词: [使用的提示词][位置]
git add <all-changed-files>
git commit -m "fix: apply CodeRabbit auto-fixes"git add <all-changed-files>
git commit -m "fix: apply CodeRabbit auto-fixes"AGENTS.mdAGENTS.mdgit pushgit pushgh pr comment <pr-number> --body "$(cat <<'EOF'gh pr comment <pr-number> --body "$(cat <<'EOF'path/to/file-a.tspath/to/file-b.ts<commit-sha><branch-name>
See [github.md § 3](./github.md#3-post-summary-comment) for details.
Optionally react to CodeRabbit's main comment with 👍.path/to/file-a.tspath/to/file-b.ts<commit-sha><branch-name>
详情参见[github.md § 3](./github.md#3-post-summary-comment)
可选操作:给CodeRabbit的主评论点👍。