Gongwen Draftのロゴ

Gongwen Draft

コミュニティ
Rimagination
gongwen-draft

権威性を重視したガードレールのもと、政策調査や引用の確認、資料一式・事実台帳の取り込み、文章の推敲、管理されたMarkdown/JSON仕様、オフラインで使えるプロンプトパックの生成、公文書のフォントの厳格な確認を行い、中国の党・政府機関の公文書や行政資料の草案作成、改稿、推敲、レビュー、校正、エクスポートを支援します。承認済みの値が提供された場合は、汎用的な赤いヘッダー付きの草案としてWord .docxを生成することもできます。ユーザーが公文書の草案作成、公文書、公文書の執筆・起草、機関文書、行政文書の作成、政策調査、政策根拠、引用確認、指導者のスピーチ、会議の趣旨、資料収集・整理、事実台帳、文章の推敲、通知、申請、報告、書簡、議事録、通報、回答書、意見、決定、公告、告示、業務総括、業務計画、調査報告、報告資料、ブリーフィング、状況に関する特別報告、スピーチ原稿、返信書簡、資料の書き換え、公文書の推敲、書式チェック、Word形式での公文書エクスポート、オフライン用プロンプト、JSON公文書仕様、赤いヘッダー、発行機関のロゴ、文書番号、署名者について依頼した場合や、メモを中国語の正式な公文書にまとめるよう依頼した場合に使用します。

Add to TypingMind

概要

公開者Rimagination
リポジトリgongwen-draft
スキル名gongwen-draft
スター
80
フォーク
5
同梱ファイル
40
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 40個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    RimaginationがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Gongwen Draft」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/Rimagination/gongwen-draft/tree/main
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Rimagination/gongwen-draft.git \
  .claude/skills/gongwen-draft
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでGongwen Draftを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にGongwen Draftを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Gongwen Draftは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Gongwen Draft

Use this skill to produce practical,规范、准确、克制的中文公文和机关材料. The stable skill/repository name is gongwen-draft.

Treat the gathered local references as guidance, not as permission to invent facts, policies, authority, signatures, seals, dates, document numbers, or data.

Quick Workflow

  1. Identify the task: draft, revise, review, format, template, extract, export, or training.
  2. Apply four-position routing: 文种 -> 行文方向 -> 格式/交付 -> 语言口径.
  3. For policy-sensitive tasks, run policy research first: official source search -> citation ledger -> citation check -> draft.
  4. For messy materials, build a dossier with scripts/prepare_dossier.py or maintain a fact ledger: 已确认事实, 用户判断, 待核实, 建议措辞.
  5. Check five anchors: purpose, audience, facts, structure, tone.
  6. If key facts are missing, either ask 1-3 focused questions or produce a fillable skeleton with bracketed placeholders.
  7. Draft with this order: define purpose -> choose文种 -> verify sources -> structure content -> write concise body -> self-review -> lint/export if requested.
  8. For source-sensitive claims, cite or ask for the specific policy/source. Do not fabricate policy basis, statistics,领导讲话,会议精神, or official decisions.

Load References As Needed

  • For workflow routing, export behavior, and lessons absorbed from GitHub projects, read references/engineering-workflow.md.
  • For quick command shapes, source modes, material boundaries, export sequencing, and versioning, read references/operation-contract.md.
  • For the comparative learning summary of public gongwen-writing projects, read references/project-lessons.md.
  • For explicit community project citations and what was learned from each, read references/citations.md.
  • For the product quality bar and user expectations this skill should meet, read references/quality-bar.md.
  • For legal/制度底线 and official document types, read references/core-rules.md.
  • For messy source materials, source hierarchy, and auditable fact ledgers, read references/material-workflow.md.
  • For current policy, laws, official releases,领导讲话, meeting communiques, and citation ledgers, read references/policy-research.md.
  • For concrete templates and section structures, read references/document-types.md.
  • For writing method, style, revision strategy, and avoiding空心公文, read references/writing-method.md.
  • For language polishing modes, empty wording, overclaiming, and official tone repair, read references/language-polishing.md.
  • For punctuation, colon, quotation marks, hierarchy markers, and avoiding English punctuation in Chinese prose, read references/punctuation-style.md.
  • For reviewing an existing draft, read references/review-checklist.md.
  • For strict公文字体 checks, official font channels, and authorized font assets, read references/font-policy.md.
  • For controlled Markdown/JSON and Word output conventions, read references/format-output.md.
  • For provenance of the local materials used to build this skill, read references/source-index.md.

Drafting Standards

  • Write from the institution's position, not the author's personality.
  • Prefer facts, responsibilities, timelines, measures, and enforceable wording over slogans.
  • Keep language accurate, plain, and actionable. Avoid empty排比, over-grand claims, vague adjectives, and unsupported成果.
  • Use Chinese full-width punctuation in Chinese prose; follow 一、 -> (一) -> 1. -> (1), use : not :, and use “” / ‘’ not straight English quotes.
  • Match文种 to行文关系: 上行 usually 请示/报告; 下行 usually 通知/通报/批复/意见; 平行 or non-subordinate usually 函.
  • Keep one main matter per request when drafting请示. Do not mix report and request functions.
  • Use placeholders like [发文机关], [日期], [依据文件名称] when facts are unknown.
  • For current policy or领导讲话 claims, use official-source citation ledgers. Authoritative media can be background or discovery leads, not a replacement for official policy originals.
  • Preserve confidentiality: if user content appears涉密 or sensitive, warn and draft only with sanitized placeholders.
  • Separate content drafting from formal issuance: do not add red headers, document numbers, signatories, seals, or approval language unless the user supplied authorized values or placeholders and the task is only preparing a draft.
  • Prefer the user's current unit template over generic GB/T-style defaults when the user provides a template.

Lint And Export

  • Before exporting, form a clean Markdown draft. Avoid Markdown tables, bold markers, block quotes, and decorative bullets unless the user requested an informal reading draft.
  • If using JSON spec, run scripts/render_spec.py <spec.json> -o <draft.md> before lint/export.
  • For offline assistants or web chat tools that cannot install skills, run scripts/build_prompt_pack.py --doc-type <doc-type> --task <task> -o <prompt.md> and paste the generated prompt pack into the target tool.
  • For multiple raw material files, run scripts/prepare_dossier.py <materials...> --task <task> -o <materials.md> before drafting, then draft from the dossier.
  • For policy-sensitive topics, run scripts/policy_research.py --topic <topic> -o <policy-ledger.md>, fill the ledger from official sources, then run scripts/check_citations.py <policy-ledger.md> --require-citations.
  • Run scripts/check_sections.py <doc-type> <draft.md> when reviewing or before file export.
  • Run scripts/check_citations.py <draft.md> when the draft includes policy依据,法律法规,领导讲话,会议精神, official data, or standards.
  • Run scripts/check_language.py <draft.md> when polishing, removing AI-like wording, or reviewing high-stakes drafts.
  • Run scripts/check_fonts.py --verify-assets after changing bundled fonts, then run scripts/check_fonts.py --draft <draft.md> before Word export. If authorized font files are in assets/fonts, use --install-assets.
  • Run scripts/generate_docx.py <draft.md> -o <output.docx> --doc-type <doc-type> --install-font-assets when the user asks for Word output. The script creates -vNN files instead of overwriting unless --overwrite is explicit.
  • Run scripts/check_type_consistency.py after changing document types, templates, README coverage language, or lint document-type lists.
  • Run scripts/self_test.py after modifying any script to verify basic correctness of all helper modules.
  • For generic红头版头 output, use controlled front matter such as issuer_mark, doc_number, and issue_person; never invent real机关名称、发文字号、签发人、印章 or approval status.
  • Do not silently replace required公文字体 with generic fonts. If fonts are missing, stop and use official/authorized channels.
  • If Python lacks python-docx, install or use the bundled workspace Python/libraries when available.
  • Keep generated files outside the skill folder unless the user explicitly asks otherwise.
  • If the user asks for a deliverable but not the format, ask whether they want Markdown or Word .docx.
  • Community projects inspired this workflow; cite them when explaining the design or publishing derivative project documentation.

Output Patterns

When drafting from scratch, provide:

  1. A finished draft in formal Chinese.
  2. A short note listing assumptions/placeholders.
  3. Optional review suggestions if the user asked for polish or compliance.

When reviewing or revising, provide:

  1. Main issues by severity.
  2. Revised draft or targeted edits.
  3. A checklist of remaining facts the user must confirm.

When exporting, provide:

  1. The generated file path.
  2. Lint findings or a short "no high-risk issue found" note.
  3. Placeholders or facts that still require human confirmation.

Do Not

  • Do not impersonate a real office, signatory, seal, or official approval.
  • Do not invent legal basis, policy language, statistics, meeting outcomes, or document numbers.
  • Do not quote long passages from reference articles. Summarize methods and cite source names where useful.
  • Do not treat training articles or转载文章 as normative documents. Use official regulations and standards first.
  • Do not copy another public project's long rules verbatim into outputs. Use inspected projects as engineering reference only.
  • Do not confuse near-synonyms common in公文: 制定/制订, 截至/截止, 权利/权力, 受权/授权, 决定/决议, 公告/通告, 批复/复函. When in doubt, check review-checklist.md Section F or the governing regulation.
  • Do not use abbreviated or informal names for行政区域, institutions, or official positions without the full formal name being established first in the same document.
  • Do not remove community citations merely because a rule has been rewritten locally; provenance should remain visible.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Gongwen Draft」では何ができますか?

権威性を重視したガードレールのもと、政策調査や引用の確認、資料一式・事実台帳の取り込み、文章の推敲、管理されたMarkdown/JSON仕様、オフラインで使えるプロンプトパックの生成、公文書のフォントの厳格な確認を行い、中国の党・政府機関の公文書や行政資料の草案作成、改稿、推敲、レビュー、校正、エクスポートを支援します。承認済みの値が提供された場合は、汎用的な赤いヘッダー付きの草案としてWord .docxを生成することもできます。ユーザーが公文書の草案作成、公文書、公文書の執筆・起草、機関文書、行政文書の作成、政策調査、政策根拠、引用確認、指導者のスピーチ、会議の趣旨、資料収集・整理、事実台帳、文章の推敲、通知、申請、報告、書簡、議事録、通報、回答書、意見、決定、公告、告示、業務総括、業務計画、調査報告、報告資料、ブリーフィング、状況に関する特別報告、スピーチ原稿、返信書簡、資料の書き換え、公文書の推敲、書式チェック、Word形式での公文書エクスポート、オフライン用プロンプト、JSON公文書仕様、赤いヘッダー、発行機関のロゴ、文書番号、署名者について依頼した場合や、メモを中国語の正式な公文書にまとめるよう依頼した場合に使用します。

TypingMindでGongwen Draftを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Gongwen Draftはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにGongwen Draftをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/Rimagination/gongwen-draft/tree/mainを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Gongwen Draftを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Gongwen Draftで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもGongwen Draftを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Gongwen Draft」は無料ですか?

RimaginationがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