Редактирование узлов MPS через JSON-схемы
★ 7.9 · vibe-coding
mps-node-editing is a Claude Code skill that adds, updates, and deletes MPS nodes using JSON blueprints, covering the unified blueprint format, staged construction for large subtrees, validation, and reference repair. All child, property, and reference mutations on existing nodes go through `mps_mcp_update_node`, which selects the operation via `ADD`/`SET`/`DELETE` × `CHILD`/`PROPERTY`/`REFERENCE` combinations; cloning is handled by `mps_mcp_alter_nodes COPY_NODE` rather than a blueprint. The skill enforces surgical edits to preserve persistent node IDs — delete-and-reinsert patterns are explicitly discouraged because deletion breaks incoming references. It applies whenever creating, editing, or restructuring nodes across any MPS model type: structure, editor, behavior, generator, or application code. Intended for developers doing AST manipulation in MPS via MCP tooling who need reliable, reference-safe node mutations.
- #mps
- #node-editing
- #json-blueprints
- #ast-manipulation
- #model-mutation