Build Xhs Content Packのロゴ

Build Xhs Content Pack

コミュニティ
Kimberlying
build-xhs-content-pack

将 X 长文、网页、书籍资料、PDF、文字稿或零散笔记整理成完整的小红书内容发布包,并可改写为公众号文章与贴图。在用户要求制作小红书知识卡、读书卡、教程卡、图文笔记、发布正文、标题标签、公众号长文、公众号横版配图,或要把一份原始素材转成可发布、可检查、可复盘的内容工作流时使用。

概要

公開者Kimberlying
リポジトリbuild-xhs-content-pack
スキル名build-xhs-content-pack
スター
62
フォーク
13
同梱ファイル
11
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 11個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Kimberlying/build-xhs-content-pack.git /tmp/build-xhs-content-pack
mkdir -p .claude/skills
cp -r /tmp/build-xhs-content-pack/skills/build-xhs-content-pack .claude/skills/build-xhs-content-pack
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Build XHS Content Pack

将原始素材转换为结构化内容发布包。优先保留用户的个人判断,再完成拆卡、出图、发布文案、公众号改写与质量检查。

Choose A Mode

  • Use standard by default: create the brief and all card copy first, then wait for user approval before rendering images.
  • Use complete when the user explicitly asks for a one-pass finished package; continue through images, publishing copy, WeChat adaptation, and checks without a review pause.
  • Use text-only when the user does not want images; create the brief, card copy, publishing copy, and optional WeChat article only.

Do not render images in standard mode until the user approves the card copy. Respect a user's request to skip files or return content only in chat.

Collect The Input

Use supplied material directly. Ask only when a missing answer would materially change the result. Otherwise state a conservative assumption and continue.

Capture:

  • topic
  • target audience
  • personal judgment or source material
  • desired reader action
  • requested channels: Xiaohongshu, WeChat, or both
  • mode: standard, complete, or text-only
  • visual preference or theme when supplied

For URLs, books, news, product specifications, investment, health, legal, or other unstable/high-stakes claims, verify current facts with authoritative sources before writing. Separate source facts, source opinions, and editorial synthesis. Read content_safety.md for sourcing and risk rules.

Build The Package

Follow workflow.md for required file contents and use this default case structure:

text
案例/<topic>_<YYYY-MM-DD>/
  source/
    brief.md
    platform_rules.md
    banned_words.md
    reference/
  cards/
    cards.json
    preview.html
  images/
    01_cover.png
    02_problem.png
    ...
    preview_contact_sheet.png
  wechat/
    article.md
    cards.json
    preview.html
    images/
  publish.md
  checks.md
  review.md

If the user requests chat-only output, present the same logical sections without creating this directory.

Create The Brief

Write source/brief.md before writing cards. Resolve:

  1. Who is this for?
  2. What would they search for?
  3. What single idea should they remember?
  4. Why is the content worth saving?
  5. What should they do after reading?
  6. What must not be claimed or invented?

Treat the user's personal judgment as the editorial spine. Do not replace it with generic platform language.

Design The Explanation Chain

Read card_structures.md before creating cards.json.

  • Use 8-12 Xiaohongshu cards by default when the material supports that length.
  • Make the first card the cover.
  • Use the second card for the pain point, misconception, or reader tension.
  • Build the middle as an explanation chain, not a sliced article.
  • Give each card one job.
  • End with an action list, reusable prompt, summary, or risk reminder.
  • Keep claims traceable to the source notes.

Use the renderer schema documented in card_structures.md. Keep filenames numerically ordered.

Choose The Visual Theme

Read visual_styles.md before rendering images. Offer four related visual systems that share one editorial identity:

  • editorial / 知识杂志
  • reading-card / 读书卡
  • tech-tutorial / 科技教程
  • business / 商务分析

Keep typography, information hierarchy, page numbering, spacing logic, and core accent palette consistent across all four options. If the user has not selected a theme, show the four cover options and ask the user to choose by looking at the previews. In complete mode, select the best fit and report it without pausing. Apply the selected theme consistently to Xiaohongshu and WeChat output unless the user asks for different channel themes.

Render Xiaohongshu Cards

Use deterministic text rendering for knowledge cards so Chinese copy remains legible. The default 1080 x 1800 PNG size is a workflow template, not a claim about a permanent platform requirement.

Run:

bash
python3 scripts/render_cards.py path/to/cards.json --output-dir path/to/images
python3 scripts/render_cards.py path/to/cards.json --theme reading-card --output-dir path/to/images
python3 scripts/build_preview.py path/to/cards.json --image-dir path/to/images --output path/to/cards/preview.html

The renderer reads themes.json, accepts theme ids or Chinese labels, supports cover, list, steps, compare, quote, and prompt layouts, and creates preview_contact_sheet.png.

If Pillow is unavailable, report the missing dependency and ask before installing it. Do not silently replace readable text cards with image-generation text.

Write The Publishing Copy

Create publish.md with:

  • 3-5 title candidates
  • image upload order
  • one publish-ready body
  • focused tags
  • source or originality notes when needed
  • manual checks before publishing

Do not repeat every card in the body. Add personal judgment, suitable and unsuitable readers, context, limitations, and what required human confirmation.

Create The WeChat Version

When WeChat output is requested:

  1. Rewrite the material as a coherent article; do not concatenate card copy.
  2. Add background, transitions, examples, and editorial judgment.
  3. Identify 3-6 ideas that benefit from visualization.
  4. Create wechat/cards.json using a landscape canvas, default 1200 x 675.
  5. Render the article header, process, comparison, key-point, checklist, or summary graphics into wechat/images/.

Use the same rendering scripts. Treat these dimensions as editable templates.

Validate Before Delivery

Read quality_checks.md and complete checks.md. At minimum verify:

  • cover and filename order
  • one job per card
  • readable text without clipping
  • no unsupported claims or fabricated experience
  • body does not duplicate the cards
  • source and risk notes are present where needed
  • preview HTML and contact sheet include every expected image

Open the contact sheet and at least the cover, densest card, comparison card, and prompt card. Fix layout problems before delivery.

Prepare For Review

Create review.md with blank fields for views, likes, saves, comments, reader questions, best-performing card, weak points, and next iteration. When the user later supplies metrics, analyze them without inventing causality.

Reference Routing

同梱ファイル

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

よくある質問

AIスキル「Build Xhs Content Pack」では何ができますか?

将 X 长文、网页、书籍资料、PDF、文字稿或零散笔记整理成完整的小红书内容发布包,并可改写为公众号文章与贴图。在用户要求制作小红书知识卡、读书卡、教程卡、图文笔记、发布正文、标题标签、公众号长文、公众号横版配图,或要把一份原始素材转成可发布、可检查、可复盘的内容工作流时使用。

TypingMindでBuild Xhs Content Packを使うメリットは何ですか?

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

TypingMindにBuild Xhs Content Packをインストールするにはどうすればよいですか?

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

Build Xhs Content Packを使えるAIモデルはどれですか?

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

Build Xhs Content Packで使えるAIモデルの数に制限はありますか?

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

AIスキル「Build Xhs Content Pack」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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