Edit pathfinding grids and temporary state in Claude Code
Update walls, endpoints, and reset behavior in AlgoFlow, keeping grid input in its Zustand algorithm slice.
中文Install in Claude Code
The AlgoFlow workspace in Claude Code with its existing Zustand algorithm slice and recomputation flow.
- Review `.claude/skills/pathfinding-scenario-editing/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.claude/skills/pathfinding-scenario-editing/` in your project and save the reviewed file as `.claude/skills/pathfinding-scenario-editing/SKILL.md`.
- Start Claude Code from that project's root, then select `/pathfinding-scenario-editing` in the slash menu.
Example task
Use a 15 by 30 demo grid and fixture `{start:[1,1],end:[13,28],wall:[4,6],empty:[5,6]}`. Try dragging the start onto the wall, then to the open cell, then reset the visualization.What to check
Keep `{start:[5,6],end:[13,28],wall:[4,6]}` and clear visited and path markers. Reject the drag onto the wall and use the moved start when running the algorithm again.
Original SKILL.md on GitHub · Updated
Frequently asked question
How does a pathfinding reset keep walls and the moved start?
Store walls and endpoints in grid input and clear only path and visited markers. A separate default reset restores the original grid.