{"data":{"slug":"github-claude-office-skills-skills-contract-template-df7164e1e765","title":"Generate Smart Contract Templates with Accord Project","summary":"Create legally enforceable smart contract templates using the Accord Project framework with natural language and embedded logic. Templates include variables, logic rules, and support for contract execution.","url":"https:\/\/skillshunter.net\/skills\/github-claude-office-skills-skills-contract-template-df7164e1e765","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-claude-office-skills-skills-contract-template-df7164e1e765","markdown_url":"https:\/\/skillshunter.net\/skills\/github-claude-office-skills-skills-contract-template-df7164e1e765.md","download_url":"https:\/\/skillshunter.net\/skills\/github-claude-office-skills-skills-contract-template-df7164e1e765\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Install the Accord Project CLI with `npm install -g @accordproject\/cicero-cli` before generating templates. Prepare a contract description, variables, and logic rules to begin. The first deliverable is a structured template directory containing grammar, model, logic, and sample files.","instructions":"---\n# \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\n# CLAUDE OFFICE SKILL - Enhanced Metadata v2.0\n# \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\n\n# Basic Information\nname: contract-template\ndescription: \">\"\nversion: \"1.0\"\nauthor: claude-office-skills\nlicense: MIT\n\n# Categorization\ncategory: template\ntags:\n  - contract\n  - template\n  - legal\n  - accord\ndepartment: Legal\n\n# AI Model Compatibility\nmodels:\n  recommended:\n    - claude-sonnet-4\n    - claude-opus-4\n  compatible:\n    - claude-3-5-sonnet\n    - gpt-4\n    - gpt-4o\n\n# MCP Tools Integration\nmcp:\n  server: office-mcp\n  tools:\n    - create_docx\n    - fill_docx_template\n\n# Skill Capabilities\ncapabilities:\n  - contract_templating\n  - legal_documents\n\n# Language Support\nlanguages:\n  - en\n  - zh\n---\n\n# Contract Template Skill\n\n## Overview\n\nThis skill enables creation of smart contract templates using **Accord Project** - an open-source framework for legally enforceable, machine-readable contracts. Create templates with embedded logic that can automate contract execution.\n\n## How to Use\n\n1. Describe the contract type and terms\n2. Specify variables and logic rules\n3. I'll generate Accord Project template\n\n**Example prompts:**\n- \"Create an NDA template with variable terms\"\n- \"Build a service agreement with payment milestones\"\n- \"Generate a rental agreement template\"\n- \"Design a consulting contract with termination clauses\"\n\n## Domain Knowledge\n\n### Template Structure\n\n```\ncontract-template\/\n\u251c\u2500\u2500 package.json           # Metadata\n\u251c\u2500\u2500 grammar\/\n\u2502   \u2514\u2500\u2500 template.tem.md    # Natural language template\n\u251c\u2500\u2500 model\/\n\u2502   \u2514\u2500\u2500 model.cto          # Data model\n\u251c\u2500\u2500 logic\/\n\u2502   \u2514\u2500\u2500 logic.ergo         # Business logic\n\u2514\u2500\u2500 text\/\n    \u2514\u2500\u2500 sample.md          # Sample contract\n```\n\n### Template Syntax (TemplateMark)\n\n```markdown\n# Service Agreement\n\nThis Agreement is made between [{supplier}] (\"Supplier\") \nand [{buyer}] (\"Buyer\").\n\n## Services\nThe Supplier agrees to provide [{serviceDescription}].\n\n## Payment\nThe Buyer shall pay [{paymentAmount}] within \n[{paymentDays}] days of invoice.\n\n## Term\nThis Agreement begins on [{startDate as \"MMMM DD, YYYY\"}] \nand continues for [{termMonths}] months.\n\n{{#if latePenalty}}\n## Late Payment\nA penalty of [{penaltyPercent}]% applies to late payments.\n{{\/if}}\n```\n\n### Data Model (Concerto)\n\n```cto\nnamespace org.example.service\n\nimport org.accordproject.time.*\n\nasset ServiceAgreement extends Contract {\n  o String supplier\n  o String buyer\n  o String serviceDescription\n  o Double paymentAmount\n  o Integer paymentDays\n  o DateTime startDate\n  o Integer termMonths\n  o Boolean latePenalty optional\n  o Double penaltyPercent optional\n}\n\ntransaction PaymentRequest {\n  o Double amount\n  o DateTime dueDate\n}\n\ntransaction PaymentResponse {\n  o Double amount\n  o Double penalty\n  o DateTime paymentDue\n}\n```\n\n### Business Logic (Ergo)\n\n```ergo\nnamespace org.example.service\n\nimport org.accordproject.time.*\n\ncontract ServiceContract over ServiceAgreement {\n  \n  clause payment(request : PaymentRequest) : PaymentResponse {\n    let dueDate = addDuration(request.dueDate, \n                              Duration{ amount: contract.paymentDays, unit: ~org.accordproject.time.TemporalUnit.days });\n    \n    let penalty = \n      if contract.latePenalty\n      then request.amount * contract.penaltyPercent \/ 100.0\n      else 0.0;\n    \n    return PaymentResponse{\n      amount: request.amount,\n      penalty: penalty,\n      paymentDue: dueDate\n    }\n  }\n}\n```\n\n### Using Cicero CLI\n\n```bash\n# Install\nnpm install -g @accordproject\/cicero-cli\n\n# Parse contract\ncicero parse --template .\/contract-template --sample .\/text\/sample.md\n\n# Execute logic\ncicero trigger --template .\/contract-template \\\n  --sample .\/text\/sample.md \\\n  --request .\/request.json\n\n# Draft new contract\ncicero draft --template .\/contract-template --data .\/data.json\n```\n\n## Example: NDA Template\n\n### template.tem.md\n```markdown\n# Non-Disclosure Agreement\n\nThis Non-Disclosure Agreement (\"Agreement\") is entered into \nas of [{effectiveDate as \"MMMM DD, YYYY\"}] by and between:\n\n**Disclosing Party:** [{disclosingParty}]\n**Receiving Party:** [{receivingParty}]\n\n## 1. Confidential Information\n\n\"Confidential Information\" means all non-public information \ndisclosed by the Disclosing Party, including but not limited to:\n[{confidentialScope}].\n\n## 2. Obligations\n\nThe Receiving Party agrees to:\n- Maintain confidentiality for [{termYears}] years\n- Use information only for [{permittedPurpose}]\n- Not disclose to third parties without written consent\n\n## 3. Exclusions\n\nThis Agreement does not apply to information that:\n{{#if hasExclusions}}\n[{exclusions}]\n{{else}}\n- Is or becomes publicly available\n- Was known prior to disclosure\n- Is independently developed\n{{\/if}}\n\n## 4. Return of Materials\n\nUpon termination, the Receiving Party shall return or destroy \nall Confidential Information within [{returnDays}] days.\n\n## 5. Remedies\n\n{{#if monetaryPenalty}}\nBreach of this Agreement shall result in liquidated damages \nof [{penaltyAmount}].\n{{else}}\nThe Disclosing Party shall be entitled to seek injunctive relief.\n{{\/if}}\n\n**SIGNATURES**\n\nDisclosing Party: ____________________\nDate: ____________________\n\nReceiving Party: ____________________\nDate: ____________________\n```\n\n### data.json\n```json\n{\n  \"effectiveDate\": \"2024-01-15\",\n  \"disclosingParty\": \"Tech Corp\",\n  \"receivingParty\": \"Consultant LLC\",\n  \"confidentialScope\": \"trade secrets, customer lists, and technical specifications\",\n  \"termYears\": 3,\n  \"permittedPurpose\": \"evaluating a potential business relationship\",\n  \"hasExclusions\": false,\n  \"returnDays\": 30,\n  \"monetaryPenalty\": true,\n  \"penaltyAmount\": \"$50,000\"\n}\n```\n\n## Resources\n\n- [Accord Project](https:\/\/accordproject.org\/)\n- [GitHub Organization](https:\/\/github.com\/accordproject)\n- [Template Library](https:\/\/templates.accordproject.org\/)\n","use_cases":["Create an NDA template with variable terms","Build a service agreement with payment milestones","Generate a rental agreement template","Design a consulting contract with termination clauses"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/claude-office-skills\/skills\/blob\/9c4c7d5cd2813a8936bf2c9fdb174ea883b85a11\/contract-template\/SKILL.md","source_commit":"9c4c7d5cd2813a8936bf2c9fdb174ea883b85a11","license":"MIT","version":null,"listing_approved_at":"2026-11-22","created_at":"2026-11-21T13:10:39.000000Z","updated_at":"2026-11-22T11:17:55.000000Z","seo_title":"Generate Smart Contract Templates with Accord Project","seo_description":"Create smart contract templates with natural language and embedded logic using the Accord Project framework. Generate legally enforceable contracts with dynamic terms.","seo_keywords":["smart contract template generator","accord project contract template","legal contract template","dynamic contract template","smart contract creation"]}}