litecms

Generate server-rendered CMS applications using Litestar, AdvancedAlchemy, and daisyUI.

Updated Aug 17, 2026
One-click install
npx skills add https://github.com/renjianguo666/litecms --skill litecms-renjianguo666
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: litecms
Source: https://github.com/renjianguo666/litecms/tree/main/.agents/skills/litecms
Command: npx skills add https://github.com/renjianguo666/litecms --skill litecms-renjianguo666

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building a server-rendered CMS from scratch requires coordinating routing, database sessions, migrations, templates, and UI components, which often leads to inconsistent architecture and incomplete code. This Skill generates complete, runnable Litestar CMS applications with a consistent Route → Service → Repository → Model structure. ## Core Features & Use Cases - Full-stack code generation: Produces Litestar routes, AdvancedAlchemy models and repositories, synchronous session wiring, and Jinja templates with daisyUI v5 components. - Admin CRUD scaffolding: Generates list, create, edit, delete, and detail pages with navbar, sidebar, tables, pagination, search, and filters. - Form handling workflow: Implements GET-render, POST-validate, redirect-on-success patterns with server-side validation errors displayed in templates. - Use Case: Ask for a blog admin panel and receive runnable page handlers, SQLAlchemy models, migration-ready configuration, and daisyUI-styled Jinja templates with no placeholder code. ## Quick Start Generate a Litestar CMS admin panel for managing blog posts with full CRUD pages, AdvancedAlchemy models, and daisyUI templates.

Frequently Asked Questions about litecms

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a server-rendered CMS with Litestar?

Use a layered architecture of routes, services, repositories, and models with AdvancedAlchemy for database access and Jinja templates for rendering. This Skill generates the complete structure including CRUD handlers, templates, and daisyUI-styled admin pages.

How to add CRUD admin pages to a Litestar application?

Generate list, create, edit, delete, and detail handlers that render Jinja templates with daisyUI tables, forms, and pagination. Forms follow a GET-render, POST-validate, redirect-on-success workflow with validation errors shown in the template.

Does AdvancedAlchemy support synchronous sessions in Litestar?

Yes, AdvancedAlchemy supports synchronous SQLAlchemy sessions with dependency injection in Litestar. This Skill mandates sync sessions and prohibits AsyncSession, async handlers, and manual session lifecycle management.

Can I use daisyUI components with Jinja templates?

Yes, daisyUI v5 works as CSS classes applied directly in Jinja templates, including navbar, drawer, card, table, modal, and form components. This Skill avoids custom CSS, inline styles, and other component libraries.

When should I avoid server-side rendering for a CMS?

SSR with HTML forms is a poor fit when you need rich client-side interactivity, real-time updates, or a decoupled frontend consumed by multiple platforms. In those cases a JSON API with a frontend framework is more appropriate.