sveltia-cms

jezweb/claude-skills · updated May 2, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills add https://github.com/jezweb/claude-skills --skill sveltia-cms
0 commentsdiscussion
summary

Lightweight Git-backed CMS for static sites with 270+ fixes over Decap CMS.

  • Framework-agnostic setup for Hugo, Jekyll, 11ty, Astro, and Next.js; drop-in replacement for Decap CMS requiring only a single script tag change
  • Cloudflare Workers OAuth authentication (free tier, fastest option) or Vercel serverless functions; prevents 10 common errors including YAML parse failures, datetime timezone issues, and CORS/COOP blocking
  • Supports YAML, TOML, JSON, and Markdown formats with field-le
skill.md

Sveltia CMS Skill

Complete skill for integrating Sveltia CMS into static site projects.


Current Versions

  • @sveltia/cms: 0.128.5 (verified January 2026)
  • Status: Public Beta (v1.0 expected early 2026)
  • Maturity: Production-ready (270+ issues solved from predecessor)

When to Use This Skill

✅ Use Sveltia CMS When:

  • Git-based workflow desired (content as Markdown/YAML/TOML/JSON in repository)
  • Lightweight solution required (<500 KB vs 1.5-2.6 MB for competitors)
  • Migrating from Decap/Netlify CMS (drop-in replacement, change 1 line)
  • Non-technical editors need access without Git knowledge

❌ Don't Use Sveltia CMS When:

  • Real-time collaboration needed (multiple users editing simultaneously) - Use Sanity, Contentful, or TinaCMS instead
  • Visual page building required (drag-and-drop) - Use Webflow, Builder.io instead
  • React-specific visual editing needed - Use TinaCMS instead

Breaking Changes & Updates (v0.105.0+)

v0.127.0 (December 29, 2025) - slug_length Deprecation

DEPRECATION: The slug_length collection option is deprecated and will be removed in v1.0.

Migration:

# ❌ Deprecated (pre-v0.127.0)
collections:
  - name: posts
    slug_length: 50

# ✅ New (v0.127.0+)
slug:
  maxlength: 50

Timeline: Will be removed in Sveltia CMS 1.0 (expected early 2026).

Source: Release v0.127.0


v0.120.0 (November 24, 2025) - Author Template Tags

New Feature: Hidden widget now supports author template tags:

  • {{author-email}} - Signed-in user's email
  • {{author-login}} - Signed-in user's login name
  • {{author-name}} - Signed-in user's display name

Usage:

fields:
  - label: Author Email
    name: author_email
    widget: hidden
    default: '{{author-email}}'

Commit message templates also support {{author-email}} tag.


v0.119.0 (November 16, 2025) - TOML Config Support

New Feature: Configuration files can now be written in TOML format (previously YAML-only).

Migration:

# admin/config.toml (NEW)
[backend]
name = "github"
repo = "owner/repo"
branch = "main"

media_folder = "static/images/uploads"
public_folder = "/images/uploads"

Recommendation: YAML is still preferred for better tooling support.


v0.118.0 (November 15, 2025) - TypeScript Breaking Change

BREAKING: Renamed SiteConfig export to CmsConfig for compatibility with Netlify/Decap CMS.

Migration:

// ❌ Old (v0.117.x)
import type { SiteConfig } from '@sveltia/cms';

// ✅ New (v0.118.0+)
import type { CmsConfig } from '@sveltia/cms';

const config: CmsConfig = {
  backend: { name: 'github', repo: 'owner/repo' },
  collections: [/* ... */],
};

Impact: TypeScript users only. Breaking change for type imports.


v0.117.0 (November 14, 2025) - Enhanced Validation

New Features:

  • Exported CmsConfig type for direct TypeScript import
  • Enhanced config validation for collection names, field types, and relation references
  • Better error messages for invalid configurations

v0.115.0 (November 5, 2025) - Field-Specific Media Folders

New Feature: Override media_folder at the field level (not just collection level).

Usage:

collections:
  - name: posts
    label: Blog Posts
    folder: content/posts
    media_folder: static/images/posts  # Collection-level default
    fields:
      - label: Featured Image
        name: image
        widget: image
        media_folder: static/images/featured  # ← Field-level override
        public_folder: /images/featured

      - label: Author Avatar
        name: avatar
        widget: image
        media_folder: static/images/avatars  # ← Another override
        public_folder: /images/avatars

