Token导航 LogoToken导航

Agent Skill · 研究检索

fusion-code-conventions(融合代码约定)

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

fusion-code-conventions 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 16,324。

总安装 7,268周安装 309GitHub Stars 公开资料未说明下载 2,546核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/equinor/fusion-skills --skill fusion-code-conventions

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找融合项目代码规范与编码标准资料。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。适合在团队协作中统一代码风格与质量要求。可结合具体项目 README 验证适用条款与例外情况。建议在实施前与团队评审达成一致后再执行修改。

fusion-code-conventions 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/fusion-code-conventions

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/equinor/fusion-skills --skill fusion-code-conv…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

fusion-code-conventions 怎么安装?

在终端执行 npx skills add https://github.com/equinor/fusion-skills --skill fusion-code-conventions。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

fusion-code-conventions 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

fusion-code-conventions 需要什么权限?

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

fusion-code-conventions 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

fusion-code-conventions 用的人多吗?

公开数据是累计安装 7,268 次,近一周安装 309 次,下载 2,546 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

fusion-code-conventions 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
fusion-code-conventions

融合代码约定 · 本页

7,268—需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Code Conventions

When to use

Use this skill whenever code needs to be reviewed, written, or explained against project conventions. It applies at two layers:

  • Language conventions — naming, file naming patterns, type system, TSDoc and XML doc standards, code structure, error handling, async patterns, and dead code policy. Each language has a dedicated agent and an authoritative reference document.
  • Cross-cutting conventions — applied on every code review regardless of language: intent capture (every non-obvious decision must be documented well enough that the code could be regenerated from comments alone) and constitution enforcement (ADRs and contributor docs are law; deviations require a new decision record; stale decisions are flagged for revision).

Typical triggers:

  • "what are the naming conventions for this project?"
  • "how should I write TSDoc for this function?"
  • "does this file follow our code style?"
  • "review this for convention violations"
  • "what comment style should I use here?"
  • "is this idiomatic TypeScript / React / C# / Markdown?"
  • "apply code conventions to this file"
  • "are these inline comments good enough?"
  • "does this violate any ADR?"
  • "is this ADR still current?"
  • "we have a CONTRIBUTING.md — check if this change follows it"

When not to use

Do not use this skill for:

  • Security vulnerability scanning (use a dedicated security review skill)
  • Performance profiling or benchmarking
  • High-level architecture or system design decisions
  • Generating net-new code without a review target
  • Mutating files without explicit user confirmation

Precedence and applicability

This skill provides org-wide baseline conventions. When it is installed in a repository that also documents its own conventions, the following precedence applies (highest wins):

  1. Repository-level policy — docs such as CONTRIBUTING.md, contributor guides (for example under contribute/), ADRs (wherever they are stored, for example docs/adr/), .github/copilot-instructions.md, AGENTS.md, or equivalent repo-specific files
  2. Tooling configuration — files such as biome.json, tsconfig.json, .editorconfig, and linter configs wherever they are defined
  3. This skill — all rules in references/*.conventions.md and agent modes

When a repository explicitly narrows, relaxes, or contradicts a rule from this skill, the repository policy wins. Agents must not flag code that conforms to the repo's documented conventions, even if it deviates from the skill baseline.

If the conflict is not documented anywhere (no ADR, no contributor note, no config), treat the skill rule as the default and recommend the team record their intent — either adopt the baseline or add an explicit override.

For maintainers: record convention overrides in CONTRIBUTING.md, a contributor guide, or an ADR so that both humans and agents discover them consistently.

Agent modes

AgentActivated for
agents/typescript.agent.mdTypeScript naming, TSDoc, type system, code style, error handling
agents/react.agent.mdReact component structure, hooks rules, accessibility, keys
agents/csharp.agent.mdC# naming, CQRS patterns, async/await, null safety, testing
agents/markdown.agent.mdMarkdown structure, frontmatter, links, callouts, GitHub-specific syntax
agents/intent.agent.mdIntent capture — applied in parallel on every code review
agents/constitution.agent.mdADR and contributor doc enforcement — applied in parallel when project has decision records

Convention references (authoritative rules per language):

  • references/typescript.conventions.md
  • references/react.conventions.md
  • references/csharp.conventions.md
  • references/markdown.conventions.md

Required inputs

If required inputs are missing or ambiguous, ask before proceeding.

  • Target code (inline snippet or file path) or a specific convention question
  • Language or file type (inferred from content if not provided)
  • For constitution checks: path to ADR directory and/or contributor docs (inferred from common locations — docs/adr/, CONTRIBUTING.md, contribute/ — if not provided)

When the developer's context or persona is known, consult the matching follow-up file in assets/ for targeted clarifying questions before reviewing. Ask only the relevant unanswered questions.

  • assets/framework-core-developer.follow-up.md — Fusion Framework internals, shared libraries, framework APIs
  • assets/react-app.follow-up.md — Fusion React app development
  • assets/core-service.follow-up.md — Fusion Core backend services (C# /.NET)

Instructions

Step 1 — Classify and route

Detect the primary language of the target code or question, then activate the matching language agent:

  • TypeScript (.ts, non-component .tsx) → agents/typescript.agent.md
  • React (.tsx with JSX or hooks, component files) → agents/react.agent.md
  • Mixed .tsx (TypeScript type concerns + React component concerns) → both agents in parallel
  • C# (.cs, .csproj) → agents/csharp.agent.md
  • Markdown (.md, .mdx) → agents/markdown.agent.md

Always activate in parallel on any code review:

  • agents/intent.agent.md — every review, regardless of language
  • agents/constitution.agent.md — when the project has ADRs (docs/adr/, adr/) or contributor docs (CONTRIBUTING.md, contribute/, .github/copilot-instructions.md)

If the language cannot be determined from context, ask before proceeding.

Step 2 — Apply or explain conventions

Each language agent reads its authoritative reference file first, then:

  • For convention questions: answers directly with a rule explanation and a corrected code example
  • For code review: identifies deviations, states the rule, shows the corrected version
  • Does not flag patterns the project has explicitly configured in biome.json or .editorconfig

The intent and constitution agents run in parallel and contribute their findings to the combined report.

Step 3 — Present findings

Organise all findings from all agents into a unified report:

  • Required — must fix: naming violations, missing TSDoc on exports, any types, constitutional violations
  • Recommended — should fix: weak intent comments, undocumented magic values, unjustified suppressions
  • Advisory — consider: missing decision records, stale ADRs, implicit exceptions that should be formalised

For each finding: state the rule, the affected code, and the corrected version or recommended action.

Step 4 — Apply corrections

Apply only corrections the user explicitly approves. Edit files using workspace tools. Do not rewrite entire files unless the file is under 50 lines.

Expected output

  • For convention questions: a rule explanation with a corrected code or markup example
  • For code review: a unified findings report (Required / Recommended / Advisory) covering language conventions, intent quality, and constitutional compliance
  • Offered corrections with the user's explicit approval before any file is mutated

Safety & constraints

  • Never mutate files without explicit user confirmation.
  • Do not flag style choices the project has explicitly opted into via biome.json or .editorconfig.
  • Do not invent ADR content — only enforce and challenge what is actually documented.

平台分布

Codex

33.79%
按下载量换算860

Claude

28.68%
按下载量换算730

Cursor

19.46%
按下载量换算495

Gemini CLI

9.33%
按下载量换算238

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

继续浏览同类 Skills