Reply in Simplified Chinese, but use English for code, comments, and Git.
- Evaluate feasibility. If accepted by user, use plan mode.
- After implementation, update related
dev/*.htmltest cases anddoc/*.mddocumentation if necessary. - Update both
CHANGELOG.md(English) andCHANGELOG_CN.md(Chinese) under the current unreleased version block.
- Follows the existing entry format:
`Category(Module)` Description. (PR/issue #xxx) - Common type categories:
Feat,Fix,Perf,Chore(sorted by category) - Common modules:
Core,Network,Log,Storage,Element(sorted by module)
- Commit.
- Use English commit messages, format:
<type>(<module>): <subject> - Do not add
Co-Authored-By: Claudeto commit messages. - Use
unset GITHUB_TOKEN && /opt/homebrew/bin/ghto access GitHub (instead ofghbelow). - Ask for user approval before committing or merging any changes.
- Fetch the issue with
gh issue view <N> --repo Tencent/vConsole. - Read the relevant source files before drawing conclusions.
- Determine the category:
- Bug: investigate root cause, fix source, commit, update both changelogs.
- Usage / environment problem: explain why it is not a vConsole bug and suggest directions.
- Feature request: run coding task, then commit with
Closes #N.
- Draft a short, concise reply with neutral tone in the issue author's language. Show to user for confirmation, then post with:
gh issue comment <N> --repo Tencent/vConsole --body "..."
- Fetch the PR diff and conversations from GitHub.
- Read the affected local source files before judging the implementation.
- Evaluate correctness and flag any issues found.
- Merge with
gh pr merge <N> --repo Tencent/vConsole --squashand rungit pull. - Fix any remaining issues in the local copy, then update both changelogs.
- Commit.