بنقرة واحدة
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>