Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

hexagone-frontend六边形前端

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

1,576

周安装

65

GitHub Stars

3

下载量

515
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:hexagone-frontend(六边形前端)
来源仓库:https://github.com/dedalus-erp-pas/foundation-skills
仓库路径:skills/hexagone-frontend
安装命令:
npx skills add https://github.com/dedalus-erp-pas/foundation-skills --skill hexagone-frontend
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/dedalus-erp-pas/foundation-skills --skill hexagone-frontend

简介

用于辅助前端页面和组件开发。

  • 适合生成或审查 React、Vue、Tailwind CSS 等相关代码。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 涉及页面改动时应配合本地预览和构建检查确认视觉效果。
  • hexagone-frontend 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Hexagone Frontend Documentation -- Navigation Skill

This skill gives you access to the Hexagone frontend component documentation (@his/hexa-components) published as GitLab Pages. Your role is to fetch and read the relevant documentation files when answering questions about Hexagone frontend components, patterns, and conventions.

What is Hexagone frontend documentation

The Hexagone frontend is built with Vue.js 2 using a custom component library (@his/hexa-components) with beta-scss utility classes and Vuex with vuex-pathify for state management. The documentation site is published at:

https://erp-pas.gitlab-pages-erp-pas.dedalus.lan/hexagone/frontend/hexagone-documentation

The site is a single-page application (SPA) and cannot be fetched directly. Instead, use the raw markdown files from the GitLab repository, which are specifically optimized for LLM consumption.

When to use this skill:

  • The user asks about a Hexagone UI component (<btn>, <multiselect>, <data-table>, etc.)
  • The user needs props, events, or usage examples for a Hexagone component
  • The user asks about beta-scss CSS utility classes (flex:6/12, p:1, m:1, etc.)
  • The user asks about the Vuex store modules (user, session, environment, navigation, etc.)
  • The user asks about the API utility (Api(), StandardApi())
  • The user asks about custom directives (v-focus, v-uppercase)
  • The user asks about form validation rules or form patterns in Hexagone
  • The user is building or modifying a Hexagone Web frontend view/space
  • Any question mentioning "Hexagone" combined with "component", "composant", "frontend", "Vue", "template", "formulaire", or "interface"

Critical conventions

IMPORTANT: Hexagone uses custom tag names. NEVER use standard HTML tags for these components.
Standard HTMLHexagone equivalentDoc file
<button><btn>components/button.md
<select><multiselect>components/select.md
<table><data-table>components/datatable.md
<input type="checkbox"><checkbox>components/checkbox.md

Key rules:

  • All components are globally registered -- no import needed in templates
  • Form fields must be wrapped in <div class="input-field"><label for="id">Label</label><!-- component --></div>
  • Use beta-scss utility classes: flex, flex:wrap, flex:6/12, p:1, m:1, etc.
  • Store access via vuex-pathify: this.$store.get('module/path') and this.$store.set('module/path', value)
  • Library: @his/hexa-components, Framework: Vue.js 2

Documentation catalog

The raw files are available at:

BASE_RAW_URL = https://gitlab-erp-pas.dedalus.lan/erp-pas/hexagone/frontend/hexagone-documentation/-/raw/master/docs/llm/

Components (36 components)

Forms and input

ComponentTagFile path
Input<input> + wrappercomponents/input.md
Textarea<textarea> + wrappercomponents/textarea.md
Number<number>components/number.md
Currency<currency>components/currency.md
Select<multiselect>components/select.md
Autocomplete<autocomplete>components/autocomplete.md
Checkbox<checkbox>components/checkbox.md
Radio<radio>components/radio.md
ButtonSwitch<btn-switch>components/button-switch.md
Datepicker<datepicker>components/datepicker.md
Timepicker<timepicker>components/timepicker.md
Colorpicker<colorpicker>components/colorpicker.md
File<file>components/file.md
Iban<iban>components/iban.md
Bic<bic>components/bic.md
Radical<radical>components/radical.md

Navigation and actions