Use case: Different media folders for different image types in same collection.


v0.113.5 (October 27, 2025) - Logo Deprecation

DEPRECATION: logo_url option is now deprecated. Migrate to logo.src.

Migration:

# ❌ Deprecated
logo_url: https://yourdomain.com/logo.svg

# ✅ New (v0.113.5+)
logo:
  src: https://yourdomain.com/logo.svg

v0.105.0 (September 15, 2024) - Security Breaking Change

BREAKING: sanitize_preview default changed to true for Markdown widget (XSS prevention).

Impact:

  • Before v0.105.0: sanitize_preview: false (compatibility with Netlify/Decap CMS, but vulnerable to XSS)
  • After v0.105.0: sanitize_preview: true (secure by default)

Migration:

collections:
  - name: posts
    fields:
      - label: Body
        name: body
        widget: markdown
        sanitize_preview: false  # ← Add ONLY if you trust all CMS users

Recommendation: Keep default (true) unless disabling fixes broken preview AND you fully trust all CMS users.


Configuration Options

Global Slug Options (v0.128.0+)

Configure slug generation behavior globally:

slug:
  encoding: unicode-normalized
  clean_accents: false
  sanitize_replacement: '-'
  lowercase: true   # Default: convert to lowercase (v0.128.0+)
  maxlength: 50     # Default: unlimited (v0.127.0+)

lowercase (v0.128.0+): Set to false to preserve original casing in slugs (e.g., "MyBlogPost" instead of "myblogpost").

Use case: Mixed-case URLs or file names where case matters.

Source: Release v0.128.0, GitHub Issue #594


Raw Format for Text Files (v0.126.0+)

New raw format allows editing files without front matter (CSV, JSON, YAML, plain text). Must have single body field with widget type: code, markdown, richtext, or text.

Use Cases:

  • Edit configuration files (JSON, YAML)
  • Manage CSV data
  • Edit plain text files

Configuration:

collections:
  - name: config
    label: Configuration Files
    files:
      - label: Site Config
        name: site_config
        file: config.json
        format: raw  # ← NEW format type
        fields:
          - label: Config
            name: body
            widget: code
            default_language: json

Restrictions:

  • Only one field allowed (must be named body)
  • Widget must be: code, markdown, richtext, or text
  • No front matter parsing

Source: Release v0.126.0


Number Field String Encoding (v0.125.0+)

New value_type option for Number field accepts int/string and float/string to save numbers as strings instead of numbers in front matter.

Use Case: Some static site generators or schemas require numeric values stored as strings (e.g., age: "25" instead of age: 25).

Configuration:

fields:
  - label: Age
    name: age
    widget: number
    value_type: int/string  # Saves as "25" not 25

  - label: Price
    name: price
    widget: number
    value_type: float/string  # Saves as "19.99" not 19.99

Source: Release v0.125.0, GitHub Issue #574


Editor Pane Locale via URL Query (v0.126.0+)

Override editor locale via URL query parameter ?_locale=fr to get edit links for specific locales.

Use Case: Generate direct edit links for translators or content editors for specific languages.

Example:

https://yourdomain.com/admin/#/collections/posts/entries/my-post?_locale=fr

Source: Release v0.126.0, GitHub Issue #585


Richtext Field Type Alias (v0.124.0+)

Added richtext as an alias for markdown widget to align with Decap CMS terminology. Both work identically.

Configuration:

fields:
  - label: Body
    name: body
    widget: richtext  # ← NEW alias for markdown

Future: HTML output support planned for richtext field type.

Source: Release v0.124.0


Setup Pattern (Framework-Agnostic)

