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

fusion-package-scribe融合包划线器

Agent Skill

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

总安装

1,304

周安装

56

GitHub Stars

公开资料未说明

下载量

457
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/equinor/fusion-skills --skill fusion-package-scribe

简介

用于查找包管理与发布流程相关的操作指南。

  • 适合在维护私有仓库或发布公共模块时参考规范。
  • 可结合 npm/pypi 等平台了解版本号约定与发布检查项。
  • 建议在发布前完成自动化测试与依赖冲突扫描。
  • fusion-package-scribe 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Package Scribe

Experimental caveat

This skill is experimental and not yet stable. Behavior, structure, and outputs may change between versions.

When to use

Use this skill when you need to systematically add or improve documentation across TypeScript packages — whether a full monorepo sweep or a single package.

Typical triggers:

  • "document all packages"
  • "improve docs for packages/utils/observable"
  • "add TSDoc to all public exports in this package"
  • "rewrite the README for this package"
  • "run a documentation pass on the monorepo"
  • "review the TSDoc quality in this package"

Implicit triggers:

  • A package has public exports with missing or stub TSDoc
  • A package README is outdated, inconsistent, or missing standard sections
  • A documentation sweep is planned across multiple packages

When not to use

Do not use this skill for:

  • Modifying runtime code (only doc comments and README files)
  • Generating API reference sites or TypeDoc output
  • Non-TypeScript languages (initial scope is TS/TSX only)
  • Auto-merging PRs or bypassing review workflows
  • Security vulnerability scanning or performance profiling
  • Replacing existing CI-based doc generation pipelines

Required inputs

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

  • Scope: monorepo root path or specific package path(s)
  • Mode: single (one package) or sweep (multiple packages)

Conditional inputs

  • Package filter: glob or list when processing a subset of packages
  • README template path: repo-specific template if not using the built-in default (for example under .github/instructions/)
  • Tracking issue: issue number for lifecycle updates (assign, status, close)
  • Commit style: repo-specific conventional commit format (defaults to docs(<package>):)
  • Batch size: number of packages per batch for sweep mode (defaults to 5)

Defaults

  • Mode: single (if only one package path provided)
  • Commit prefix: docs(<package-name>):
  • Batch size: 5 packages per sweep batch
  • README structure: built-in template from references/readme-template.md
  • Review council: enabled (runs after every package)

Precedence and standards discovery

This skill discovers and follows the target repository's own standards:

  1. Repository instructions — applicable files under .github/instructions/, CONTRIBUTING.md, contribute/
  2. Tooling configurationtsconfig.json, biome.json, .editorconfig
  3. Companion skillfusion-code-conventions for TSDoc rules, naming conventions, and intent quality (when installed)
  4. Built-in defaultsreferences/tsdoc-checklist.md and references/readme-template.md

Repository-level standards always win. When no repo standards exist, the built-in defaults apply.

Agent modes

AgentRoleActivated for
agents/orchestrator.agent.mdBatch coordinatorSweep mode — plans batches, manages token budgets, tracks progress
agents/documenter.agent.mdPer-package writerEvery package — scans API surface, generates TSDoc, rewrites README
agents/reviewer.agent.mdReview councilAfter each package — verifies intent, comprehension, retrieval fitness

In single-agent runtimes, all three roles run inline sequentially.

Instructions

Step 1 — Discover repository standards

Before generating any documentation:

  1. Search for repo-level documentation instructions:

- applicable files under .github/instructions/ - CONTRIBUTING.md, contribute/

  1. Read tsconfig.json to understand module structure, path aliases, and strict mode settings
  2. Read biome.json or equivalent linter config for style expectations
  3. Check if fusion-code-conventions is available — if so, defer to its TSDoc rules from references/typescript.conventions.md
  4. If no repo-level standards exist, use references/tsdoc-checklist.md as the quality baseline

Step 2 — Discover packages

  1. For single mode: validate the provided package path exists and has TypeScript source files
  2. For sweep mode:

- Read the root package.json or workspace config (pnpm-workspace.yaml, lerna.json, turbo.json) to find all packages - Filter by any provided glob/list - Sort packages by estimated size (file count) for batch planning - Write the discovery summary to .tmp/scribe-discovery-<context>.md

Step 3 — Plan execution (sweep mode only)

