本文へ移動
cccskills
無料GitHub で公開

docx

Create, read, edit, review, redline, comment on, merge, audit, render, and verify .docx Word documents, including layout-sensitive and OOXML-level work.

インストール方法を見る

含まれるファイル(75)

  • SKILL.md7.2 KB
  • references/design_presets.md12.4 KB
  • references/examples/end_to_end_smoke_test.md945 B
  • references/header_templates.md12.4 KB
  • references/manifest.txt2.4 KB
  • references/ooxml/comments.md1.8 KB
  • references/ooxml/hyperlinks_and_fields.md2.4 KB
  • references/ooxml/rels_and_content_types.md1.3 KB
  • references/ooxml/tracked_changes.md1.6 KB
  • references/tasks/accessibility_a11y.md1.9 KB
  • references/tasks/captions_crossrefs.md3.7 KB
  • references/tasks/clean_tracked_changes.md1.6 KB
  • references/tasks/comments_manage.md2.9 KB
  • references/tasks/compare_diff.md1.1 KB
  • references/tasks/create_edit.md1.9 KB
  • references/tasks/fields_update.md2.3 KB
  • references/tasks/fixtures_edge_cases.md1.7 KB
  • references/tasks/footnotes_endnotes.md1.8 KB
  • references/tasks/forms_content_controls.md2.0 KB
  • references/tasks/headings_numbering.md1.8 KB
  • references/tasks/images_figures.md1.3 KB
  • references/tasks/multi_doc_merge.md1.5 KB
  • references/tasks/navigation_internal_links.md2.1 KB
  • references/tasks/privacy_scrub_metadata.md847 B
  • references/tasks/protection_restrict_editing.md1.2 KB
  • references/tasks/read_review.md2.5 KB
  • references/tasks/redaction_anonymization.md2.3 KB
  • references/tasks/sections_layout.md2.1 KB
  • references/tasks/style_lint_normalize.md2.5 KB
  • references/tasks/tables_spreadsheets.md1.1 KB
  • references/tasks/templates_style_packs.md1.2 KB
  • references/tasks/toc_workflow.md1.9 KB
  • references/tasks/verify_render.md2.5 KB
  • references/tasks/watermarks_background.md1.3 KB
  • references/template-create.md5.0 KB
  • references/template-distill.md4.1 KB
  • references/troubleshooting/libreoffice_headless.md1.8 KB
  • references/troubleshooting/run_splitting.md821 B
  • scripts/a11y_audit.mjs12.0 KB
  • scripts/accept_tracked_changes.mjs6.5 KB
  • scripts/add_tracked_replacements.mjs7.2 KB
  • scripts/apply_template_styles.mjs5.1 KB
  • scripts/captions_and_crossrefs.mjs12.0 KB
  • scripts/comments_add.mjs9.2 KB
  • scripts/comments_apply_patch.mjs5.6 KB
  • scripts/comments_extract.mjs5.1 KB
  • scripts/comments_strip.mjs5.3 KB
  • scripts/content_controls.mjs9.4 KB
  • scripts/docx_ooxml_patch.mjs20.9 KB
  • scripts/docx_table_to_csv.mjs3.9 KB
  • scripts/fields_materialize.mjs7.1 KB
  • scripts/fields_report.mjs5.6 KB
  • scripts/flatten_ref_fields.mjs5.3 KB
  • scripts/footnotes_report.mjs4.0 KB
  • scripts/heading_audit.mjs5.5 KB
  • scripts/images_audit.mjs5.4 KB
  • scripts/insert_note.mjs9.4 KB
  • scripts/insert_ref_fields.mjs8.0 KB
  • scripts/insert_toc.mjs7.4 KB
  • scripts/internal_nav.mjs10.2 KB
  • scripts/make_fixtures.mjs11.2 KB
  • scripts/mark_artifact_operation_started.mjs714 B
  • scripts/merge_docx_append.mjs5.0 KB
  • scripts/privacy_scrub.mjs6.0 KB
  • scripts/redact_docx.mjs8.2 KB
  • scripts/render_and_diff.mjs7.1 KB
  • scripts/render_docx.mjs15.5 KB
  • scripts/section_audit.mjs4.8 KB
  • scripts/set_protection.mjs6.2 KB
  • scripts/style_lint.mjs6.6 KB
  • scripts/style_normalize.mjs6.3 KB
  • scripts/table_geometry.mjs4.9 KB
  • scripts/watermark_add.mjs8.4 KB
  • scripts/watermark_audit_remove.mjs5.4 KB
  • scripts/xlsx_to_docx_table.mjs9.8 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

DOCX Skill

Use this skill when a task involves a Word .docx document and correctness depends on document structure, formatting, tracked changes, comments, fields, tables, forms, or rendered layout.