ComponentTagFile path
Button<btn>components/button.md
ButtonGroup<btn-group>components/button-group.md
FloatingButton<floating-btn>components/floating-button.md
Action<action>components/action.md
Link<link>components/link.md
Bookmark<bookmark>components/bookmark.md
Tabs<tabs>components/tabs.md
Steps<steps>components/steps.md

Data display

ComponentTagFile path
DataTable<data-table>components/datatable.md
SimpleTable<simple-table>components/simple-table.md
Card<card>components/card.md
ProgressBar<progress-bar>components/progress-bar.md

User feedback

ComponentTagFile path
Alert<alert>components/alert.md
Modal<modal>components/modal.md
Notification$notification()components/notification.md
Question<question>components/question.md
Tooltips<tooltips>components/tooltips.md
PostIt<post-it>components/post-it.md
Spinner<spinner>components/spinner.md

Layout

ComponentTagFile path
Collapsible<collapsible>components/collapsible.md

Patterns

TopicFile pathDescription
API utilitypatterns/api.mdApi(url, options) and StandardApi(USP) for web service calls
Store (Vuex)patterns/store.mdVuex store with vuex-pathify, shared modules (user, session, etc.)

Reference

TopicFile pathDescription
Directivesreference/directives.mdv-uppercase, v-focus custom directives
Eventsreference/events.mdMouse and keyboard event handling
Form rulesreference/form-rules.mdValidation rules, required fields, @is-valid pattern

Tag-to-file quick lookup

Use this table to quickly find which file to fetch when the user mentions a component tag:

Tag patternFile
<btn>, buttoncomponents/button.md
<btn-group>components/button-group.md
<btn-switch>components/button-switch.md
<floating-btn>components/floating-button.md
<multiselect>, selectcomponents/select.md
<data-table>, datatable, tablecomponents/datatable.md
<simple-table>components/simple-table.md
<datepicker>, datecomponents/datepicker.md
<timepicker>, time, heurecomponents/timepicker.md
<checkbox>components/checkbox.md
<radio>components/radio.md
<autocomplete>components/autocomplete.md
<modal>, modalecomponents/modal.md
<alert>, alertecomponents/alert.md
<notification>, $notificationcomponents/notification.md
<question>components/question.md
<card>, cartecomponents/card.md
<collapsible>components/collapsible.md
<tabs>, ongletscomponents/tabs.md
<steps>, etapescomponents/steps.md
<spinner>, loadingcomponents/spinner.md
<currency>, montantcomponents/currency.md
<iban>components/iban.md
<bic>components/bic.md
<number>, nombrecomponents/number.md
<input>, champ textecomponents/input.md
<textarea>components/textarea.md
<file>, uploadcomponents/file.md
<radical>components/radical.md
<colorpicker>, couleurcomponents/colorpicker.md
<action>components/action.md
<link>, liencomponents/link.md
<bookmark>, signetcomponents/bookmark.md
<post-it>components/post-it.md
<progress-bar>components/progress-bar.md
<tooltips>, infobullecomponents/tooltips.md

CSS utility classes (beta-scss)

These classes are available without any fetch -- use them directly:

ClassDescription
flexDisplay flex
flex:wrapFlex wrap
flex:colFlex direction column
flex:X/12Fractional width (e.g., flex:6/12 = 50%)
p:1Padding 1rem
m:1Margin 1rem
pt:1, pr:1, pb:1, pl:1Directional padding
mt:1, mr:1, mb:1, ml:1Directional margin
text:boldFont-weight bold
text:centerText-align center
bg:grey-lightLight grey background
borderStandard border
rounded:1/2Border-radius
w:fullWidth 100%

Icons

Use the <icon> component with the icon name:

<icon>checked</icon>
<icon>close</icon>
<icon>search</icon>
<icon>edit</icon>

Icons come from @his/fonts-icons.

How to answer questions

Step 1: Identify the relevant file

