홈 / Skills / 업무 및 문서 / Word 문서 만들기 Word Document Builder
업무 및 문서

Word 문서 만들기 Word Document Builder

AIBarsMITSkill 언어: 영어
라이선스 확인됨스크립트 없음중간 위험
실행 예시실제 실행 · claude-sonnet-5-5 · 2026년 10월
Please create a Word document called atlas-status.docx: a short status report for a fictional project "Project Atlas" (an internal tool migration), for the steering group. It should have a title, a one-paragraph summary, a table of 4 milestones with owner, due date and status (make up plausible sample rows and mark them as sample), a bullet list of 3 risks, a header with the project name and a page number in the footer. Use A4. Then open the saved file and tell me what you verified.
Skill: word-document-builder

I created atlas-status.docx in the working folder and reopened it with python-docx to check the structure. I didn't check how it looks on the page.

What I confirmed from the reopened file

  • Page size: A4, 21.0 × 29.7 cm.
  • Title and headings: The title uses the Title style, followed by a "Prepared for the Steering Group" line. The three section headings (Summary, Milestones, Key Risks) use Heading 1.
  • Summary: One paragraph.
  • Table: A real Word table with a bold header row (Milestone, Owner, Due date, Status) and 4 milestone rows. The heading says "(sample data)" and a caption under the table says the rows are illustrative. Owners are placeholders ("A. Example" and so on), and the dates and statuses are made up.
  • Risks: 3 items in the List Bullet style.
  • Header and footer: The header reads "Project Atlas". The footer holds "Page" followed by a PAGE field.

What I didn't check

  • Page numbers: The number is a field, so it only displays when you open the file in Word. I confirmed the field exists, not what it shows.
  • Layout and page count: LibreOffice isn't installed here, so I couldn't convert to PDF. I can't say how the document looks or how many pages it runs to.

Before circulating: replace the sample milestone rows and the risk wording with real project content. The summary paragraph is generic text I wrote, since you gave no project details.

Files: the build script is scripts/build_docx.py and the check script is scripts/verify_docx.py, both in the working folder. My first attempt put the script in /tmp, which the sandbox blocked, so I used scripts/ instead.

Test run: a fictional status report built with python-docx 1.2.0 in a temporary folder. The run was allowed to write files and run python3 only. The model re-opened the file and checked page size, styles, the table, the bullets, the header and the page-number field. LibreOffice was not installed, so layout and page count were not checked. All content is sample.

하는 일

.docx를 만들거나 바꾸는 Python 스크립트를 쓰고 실행해 문서를 깔끔하고 계속 편집할 수 있게 유지합니다. 새 문서는 수동 서식이 아니라 스타일로 진짜 제목, 목록, 표를 만듭니다. 기존 파일을 고칠 때는 먼저 구조 개요를 출력하고, 요청한 부분만 바꾸며, 템플릿의 스타일, 머리글, 바닥글을 유지하고, 새 이름으로 저장합니다. 텍스트와 구조를 추출할 수도 있습니다. 쪽 번호와 목차는 Word의 필드이므로 필드를 넣고 Word에서 열어야 표시된다고 알려 줍니다. 저장한 뒤에는 파일을 다시 열어 용지 크기, 제목 순서, 표, 글머리표, 머리글과 바닥글 등 확인한 내용을 보고합니다.

결과물

.docx 파일, 만든 스크립트, 확인 보고서, 확인하지 못한 항목, 직접 채워야 할 자리표시자.

이런 때 좋습니다

Word를 직접 열지 않고 데이터로 보고서, 메모, 편지, 템플릿 문서를 만들거나 고치려는 사람.

참고 사항 및 위험

중간 위험:지침만 있는 파일로 자체 스크립트는 없지만, Python을 쓰고 실행해 작업 폴더에 파일을 만들며 가상 환경에 python-docx 설치를 권할 수 있습니다. 원본을 덮어쓰지 않고 매크로를 만들지 않으며 외부에서 가져오지도 않습니다. 임시 폴더에서 샘플 내용으로 한 번 시험했고 현황 보고서를 만들어 다시 열어 구조를 확인했으며, LibreOffice가 없어 레이아웃과 쪽 번호는 확인하지 못했습니다. 보내기 전에 Word에서 확인하세요. AIBars 제작(MIT).

SKILL.md 원본패키지에 파일 2개