office-pdf-contracts

Validate quotation and contract workflows for VAT, discounts, and PDF output.

Updated Mar 3, 2026
Ready to run
npx skills add https://github.com/createtree2017/createtree-office --skill office-pdf-contracts
πŸ’¬ Prompt for ChatGPT / Claude Chatβ–Ό
Please help me install this Agent Skill.
Skill: office-pdf-contracts
Source: https://github.com/createtree2017/createtree-office/tree/main/.agents/skills/office-pdf-contracts
Command: npx skills add https://github.com/createtree2017/createtree-office --skill office-pdf-contracts

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

κ²¬μ μ„œμ™€ κ³„μ•½μ„œμ˜ κΈˆμ•‘(λΆ€κ°€μ„Έ/할인), 계약 μƒνƒœ 전이, 거래처 ν™œμ„± μ„œλΉ„μŠ€ μ—°κ²°, 그리고 PDF μƒμ„±Β·λ‹€μš΄λ‘œλ“œκ°€ μ–΄κΈ‹λ‚  λ•Œ λ°œμƒν•˜λŠ” μž¬μž‘μ—…κ³Ό 였λ₯˜λ₯Ό λ°©μ§€ν•©λ‹ˆλ‹€.

Core Features & Use Cases

  • 견적 수락 ~ 계약 μ „ν™˜ 흐름 검증: κ²¬μ μ„œ 수락, 계약 λ³€ν™˜(μ „ν™˜), ν™œμ„±ν™”, ν•΄μ§€, κ°±μ‹  μƒνƒœ 전이λ₯Ό ν•¨κ»˜ ν™•μΈν•˜κ³  μœ μ§€ν•©λ‹ˆλ‹€.
  • VAT/할인/κΈˆμ•‘ μ •μ±… 일관성: κΈˆμ•‘ λ‹¨μœ„Β·VAT ν‘œκΈ°Β·κ³„μ•½κΈ°κ°„ 할인 정책을 μ½”λ“œ κΈ°μ€€μœΌλ‘œ 점검해 ν™”λ©΄/UI 변경에도 계산/μƒνƒœ/API 흐름이 κΉ¨μ§€μ§€ μ•Šκ²Œ ν•©λ‹ˆλ‹€.
  • PDF 좜λ ₯ κΈ°μ€€ κ³ μ •: A4 λ ˆμ΄μ•„μ›ƒ, μ—¬λ°±, 파일λͺ…, λŒ€μƒ DOM, 그리고 생성 방식(html2pdf.js vs μ„œλ²„ Playwright)을 κΈ°μ€€μœΌλ‘œ 좜λ ₯ μ•ˆμ •μ„±μ„ ν™•λ³΄ν•©λ‹ˆλ‹€.
  • λ§ˆμ΄νŽ˜μ΄μ§€ κ°€μ‹œμ„±: λ§ˆμ΄νŽ˜μ΄μ§€μ—μ„œ 계약이 μ˜¬λ°”λ₯΄κ²Œ ν‘œμ‹œλ˜λŠ”μ§€ ν™•μΈν•©λ‹ˆλ‹€.

Quick Start

κ²¬μ μ„œ 수락 이후 계약 μ „ν™˜, 계약 μƒνƒœ 전이, 그리고 PDF λ‹€μš΄λ‘œλ“œκΉŒμ§€ μ‹€μ œ μ½”λ“œ 흐름을 κΈ°μ€€μœΌλ‘œ 검증할 μž‘μ—…μ„ office-pdf-contracts μŠ€ν‚¬λ‘œ μ•ˆλ‚΄ν•΄ 달라고 μš”μ²­ν•˜μ„Έμš”.

Frequently Asked Questions about office-pdf-contracts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I keep VAT and discount calculations consistent across quotation and contract workflows?β–Ό

VAT and discount calculations are kept consistent by validating monetary units, VAT notation, and contract period discount policies against the code base, ensuring calculation and API flows remain intact during UI changes.

How do I generate A4 PDF contracts from HTML without breaking the layout?β–Ό

A4 PDF contract generation is stabilized by fixing DOM targeting, layout margins, and file naming while validating the generation method, using either html2pdf.js or server-side Playwright for output integrity.

What is the correct way to handle contract status transitions from quotation acceptance to renewal?β–Ό

Contract status transitions from quotation acceptance to conversion, activation, cancellation, and renewal are verified together across route, page, hook, schema, and API flows to maintain state consistency.

Does html2pdf.js work with server-side Playwright for contract PDF generation?β–Ό

html2pdf.js and server-side Playwright are both supported as PDF generation methods, with the Skill validating the chosen approach and running skills:sync and skills:check after updates to ensure output stability.

Why does my contract disappear from my-page after a status transition?β–Ό

Contract visibility on my-page is maintained by verifying that route, page, hook, and schema flows correctly reflect contract status transitions, ensuring contracts display properly after activation or cancellation changes.