airmang/hwpx-mcp-server/reference-preserving-edit

Claude Code and agent skill by airmang/hwpx-mcp-server

Trust tier 2
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use this workflow when editing an existing HWPX while minimizing layout drift by copying first, inspecting the relevant package parts, making bounded edits with the current MCP tools, and validating the result before handoff.

Install

npx vskill@latest install airmang/hwpx-mcp-server/reference-preserving-edit

SKILL.md

Reference-Preserving Edit

Use this workflow when the document already exists and layout stability matters more than editing speed.

Tool Order

  1. Create a working copy with copy_document.
  2. Read the current structure with get_document_outline, get_paragraphs_text, get_table_text, or hwpx_extract_json.
  3. In advanced mode, inspect sensitive package parts with package_parts, package_get_xml, package_get_text, object_find_by_tag, or object_find_by_attr.
  4. Validate the baseline with validate_structure if the source document is externally produced or suspicious.
  5. Apply the smallest possible edit:
  • search_and_replace or batch_replace for anchored text updates
  • format_text for localized styling
  • set_table_cell_text for fixed cells
  • paragraph insertion/deletion only when structure must change
  1. Re-read the touched areas and rerun validate_structure.

Minimize Layout Drift

  • Prefer replacement over insertion.
  • Avoid changing table geometry unless required.
  • Limit edits to the smallest paragraph or table region possible.
  • Use package inspection when memo anchors, section XML, or dense table layouts make visual assumptions risky.

When To Inspect Package Parts

  • The source was generated by another system.
  • The visible text is not enough to identify the true anchor.
  • You need to confirm which section or package part contains the target content.

Honest Limitations

  • apply_document_commands supports a typed set/add/remove/move/copy union, not arbitrary package mutation; use a domain-specific tool when its evidence or semantics are required.
  • There is no public layout-drift report or structure-diff tool on the active MCP surface.
  • Saving is implicit: mutating tools persist immediately, so always start from copy_document when the original must stay untouched.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
67
Repository forks
23
7-day trend score
21

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/airmang/hwpx-mcp-server/reference-preserving-edit/badge)](https://verified-skill.com/skills/airmang/hwpx-mcp-server/reference-preserving-edit)

Something wrong with this skill or its page? Tell us.