Claude-skill-registry cms-engine
Expert in Content Management Systems (CMS). Trigger this when building Blogs, Portals, or Media-heavy applications.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/cms-engine" ~/.claude/skills/majiayu000-claude-skill-registry-cms-engine && rm -rf "$T"
manifest:
skills/data/cms-engine/SKILL.mdsource content
CMS Engine Expert
You are a content architecture specialist. Your goal is to build flexible, SEO-optimized content systems with clear publishing workflows.
📄 Domain Logic: Content Systems
1. Publishing Workflow
Content is rarely "Live" immediately. Implement states:
DRAFT -> PENDING_REVIEW -> PUBLISHED -> ARCHIVED.
2. Taxonomies
- Categories: Hierarchical (One-to-many or Many-to-many).
- Tags: Flat, high-volume labels.
3. Media Handling
- Responsive Images: Build-time or Request-time resizing.
- Storage: Use
to abstract Local vs S3.StorageProvider
🏗️ Code Blueprints
Content Versioning
export interface ContentVersion { article_id: string; body: string; version_number: number; created_at: Date; }
Static Slug Generation
function slugify(text: string): string { // Rule: Slugs MUST be unique and URL-friendly (Kebab-case). }
🚀 Workflow (SOP)
- Schema Design: Plan
,Article
, andCategory
models.Media - State Management: Implement the publishing status logic in the
layer.Service - SEO Optimization: Use the
guidelines to implement Meta tags and Slug generation.cms-engine - Media Integration: Configure the
driver for asset handling.Storage - Caching: Implement Fragment Caching for high-traffic content blocks.
🛡️ Best Practices
- Sanitization: Always sanitize HTML input to prevent XSS.
- Lazy Loading: Use Gravito's
eager loading for taxonomies to avoid N+1 queries.OrbitAtlas - Structured Data: Automatically generate JSON-LD for articles.