django-cotton

Catalog Django Cotton components across project, app, and third-party directories.

2|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/SamuelJennings/django-mvp --skill django-cotton
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: django-cotton
Source: https://github.com/SamuelJennings/django-mvp/tree/main/.github/skills/django-cotton
Command: npx skills add https://github.com/SamuelJennings/django-mvp --skill django-cotton

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires django, and includes scripts (resource) components.

What problem does it solve?

Django Cotton component guidance helps developers quickly identify and reuse available UI templates, reducing guesswork and duplication when building Django apps.

Core Features & Use Cases

  • Discovers Cotton components across project-level templates, app-level templates, and third-party packages.
  • Groups components by namespace for intuitive navigation and discovery.
  • Provides a kebab-case, usage-ready list of components to streamline template development.

Quick Start

Run the component discovery script to enumerate all Cotton components in your Django project.

Frequently Asked Questions about django-cotton

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

FAQPage Schema
How do I discover all available Cotton components in my Django project?

To discover Cotton components, run a script that scans project-level, app-level, and third-party template directories. It outputs a usage-ready list of component names in kebab-case, grouped by namespace for intuitive navigation.

How does Django Cotton component discovery handle custom template directories?

Django Cotton component discovery uses the Django template engine and respects the COTTON_DIR setting. This ensures all custom and modular UI templates are accurately cataloged across your development environment.

Can I use discovered Cotton components with HTMX or Alpine.js in Django templates?

Yes, discovered Cotton components are usage-ready and designed for integration with HTMX or Alpine.js. This enables teams to build modular UI efficiently within Django template development environments.

What is the best way to organize Django Cotton components for team development?

The best way to organize Cotton components is by namespace. The discovery script groups components by namespace, providing a kebab-case list that streamlines template development and reduces duplication.

Does Django Cotton component discovery search third-party package templates?

Yes, Django Cotton component discovery searches third-party package templates. It catalogs all available UI templates across project, app, and third-party directories, reducing guesswork when building Django apps.

Why are my Django Cotton components not showing up in the discovery list?

Cotton components may not show up if the COTTON_DIR setting is misconfigured or the template directories are not registered with the Django template engine. Ensure your templates are correctly placed for discovery.