用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/redsub-captain/redsub-claude-code --skill redsub-fix-all命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | redsub-fix-all |
| description | Search and bulk-fix a pattern across the entire codebase. |
On any bug/error, exhaustively search for identical/similar patterns. Never fix just one.
$ARGUMENTS: pattern description + optional flags (--team, --loop).
--team in $ARGUMENTS → directly use Team mode.--loop in $ARGUMENTS → directly use Loop mode.If neither --team nor --loop was passed, check the environment:
echo "${CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS:+enabled}"
If enabled → use AskUserQuestion tool:
If not enabled → use Sequential mode without asking.
Fix all cases one by one in a single session.
--team or user choice)Uses parallel agent dispatch (redsub-claude-code-practices rule).
Requires
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1.
/redsub-validate after completion.--loop or user choice)/ralph-loop "Fix all [pattern]" --completion-promise "LINT CLEAN" --max-iterations 30
Grep entire codebase for pattern.
TodoWrite for all cases: file:line, current code, required fix.
Edit each case, mark complete in TodoWrite.
Run /redsub-validate (uses Command Resolution to detect project commands).
Batch fix complete: [pattern]
- Found: M cases in N files
- Fixed: M cases
- Validation: pass/fail