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-editSKILL.md
Reference-Preserving Edit
Use this workflow when the document already exists and layout stability matters more than editing speed.
Tool Order
- Create a working copy with
copy_document. - Read the current structure with
get_document_outline,get_paragraphs_text,get_table_text, orhwpx_extract_json. - In advanced mode, inspect sensitive package parts with
package_parts,package_get_xml,package_get_text,object_find_by_tag, orobject_find_by_attr. - Validate the baseline with
validate_structureif the source document is externally produced or suspicious. - Apply the smallest possible edit:
search_and_replaceorbatch_replacefor anchored text updatesformat_textfor localized stylingset_table_cell_textfor fixed cells- paragraph insertion/deletion only when structure must change
- 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_commandssupports 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_documentwhen 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
- SKILL.md in the repositoryCheckingexamples/skills/reference-preserving-edit/SKILL.md
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
[](https://verified-skill.com/skills/airmang/hwpx-mcp-server/reference-preserving-edit)