Loading...
Loading...
Compare original and translation side by side
git branch --show-currenttest -f .claude/autonomous-tests.json && echo "YES" || echo "NO — requires autonomous-tests config"find docs/_autonomous/pending-fixes -name '*.md' 2>/dev/null | wc -l | tr -d ' 'find docs/_autonomous/fix-results -name '*.md' 2>/dev/null | wc -l | tr -d ' 'find docs/_autonomous/test-results -name '*.md' 2>/dev/null | wc -l | tr -d ' 'python3 -c "import json;s=json.load(open('$HOME/.claude/settings.json'));print('ENABLED' if s.get('env',{}).get('CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS')=='1' else 'DISABLED')" 2>/dev/null || echo "DISABLED — settings not found"git branch --show-currenttest -f .claude/autonomous-tests.json && echo "YES" || echo "NO — requires autonomous-tests config"find docs/_autonomous/pending-fixes -name '*.md' 2>/dev/null | wc -l | tr -d ' 'find docs/_autonomous/fix-results -name '*.md' 2>/dev/null | wc -l | tr -d ' 'find docs/_autonomous/test-results -name '*.md' 2>/dev/null | wc -l | tr -d ' 'python3 -c "import json;s=json.load(open('$HOME/.claude/settings.json'));print('ENABLED' if s.get('env',{}).get('CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS')=='1' else 'DISABLED')" 2>/dev/null || echo "DISABLED — settings not found"autonomous-testsautonomous-tests| Arg | Meaning |
|---|---|
| (empty) | Default: interactive selection via AskUserQuestion |
| Select all fixable items (V, F, T prefixes) |
| Pre-select items with Severity = Critical |
| Pre-select items with Severity = Critical or High |
| Pre-select all security/vulnerability items (V-prefix) |
| Target a specific pending-fixes or test-results file |
| 参数 | 含义 |
|---|---|
| (空) | 默认:通过AskUserQuestion进行交互选择 |
| 选择所有可修复项(V、F、T前缀的条目) |
| 预选择严重级别为Critical的条目 |
| 预选择严重级别为Critical或High的条目 |
| 预选择所有安全/漏洞类条目(V前缀) |
| 指向特定的待修复文件或测试结果文件 |
~/.claude/settings.jsonenv.CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS"1""1"Agent teams are required for this skill but not enabled. Run:This enables thebash <skill-dir>/scripts/setup-hook.shflag and the required hooks in your settings. Do not proceed until the flag is confirmed enabled.CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS
PreToolUseExitPlanModeAskUserQuestionThis skill includes ExitPlanMode and AskUserQuestion as skill-scoped hooks, so they work automatically duringruns. To also enable them globally, run the setup script above. Then continue — do not block on this./autonomous-fixes
.claude/autonomous-tests.jsontest -f .claude/autonomous-tests.json && echo "CONFIG_EXISTS" || echo "CONFIG_MISSING"CONFIG_MISSING/autonomous-testsversion4~/.claude/trusted-configs/testCredentialsdocumentation.fixResults"fixResults": "docs/_autonomous/fix-results"_autonomous/documentation.pendingFixesdocumentation.testResultsdocumentation.fixResults### Requires Fix### Vulnerabilities/autonomous-tests~/.claude/settings.jsonenv.CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS"1""1"本技能需要Agent teams功能,但该功能未启用。请执行:该命令会启用bash <skill-dir>/scripts/setup-hook.sh开关以及配置中所需的钩子。 在确认开关启用前不要继续执行。CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS
PreToolUseExitPlanModeAskUserQuestion本技能包含技能作用域的ExitPlanMode和AskUserQuestion钩子,因此在运行期间会自动生效。如果需要全局启用这两个钩子,请执行上述安装脚本。 然后继续执行,不要因为该问题阻塞流程。/autonomous-fixes
.claude/autonomous-tests.jsontest -f .claude/autonomous-tests.json && echo "CONFIG_EXISTS" || echo "CONFIG_MISSING"CONFIG_MISSING/autonomous-testsversion4~/.claude/trusted-configs/testCredentialsdocumentation.fixResults"fixResults": "docs/_autonomous/fix-results"_autonomous/documentation.pendingFixesdocumentation.testResultsdocumentation.fixResults### Requires Fix### Vulnerabilities/autonomous-tests_autonomous/references/finding-parser.mdSecurity GapData LeakPrivacy Violation### Vulnerabilities### API Response Security### Requires Fixallcriticalhighvulnerabilityfile:<path>AskUserQuestion_autonomous/references/finding-parser.md_autonomous/Security GapData LeakPrivacy Violation### Vulnerabilities### API Response Security### Requires Fixallcriticalhighvulnerabilityfile:<路径>AskUserQuestion_autonomous/.claude/autonomous-tests.jsonreferences/templates.md$ARGUMENTSmodel: "opus".claude/autonomous-tests.jsonreferences/templates.md$ARGUMENTSmodel: "opus"TeamCreategeneral-purposemodel: "opus"testing.unitTestCommandTaskCreateTaskUpdateownerSendMessagetype: "shutdown_request"TeamCreategeneral-purposemodel: "opus"testing.unitTestCommandTaskCreateTaskUpdateownerSendMessagetype: "shutdown_request"date -u +"%Y-%m-%d-%H-%M-%S"references/templates.mddocumentation.fixResults### Resolution### Security Impactdate -u +"%Y-%m-%d-%H-%M-%S"references/templates.mddocumentation.fixResults### Resolution### Security Impactundefinedundefined/autonomous-tests
If `Ready for Re-test: YES` in the fix-results document, inform the user that autonomous-tests will prioritize re-testing these items on next run.
**Vulnerability warning**: If any V-prefix items remain PARTIAL or UNABLE, emit a prominent warning with security priority ranking:
---/autonomous-tests
如果修复结果文档中`Ready for Re-test: YES`,告知用户下次运行autonomous-tests时会优先重测这些条目。
**漏洞警告**:如果有V前缀条目仍为PARTIAL或UNABLE状态,输出醒目的安全优先级排名警告:
---AgentTeamCreateTaskCreateteam_nameTaskUpdateSendMessageAgentAgentteam_namemodel: "opus"date -u.claude/autonomous-tests.jsonsafe: falseAgentTeamCreateTaskCreateteam_nameTaskUpdateSendMessageAgentteam_nameAgentmodel: "opus"date -u.claude/autonomous-tests.jsonsafe: false