Skip to main content
skill CX Codex

emdash-cms — Claude Code skill: what it does, how to install

Get guidance for adding EmDash to Astro, configuring content storage, and querying entries. Useful when starting a CMS project or extending an existing site.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add reason-machines/trending-skills --skill emdash-cms -a claude-code
Open on GitHub

What emdash-cms does

This skill walks through integrating EmDash with Astro, choosing a database and storage backend, defining content types, and fetching entries for pages. Its examples cover Cloudflare D1, SQLite on Node.js, PostgreSQL, and Turso, along with commands for schema types and database migrations.

EmDash represents rich text as Portable Text data, so pages need a renderer for that content. Its plugins run in isolated Workers; the Cloudflare setup shown here uses Worker Loaders. That configuration matters: without Worker Loaders, plugins cannot run in the sandboxed setup described by the skill.

What it helps with

  • add EmDash to an existing Astro project
  • configure a database and content storage
  • generate TypeScript definitions from a content schema
  • fetch and sort published collection entries
  • render Portable Text in an Astro page

Example prompts for the agent

  • Add EmDash to my Astro project and configure SQLite.
  • Create a content type for posts, then generate its TypeScript definitions.
  • Show me how to fetch published entries sorted by date.

How to install emdash-cms

1Skills CLI (Vercel)

npx skills add reason-machines/trending-skills --skill emdash-cms -a claude-code

2Manually: put the files in place

~/.claude/skills/emdash-cms/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/emdash-cms/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about emdash-cms

How do I install emdash-cms in Claude Code?

Run npx skills add reason-machines/trending-skills --skill emdash-cms -a claude-code. The skill file is at ~/.claude/skills/emdash-cms/SKILL.md.

What does emdash-cms do?

It guides an AI coding agent through setting up EmDash with Astro, configuring data storage, and querying content. It also covers schema types, migrations, and Portable Text rendering.

Which databases can I use with emdash-cms?

The examples show Cloudflare D1, SQLite, PostgreSQL, and Turso/libSQL. A local file-storage setup is also shown for SQLite.

Similar skills

All skills for Backend and APIs →

From the same set139

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor