{% for kw in plugin.keywords %}
{{ kw }}
{% endfor %}
{% endif %}
{% if plugin.tags %}
{% for tag in plugin.tags %}
{{ tag }}
{% endfor %}
{% endif %}
{% if plugin.source_url %}
Source
{% endif %}
{% if plugin.homepage %}
Homepage
{% endif %}
{% if plugin.repository %}
Repository
{% endif %}
{% macro detail_cell(item, colspan) %}
{% set extra_keys = [] %}
{% for key in item.frontmatter %}
{% if key != 'description' %}
{% if extra_keys.append(key) %}{% endif %}
{% endif %}
{% endfor %}
{% if extra_keys %}
{% for key in extra_keys %}
{{ key }}
{{ item.frontmatter[key] }}
{% endfor %}
{% endif %}
{% if item.body_html %}
{{ item.body_html | safe }}
{% endif %}
{% endmacro %}
{% macro has_detail(item) %}{% set extra = item.frontmatter.keys() | reject('equalto', 'description') | list %}{% if extra or item.body_html %}1{% endif %}{% endmacro %}
{% if plugin.components.skills %}
Skills
Name
Description
{% for skill in plugin.components.skills %}
{{ skill.name }}
{{ skill.description or "" }}
{% if has_detail(skill) | trim %}{% endif %}
{% if has_detail(skill) | trim %}
{{ detail_cell(skill, 3) }}
{% endif %}
{% endfor %}
{% endif %}
{% if plugin.components.commands %}
Commands
Name
Description
{% for cmd in plugin.components.commands %}
{{ cmd.name }}
{{ cmd.description or "" }}
{% if has_detail(cmd) | trim %}{% endif %}
{% if has_detail(cmd) | trim %}
{{ detail_cell(cmd, 3) }}
{% endif %}
{% endfor %}
{% endif %}
{% if plugin.components.agents %}
Agents
Name
Description
Model
{% for agent in plugin.components.agents %}
{{ agent.name }}
{{ agent.description or "" }}
{{ agent.model or "" }}
{% if has_detail(agent) | trim %}{% endif %}
{% if has_detail(agent) | trim %}
{{ detail_cell(agent, 4) }}
{% endif %}
{% endfor %}
{% endif %}
{% if plugin.components.hooks %}
Hooks
Event
Matcher
Type
{% for hook in plugin.components.hooks %}
{{ hook.event_name }}
{{ hook.matcher or "" }}
{{ hook.hook_type }}
{% endfor %}
{% endif %}
{% if plugin.components.mcp_servers %}
MCP Servers
Name
Command / URL
{% for mcp in plugin.components.mcp_servers %}
{{ mcp.name }}
{{ mcp.command or mcp.url or "" }}
{% endfor %}
{% endif %}
{% if plugin.components.lsp_servers %}
LSP Servers
Name
Command
{% for lsp in plugin.components.lsp_servers %}
{{ lsp.name }}
{{ lsp.command }}
{% endfor %}
{% endif %}
{% if plugin.components.apps %}
Apps
Name
ID
{% for app in plugin.components.apps %}
{{ app.name }}
{{ app.id }}
{% endfor %}
{% endif %}
{% if plugin.readme_html %}
README
{{ plugin.readme_html | safe }}
{% endif %}
{% if plugin.license_text %}
License{% if plugin.license_id %} ({{ plugin.license_id }}){% endif %}