Cmsのロゴ

Cms

コミュニティ
MariusYvard
cms

Use when the user wants to hand a finished site over to the person who owns it, so they can change the words and the pictures without touching the code. Covers: turning hardcoded HTML prose into editable fields, a vendored Decap CMS editor with its own accounts, a Netlify function bridge with a server-side allow-list, a write quota, an in-page preview of the real site, and a publish workflow that copies rather than merges. Use when the user says: 'give my client the keys', 'let the owner edit the text', 'add a CMS to this site', 'make this site editable', 'hand this site over', 'set up the admin panel', 'the client wants to change their opening hours themselves'. Not for designing or building the interface, use /siteasy. Not for judging a site's quality, use /audit. Not for search visibility, use /seo.

概要

公開者MariusYvard
リポジトリNullToHero
スキル名cms
スター
27
フォーク
0
同梱ファイル
4
ライセンスApache-2.0
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 4個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

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

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

スキルの指示

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

Hands a finished site to its owner. The result is a site whose text and pictures live in JSON files a client edits through a browser, and whose templates, scripts and stylesheets they cannot reach, by construction rather than by convention.

What the client gets, and what they cannot get

The editor writes to one branch. A Netlify function stands between the browser and GitHub, and it refuses any path outside a compiled allow-list, whatever the interface says. The token behind it is a fine-grained one without the Workflows permission, so .github/workflows/ is out of reach because GitHub says so and not because our list is right.

A page that has been entrusted carries no text. It carries a token, {{file.section.field}}, that the build resolves at deploy time from content/. An edit therefore changes a JSON value and nothing else.

Commands

CommandWhat it doesReference
entrust [site]The whole chain, from a finished site to a repository ready to hand overreferences/entrust.md
carve [site]The extraction alone: propose the fields, read them back, write nothing until askedreferences/carve.md
scaffold [site]Compile CONTENT.md into the editor, the bridge, the allow-list and the workflowreferences/entrust.md + references/architecture.md
accounts [site]Mint, remove and list the accounts the bridge will acceptreferences/operate.md
check [site]cms-lint and cms-scaffold --check in one pass, then the deployed bridge's own diagnosisreferences/operate.md
handover [site]Regenerate CMS.md and read it with the person who will do the manual stepsreferences/operate.md

Start here

  1. Read the site. node "${CLAUDE_PLUGIN_ROOT}/tools/cms/content-map.mjs" . answers one question: what could its owner safely be given the keys to. It refuses generated files, because handing someone a file the next build overwrites is data loss that fails silently.
  2. If the site holds its prose in HTML rather than in front matter, the extraction is the first real step. See references/carve.md.
  3. Otherwise go straight to CONTENT.md and scaffold.

The one file written by hand

CONTENT.md declares what the owner may edit, the branch, the roles, the theme, the media folder and the language. Everything else is compiled from it: the editor's config.yml, the bridge's allow-list, the admin page, the workflow, the handover sheet. Two declarations of one fact drift. One declaration and a generator do not, and cms-lint fails when a compiled file disagrees with its source.

What this skill does not do

It does not create the token, set the environment variables, push the content branch or point the host at the right branch. Those live in a console nobody here controls. scaffold writes CMS.md, which names each of them with this site's real values, and ends with the list of things no check can establish from the repository. Once the bridge is deployed, cms-diagnose.mjs asks it three of those four from the inside, where the token lives.

It never puts a secret in the repository. A password is never a command-line argument, and a token pasted into a conversation is a token in a transcript.

Requirements

node 18 or later for everything. playwright for the extraction, the same one the rendered rules use: without it, carve refuses rather than guessing. The editor bundle is vendored at an exact version by vendor-decap.mjs, so the admin page needs no external origin and its content security policy stays closed.

同梱ファイル

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

よくある質問

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

Use when the user wants to hand a finished site over to the person who owns it, so they can change the words and the pictures without touching the code. Covers: turning hardcoded HTML prose into editable fields, a vendored Decap CMS editor with its own accounts, a Netlify function bridge with a server-side allow-list, a write quota, an in-page preview of the real site, and a publish workflow that copies rather than merges. Use when the user says: 'give my client the keys', 'let the owner edit the text', 'add a CMS to this site', 'make this site editable', 'hand this site over', 'set up the...

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

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

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

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

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

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

Cmsは何個のAIモデルで使えますか?

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

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

はい。MariusYvardがGitHubでApache-2.0ライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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