Core workflow

  1. Identify the operation: read/review, create/edit, template following, redlining/comments, conversion, or final verification.
  2. Keep the source document unchanged for review and template-distillation work. Write outputs and intermediate files to a task-specific writable directory.
  3. Use Node OOXML for ordinary paragraphs, runs, styles, tables, headers/footers, and page setup. Use the bundled helpers under scripts/ for deterministic audits and OOXML operations.
  4. After every meaningful create or edit batch, render the document with render_docx.mjs, inspect every generated page image, and iterate until the layout is clean.
  5. Deliver only the requested final document. Keep rendered PNGs, temporary PDFs, audit JSON, and diff images as internal QA artifacts unless requested.

Route to the relevant guide

Read only the supporting guide needed for the current operation:

Rendering and visual QA

The canonical renderer converts DOCX to PDF internally and rasterizes each page to page-<N>.png:

node scripts/render_docx.mjs input.docx --output_dir /path/to/qa

Use --emit_pdf only when an intermediate PDF is useful for diagnosis. Use --verbose when LibreOffice conversion needs debugging. Inspect every page at full resolution for clipped or overlapping text, missing glyphs, broken tables, unexpected page breaks, and header/footer drift. Text extraction or XML checks alone cannot prove visual correctness.

If LibreOffice is unavailable, complete structural checks with the relevant audits and state that visual QA could not be performed. If conversion fails for another reason, diagnose the renderer/profile problem before judging the DOCX.

For repeated comparisons, use scripts/render_and_diff.mjs. For a quick structural pass, use the audits for sections, headings, images, fields, footnotes, comments, tables, styles, watermarks, accessibility, or content controls as applicable.

New documents and major rewrites

When no supplied template controls the design, choose exactly one preset from references/design_presets.md:

  • standard_business_brief for formal memos and executive briefs
  • compact_reference_guide for checklists, launch guides, and dense references
  • narrative_proposal for proposals and longer persuasive documents
  • an archetype alias defined by the reference when it is a closer fit

Resolve the preset into explicit page, margin, typography, spacing, list, table, color, header, and footer tokens before drafting. Use real Word styles, numbering definitions, and fixed DXA table geometry; do not depend on inherited defaults or visual approximations. Read references/header_templates.md when a new first-page header, cover, or title block is needed.

Use the lightest form factor that matches the content: prose for explanation, bullets for unordered considerations, numbered steps for procedures, checklists for acceptance criteria, callouts for warnings, and tables only for genuinely tabular data. Avoid using tables as layout containers or turning cells into long prose blocks.

Editing, redlining, and OOXML

For an existing document, preserve the original structure and make the smallest local change that satisfies the request. Do not rewrite unrelated paragraphs or styles. Real tracked changes and Word comments require OOXML patching; use the corresponding helpers and perform another render plus structural check after any package-level change.

Use scripts/privacy_scrub.mjs before publication when personal metadata or rsid values should be removed. Use scripts/redact_docx.mjs for explicit redaction/anonymization requests and verify the result structurally and visually. Use scripts/set_protection.mjs only when the requested output needs editing restrictions.

File and command conventions

  • Refer to inputs and outputs by absolute paths when reporting results.
  • Keep temporary work in a unique writable directory; never modify a retained reference document during inspection.
  • Prefer the bundled Node/MJS helpers and the renderer bundled with the application. Check the renderer bundle before relying on an optional operation.
  • Do not claim a render or audit passed unless its output was actually checked.
  • Keep citation text human-readable; do not place internal tool tokens in the document.

Bundled resources

The package includes the canonical renderer, OOXML notes, task playbooks, design references, examples, and reusable scripts. references/manifest.txt lists the bundled paths. Scripts are intended to be run from a writable working directory, while this skill directory remains the source of reusable helpers.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

On-demand provisioning guide for a Memmy GUI task that fully connects an explicitly named local Agent: discover its active history store, install or remove its rendered Memmy Skill, bootstrap a scan boundary, persist a validated automatic-sync recipe, and verify GUI-visible readiness.

日本語の概要は準備中です。原文の説明を表示しています。

MemTensor/memmy-agent2,0882026年10月10日 更新

Answer questions about what the user recently did on their computer — who contacted them, what they were working on, where they left off — by reading the local Computer History summaries and raw event streams.

日本語の概要は準備中です。原文の説明を表示しています。

MemTensor/memmy-agent2,0882026年10月10日 更新

cron

無料

Schedule reminders and recurring tasks.

日本語の概要は準備中です。原文の説明を表示しています。

MemTensor/memmy-agent2,0882026年10月10日 更新

github

無料

Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.

日本語の概要は準備中です。原文の説明を表示しています。

MemTensor/memmy-agent2,0882026年10月10日 更新

Generate images and iteratively edit saved image artifacts.

日本語の概要は準備中です。原文の説明を表示しています。

MemTensor/memmy-agent2,0882026年10月10日 更新

Use the memmy-memory CLI when an agent needs to check the Memory service, open or close agent sessions, start or complete turns, search, add, read, or delete memories, or call uncommon HTTP routes through raw requests.

日本語の概要は準備中です。原文の説明を表示しています。

MemTensor/memmy-agent2,0882026年10月10日 更新

MemTensor のスキルをすべて見る

このスキルの問題を報告する