跳到正文
Skillpedia
写作280k · #358

master-agreement-generator

它能做什么

这个生成器可以起草标准化的总协议草稿。它会结合一个主模板和合作方的具体信息,稳定地生成文档。

适用场景

  • ✓需要批量创建多份差异不大的合同时。
  • ✓希望每次生成合同的方式都保持一致时。
  • ✓需要便于对比、且无需手动修改的文档时。

技能链接

https://github.com/affaan-m/ECC/blob/main/skills/master-agreement-generator/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/affaan-m/ECC/blob/main/skills/master-agreement-generator/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“使用标准模板和提供的规格信息,为 XYZ 公司生成一份总协议草稿。”

每周 5 个新技能,1 分钟读完。

工作原理

你需要提供一个带有待填写字段的合同模板,以及一个包含合作方具体数据的文件。工具会把这些字段填好,并生成最终文档。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Master Agreement Generator

One master template, one small spec per counterparty, one draft build step. The generator always labels output DRAFT, including documents generated from a completed template. A successful conversion proves artifact generation, not legal completeness, authority to contract, or readiness to send or sign. An executed agreement may permit designated opportunities to be added by notice; that authority must be established before using the Schedule A workflow.

When to Use

  • You issue a framework agreement (NDA, referral or sourcing fee, non-circumvention, master services) to many counterparties with the same terms and a few party-specific fields.
  • Deals are added over time and re-papering each one is the bottleneck.
  • Documents must be reproducible from tracked source, diffable, and free of hand edits.
  • Signature fields are placed by automation and need a stable page layout.

How It Works

Template

A single markdown template with {{PLACEHOLDER}} fields. Every party-specific value is a placeholder; everything else is fixed text. A skeleton lives at references/master-template.example.md. Replace its generic sentences with your counsel-approved clauses.

Placeholders the reference script fills:

Placeholder Source
{{DATE}} spec.date, default today
{{CP_SHORT}} spec.short
{{CP_LEGAL}}, {{CP_JURIS}}, {{CP_ADDR}} spec fields, or a blank line when the counterparty completes them at signing
{{ROLE_CLAUSE}}, {{FEE_TITLE}}, {{FEE_CLAUSE}} selected by spec.role from the role table
{{SCHEDULE_ROWS}} spec.schedule, or one "no entries at signing" row
{{SUPPLEMENT_CLAUSE}} spec.supplement, rendered with a trailing separator or empty
{{CP_SIGBLOCK}}, {{CP_SIGNER}}, {{CP_TITLE}}, {{CP_EMAIL}} signature block fields, blanks when unknown

Spec

One JSON file per counterparty:

{
  "file": "AcmeSupplier",
  "short": "Acme",
  "role": "supplier",
  "legal": "Acme Compute Ltd",
  "juris": "England and Wales company",
  "addr": "1 Example Street, London",
  "signer": "A. Person",
  "title": "Director",
  "email": "signer@example.com",
  "schedule": [["1", "2026-09-01", "Lot A (16 nodes)", "introducer", "12 months", "standard"]],
  "supplement": "the Data Processing Addendum dated 2026-09-01"
}

Only file, short, and role are required for a draft. Missing signature fields render as blank lines for review and completion. See references/spec.example.json.

file must be a nonempty portable filename, such as AcmeSupplier or Acme Supplier, without directory components. The builder rejects either path separator, drive/UNC syntax, control characters, Windows-reserved punctuation or device names, and trailing dots or spaces. Invalid names are rejected without sanitizing or renaming them, before creating output or invoking pandoc.

Omit schedule or use [] for the “no entries at signing” placeholder. A supplied schedule must otherwise be a dense array of six-cell arrays, in this order: number, date, protected counterparty or lot, role, terms, fee. Each cell must be a valid Unicode string or finite number; empty strings are allowed for intentional blanks. Nulls, booleans, objects, nested cell arrays, missing cells and non-finite numbers are rejected with a row/cell index before any artifact write or pandoc activity. Unpaired UTF-16 surrogates are also rejected rather than replaced during UTF-8 output; valid supplementary characters, such as emoji, remain supported.

Cells are plain text, not Markdown or HTML. The builder encodes syntax characters so literal pipes, backslashes, backticks and markup stay in their original fields. Each CRLF, bare CR or LF becomes a space; text around line breaks is retained. Other whitespace and literal punctuation are preserved in the rendered cells. The source spec is not modified. An ordinary valid schedule retains its six columns; malformed input is never silently replaced with an empty schedule.

Role table

spec.role selects three strings: the standing-arrangement clause, the fee section title, and the fee clause opener.

Role Who pays Shape of the clause
buyer The counterparty pays on transactions with introduced parties Counterparty appoints us on a non-exclusive basis to source and introduce

…

常见问题

什么是“总协议”(master agreement)?

它是一份主合同,规定了与某个合作方之间多项交易或协议的通用条款;每种具体情况还可以再做个性化调整。

什么是“spec”?

它是一个文件(通常为 JSON 格式),包含合作方或交易的具体信息,比如名称、地址和日期等,用来填入合同模板。

生成的文档是正式合同吗?

不是。生成的文档是标注有“DRAFT”的草稿。它只证明文档已经生成,并不保证内容完整、具有法律效力或可以直接签署。

详情

作者的原始描述

Generate review drafts of counterparty master agreements from one template plus a JSON spec, with role-selected clauses and a Schedule A workflow limited to the executed agreement's notice authority. Use when you need reproducible drafting and separately reviewed execution preparation.

repo: affaan-m/ECC

热度

GitHub 星标
280k
排名
#358
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能