- name
SKILL.md
技能檔案保留在發布者的儲存庫中。
在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add htmlstreamofficial/preline --skill get-documentation -a cursor -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add htmlstreamofficial/preline --skill get-documentation -a claude-code -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add htmlstreamofficial/preline --skill get-documentation -a codex -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add htmlstreamofficial/preline --skill get-documentation -a grok -y在 Grok Bot 聊天中傳送複製的訊息。Bot 會從 GitHub 取得這個 SKILL.md,並加入你所有 Bot 共用的技能中。
Install this skill: https://github.com/htmlstreamofficial/preline/tree/HEAD/skills/get-documentation來自發布者
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.md常見問題
從發布者下載 skills/get-documentation/skill.md,或複製路徑後開啟儲存庫。PlugMCP 只收錄這項技能,不代管檔案。
發布者將它存放在 https://github.com/htmlstreamofficial/preline。
Claude、Cursor、Codex 和 Grok Build 可以讀取你從發布者儲存庫加入的 SKILL.md。在聊天中傳送技能的 GitHub 資料夾連結,Grok Bot 就會安裝它。