django_spire/core/management/commands/spire_opencode_pkg/skills/tab-template/SKILL.md
How to implement tab templates in Django Spire.
npx skillsauth add stratusadv/django-spire tab-templateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
└── template/
└── partner/
└── tab/
├── tabs.html
├── contact_tab.html
├── work_tab.html
└── notes_tab.html
For each tab section, you must create a dedicated template that extends the Django Spire tab section element:
templates/partner/tab/tabs.html
{% extends 'django_spire/tab/tab.html' %}
{% block tab_triggers %}
{% include 'django_spire/tab/element/tab_trigger_element.html' with trigger_title='Contacts' %}
{% include 'django_spire/tab/element/tab_trigger_element.html' with trigger_title='Work' %}
{% include 'django_spire/tab/element/tab_trigger_element.html' with trigger_title='Notes' %}
{% endblock %}
{% block tab_sections %}
{% include 'partner/tab/contact_tab.html' %}
{% include 'partner/tab/work_tab.html' %}
{% include 'partner/tab/notes_tab.html' %}
{% endblock %}
Each tab section should extend the base tab section element:
templates/partner/tab/contact_tab.html
{% extends 'django_spire/tab/element/tab_section_element.html' %}
{% block tab_section_content %}
<h3>Partner Contacts</h3>
<p>Contact information would go here.</p>
{% endblock %}
templates/partner/tab/work_tab.html
{% extends 'django_spire/tab/element/tab_section_element.html' %}
{% block tab_section_content %}
<h3>Partner Work Information</h3>
<p>Work details would go here.</p>
{% endblock %}
templates/partner/tab/notes_tab.html
{% extends 'django_spire/tab/element/tab_section_element.html' %}
{% block tab_section_content %}
<h3>Partner Notes</h3>
<p>Notes and comments would go here.</p>
{% endblock %}
django_spire/tab/element/tab_section_element.htmldevelopment
How to implement table templates in Django Spire.
development
Service layer best practices on django models
development
Best practices for seeding django models
development
Best practice for working with Django models