django_spire/core/management/commands/spire_opencode_pkg/skills/table-template/SKILL.md
How to implement table templates in Django Spire.
npx skillsauth add stratusadv/django-spire table-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/
└── table/
├── table.html
├── row.html
Table templates in Django Spire consist of multiple parts:
table.html): The main wrapper with Alpine.js functionalityrow.html): Row content for the tabletemplates/partner/table/table.html
{% extends 'django_spire/table/base.html' %}
{% block table_header %}
{% include 'django_spire/table/element/header.html' with sort_key='name' label='Name' %}
{% include 'django_spire/table/element/header.html' with sort_key='position' label='Position' %}
{% include 'django_spire/table/element/header.html' with sort_key='type' label='Type' %}
{% endblock %}
{% block table_body %}
{% for contact in contacts %}
{% include 'company/contact/table/row.html' %}
{% endfor %}
{% endblock %}
templates/partner/table/row.html
{% extends 'django_spire/table/element/row.html' %}
{% block table_cell %}
<td>{{ contact.full_name }}</td>
<td>{{ contact.email }}</td>
<td>{{ contact.get_type_display }}</td>
{% endblock %}
django_spire/table/base.html)development
How to implement tab 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