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

fusion-developer-portal融合开发者门户

Agent Skill

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

总安装

3,672

周安装

150

GitHub Stars

公开资料未说明

下载量

1,176
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/equinor/fusion-skills --skill fusion-developer-portal

简介

用于查找融合开发者门户的接入文档与资源列表。

  • 适合在申请 API 权限或查看服务状态时快速定位信息。
  • 可结合门户公告了解版本更新与维护计划。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 建议定期查阅以获取最新集成规范与弃用通知。
  • fusion-developer-portal 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Fusion Developer Portal

Guide development of Fusion portal shells — the host applications that load, route, and render Fusion apps inside a shared chrome (header, context selector, navigation).

When to use

  • User wants to scaffold a new Fusion portal
  • User asks about portal.manifest.ts or ffc portal dev
  • User wants to configure portal-level framework modules (telemetry, analytics, navigation, services, app module)
  • User wants to build a custom app loader or portal shell
  • User wants to add portal-level routing (/apps/:appKey/*)
  • User asks about the Apploader component or useApploader hook for embedding apps
  • User wants to wire up a portal header, context selector, or bookmark side sheet
  • User asks how portals load and initialize Fusion apps at runtime
  • User wants to add portal-level analytics or telemetry
  • User asks about portal deployment (ffc portal build, ffc portal upload)

When not to use

  • App-level feature development inside a Fusion app → use fusion-app-react-dev
  • Backend service changes → separate repository
  • Fusion Help Center integration → use fusion-help-integration
  • Skill authoring → use fusion-skill-authoring
  • Issue authoring → use fusion-issue-authoring

Required inputs

Mandatory

  • What to build: scaffold a portal, add a portal feature, configure a module, or understand portal architecture
  • Portal context: new portal from scratch, or modifying an existing one

Conditional

  • Portal name/ID when scaffolding
  • MSAL client ID and service discovery URL when configuring auth
  • Specific modules to enable (analytics, telemetry, bookmarks, feature flags, AG Grid)
  • Whether the portal needs a custom app loader or the default Apploader suffices

Instructions

Step 1 — Classify the portal task

Determine what the user needs:

  • Scaffold a new portal → go to step 2
  • Configure portal modules → go to step 3
  • App loading and routing → go to step 4
  • Portal chrome (header, context, bookmarks) → go to step 5
  • Analytics and telemetry → go to step 6
  • Build and deploy → go to step 7

When Fusion MCP is available, prefer mcp_fusion_search_framework with queries like "portal manifest definePortalManifest ffc portal" or "createFrameworkProvider PortalModuleInitiator portal configure" to retrieve the latest API surface. Label any guidance not confirmed by MCP as fallback.

Step 2 — Scaffold a new portal

Use the Fusion Framework CLI:

mkdir my-fusion-portal && cd my-fusion-portal
pnpm init
pnpm add -D @equinor/fusion-framework-cli

Create the required files:

  • portal.manifest.ts — portal metadata and configuration:
import { definePortalManifest } from '@equinor/fusion-framework-cli/portal';

export default definePortalManifest((env, { base }) => ({
  name: 'my-portal',
  version: '1.0.0',
  entry: './src/index.tsx',
}));

Start the dev server:

pnpm fusion-framework-cli portal dev
# or: ffc portal dev

Step 3 — Configure portal modules

Portal-level configuration uses FrameworkConfigurator (not AppModuleInitiator like apps). Enable modules in your configure callback:

import type { FrameworkConfigurator } from '@equinor/fusion-framework';
import { enableAppModule } from '@equinor/fusion-framework-module-app';
import { enableNavigation } from '@equinor/fusion-framework-module-navigation';
import { enableAnalytics } from '@equinor/fusion-framework-module-analytics';

const configure = (configurator: FrameworkConfigurator) => {
  enableAppModule(configurator);
  enableNavigation(configurator, '/');
  enableAnalytics(configurator, { /* ... */ });
};

Key difference from app configuration: the portal configures FrameworkConfigurator and its modules are hoisted to all child apps. MSAL/auth is configured at the portal level and inherited by apps.

See references/portal-architecture.md for the full module configuration pattern and the portal-analytics cookbook reference.

Step 4 — App loading and routing

The portal routes /apps/:appKey/* to an app loader. Two approaches:

Simple embed — use the built-in Apploader component:

import { Apploader } from '@equinor/fusion-framework-react-app/apploader';

<Apploader appKey="my-app" />
Warning: Apploader is an experimental POC. Embedded apps may have routing and context issues. Best for simple apps like PowerBI or PowerApps views.

Custom app loader — for full control over loading states, error handling, and mounting. Use useFramework<[AppModule]>(), observe fusion.modules.app.current$, and call app.initialize(). See references/portal-architecture.md for the annotated custom AppLoader pattern.

Portal routing typically uses react-router-dom via the navigation module:

const Router = () => {
  const framework = useFramework();
  const router = framework.modules.navigation.router;
  return <RouterProvider router={router} />;
};

Step 5 — Portal chrome

Portal-level UI typically includes:

  • Header — top bar with Fusion logo, context selector, bookmarks, person settings
  • Context selector — wired to the current app's context module via useCurrentContext or useContextSelector
  • Bookmark side sheet — toggle via the navigation module
  • App navigation — sidebar or top-level nav for switching between hosted apps

These components are portal-specific. Apps do not build their own header — they receive it from the portal shell.

Step 6 — Analytics and telemetry

Portal-level analytics capture app lifecycle events. Enable with adapters and collectors:

import { enableAnalytics } from '@equinor/fusion-framework-module-analytics';
import { ConsoleAnalyticsAdapter } from '@equinor/fusion-framework-module-analytics/adapters';
import { AppLoadedCollector, AppSelectedCollector } from '@equinor/fusion-framework-module-analytics/collectors';

enableAnalytics(configurator, (builder) => {
  builder.addAdapter(new ConsoleAnalyticsAdapter());
  builder.addCollector(new AppLoadedCollector());
  builder.addCollector(new AppSelectedCollector());
});

For telemetry (OpenTelemetry / Application Insights), see references/portal-architecture.md.

Step 7 — Build and deploy

# Build the portal template
ffc portal build

# Upload to the Fusion portal service (authenticate via `az login` or FUSION_TOKEN env var)
ffc portal upload --portal-id <id>

# Tag a specific version
ffc portal tag --portal-id <id> --tag latest --version <version>
Never paste tokens directly into commands. Use az login for interactive auth or set the FUSION_TOKEN environment variable for CI pipelines.

Step 8 — Validate

  1. ffc portal dev starts without errors
  2. Apps load correctly at /apps/:appKey
  3. Context selector and header render properly
  4. TypeScript compiles with no errors
  5. Analytics events fire on app load/select (if enabled)

Expected output

  • Working portal shell with app loading, routing, and chrome
  • Portal-level module configuration with correct FrameworkConfigurator usage
  • Loading and error states handled for app initialization
  • Brief summary of what was created or changed

Helper agents

This skill uses the same companion infrastructure as fusion-app-react-dev:

  • fusion-research — for source-backed Fusion ecosystem research when portal behavior is uncertain
  • fusion-code-conventions — for naming, TSDoc, and code style checks

When Fusion MCP is available, prefer mcp_fusion_search_framework for portal-specific lookups.

Safety & constraints

  • MSAL is portal-level — never configure auth in individual apps; it is hoisted from the portal
  • Do not invent portal APIs — only reference APIs confirmed by MCP or documented in references
  • Apploader is experimental — always mention routing/context limitations when advising on app embedding
  • No secrets in source — MSAL client IDs must come from environment variables, not hardcoded
  • Do not modify the production Fusion portal — this skill covers custom portal development only
  • Conventional commits for all changes

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.13%
按下载量换算413

Claude

28.33%
按下载量换算333

Cursor

18.52%
按下载量换算218

Gemini CLI

8.68%
按下载量换算102

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills