add-web-route

Community

Generate secure admin routes with UI support

Authormichaelayoade
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It helps you quickly add a complete, server-rendered admin web route so your CRM modules have working list/new/detail/edit/delete pages, consistent templates, and sidebar navigation.

Core Features & Use Cases

  • Domain-colored module routing: Selects the correct domain color pair (Tailwind) for the target module (e.g., Customers, Tickets, Network) to keep the admin UI consistent.
  • Full CRUD route scaffolding: Creates FastAPI endpoints for listing, creating, viewing details, editing, updating, and deleting admin resources with permission guards.
  • Template + navigation integration: Adds the required Jinja2 templates and sidebar link patterns so the module appears in the admin navigation with correct permission checks.
  • HTMX-ready UI conventions: Establishes a UI checklist (macros usage, status badges, responsive tables, confirmation patterns) to support modern dynamic admin interactions.

Quick Start

Ask the AI to scaffold the FastAPI admin route for a given module name and route_info, including the router registration, Jinja templates, sidebar link, and a permission-protected CRUD flow.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: add-web-route
Download link: https://github.com/michaelayoade/dotmac_crm/archive/main.zip#add-web-route

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.