The final .docx must read like a lawyer drafted it. The output must contain:
*[Note:...]*, *[OPTIONAL:...]*)[OPTIONAL] markers, option guides)[TBD — description]
markers for values the user couldn't provide, documented in the memoThe agreement title is "Customer Agreement" — NOT "SaaS Services Agreement".
If any annotation, note, or non-TBD bracket appears in the output, the draft is not ready. Fix it before delivering.
Before asking any questions, read all three reference files:
references/intake-questions.md — 15 question groups with branching and defaultsreferences/decision-matrix.md — maps answers to YC template actions (18 always-apply defaults, 12 conditional decisions, variable substitutions, raise-with-lawyer flags)references/supplementary-language.md — pre-written clause text anchored by ID (always-apply blocks and conditional blocks)The decision matrix tells you WHAT to change. The supplementary language gives
you the EXACT TEXT to insert. Do not improvise contract language — if the
matrix says to insert #DATA-PRIVACY, use the verbatim text from
supplementary-language.md. The ONE exception is Order Form Service Fees,
where the LLM composes from fee pattern examples.
Follow the questions in references/intake-questions.md in order. Apply
branching logic (e.g., skip implementation fee if no implementation, skip
pilot details if no pilot, skip service capacity if flat pricing).
Key principles:
[TBD — description] for any value the user can't provide yetRead the YC template from assets/YC_Form_SaaS_Agreement.docx.
Apply modifications in this order:
First — Always-apply defaults (decision-matrix.md Section A, items A1-A18):
#DATA-PRIVACY (new section)#WARRANTY-REMEDY,
#CUSTOMER-WARRANTY, #BETA-DISCLAIMER
#MARKETING-DEFAULT
#EXHIBIT-B-CONSOLIDATED, delete Exhibit CSecond — Conditional decisions (decision-matrix.md Section B, items B1-B12):
Walk through each conditional decision. For each, look up the intake answer
and apply the specified action. When the matrix references supplementary
language (e.g., #NO-AUTO-RENEWAL), use the verbatim text.
Third — Variable substitutions (decision-matrix.md Section C):
Replace all YC placeholders with intake values. Any field not collected →
[TBD — description].
Fourth — Cleanup:
DocX formatting notes:
Produce the output as a .docx file:
[CompanyName]_[CustomerName]_Customer_Agreement_DRAFT.docx
Use available document creation tools (native DocX skill, python-docx, or equivalent) to produce a professionally formatted Word document.
Create a markdown memo alongside the agreement:
[CompanyName]_[CustomerName]_Customer_Agreement_Memo.md
The memo must include:
1. Deal Summary — One paragraph: who, what, fee structure, term.
2. Template Base — "This agreement is based on the Y Combinator standard form SaaS Agreement with the following modifications."
3. Always-Applied Defaults — Itemized list of every always-apply change (A1-A18), with brief rationale for each. Example:
4. Intake-Driven Decisions — Each conditional decision and what was selected. Example:
5. Items Requiring Attorney Review — This is critical. For each raise-with-lawyer flag (decision-matrix.md Section D), include the flag text verbatim. These are:
6. TBD Items — Every [TBD — description] in the document, listed so
the founder knows what to fill in before sending.
Provide the user with:
| # | Location | What's Decided |
|---|---|---|
| B1 | Order Form | Services description (from product intake) |
| B2 | Order Form | Fee structure + service capacity (8 fee types) |
| B3 | Order Form + Exhibit A | Implementation services: include or remove |
| B4 | Order Form | Pilot period: include or remove |
| B5 | §2.1 | Distributed software license: include or remove |
| B6 | §3.2 | Derivative data: customer owns or company retains |
| B7 | §5.1 | Auto-renewal: yes (30/60/90 day notice) or no |
| B8 | §5.2 | Data retention period on termination |
| B9 | §9 | Governing law: state selection |
| B10 | §9 | Marketing formulation: default, more, or less |
| B11 | Exhibit B | SLA availability: 99.9% / 99.95% / 99.99% |
| B12 | Exhibit B | Support details: email, phone, hours, tool |
| Anchor | Clause | Type |
|---|---|---|
| #DATA-PRIVACY | §2.5 Data privacy & security | Always |
| #WARRANTY-REMEDY | §6.1 Exclusive warranty remedy | Always |
| #CUSTOMER-WARRANTY | §6.2 Customer warranty | Always |
| #BETA-DISCLAIMER | §6.3 Beta products (ALL CAPS) | Always |
| #MARKETING-DEFAULT | §9 Marketing language | Always |
| #EXHIBIT-B-CONSOLIDATED | Exhibit B: SLA + Support | Always |
| #NO-AUTO-RENEWAL | §5.1 Manual renewal replacement | Conditional |
| #FEE-EXAMPLES | Order Form fee patterns (8 types) | Conditional |
| #EXPANDED-DATA-RESTRICTIONS | Sensitive data protections | Conditional |
| #ML-TRAINING | ML model training rights | Conditional |
| #ML-FEDERATED | Federated learning carve-out | Conditional |