一键导入
safe-experiment
Experiment with code changes in an isolated worktree. Changes can be reviewed and merged or discarded.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Experiment with code changes in an isolated worktree. Changes can be reviewed and merged or discarded.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | safe-experiment |
| description | Experiment with code changes in an isolated worktree. Changes can be reviewed and merged or discarded. |
| user-invocable | true |
| allowed-tools | Read, Glob, Grep, Bash, Write, Edit, Task |
You have the safe-experiment skill. When invoked, create an isolated worktree for experimental code changes.
/not-my-reforge:safe-experiment <description of experiment>
git worktree add -b experiment/<timestamp> .claude/worktrees/experiment-<timestamp> HEAD
Present results to the user:
## Experiment Results
### Changes Made
- file1.ts: description of change
- file2.ts: description of change
### Verification
- Build: PASS/FAIL
- Tests: PASS/FAIL (N tests)
- Lint: PASS/FAIL
### Diff Summary
(show `git diff --stat` from the worktree)
Ask the user:
cd <original-cwd>
git merge experiment/<timestamp>
git worktree remove .claude/worktrees/experiment-<timestamp>
git branch -d experiment/<timestamp>
git worktree remove .claude/worktrees/experiment-<timestamp> --force
git branch -D experiment/<timestamp>
Multi-perspective code audit. Launches parallel security, quality, performance, and architecture analysis agents.
Multi-strategy parallel codebase search. Combines text search, file patterns, git history, and import tracing to find code comprehensively.
Automatically detect and understand project structure, tech stack, conventions, and key files. Provides project context as background knowledge.
5-stage quality pipeline for Agent Teams — Plan, PRD, Execute, Verify, Fix