Build Document
Skill8 starsChanged 5 months agoMITView on GitHub
Design and create a reusable signing document template in TrustPager — sections, merge fields, and the signer inputs the recipient fills. Plans the structure in chat for approval, then creates the template via MCP. Does NOT send it (that's send-for-signing).
In this repository101 other files it gives its agents.
- templates/CLAUDE.mdCLAUDE.md
- Add a FieldSkill
- Assemble Content PackSkill
- Assemble PackSkill
- Audit My AutomationsSkill
- Audit My DataSkill
- automate-thisSkill
- Brand My WorkspaceSkill
- Break Down A ChannelSkill
- Build Brand StrategySkill
- Build Customer VoiceSkill
- Build FormSkill
- Build Knowledge Base From DocsSkill
- Build My ProofSkill
- Build My VoiceSkill
- Build Social StrategySkill
- Build SpreadsheetSkill
- Build Work Order ProcessSkill
- Cash Flow ForecastSkill
- Coach My CallsSkill
- Compare DocumentsSkill
- Connect A ToolSkill
- Delegate This WorkSkill
- Describe A ProductSkill
- Design My ScenesSkill
- Design Nurture SequenceSkill
- draft-replySkill
- Email Me A ReportSkill
- Estimate My BASSkill
- Extract DocumentSkill
- Find My Next MoveSkill
- Five Day ChallengeSkill
- Follow-up RadarSkill
- Form RadarSkill
- Get Found OnlineSkill
- Grill Me On This DecisionSkill
- import-from-anywhereSkill
- lead-triageSkill
- Learn My BusinessSkill
- Lint DocumentSkill
- Lint FormSkill
- Lint Nurture SequenceSkill
- log-this-callSkill
- make-it-happenSkill
- Make My VideoSkill
- Make Product DemoSkill
- Make Social PostSkill
- Make ThumbnailSkill
- missed-call-recoverySkill
- Nurture HealthSkill
- Onboard Team MemberSkill
- Outstanding DocumentsSkill
- Outstanding InvoicesSkill
- Package My VideoSkill
- Plan My AdsSkill
- Plan My ContentSkill
- Plan My RoadmapSkill
- Plan My YouTubeSkill
- Prep For CallSkill
- Price My WorkSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 40
Ask the operator, unless they've already said:
- Distinctive: line 48
Starting from a sample?: If they have an existing PDF/Word doc or a paste, read it and reverse-engineer the section structure rather than …
- Very specific: line 80
If sections landed out of order, reorder_document_sections(template_id, section_ids=[...]).
- Distinctive: line 107
Reuse over one-offs: If they'll send this more than once, it's a template.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Build Document
You're building a reusable document template the operator will send for signing again and again — a proposal, service agreement, contract, consent form. You plan the structure with the operator first, then create it.
This builds the template. It does NOT send it. Sending a copy to a real
signer is send-for-signing. Stay in build mode here.
Source of truth: knowledge/document-method.md
— read §1 (anatomy) and §5 (test-before-send) before starting.
Step 1 — Understand the document
Ask the operator, unless they've already said:
- What is it? (proposal / agreement / consent / quote-to-sign…) and what outcome it drives.
- Who signs, and in what order? One signer, or several (e.g. client + guarantor)? Each signer needs their own signature block.
- What goes in it? The fixed copy, plus which parts vary per deal (these become merge fields).
- Starting from a sample? If they have an existing PDF/Word doc or a paste, read it and reverse-engineer the section structure rather than inventing one.
Step 2 — Plan the structure in chat (for approval)
Present the planned template as a section list BEFORE creating anything:
Template: "Broker Partnership Agreement"
1. Heading — "Partnership Agreement"
2. Text — intro paragraph (merge: {{contact.full_name}}, {{company.name}})
3. Text — terms (fixed copy)
4. Text — fee schedule (merge: {{deal.value}})
5. Signer input — Signature · signer 1 (the broker)
6. Signer input — Date · signer 1For every merge field, confirm the opportunity actually carries that data —
a {{deal.value}} that's usually blank should not go in a contract (method §6).
For every signer, confirm there's a signature input. Wait for the operator's
go before writing anything.
Step 3 — Create the template
Once approved, build it via MCP, in order:
mcp__trustpager__create_document_template(name=...)→ capture thetemplate_id.- For each section,
mcp__trustpager__add_document_section(template_id, type=..., ...)in document order. (Rundescribe_resource("document")first if you're unsure of a sectiontype's exact shape — don't guess section payloads.) - If sections landed out of order,
reorder_document_sections(template_id, section_ids=[...]).
Narrate what you're adding as you go. If a section write fails, stop and show the error — don't push the rest on top of a broken template.
Step 4 — Read it back + preview
get_document_template(template_id)and show the operator the final structure.- Offer to preview the resolved document against a draft/test opportunity
(never a real client) so they can see every merge field filled and every
signer input present — method §5.
render_document_templateproduces a PDF they can eyeball.
End with: "Template's built. When you're ready to send a copy to a signer, run
/send-for-signing. Want me to run /lint-document on it first to catch broken
merge fields or missing signatures?"
Hard rules
- Don't send from this skill. Building ≠ sending. Redirect send requests to
send-for-signing. - Confirm the plan before creating. Template structure is cheap to discuss, annoying to unpick after sections exist.
- Never wire a merge field the opportunity can't fill (method §6). Blank fields in a contract are a real problem.
- Every signer needs a signature input. A signer with no input has nothing to sign — the envelope will stall.
- Reuse over one-offs. If they'll send this more than once, it's a template.
Output shape
A clear section plan first, then (after approval) a running narration of the create calls, then the read-back structure and the offer to preview + lint.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

