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

compat-finder兼容性查找器

Agent Skill

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

总安装

188

周安装

8

GitHub Stars

公开资料未说明

下载量

66
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/howiehz/howiehz-misc --skill compat-finder

简介

compat-finder 用于 TypeScript 库兼容性检查与目标平台适配。

  • 提供 CLI 与 API 两种使用方式,支持持续测试会话管理。
  • 通过 GitHub 安装,使用 npx skills add 命令添加指定仓库中的技能。
  • 安装前需确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Compat Finder

Overview

Use this skill to work effectively with the packages/compat-finder package as either a CLI tool or a TypeScript library. Prefer this skill when the task is about narrowing incompatible targets, continuing an existing test session, or editing the package itself.

Quick Start

Start by deciding which of these tasks the user actually wants:

  • Continue or plan a compatibility check: Read references/cli-and-api.md and use the CLI when the user wants a concrete next step from known answers.
  • Embed the engine into code: Read references/cli-and-api.md and wire the TypeScript state-machine API into the caller.
  • Change or review the package implementation: Read references/package-map.md first, then inspect the relevant source and tests.

Choose the Interface

Use the CLI when the user already has a list of targets and either:

  • wants an interactive narrowing flow in the terminal via interactive
  • wants a stateless "what should I test next?" answer via next
  • wants localized help or output for en or zh-Hans

Use the library API when the caller needs to:

  • persist session state in their own app
  • render prompts in a custom UI
  • inspect CompatibilityTestStep.debug or operate directly on target ranges
  • replay answers and skip cached steps programmatically

Continue a Compatibility Check

When the user provides target names and prior answers, prefer compat-finder next because it is deterministic and JSON-friendly.

Use this pattern:

  1. Normalize the target count and optional names.
  2. Normalize answers to booleans using the accepted CLI vocabulary.
  3. Run next to get either the next targets or the final result.
  4. If the task is conversational, restate the JSON result in plain language after verifying it.

Examples:

pnpm cli:compat-finder -- next -c 4 -n "Alpha,Beta,Gamma,Delta" -a "y,n"
npx compat-finder next -c 4 -a "issue,pass"

If the user wants a full terminal-driven session, use:

pnpm cli:compat-finder -- interactive -c 4 -n "Alpha,Beta,Gamma,Delta"

Embed the Engine

For code integration, keep the state in the caller and follow this loop:

  1. Create state with createCompatibilityTestState(targetCount).
  2. Read the current step with getCurrentCompatibilityTestStep(state).
  3. If requiresAnswer is false, call skipCachedCompatibilityTestSteps(state).
  4. Convert promptTargetRanges to concrete targets with takeTargetsFromRanges(...).
  5. Collect the test result and feed it back with applyCompatibilityTestAnswer(state, hasIssue).
  6. Read state.resultTargets after completion.

Do not reimplement the search algorithm unless the task explicitly requires changing package internals; reuse the exported session API instead.

Modify the Package

When editing packages/compat-finder, check the package map reference before changing code. In particular:

  • Keep CLI behavior aligned with the README examples and localized help text.
  • Update or add Vitest coverage for parser changes, output changes, and algorithm changes.
  • Use the package scripts from the workspace root:

- pnpm compat-finder:test - pnpm compat-finder:build

  • If exported API behavior changes, update both README.md and README.zh.md.

Validation

After edits, run the narrowest useful checks first.

  • For docs-only skill changes, run the skill validator on this skill directory.
  • For package behavior changes, run pnpm compat-finder:test.
  • For build-facing changes, also run pnpm compat-finder:build.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.06%
按下载量换算23

Claude

32.77%
按下载量换算22

Cursor

18.5%
按下载量换算12

Gemini CLI

8.66%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/howiehz/howiehz-misc --skill compat-finder 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills