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

fusion-help-integration融合帮助整合

Agent Skill

fusion-help-integration 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,622

周安装

154

GitHub Stars

公开资料未说明

下载量

1,269
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/equinor/fusion-skills --skill fusion-help-integration

简介

用于查找系统集成与对接相关的最佳实践资料。

  • 适合在跨服务联调时参考认证流程与数据流转设计。
  • 可结合具体 SDK 文档验证调用参数与回调处理方式。
  • 建议在正式部署前完成沙箱环境与异常场景测试。
  • fusion-help-integration 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Fusion Help Integration

Wire the Fusion Help Center into app pages so users can open contextual help articles via the PageLayout help button.

When to use

  • User wants to add a help button to a page
  • User wants to wire useHelpCenter into a page component
  • User wants to create or update the help articles constants file for an app
  • User asks how to connect PageLayout to the Fusion Help Center
  • Agent detects a page using PageLayout without openHelpArticle
  • User wants to add help support to an app that doesn't have it yet
  • User asks "how do I open a specific help article from my page?"

When not to use

  • Authoring markdown help article content → use fusion-help-docs skill
  • Making direct REST API calls to the Help service → use fusion-help-api skill
  • Modifying @fra/ui shared components (PageLayout, PageHeader, FusionHelpButton)
  • Non-Fusion-framework apps or apps outside this monorepo

Required inputs

Collect before making changes:

InputRequiredDefaultDescription
App nameYesThe app directory name under apps/ (e.g., fra-app-management)
Target pagesYesWhich page(s) to wire up, or "all" for every page using PageLayout
Article slugsYesAuto-deriveSlug strings for each page. If not provided, derive as {app-name}-{page-kebab}
Include release notesNotrueWhether to also pass openReleaseNotes to PageLayout
Constants file locationNosrc/constants/helpArticles.tsPath for the FUSION_HELP_ARTICLES object

If article slugs are auto-derived, confirm them with the user before applying — slugs must match articles published via the fhelp CLI.

Instructions

1. Check existing help integration

Search the target app for existing help wiring:

apps/{app-name}/src/**/helpArticles.ts
apps/{app-name}/src/**/fusionHelpArticles.ts

Also search for useHelpCenter imports. If the app already has partial integration, extend it rather than duplicating.

2. Determine slug convention

Check if the app already has a constants file with slugs:

  • Has existing slugs → follow its naming pattern (prefixed vs. unprefixed)
  • No existing slugs → use {app-name}-{page-kebab} convention

Reference existing conventions:

AppConventionExample
fra-access-manager{app-name}-{page-kebab}fra-access-manager-access-groups
fra-app-managementUnprefixed page nameoverview, requests
personnel-allocation{app-name}-{page-kebab}personnel-allocation-overview

Prefer the prefixed convention for new apps — it avoids slug collisions across apps.

3. Create or update the constants file

Create src/constants/helpArticles.ts (or the app's chosen location):

export const FUSION_HELP_ARTICLES = {
    PAGE_NAME: '{app-name}-{page-kebab}',
};

Keys are SCREAMING_SNAKE_CASE matching the page concept. Values are kebab-case slug strings.

See references/wiring-pattern.md for the full canonical pattern with real examples.

4. Wire each target page

For each page component that uses PageLayout:

a. Add imports (respecting the project's import order — externals first, then @fra/*, then @/* aliases, then relative):

import { useHelpCenter } from '@equinor/fusion-framework-react-app/help-center';

import { PageLayout } from '@fra/ui';

import { FUSION_HELP_ARTICLES } from '@/constants/helpArticles';

b. Destructure the hook inside the component body:

const { openArticle, openReleaseNotes } = useHelpCenter();

If release notes are not needed, destructure only {openArticle}.

c. Pass props to PageLayout:

<PageLayout
    title="Page Title"
    openHelpArticle={() => openArticle(FUSION_HELP_ARTICLES.PAGE_NAME)}
    openReleaseNotes={openReleaseNotes}
>

Important: openHelpArticle must be a callback wrapper () => openArticle(slug), not a direct reference — openArticle requires the slug argument.

5. Verify the integration

After wiring:

  1. Run TypeScript check: pnpm --filter {app-name} exec tsc --noEmit
  2. Confirm no lint errors: pnpm --filter {app-name} exec eslint src/
  3. Visually verify: the page header should show an info-circle (ⓘ) icon button. Clicking it opens the Fusion Help sidesheet.

6. Cross-reference with published content

Remind the user that each slug in FUSION_HELP_ARTICLES must correspond to a published article. If the articles don't exist yet:

  • Point to the fusion-help-docs skill for authoring content
  • The slug in the constants file must exactly match the slug field in the help-articles.json config
  • Articles are published per-environment via the fhelp CLI

Expected output

  • Constants file created/updated with article slug mappings
  • Target page(s) wired with useHelpCenter hook and PageLayout props
  • TypeScript compilation passes
  • List of slugs that need corresponding help articles (for handoff to fusion-help-docs)

Safety & constraints

  • Never invent slug names without user confirmation — slugs must match published articles
  • Don't modify @fra/ui componentsPageLayout, PageHeader, and FusionHelpButton already support help props
  • Don't add new dependencies@equinor/fusion-framework-react-app is already a dependency of every app
  • Follow the app's existing import alias convention — most apps use @/*src/*
  • Respect existing code style — use type keyword for type-only imports, maintain import group ordering
  • Don't duplicate help wiring — if a page already has useHelpCenter, extend rather than re-add
  • Confirm auto-derived slugs before applying — a wrong slug silently fails (no article shown)

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.41%
按下载量换算449

Claude

31.96%
按下载量换算406

Cursor

20.21%
按下载量换算256

Gemini CLI

10.23%
按下载量换算130

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills