Installs into .claude/skills of the current project.
Are you the author of Ztp3d Realtime Scene Editor Scene History?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/realjustawall-ztp3d-realtime-scene-editor-scene-history)
---
name: ztp3d-realtime-scene-editor-scene-history
description: "Undo, Redo and Command Journal: specialized Perfect_AI quality workflow for Real-Time 3D Scene Editor."
---
# Undo, Redo and Command Journal
## Where this skill applies
Define atomic transactions and replayable event history, limited memory and safe corruption recovery.
## Task-specific implementation plan
Included store supports undo/redo for JSON documents. Long-lived collaboration requires conflict strategy and stable persistence, not included by default.
### Inputs and dependencies
- Existing project source and its installed versions, target browser, 3D scene/camera, ownership rules.
- Parent integration guide: `../ztp3d-realtime-scene-editor/SKILL.md`.
- Working example and adapter: `../../src/adapters/three-editor.mjs`.
- Upstream technical reference: https://github.com/repalash/threepipe.
### Step-by-step operational checklist
1. Inspect target source files and preserve all existing behavior; explicitly name the owner of each component, canvas and animation timeline.
2. Validate input data and preconditions. For missing support, stop gracefully with a useful error and a visible fallback.
3. Implement undo, redo and command journal through smallest observable patch, preferring local modules, deterministic data and reusable functions.
4. Include edge cases: empty assets, large assets, stale asynchronous work, component unmount, 320px mobile, RTL layout and prefers-reduced-motion.
5. Verify each change independently before enabling it in the full pipeline; record precise reproduction steps.
6. Test final rendering on browser and target device and collect screenshot, console and resource lifecycle evidence.
7. Classify final result as documented / implemented / unit tested / browser tested / actual GPU tested.
### Targeted acceptance tests
Undo/redo repeated transforms and branching after undo restores correct state.
### Failure and rollback
- If a feature is unavailable, keep prior renderer or accessible HTML content intact and report why.
- If perf regresses, turn off the optional effect/plugin through an explicit feature flag.
- Do not change or delete upstream Perfect_AI skills; add new files or narrowly patch the destination application only on request.
- Always distinguish simulated/browser/device evidence.
### Example deliverables
- Implementation diff and dependency changes; deterministic fixture and tested commands.
- Baseline/target render screenshots and p95 frame-time notes where GPU work is involved.
- List of remaining limitations, security/privacy and licensing issues.