create-template

Create and wire DUI templates into the docs site with registry entries.

Updated Mar 11, 2026
One-click install
npx skills add https://github.com/deepfuturenow/dui --skill create-template-deepfuturenow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-template
Source: https://github.com/deepfuturenow/dui/tree/main/.agents/skills/create-template
Command: npx skills add https://github.com/deepfuturenow/dui --skill create-template-deepfuturenow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create a new DUI template in the templates package and wire it into the docs site to standardize presentation, avoid manual wiring errors, and accelerate template publishing.

Core Features & Use Cases

  • Pre-compose a Lit-based template that adheres to DUI design-token conventions.
  • Wire exports, docs wiring, and template registry integration to appear in docs and catalogs.
  • Update category indices and template families to incorporate the new template with proper navigation.

Quick Start

Create a new DUI template in the templates package and wire it into the docs site.

Frequently Asked Questions about create-template

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

FAQPage Schema
How do I create a Lit-based web component template and wire it into a docs site?

To create a Lit-based web component template, use this Skill to automate template creation and docs wiring. It generates pre-composed UI patterns, ensures self-registration via customElements.define(), and updates the template registry for immediate integration into your docs site.

What is the best way to register a new DUI template across multiple category indices?

The best way to register a new DUI template is by automating the template registry entry and category index updates. This Skill wires exports, updates template families, and incorporates the new template with proper navigation to avoid manual wiring errors across categories.

Does my custom template need to use design tokens for styling during registry integration?

Yes, your custom template must use only design tokens for styling during registry integration. The Skill enforces DUI design-token conventions to standardize presentation and includes side-effect imports for dependencies to ensure proper component wiring.

How do I add side-effect imports for dependencies when building pre-composed UI patterns?

Adding side-effect imports for dependencies is handled automatically when building pre-composed UI patterns. The Skill applies these imports during template creation to ensure all required dependency wiring is correctly established before the component self-registers.

Can I use this template automation for updating existing template families and navigation?

Yes, you can use this template automation for updating existing template families. It modifies category indices and template registries to incorporate new entries with proper navigation, ensuring standardized presentation and accelerating template publishing workflows.

Why does my manually wired web component fail to appear in the template registry?

Your manually wired web component fails to appear in the template registry due to missing self-registration via customElements.define() or incomplete docs wiring. This Skill automates these steps to prevent manual wiring errors and ensure proper catalog visibility.