本文へ移動
cccskills
無料GitHub で公開

ghost-posts

Previews and updates Ghost post content through the Admin API, including text, links, images, and iframe destinations. Use for content edits rather than theme or server changes.

日本語の概要は準備中です。原文の説明を表示しています。

zoltanmaric/coppersushiスター 69(GitHub 69 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md4.1 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Ghost posts

Read .secrets/ghost-admin.json with nonempty url and key fields. Keep it ignored and mode 0600. Never print credentials. Keep credentials, private snapshots, draft content and preview URLs out of Git. If credentials are missing or rejected, ask the user to correct this private file. Use the Admin API or its JavaScript client.

Prepare

  • Fetch the target with GET /ghost/api/admin/posts/slug/{slug}/?formats=lexical,html. Confirm its identity and status; save the original response privately.
  • Parse its lexical JSON string and edit only the intended nodes. For an iframe in an HTML card (type: "html"), change only the intended src in that card's html, preserving its other attributes and surrounding markup.
  • Match replacements exactly; stop if the target is absent or ambiguous. If it is already correct, do not save. Preserve editor structure instead of round-tripping rendered HTML through source=html.

Images

Upload replacements with POST /ghost/api/admin/images/upload/ using multipart file and purpose=image. The returned images[0].url is a stored image URL; an upload does not attach itself to a post or replace an existing image. Update the intended Lexical image src, HTML-card image attributes, bookmark thumbnail metadata, or post feature_image (landing-page cards). Reuse uploads for repeated images and retain originals for recovery. Verify hosted size, dimensions and animation: Ghost can recompress uploads. If using its saved original copy instead, verify that URL exists and its bytes match the conversion. Also check the actual responsive URLs rendered by the theme for slow resize redirects; see the animated-image workflow.

Preview

  • Create a temporary draft with the proposed content using POST /ghost/api/admin/posts/. Copy the writable fields that affect rendering: title, editor content, feature image/alt/caption, authors, tags, excerpt, template, visibility, post code injection, and publication date where present. Omit the original ID, UUID and slug; set status: "draft" and omit email options. Leave the original post untouched, including when it is already a draft.
  • Use the saved draft's UUID to provide <site-url>/p/<uuid>/. Open it to check the proposed change. A published post's /p/ URL redirects to its live page.
  • Return paired Before (original published URL) and After (Ghost preview URL) links with a short change summary. For an unpublished original, use its Ghost preview URL as Before. Wait for explicit approval before applying changes.

Apply

  • After approval, re-fetch the original and compare it with the saved snapshot. If concurrent edits change the proposal, update the preview and seek approval again; do not overwrite them with an old document.
  • Update the original, not the preview copy, with PUT /ghost/api/admin/posts/{id}/?save_revision=true. Send only changed fields and the checked updated_at. For body edits, send posts: [{lexical: JSON.stringify(editedDocument), updated_at: checked.updated_at}]. Preserve unrelated metadata, status and publication date; omit email options.
  • On a collision, re-fetch and reconcile before retrying. After an uncertain response, read the post to determine whether the edit already succeeded.

Verify

Re-fetch and confirm the intended change and preserved metadata. Check the public page for published posts, or the original post’s Ghost preview for drafts. Verify the affected image, link or embed in a browser; an HTTP 200 alone does not verify an interactive embed. After a successful update, remove only the temporary preview draft created for this edit and report the result.

See Ghost's post format and update contract.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

Records hypotheses, evidence and decisions when proposing, selecting, running or evaluating forecast experiments, including backtests and feature or model comparisons. Excludes routine tests and unchanged forecast operation.

日本語の概要は準備中です。原文の説明を表示しています。

zoltanmaric/coppersushi692026年10月29日 更新

gh

無料

Diagnose GitHub CLI hiccups caused by Codex sandbox constraints; not a general GitHub workflow.

日本語の概要は準備中です。原文の説明を表示しています。

zoltanmaric/coppersushi692026年10月29日 更新

goldfish

無料

Review a design artifact (spec, plan, PR packet) with fresh, memoryless subagents. Invoke when the user asks — "goldfish this", "fresh eyes", "tear this apart" — or after suggesting it for a spec that has grown load-bearing and the user agrees.

日本語の概要は準備中です。原文の説明を表示しています。

zoltanmaric/coppersushi692026年10月29日 更新

grill

無料

Interrogate the user before implementing a non-trivial or ambiguous ask, converging on shared intent. Use when the user says "grill me", when an ask admits multiple interpretations, or before any sizable piece of work whose intent isn't fully clear.

日本語の概要は準備中です。原文の説明を表示しています。

zoltanmaric/coppersushi692026年10月29日 更新

Launches and supervises long-running commands — solves, workflows, downloads, builds — detached with a log, PID and exit sentinel, then tells stuck from slow and kills verifiably. Use before running anything that may exceed a minute, for nohup or background launches, and when a run hangs, shows no output, or timed out.

日本語の概要は準備中です。原文の説明を表示しています。

zoltanmaric/coppersushi692026年10月29日 更新

llm-wiki

無料

Build and maintain a persistent, LLM-maintained markdown wiki following Andrej Karpathy's LLM Wiki pattern — the agent incrementally compiles raw sources into an interlinked knowledge base instead of re-deriving answers from scratch. Use this whenever the user wants to ingest a source (an article, paper, transcript, chapter, meeting notes), file knowledge or conversation findings into the wiki, query the accumulated knowledge base, lint or health-check the wiki, or mentions "the wiki", "knowledge base", "ingest this", "file this", "what do we know about X", or accumulating notes on a topic over time — even if they don't say "LLM Wiki" explicitly.

日本語の概要は準備中です。原文の説明を表示しています。

zoltanmaric/coppersushi692026年10月29日 更新

zoltanmaric のスキルをすべて見る

このスキルの問題を報告する