sanity-editorial-workflow
Skill by CodingCatDev
Guides an AI assistant through the CodingCat.dev editorial workflow in Sanity. It covers checking Content Releases, drafting posts and podcast show notes with Gemini, and uploading cover images.
Install sanity-editorial-workflow
Built from the published package, never by AI.
git clone --depth 1 https://github.com/CodingCatDev/codingcat.dev /tmp/codingcat.dev && mkdir -p ~/.claude/skills && cp -r /tmp/codingcat.dev/.agents/skills/sanity-editorial-workflow ~/.claude/skills/sanity-editorial-workflowRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install sanity-editorial-workflow in Claude Code
git clone --depth 1 https://github.com/CodingCatDev/codingcat.dev /tmp/codingcat.dev && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/codingcat.dev/.agents/skills/sanity-editorial-workflow ~/.gemini/antigravity-cli/skills/sanity-editorial-workflowAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install sanity-editorial-workflow in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill sets out the editorial workflow for CodingCat.dev, a site built on Sanity. It tells the assistant to use the Sanity MCP and Sanity CLI directly rather than custom scripts. It covers checking drafts and Sanity Content Releases, and running a readiness checklist for post and podcast documents before publishing.
The skill also covers writing blog posts and podcast show notes with Gemini, from a topic or a YouTube transcript. Markdown is converted to Portable Text and saved to a draft or a release. It can generate a 16:9 cover image, upload it to Sanity's Asset API and attach it to the document. It is written for CodingCat.dev editorial work in that Sanity project.
Written from the project's SKILL.md and checked against it.
What it can do
- Check Content ReleasesLists Sanity releases and post or podcast documents in drafts and versions, with readiness flags.
- Readiness checklistChecks required fields for posts and podcasts before they are published or staged.
- Draft posts and show notesWrites Markdown from a topic or YouTube transcript using Gemini.
- Convert to Portable TextConverts Markdown to Portable Text blocks with markdownToPortableText.
- Save to drafts or releasesWrites documents to drafts.<id> or versions.<releaseId>.<id>.
- Generate cover imagesInvokes the image-generator subagent with a 16:9 visual brief.
- Upload cover imagesUploads an image through the Sanity Asset API and sets it as coverImage.
What you need
- Logged-in Sanity CLI session
- Sanity MCP server (codingcat-dev)
- pnpm with the @codingcatdev/sanity workspace
- Gemini for writing
Try asking
- Check my Sanity drafts and Content Releases for upcoming episodes.
- Draft show notes for this podcast from its YouTube transcript.
- Generate a 16:9 cover image for my post and attach it to the draft.
Good to know
- Commands are written for the production dataset.
- Spotify and listen links are synced automatically once a podcast is published.
- The excerpt is recommended at 160 characters or fewer.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/sanity-editorial-workflow/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to sanity-editorial-workflow
All alternatives →Ask-user-question lets an AI assistant ask the user questions through a modal in the UI. It suits tasks that need clarification, preferences, or approval before the assistant proceeds.
Beads is a Dolt-backed issue tracker that gives AI assistants persistent task memory. It tracks dependencies and notes across sessions and conversation compaction. It is for developers and agents managing multi-session work.
Manages the user's Google Tasks from an AI assistant. It reads task lists and tasks, adds, edits, completes and organizes them, and clears finished items from view. Built for people who keep their to-dos in Google Tasks.
Rebuilds your recent working context before you start or resume work. It reads your chat history and the shared record, then returns a short current-state brief for developers.
Build Agent turns a task a business owner repeats by hand into a named, reusable skill. It can be triggered by name or put on a schedule, and it adds approval checkpoints at consequential steps.
Lark-approval is a Feishu (Lark) skill for querying, handling and starting native approval workflows. It is for users who need to work through approval todos, review submitted approvals, or search and submit approval requests.
Compare with ask-user-question, beads or google_tasks
sanity-editorial-workflow: common questions
Where does the skill save drafts?
It saves to drafts.<docId>, or to versions.<releaseId>.<docId> when staging for a Content Release. Changes can be reviewed in Sanity Studio before going live.
Which content types does it cover?
It covers post documents for blog posts and podcast documents for show notes. Both share required fields such as title, slug, date, coverImage and excerpt.
How are cover images added?
The image is uploaded with the Sanity Asset API and set as coverImage on the target draft or release document. The skill uses the image-generator subagent to create a 16:9 brief.
How do I install sanity-editorial-workflow?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is sanity-editorial-workflow free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is sanity-editorial-workflow safe to use?
It scores 56 of 100. Grades: maintenance A, licence F, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to sanity-editorial-workflow?
Similar skills: ask-user-question, beads, google_tasks, recall.
