Claude Code Migration Notes
This skill was migrated from the local Codex skill registry for Claude Code. Use it as a Claude Code SKILL.md skill. Some source text may name Codex-only tools or channels; in Claude Code, use the closest available Claude Code tool, shell command, MCP/plugin integration, or local helper script. Keep secrets in Keychain, environment variables, or authenticated CLIs only.
Compatibility note: Claude Code can use the style contract and scripts. DOCX rendering verification needs a local Word/LibreOffice/Pandoc path rather than Codex Documents runtime.
Jiangyu Word Report Style
Use this skill as the style layer for the user's Word deliverables. Pair it with the documents:documents skill whenever possible for DOCX rendering and visual QA.
Workflow
- Identify the requested document topic, source files, output directory, and whether the user wants a new document or edits to an existing document.
- If the task names a specific DOCX/template, inspect it first. Otherwise use the default style contract below, which matches the user's internship handover reports.
- Build the report with
python-docx, preferably by copying or adapting scripts/jiangyu_docx_style.py into the working project.
- Save outputs under the user-named workspace, not a random temp folder. For this user, prefer the named
G:\... project directory when one is in scope.
- Verify the final DOCX:
- run
python -m zipfile -t <docx>;
- load it with
python-docx and report paragraph/table counts if useful;
- run the documents skill renderer to PNG/PDF when LibreOffice is available;
- on Windows, if LibreOffice is absent, try Microsoft Word COM export to PDF;
- disclose clearly if visual render QA could not be completed.
Style Contract
Use a formal Chinese technical-report style:
- Page margins: top 2.5 cm, bottom 2.2 cm, left 2.7 cm, right 2.4 cm.
- Chinese body font: 宋体 12 pt. English/number font: Times New Roman 12 pt.
- Main title: centered 黑体 22 pt bold.
- Subtitle: centered 宋体 14 pt bold.
- Heading 1: 黑体 16 pt bold, fixed 20 pt line spacing, 12 pt before, 6 pt after.
- Heading 2: 黑体 14 pt bold, fixed 20 pt line spacing, 8 pt before, 4 pt after.
- Body paragraphs: fixed 20 pt line spacing, 0 pt before/after, first-line indent 24 pt.
- Cover page: title, subtitle, then a “基本信息” table, then page break.
- Tables: use Chinese “三线表” style, not full grid tables. Center captions, use 宋体 10.5 pt bold captions, remove all table borders, then add thick top/bottom rules and a thin rule below the header row.
- Table text: 宋体 9-10.5 pt depending on density; keep cells vertically centered; use centered alignment for short labels/dates/status and left alignment for prose.
- Do not use colorful business templates, decorative blocks, emoji, or marketing-page styling.
Content Pattern
For technical reports, prefer this structure unless the user specifies another:
- Cover and basic information
- Executive conclusion / conclusion first
- Background and scope
- Technical architecture or workflow
- Data, training, evaluation, or implementation details
- Comparison tables for key distinctions
- Risks, boundaries, and interview/succession口径 if relevant
- References or source links when current facts, papers, or model specs are used
For resume/interview reports, include dense Q&A tables and concise “面试口径” sections.
Reusable Resources
- Use
scripts/jiangyu_docx_style.py as the starter builder. It contains the font, heading, body, cover, caption, and three-line-table helpers.
- Use
references/style_contract.md only when exact formatting details are needed without loading the script.
Final Response
Return the final .docx path as a raw absolute path. Mention only the key verification result and any render limitation. Do not overwhelm the user with internal build artifacts unless asked.
1---2name: jiangyu-word-report-style-33description: Generate or edit Word/DOCX reports in Jiangyu's internship handover report format. Use whenever this user asks for a Word document, Word report, docx deliverable, technical report, implementation plan, interview QA report, handover document, or asks to follow the 019dd837-de97-7cf2-8114-baf80bad0e1f handover Word style, including Chinese reports that need the same fonts, spacing, cover, tables, and verification workflow.4---567## Claude Code Migration Notes89This skill was migrated from the local Codex skill registry for Claude Code. Use it as a Claude Code `SKILL.md` skill. Some source text may name Codex-only tools or channels; in Claude Code, use the closest available Claude Code tool, shell command, MCP/plugin integration, or local helper script. Keep secrets in Keychain, environment variables, or authenticated CLIs only.1011Compatibility note: Claude Code can use the style contract and scripts. DOCX rendering verification needs a local Word/LibreOffice/Pandoc path rather than Codex Documents runtime.1213# Jiangyu Word Report Style1415Use this skill as the style layer for the user's Word deliverables. Pair it with the `documents:documents` skill whenever possible for DOCX rendering and visual QA.1617## Workflow18191. Identify the requested document topic, source files, output directory, and whether the user wants a new document or edits to an existing document.202. If the task names a specific DOCX/template, inspect it first. Otherwise use the default style contract below, which matches the user's internship handover reports.213. Build the report with `python-docx`, preferably by copying or adapting `scripts/jiangyu_docx_style.py` into the working project.224. Save outputs under the user-named workspace, not a random temp folder. For this user, prefer the named `G:\...` project directory when one is in scope.235. Verify the final DOCX:24 - run `python -m zipfile -t <docx>`;25 - load it with `python-docx` and report paragraph/table counts if useful;26 - run the documents skill renderer to PNG/PDF when LibreOffice is available;27 - on Windows, if LibreOffice is absent, try Microsoft Word COM export to PDF;28 - disclose clearly if visual render QA could not be completed.2930## Style Contract3132Use a formal Chinese technical-report style:3334- Page margins: top 2.5 cm, bottom 2.2 cm, left 2.7 cm, right 2.4 cm.35- Chinese body font: 宋体 12 pt. English/number font: Times New Roman 12 pt.36- Main title: centered 黑体 22 pt bold.37- Subtitle: centered 宋体 14 pt bold.38- Heading 1: 黑体 16 pt bold, fixed 20 pt line spacing, 12 pt before, 6 pt after.39- Heading 2: 黑体 14 pt bold, fixed 20 pt line spacing, 8 pt before, 4 pt after.40- Body paragraphs: fixed 20 pt line spacing, 0 pt before/after, first-line indent 24 pt.41- Cover page: title, subtitle, then a “基本信息” table, then page break.42- Tables: use Chinese “三线表” style, not full grid tables. Center captions, use 宋体 10.5 pt bold captions, remove all table borders, then add thick top/bottom rules and a thin rule below the header row.43- Table text: 宋体 9-10.5 pt depending on density; keep cells vertically centered; use centered alignment for short labels/dates/status and left alignment for prose.44- Do not use colorful business templates, decorative blocks, emoji, or marketing-page styling.4546## Content Pattern4748For technical reports, prefer this structure unless the user specifies another:49501. Cover and basic information512. Executive conclusion / conclusion first523. Background and scope534. Technical architecture or workflow545. Data, training, evaluation, or implementation details556. Comparison tables for key distinctions567. Risks, boundaries, and interview/succession口径 if relevant578. References or source links when current facts, papers, or model specs are used5859For resume/interview reports, include dense Q&A tables and concise “面试口径” sections.6061## Reusable Resources6263- Use `scripts/jiangyu_docx_style.py` as the starter builder. It contains the font, heading, body, cover, caption, and three-line-table helpers.64- Use `references/style_contract.md` only when exact formatting details are needed without loading the script.6566## Final Response6768Return the final `.docx` path as a raw absolute path. Mention only the key verification result and any render limitation. Do not overwhelm the user with internal build artifacts unless asked.