Community藝術與設計github.com

AllenWang2005/Word-typesetting

Codex skill for formal Chinese Word report formatting.

相容平台~Claude CodeCodex CLI~Cursor
npx skills add AllenWang2005/Word-typesetting

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

說明文件

Word Report Formatting

Overview

Use this skill to format formal Chinese Word reports consistently with Allen's preferred standard. It complements the general DOCX/document skill: use the document tooling for implementation and rendering, and use this skill for the required typography, formula, table, figure, reference/citation, and appendix-code rules.

Required Workflow

  1. Read references/formatting-standard.md before creating or substantially editing a Word report.
  2. Apply the standard unless the user, school template, or provided rubric explicitly overrides it.
  3. Preserve existing document content and structure during edit tasks; make only the local formatting changes needed.
  4. For formulas, inspect the actual OMML/Word equation formatting rather than judging from plain text extraction.
  5. For paper-style citations, read references/citation-crossrefs-ooxml.md and convert body citations such as [1], [1][2], [1,2], or [1-3] into superscript Word cross-references to the matching bibliography entries.
  6. Before delivery, run a formatting audit against the checklist in references/formatting-standard.md.
  7. When possible, render/export the DOCX to PDF or page images and inspect pages for overlap, clipping, table overflow, font substitution, broken cross-references, and appendix code readability.

Core Rules

  • Body text: Chinese in Songti/SimSun, English and numbers in Times New Roman, default small-four/12 pt.
  • Body color: keep body text, headings, captions, tables, formulas, abstract, keywords, and references black unless the user explicitly requests otherwise. Appendix code comments are the standard red exception.
  • Abstract and keywords: left aligned with no first-line indent.
  • Headings: real Word heading styles with outline levels, left aligned rather than centered. Level-1 Chinese headings such as 一、 / 二、 / 三、 must have one blank line of visual space before them when not at the top of a page.
  • Tables: default to white three-line tables, with no fill, no vertical lines, and no full grid. Normalize existing tables that do not meet the standard.
  • Formulas: use native Word OMML equations. Variables are italic; digits, operators, units, function names, constants, explanatory text, and explanatory subscripts are upright.
  • Figures: keep plot titles out of the image when a Word caption is present; use consistent figure numbering and centered figure/table captions.
  • Citations: make body references superscript and field-backed, not merely static superscript text. Use ASCII square brackets [ and ], not Chinese/full-width brackets.
  • Appendix code: put code after main text and tables; color code comments red, preferably C00000.

Must-Fix Audit

Fail the formatting pass and revise if any of these remain:

  • Headings are centered when the standard says they should be left aligned.
  • Abstract or keywords are indented or centered.
  • Body text, headings, captions, table text, or reference text contain unintended non-black color.
  • Figure names or table names are not centered.
  • Level-1 Chinese headings do not have a blank-line visual gap before them when they follow body text.
  • Existing tables, formulas, variables, units, or symbols still violate the standard.
  • Body citations are only static superscript text instead of Word REF fields/bookmark cross-references, unless the user explicitly allows visual-only citations.

Conflict Handling

If older project memory says "formulas should not be italic", treat that as superseded for formal report formulas. The current rule is: variables italic, non-variables upright, following the provided teacher screenshot/specification.

相關技能

jezweb/tailwind-theme-builder

Set up Tailwind v4 + shadcn/ui themed UI with dark mode. Install deps, configure CSS variables via @theme inline, wire dark mode toggle, verify. Use whenever the user mentions Tailwind v4, setting up Tailwind theming, shadcn/ui colours, dark mode, or troubleshooting colours not working, tw-animate-css errors, @theme inline conflicts, @apply breaking after upgrade, or v3 → v4 migration issues.

community

Aikyy99/EduHive

📚 Build an all-in-one subscription-based education platform with secure payments, content management, and analytics for a premium learning experience.

community

art-solutions/hermes-agent-backup-skill

Agent skill repository for art-solutions/hermes-agent-backup-skill.

community

alessandrahighvoltage217/claude-code-build

Build an unofficial Claude Code CLI from source for research, Bun builds, and Node.js use with custom API endpoints

community

jeffallan/game-developer

Use when building game systems, implementing Unity/Unreal Engine features, or optimizing game performance. Invoke to implement ECS architecture, configure physics systems and colliders, set up multiplayer networking with lag compensation, optimize frame rates to 60+ FPS targets, develop shaders, or apply game design patterns such as object pooling and state machines. Trigger keywords: Unity, Unreal Engine, game development, ECS architecture, game physics, multiplayer networking, game optimization, shader programming, game AI.

community

google/google-cloud-waf-operational-excellence

Generates operations-focused guidance for Google Cloud workloads based on the design principles and recommendations in the Operational Excellence pillar of the Google Cloud Well-Architected Framework (WAF). Use this skill to evaluate a workload, identify operational requirements, and provide actionable recommendations for deployment, monitoring, and incident management.

community