Loading...
Loading...
Compare original and translation side by side
[!CAUTION] This is NOT a shortcut for feature work. If the change adds new functionality, changes user-facing behavior, or touches more than ~100 lines, useinstead. Hotfixes should be small, focused, and clearly scoped./plan-feature
[!CAUTION] Scope boundary: This skill implements the fix, reviews it, creates a PR, and monitors CI. It covers the full lifecycle for urgent fixes so the user does not need to chain multiple skills.
[!CAUTION] **这不是功能开发的捷径。**如果变更添加了新功能、修改了用户可见行为,或涉及代码量超过约100行,请使用替代。热修复应规模小、目标明确且范围清晰。/plan-feature
[!CAUTION] 范围边界:该流程负责实现修复、评审、创建PR并监控CI。它覆盖了紧急修复的完整生命周期,因此用户无需串联使用多个流程。
gh issue view <number> --json title,body,labels,state,numbergh issue view <number> --json title,body,labels,state,numbermaingit fetch origin
git checkout main
git pull origin mainfix/git checkout -b fix/<short-description>in-progressmaingit fetch origin
git checkout main
git pull origin mainfix/git checkout -b fix/<简短描述>in-progresspnpm type-check
pnpm lint
pnpm testpnpm type-check
pnpm lint
pnpm testgit add <specific-files>
git commit -m "fix(<scope>): <description>"git add <指定文件>
git commit -m "fix(<范围>): <描述>"/security-scanning:security-sast/ui-design:accessibility-audit/security-scanning:security-sast/ui-design:accessibility-audit.claude/councils/deployment-council.md.claude/councils/deployment-council.mdpnpm type-check && pnpm lint && pnpm format:check && pnpm testpnpm formatformat:checkgit push -u origin fix/<short-description>.github/PULL_REQUEST_TEMPLATE.mdpnpm type-check && pnpm lint && pnpm format:check && pnpm testformat:checkpnpm formatgit push -u origin fix/<简短描述>.github/PULL_REQUEST_TEMPLATE.mdgh pr create --title "<title>" --body "<body>"gh run list --branch fix/<short-description> --limit 1 --json databaseId --jq '.[0].databaseId'gh run watch <run-id> --exit-statusgh pr create --title "<标题>" --body "<正文>"gh run list --branch fix/<简短描述> --limit 1 --json databaseId --jq '.[0].databaseId'gh run watch <run-id> --exit-statusYou completed. The PR is ready for merge. If there is a related GitHub issue, it will close automatically when the PR merges (if the PR body includes/hotfix).Closes #N
您已完成****流程。PR已准备好合并。如果存在相关GitHub问题,当PR合并后会自动关闭(前提是PR正文中包含/hotfix)。Closes #N