- name
SKILL.md
O arquivo da skill permanece no repositório do publicador.
Cole o comando copiado em um terminal. Ele instala este SKILL.md nesse agente.
npx skills add htmlstreamofficial/preline --skill get-documentation -a cursor -yCole o comando copiado em um terminal. Ele instala este SKILL.md nesse agente.
npx skills add htmlstreamofficial/preline --skill get-documentation -a claude-code -yCole o comando copiado em um terminal. Ele instala este SKILL.md nesse agente.
npx skills add htmlstreamofficial/preline --skill get-documentation -a codex -yCole o comando copiado em um terminal. Ele instala este SKILL.md nesse agente.
npx skills add htmlstreamofficial/preline --skill get-documentation -a grok -yEnvie a mensagem copiada em um chat do Grok Bot. O Bot busca este SKILL.md no GitHub e o adiciona às skills que todos os seus Bots compartilham.
Install this skill: https://github.com/htmlstreamofficial/preline/tree/HEAD/skills/get-documentationDo publicador
This file is for the AGENT (LLM) only — not end users.
This skill helps you understand when and how to access Preline documentation to find the right markup patterns, component variations, and implementation details.
You SHOULD check the Preline documentation when:
User requests a component variant not available in the standard component list
User needs specific markup patterns or HTML structure
User asks about component behavior or configuration
User mentions specific features or functionality
Component exists but user needs advanced usage
You're unsure about the correct HTML structure or classes
Preline documentation is available through the MCP server. You can:
List available documentation resources:
Use ListMcpResources tool to see all available Preline documentation
Fetch specific component documentation:
Use FetchMcpResource tool with the appropriate URI to get detailed docs
When you access documentation, focus on:
HTML Structure
Variants and Options
Configuration
Integration Patterns
User: "Add a floating label input for email"
Agent workflow:
User: "Make the accordion stay open when clicking other items"
Agent workflow:
data-hs-accordion-always-open)User: "Create a search input with a button inside"
Agent workflow:
Common documentation sections you should be aware of:
When implementing components, follow this priority:
FIRST: Check if a standard component exists in the component list
SECOND: If the request is for a variant or pattern not in standard components:
THIRD: If documentation doesn't have the exact pattern:
LAST RESORT: If truly custom implementation is needed:
Understanding these patterns helps you navigate documentation more efficiently:
data-hs-[component-name]
data-hs-[component-name]-options='{"key": "value"}'
data-hs-[component-name]-trigger
data-hs-[component-name]-target="#element-id"
.active, .selected, [aria-selected="true"]
.disabled, [disabled], [aria-disabled="true"]
.focus, .hover, :focus, :hover
.open, [aria-expanded="true"]
.hs-[component]-sm, .text-sm, .p-2
.hs-[component]-md, .text-base, .p-3
.hs-[component]-lg, .text-lg, .p-4
.hs-[component]-xl, .text-xl, .p-5
This skill works together with other Preline skills:
When you need to check documentation, inform the user:
Good:
"Let me check the Preline documentation for the floating label input variant to ensure I use the correct HTML structure and classes."
Also Good:
"I'll look up the accordion configuration options in the documentation to find the right data attribute for keeping items open."
Avoid:
"I'm not sure how to do this." (Instead, check documentation first)
Avoid:
"Let me just try this..." (Don't guess when documentation exists)
When to use this skill:
How to use this skill:
Key principle: Always prefer documented patterns over assumptions. Preline documentation is your source of truth for correct HTML structure, classes, and behavior configuration.
Guides agent to check Preline documentation when markup or component patterns are needed that aren't available in standard components.
---name: preline-documentation-guidedescription: Guides agent to check Preline documentation when markup or component patterns are needed that aren't available…---# skills/get-documentation/skill.mdPerguntas frequentes
Baixe skills/get-documentation/skill.md do publicador ou copie o caminho e abra o repositório. O PlugMCP lista a skill e não hospeda o arquivo.
O publicador o mantém em https://github.com/htmlstreamofficial/preline.
Claude, Cursor, Codex e Grok Build conseguem ler um SKILL.md que você adiciona a partir do repositório do publicador. O Grok Bot o instala quando você envia em um chat o link da pasta da skill no GitHub.