0xdarkmatter/claude-mods/unfold-admin
Claude Code and agent skill by 0xdarkmatter/claude-mods
- community
- ext:[{"type":"template","description":"Custom templates for code generation"}]
Checking that the SKILL.md file is still in the repository.
Django Unfold admin theme - build, configure, and enhance modern Django admin interfaces with Unfold. Use when working with: (1) Django admin UI customisation or theming, (2) Unfold ModelAdmin, inlines, actions, filters, widgets, or decorators, (3) Admin dashboard components and KPI cards, (4) Sidebar navigation, tabs, or conditional fields, (5) Any mention of 'unfold', 'django-unfold', or 'unfold admin'. Covers the full Unfold feature set: site configuration, actions system, display decorators…
Install
npx vskill@latest install 0xdarkmatter/claude-mods/unfold-adminSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Django Unfold Admin
Modern Django admin theme with Tailwind CSS, HTMX, and Alpine.js. Replaces Django's default admin with a polished, feature-rich interface.
Quick Start
Installation
Minimal Admin
Site Configuration
Replace the default AdminSite or configure via UNFOLD dict in settings. See references/configuration.md for the complete settings reference.
Core Workflow
When building Unfold admin interfaces, follow this sequence:
- Configure site - UNFOLD settings dict (branding, sidebar, theme)
- Register models - Extend
unfold.admin.ModelAdmin - Enhance display -
@displaydecorator for list columns - Add actions -
@actiondecorator for row/list/detail/submit actions - Configure filters - Replace default filters with Unfold filter classes
- Override widgets - Apply Unfold widgets via
formfield_overrides - Set up inlines - Use Unfold's inline classes with tabs, pagination, sorting
- Build dashboard -
@register_component+BaseComponentfor KPI cards
ModelAdmin Attributes
Unfold extends Django's ModelAdmin with these additional attributes:
| Attribute | Type | Purpose | |
|---|---|---|---|
list_fullwidth | bool | Full-width changelist (no sidebar) | |
list_filter_submit | bool | Add submit button to filters | |
list_filter_sheet | bool | Filters in sliding sheet panel | |
compressed_fields | bool | Compact field spacing in forms | |
warn_unsaved_form | bool | Warn before leaving unsaved form | |
ordering_field | str | Field name for drag-to-reorder | |
hide_ordering_field | bool | Hide the ordering field column | |
list_horizontal_scrollbar_top | bool | Scrollbar at top of list | |
list_disable_select_all | bool | Disable "select all" checkbox | |
change_form_show_cancel_button | bool | Show cancel button on form | |
actions_list | list | Global changelist actions | |
actions_row | list | Per-row actions in changelist | |
actions_detail | list | Actions on change form | |
actions_submit_line | list | Actions in form submit area | |
actions_list_hide_default | bool | Hide default list actions | |
actions_detail_hide_default | bool | Hide default detail actions | |
conditional_fields | dict | JS expressions for field visibility | |
change_form_datasets | list | BaseDataset subclasses for change form | |
list_sections | list | TableSection/TemplateSection for list | |
list_sections_classes | str | CSS grid classes for sections | |
readonly_preprocess_fields | dict | Transform readonly field content | |
add_fieldsets | list | Separate fieldsets for add form (like UserAdmin) |
Template Injection Points
Insert custom HTML before/after changelist or change form:
Conditional Fields
Show/hide fields based on other field values (Alpine.js expressions):
Actions System
Four action types, each with different signatures. See references/actions-filters.md for complete reference.
Action Groups (Dropdown Menus)
Permissions
Display Decorator
Enhance list_display columns. See references/actions-filters.md.
Filters
Unfold provides advanced filter classes. See references/actions-filters.md.
Custom Text Filter
Widgets
Override form widgets for Unfold styling. See references/widgets-inlines.md.
Text Input with Icons
Inlines
Unfold inlines support tabs, pagination, sorting, and nonrelated models. See references/widgets-inlines.md.
Fieldset Tabs
Group fieldsets into tabs using "classes": ["tab"]:
Dashboard Components
Build KPI cards and custom dashboard widgets. See references/dashboard.md.
Configure in settings:
Sections (Changelist Panels)
Embed related data panels in changelist views:
Datasets (Change Form Panels)
Embed model listings within change forms:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/unfold-admin/SKILL.md
Popularity
- Repository stars
- 79
- Repository forks
- 9
- 7-day trend score
- 14
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 8 Apr 2026, 6 months ago.
Extension points
templateCustom templates for code generation
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/0xdarkmatter/claude-mods/unfold-admin)