All frameworks follow the same pattern:

  1. Create admin directory in public/static folder:

    • Hugo: static/admin/
    • Jekyll: admin/
    • 11ty: admin/ (with passthrough copy)
    • Astro: public/admin/
    • Next.js: public/admin/
  2. Create admin/index.html:

    <!doctype html>
    <html lang="en"
    how to use sveltia-cms

    How to use sveltia-cms on Cursor

    AI-first code editor with Composer

    1

    Prerequisites

    Before installing skills in Cursor, ensure your development environment meets these requirements:

    • Cursor installed and configured on your development machine
    • Node.js version 16.0+ with npm package manager (verify with node --version)
    • Active project directory or workspace where you want to add sveltia-cms
    2

    Execute installation command

    Execute the skills CLI command in your project's root directory to begin installation:

    $npx skills add https://github.com/jezweb/claude-skills --skill sveltia-cms

    The skills CLI fetches sveltia-cms from GitHub repository jezweb/claude-skills and configures it for Cursor.

    3

    Select Cursor when prompted

    The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

    ◆ Which agents do you want to install to?
    │ ── Universal (.agents/skills) ── always included ────
    │ • Amp
    │ • Antigravity
    │ • Cline
    │ • Codex
    │ ●Cursor(selected)
    │ • Cursor
    │ • Windsurf
    4

    Verify installation

    Confirm successful installation by checking the skill directory location:

    .cursor/skills/sveltia-cms

    Reload or restart Cursor to activate sveltia-cms. Access the skill through slash commands (e.g., /sveltia-cms) or your agent's skill management interface.

    Security & Verification Notice

    We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

    Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED →

Use Cases

User Story & Requirements Generation

Create detailed user stories, acceptance criteria, and feature specs

Example

Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios

Reduce spec writing time by 50%, ensure comprehensive coverage

Competitive Analysis

Research competitors, compare features, identify gaps

Example

Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities

Complete competitive research in 2 hours instead of 2 days

Roadmap Prioritization

Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs

Example

Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale

Make data-driven prioritization decisions faster

Stakeholder Communication

Draft PRDs, status updates, and stakeholder presentations

Example

Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement

Save 3-5 hours/week on communication overhead

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client
  • Access to product documentation and roadmap tools (Jira, Notion, etc.)
  • Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
  • Stakeholder contact information and communication channels

Time Estimate

30-60 minutes to see productivity improvements

Installation Steps

  1. 1.Install product management skill
  2. 2.Start with user story generation for known feature
  3. 3.Progress to competitive analysis: research 2-3 competitors
  4. 4.Use for roadmap prioritization: apply RICE/ICE scoring
  5. 5.Draft stakeholder communications and refine based on feedback
  6. 6.Build template library for recurring PM tasks
  7. 7.Share effective prompts with product team

Common Pitfalls

  • Not validating competitive research—verify facts before sharing
  • Accepting user stories without involving engineering team
  • Over-relying on frameworks without qualitative judgment
  • Not customizing outputs to company culture and communication style
  • Skipping stakeholder validation of generated requirements

Best Practices

✓ Do

  • +Validate research and competitive analysis with real data
  • +Collaborate with engineering when generating technical requirements
  • +Customize frameworks and templates to your company context
  • +Use skill for first drafts, refine with stakeholder input
  • +Document successful prompt patterns for PM tasks
  • +Combine AI efficiency with human judgment and intuition

✗ Don't

  • Don't publish competitive analysis without fact-checking
  • Don't finalize user stories without engineering review
  • Don't make prioritization decisions solely on AI scoring
  • Don't skip customer validation of generated requirements
  • Don't ignore company-specific context and culture

💡 Pro Tips

  • Provide context: company goals, constraints, customer feedback
  • Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
  • Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
  • Use skill for 70% generation + 30% customization to company needs

When to Use This

✓ Use When

Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.

✗ Avoid When

Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.

Learning Path

  1. 1Basic: user stories, feature specs, status updates
  2. 2Intermediate: competitive analysis, prioritization frameworks, PRDs
  3. 3Advanced: product strategy, go-to-market planning, OKR setting
  4. 4Expert: product vision, market positioning, business model innovation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.557 reviews
  • Hana Garcia· Dec 28, 2024

    sveltia-cms is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Soo Liu· Dec 20, 2024

    Registry listing for sveltia-cms matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Neel Johnson· Dec 4, 2024

    sveltia-cms reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Arya Bhatia· Nov 23, 2024

    I recommend sveltia-cms for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Jin Rao· Nov 19, 2024

    Solid pick for teams standardizing on skills: sveltia-cms is focused, and the summary matches what you get after install.

  • Aanya Sharma· Nov 15, 2024

    sveltia-cms fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Arjun Jackson· Nov 11, 2024

    We added sveltia-cms from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Alexander Kim· Nov 11, 2024

    Useful defaults in sveltia-cms — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Arjun Harris· Oct 14, 2024

    Useful defaults in sveltia-cms — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Aarav Martinez· Oct 10, 2024

    sveltia-cms has been reliable in day-to-day use. Documentation quality is above average for community skills.

showing 1-10 of 57

1 / 6