ワンクリックで
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 職業分類に基づく
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
| 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>