Map the user's question to one or more documentation files using the tables above:

  • Specific component tag (e.g., <btn>, <multiselect>) --> use the tag-to-file lookup
  • Component name (e.g., "datatable", "datepicker") --> match to the component catalog
  • Store / state management --> fetch patterns/store.md
  • API / web service calls --> fetch patterns/api.md
  • Directives (v-focus, v-uppercase) --> fetch reference/directives.md
  • Form validation / required fields --> fetch reference/form-rules.md
  • Events (click, keyboard) --> fetch reference/events.md
  • CSS classes --> use the CSS utility table above (no fetch needed)
  • Icons --> use the icons section above (no fetch needed)
  • General "list all components" --> use the catalog above (no fetch needed)

Step 2: Fetch the file

Use WebFetch to retrieve the raw markdown file from GitLab:

WebFetch: url="${BASE_RAW_URL}<file-path>" prompt="Return the full content of this markdown file"

For example:

  • Button component: WebFetch: url="https://gitlab-erp-pas.dedalus.lan/erp-pas/hexagone/frontend/hexagone-documentation/-/raw/master/docs/llm/components/button.md" prompt="Return the full content"
  • Store pattern: WebFetch: url="https://gitlab-erp-pas.dedalus.lan/erp-pas/hexagone/frontend/hexagone-documentation/-/raw/master/docs/llm/patterns/store.md" prompt="Return the full content"

Fetch only the file(s) you need. Do not fetch all files at once.

If WebFetch fails (network error, timeout), inform the user that the GitLab instance is unreachable and suggest they:

  1. Access the documentation site directly: https://erp-pas.gitlab-pages-erp-pas.dedalus.lan/hexagone/frontend/hexagone-documentation
  2. Browse the source repo: https://gitlab-erp-pas.dedalus.lan/erp-pas/hexagone/frontend/hexagone-documentation/-/tree/master/docs/llm

Step 3: Extract and present the answer

After fetching, extract the relevant information:

  1. For a specific component: present the props table, events table, and usage examples
  2. For a pattern: present the API/function signature, options, and examples
  3. For a reference topic: present the relevant rules, tables, or directives

Present the information clearly, preserving the original structure (prop tables, event tables, code examples).

Step 4: Cross-reference if needed

If the user's question spans multiple topics (e.g., "how do I build a form with datepicker and validation?"), fetch multiple files and compose a coherent answer showing how to combine the components.

Response guidelines

When presenting component documentation, use this structure:

## <ComponentName> (`<tag-name>`)

**Library:** @his/hexa-components
**Source:** [file URL]

### Props
| Prop | Type | Default | Description |
|------|------|---------|-------------|

### Events
| Event | Description |
|-------|-------------|

### Example
[Code example from the documentation]

Important rules

  1. Always fetch from the GitLab repository -- never answer from memory or general knowledge about Vue.js components. Hexagone has specific conventions (custom tags, beta-scss, vuex-pathify) that differ from standard Vue.js patterns.
  2. Quote the source file when presenting information: always mention which documentation file the information comes from.
  3. Do not invent props, events, or component behavior -- if the information is not found in the fetched file, say so explicitly. Do not guess or extrapolate.
  4. Respect Hexagone conventions:

- Use <btn> not <button>, <multiselect> not <select>, <data-table> not <table> - Wrap form fields in <div class="input-field"> - Use beta-scss utility classes, not custom CSS - Use this.$store.get() / this.$store.set() for store access

  1. Handle missing documentation gracefully -- if a component is not documented, inform the user and suggest they check the hexagone-documentation site or open an issue in the repository at https://gitlab-erp-pas.dedalus.lan/erp-pas/hexagone/frontend/hexagone-documentation.
  2. Cross-reference with hexagone-swdoc -- if the question involves calling Hexagone backend web services from a frontend view, suggest using the hexagone-swdoc skill for the API contract details and the Api() / StandardApi() utility from this skill for the frontend call pattern.
  3. Form field pattern to always follow: <div class="input-field"> <label for="myField">My Label</label> <!-- component here --> </div>
  4. Use <btn-group> instead of <multiselect> when options are fewer than 6 -- this avoids an extra click and shows all options directly.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.5%
按下载量换算183

Claude

30.31%
按下载量换算156

Cursor

17.6%
按下载量换算91

Gemini CLI

9.43%
按下载量换算49

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills