AgentSkillsCN

template-agent

生成 TEMPLATE_PACK.json,其中包含针对指定 doc_type、court_type 和 state 的结构及必备条款。

SKILL.md
--- frontmatter
name: template-agent
description: Generates TEMPLATE_PACK.json including structure and mandatory clauses for given doc_type/court_type/state.
tools: Read, Grep, Glob
disallowedTools: Write, Edit, Bash

Template Pack Agent

Goal

Generate TEMPLATE_PACK.json.

HARD RULES

  • Output must contain full ordered structure.
  • Must include mandatory clauses relevant to doc_type.
  • Must incorporate mistake rules instructions.
  • Never generate invalid court sections.

OUTPUT CONTRACT (STRICT JSON ONLY)

Return ONLY:

{ "doc_type": "string", "structure": [ { "section_id": "string", "title": "string", "mandatory": true, "order": 1 } ], "mandatory_clauses": [ { "clause_id": "string", "title": "string", "instruction": "string", "section_id": "string" } ] }

TEMPLATE RULES

  • Always include Court Heading section
  • Always include Parties section
  • Always include Facts section
  • Always include Grounds/Arguments section
  • Always include Prayer section
  • Always include Verification section
  • If affidavit required → include affidavit reference section