Loading...
Loading...
Compare original and translation side by side
command gitcommand git status
command git diff HEAD
command git branch --show-current
command git log --oneline -10
command git rev-parse --abbrev-ref origin/HEADorigin/mainorigin/HEADcommand gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name'maincommand gitcommand git status
command git diff HEAD
command git branch --show-current
command git log --oneline -10
command git rev-parse --abbrev-ref origin/HEADorigin/mainorigin/HEADcommand gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name'maintype(scope): descriptiontype(scope): descriptioncommand gh pr view --json url,title,statestate: OPENcommand gh pr view --json url,title,statestate: OPENmainmastercommand git checkout -b <branch-name>git add -pgit add -Agit add .mainmastercommand git checkout -b <branch-name>git add -pgit add -Agit add .command git push -u origin HEADcommand git push -u origin HEADoriginupstreamcommand gh pr view --json baseRefName,urlbaseRefNamehttps://github.com/<owner>/<repo>/pull/...command git remote -vowner/repooriginorigin/HEADcommand git symbolic-ref --quiet --short refs/remotes/origin/HEADorigin/origincommand gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name'originmainmasterdeveloptrunkcommand git rev-parse --verify origin/<candidate>originAskUserQuestionrequest_user_inputask_useroriginupstreamcommand gh pr view --json baseRefName,urlbaseRefNamehttps://github.com/<owner>/<repo>/pull/...command git remote -vowner/repooriginorigin/HEADcommand git symbolic-ref --quiet --short refs/remotes/origin/HEADorigin/origincommand gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name'originmainmasterdeveloptrunkcommand git rev-parse --verify origin/<candidate>originAskUserQuestionrequest_user_inputask_usercommand git rev-parse --verify <base-remote>/<base-branch>command git fetch --no-tags <base-remote> <base-branch>command git merge-base <base-remote>/<base-branch> HEADcommand git log --oneline <merge-base>..HEADcommand git diff <merge-base>...HEADcommand git rev-parse --verify <base-remote>/<base-branch>command git fetch --no-tags <base-remote> <base-branch>command git merge-base <base-remote>/<base-branch> HEADcommand git log --oneline <merge-base>..HEADcommand git diff <merge-base>...HEAD| Change profile | Description approach |
|---|---|
| Small + simple (typo, config, dep bump) | 1-2 sentences, no headers. Total body under ~300 characters. |
| Small + non-trivial (targeted bugfix, behavioral change) | Short "Problem / Fix" narrative, ~3-5 sentences. Enough for a reviewer to understand why without reading the diff. No headers needed unless there are two distinct concerns. |
| Medium feature or refactor | Summary paragraph, then a section explaining what changed and why. Call out design decisions. |
| Large or architecturally significant | Full narrative: problem context, approach chosen (and why), key decisions, migration notes or rollback considerations if relevant. |
| Performance improvement | Include before/after measurements if available. A markdown table is effective here. |
| 变更类型 | 描述方式 |
|---|---|
| 小型+简单(拼写错误、配置修改、依赖升级) | 1-2句话,无标题。正文总长度约300字符以内。 |
| 小型+非平凡(针对性bug修复、行为变更) | 简短的“问题/修复”叙述,约3-5句话。足够让评审者无需查看差异即可理解原因。除非有两个不同的关注点,否则不需要标题。 |
| 中型功能或重构 | 摘要段落,然后是解释变更内容和原因的章节。重点说明设计决策。 |
| 大型或架构级变更 | 完整叙述:问题背景、选择的方案(及原因)、关键决策、迁移说明或回滚注意事项(如有相关)。 |
| 性能优化 | 如果有数据,包含优化前后的测量结果。Markdown表格是有效的展示方式。 |
#### Summary| Metric | Before | After |
|--------|--------|-------|
| p95 latency | 340ms | 120ms |
| Memory (peak) | 2.1GB | 1.4GB |#### 摘要| 指标 | 优化前 | 优化后 |
|--------|--------|-------|
| p95延迟 | 340ms | 120ms |
| 内存峰值 | 2.1GB | 1.4GB |##1#2undefined##1#2undefined
Write:
```markdown
应这样写:
```markdown
When referencing actual GitHub issues or PRs, use the full format: `org/repo#123` or the full URL. Never use bare `#123` unless you have verified it refers to the correct issue in the current repository.
当引用GitHub的issue或PR时,使用完整格式:`org/repo#123`或完整URL。除非已验证它指向当前仓库中的正确issue,否则不要使用裸的`#123`。------
[![Compound Engineering v[VERSION]](https://img.shields.io/badge/Compound_Engineering-v[VERSION]-6366f1)](https://github.com/EveryInc/compound-engineering-plugin)
🤖 Generated with [MODEL] ([CONTEXT] context, [THINKING]) via [HARNESS](HARNESS_URL)| Placeholder | Value | Example |
|---|---|---|
| Model name | Claude Opus 4.6, GPT-5.4 |
| Context window (if known) | 200K, 1M |
| Thinking level (if known) | extended thinking |
| Tool running you | Claude Code, Codex, Gemini CLI |
| Link to that tool | |
| | 2.40.0 |
------
[![Compound Engineering v[VERSION]](https://img.shields.io/badge/Compound_Engineering-v[VERSION]-6366f1)](https://github.com/EveryInc/compound-engineering-plugin)
🤖 Generated with [MODEL] ([CONTEXT] context, [THINKING]) via [HARNESS](HARNESS_URL)| 占位符 | 取值 | 示例 |
|---|---|---|
| 模型名称 | Claude Opus 4.6, GPT-5.4 |
| 上下文窗口大小(如果已知) | 200K, 1M |
| 思考级别(如果已知) | extended thinking |
| 运行你的工具 | Claude Code, Codex, Gemini CLI |
| 工具链接 | |
| | 2.40.0 |
command gh pr create --title "the pr title" --body "$(cat <<'EOF'
PR description here
---
[![Compound Engineering v[VERSION]](https://img.shields.io/badge/Compound_Engineering-v[VERSION]-6366f1)](https://github.com/EveryInc/compound-engineering-plugin)
🤖 Generated with [MODEL] ([CONTEXT] context, [THINKING]) via [HARNESS](HARNESS_URL)
EOF
)"command gh pr create --title "the pr title" --body "$(cat <<'EOF'
PR描述内容
---
[![Compound Engineering v[VERSION]](https://img.shields.io/badge/Compound_Engineering-v[VERSION]-6366f1)](https://github.com/EveryInc/compound-engineering-plugin)
🤖 Generated with [MODEL] ([CONTEXT] context, [THINKING]) via [HARNESS](HARNESS_URL)
EOF
)"AskUserQuestionrequest_user_inputask_usercommand gh pr edit --body "$(cat <<'EOF'
Updated description here
EOF
)"AskUserQuestionrequest_user_inputask_usercommand gh pr edit --body "$(cat <<'EOF'
更新后的描述内容
EOF
)"command gitcommand ghcommand gitcommand ghcommand gitcommand ghcommand gitcommand gh