Activate agents/orchestrator.agent.md (or run inline):

  1. Group packages into batches of the configured batch size
  2. Order batches: smaller packages (fewer source files) first to maximize early throughput
  3. Estimate token budget per package: ~100 tokens per source file for reading, ~200 tokens per export for TSDoc generation
  4. If a single package exceeds 60% of the estimated context window, flag it for special handling (barrel exports first, defer internal modules)
  5. Write the execution plan to .tmp/scribe-plan-<context>.md

Step 4 — Process each package

Activate agents/documenter.agent.md (or run inline) for each package:

4a — Scan public API surface

  1. Find the barrel export file (index.ts, index.tsx, or main field in package.json)
  2. Trace all re-exports to identify the full public API surface
  3. Categorize exports: functions, classes, types/interfaces, constants, hooks, enums
  4. Prioritize: barrel exports first, then direct public exports, then internally-consumed-but-exported items

4b — Generate or improve TSDoc

For each public export:

  1. Read the existing implementation to understand intent, parameters, return values, error paths, and side effects
  2. Check for existing TSDoc — improve rather than replace when present
  3. Apply the TSDoc checklist (repo standards or references/tsdoc-checklist.md):

- Summary line: explain *why* and *what problem it solves*, not just *what it does* - @param for every parameter with meaningful descriptions - @returns for every non-void function - @template for every generic type parameter - @throws for meaningful error paths - @example for user-facing and non-trivial public APIs - @deprecated with replacement guidance when applicable

  1. Flag and rewrite "name-echo" patterns (for example /** Gets the value. */ getValue())
  2. Do not modify runtime code — only doc comments

4c — Rewrite or improve README

  1. Read the existing README (if any) to preserve valuable content
  2. Apply the README structure from repo instructions or references/readme-template.md:

- Package name and description - Features / key exports - Installation - Usage with code examples - API reference (summary of key exports with links or inline docs) - Configuration (if applicable)

  1. Ensure the README is useful to a developer discovering the package for the first time
  2. Optimize for retrieval: use clear headings, keyword-rich descriptions, and concrete examples

Step 5 — Review council

Activate agents/reviewer.agent.md (or run inline) after each package:

  1. Intent extraction — Does the TSDoc accurately describe *what the code does* and *why*? Flag any comment that merely restates the function/type name.
  2. Code comprehension — Are complex algorithms, state machines, or side effects explained? Would a new developer understand the code from the docs alone?
  3. User-facing quality — Is the README useful to someone discovering the package for the first time? Does it have working examples?
  4. Retrieval fitness — Will the documentation produce good hits in RAG / semantic search? Are key terms present in headings and summaries?

The reviewer produces a pass/fail per criterion. Failures loop back to Step 4 for the specific package.

Step 6 — Commit

After the review council passes for a package:

  1. Stage only documentation files (.ts/.tsx files for TSDoc changes, README.md)
  2. Commit using the repo's conventional commit format, defaulting to: docs(<package-name>): improve TSDoc and README documentation
  3. Do not push — leave that to the user or a PR workflow

Step 7 — Report

After all packages are processed:

  1. Write a summary to .tmp/scribe-report-<context>.md:

- Packages processed and status (pass/fail/skipped) - Total exports documented - Review council pass rates per criterion - Any packages flagged for manual review - Commits created

  1. If a tracking issue was provided, update it with the summary

Expected output

  • TSDoc comments on all public exports in processed packages
  • Consistent README for each processed package
  • One commit per package with documentation-only changes
  • Summary report in .tmp/
  • Tracking issue update (when issue number provided)

Safety & constraints

This skill is mutation-capable. Repository-local workflow instructions take precedence over inline guidance when they conflict.

  • Only modify doc comments and README files — never touch runtime code
  • Do not push commits; leave push decisions to the user
  • Do not auto-merge PRs or bypass review workflows
  • Do not invent API behavior — document only what the code actually does
  • Do not delete or replace existing valuable documentation without preserving its content
  • When a tracking issue is referenced, update it only after explicit confirmation
  • Respect .gitignore and do not commit temporary files from .tmp/
  • If the review council fails a package twice, flag it for manual review instead of looping indefinitely

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.57%
按下载量换算167

Claude

29.24%
按下载量换算134

Cursor

21.02%
按下载量换算96

Gemini CLI

9.41%
按下载量换算43

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills