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

scan-effect-solutions扫描效果解决方案

Agent Skill

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

总安装

1,444

周安装

59

GitHub Stars

3

下载量

467
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:scan-effect-solutions(扫描效果解决方案)
来源仓库:https://github.com/blogic-cz/blogic-marketplace
仓库路径:skills/scan-effect-solutions
安装命令:
npx skills add https://github.com/blogic-cz/blogic-marketplace --skill scan-effect-solutions
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/blogic-cz/blogic-marketplace --skill scan-effect-solutions

简介

scan-effect-solutions 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于根据关键词、任务场景或来源线索进行信息搜集与整理。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 建议确认权限范围和维护状态,避免触发联网或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Effect Solutions Compliance Audit

Audit a repository against Effect TypeScript best practices from effect.solutions. Follow this skill to produce a consistent, evidence-based compliance report.

Prerequisites

Load current effect.solutions recommendations:

effect-solutions list

Load guidance used by this checklist:

effect-solutions show tsconfig
effect-solutions show services-and-layers
effect-solutions show data-modeling
effect-solutions show error-handling
effect-solutions show config
effect-solutions show testing

Load the effect-ts skill for Effect-specific implementation patterns:

skill({ name: "effect-ts" })

Audit Checklist

1. TypeScript Configuration

Inspect tsconfig.base.json (or tsconfig.json) and verify:

  • exactOptionalPropertyTypes: true
  • strict: true
  • noUnusedLocals: true
  • declarationMap: true
  • sourceMap: true
  • Confirm Effect Language Service plugin is configured.
  • Confirm module setting matches project type (preserve/bundler for apps, NodeNext for libraries).

Reference: effect-solutions show tsconfig

2. Services & Layers Pattern

Search for Effect services and verify:

  • Confirm services are defined with Context.Tag.
  • Confirm tag identifiers follow @path/ServiceName pattern.
  • Confirm layers use Layer.effect or Layer.sync.
  • Confirm a single Effect.provide is applied at the entry point.

Reference: effect-solutions show services-and-layers

3. Data Modeling

Inspect data modeling and verify:

  • Confirm Schema.Class is used for records.
  • Confirm Schema.TaggedClass is used for variants.
  • Confirm branded types are used for primitives (IDs, emails, and similar values).
  • Confirm pattern matching uses Match.valueTags.

Reference: effect-solutions show data-modeling

4. Error Handling

Inspect error handling and verify:

  • Confirm Schema.TaggedError is used for domain errors.
  • Confirm error recovery uses catchTag/catchTags where appropriate.
  • Confirm defects and typed errors are separated intentionally.

Reference: effect-solutions show error-handling

5. Configuration

Inspect configuration patterns and verify:

  • Confirm Schema.Config is used for validation.
  • Confirm a config service layer pattern is present.
  • Confirm secrets use Config.redacted.

Reference: effect-solutions show config

6. Testing

Inspect tests and verify:

  • Confirm tests use @effect/vitest.
  • Confirm Effect tests use it.effect().
  • Confirm test layer composition follows Effect layer patterns.

Reference: effect-solutions show testing

7. Runtime Execution Anti-Pattern (Effect.runPromise / Effect.runSync in Application Code)

Search application code for direct Effect.runPromise and Effect.runSync usage. Exclude test-only files and test helpers (__tests__/, *.test.ts, *.spec.ts, fixture directories).

Treat bare Effect.runPromise / Effect.runSync as findings when they bypass the project runtime composition. Bare execution typically uses the default runtime without project-provided layers (for tracing, config, logging, or domain services).

Apply project-aware evaluation:

  • Prefer the project's runtime entrypoint (for example runtime.runPromise) in application code.
  • Accept explicit layer provisioning when runtime usage is not feasible (for example during bootstrap or dependency-cycle constraints).
  • Exempt tests that intentionally provide dedicated test layers.

Template-ts convention example (use only when applicable in the audited repo):

  • ManagedRuntime in effect-runtime.ts
  • AppLayer composition
  • SentryTracingLive in runtime-provided observability

Search patterns:

  • Effect.runPromise( under application source directories (for example src/, apps/*/src/, packages/*/src/)
  • Effect.runSync( under application source directories (same scope)

Report each occurrence with:

  • File path and line
  • Whether it's using runtime.runPromise (✅) or bare Effect.runPromise (❌)
  • Whether required observability/config layers are provided by runtime or explicit Effect.provide fallback

Reference: effect-solutions show services-and-layers

8. Option/Either Internal Tag Anti-Patterns

Inspect direct _tag branching on Option/Either in application code and tests.

  • Production code: report all direct _tag usage as findings with replacement recommendation
  • Tests: allow _tag assertions for domain error identity, but flag control-flow branching patterns that should use helpers
  • Prefer:

- Either.match, Either.isLeft, Either.isRight - Option.match, Option.isSome, Option.isNone, Option.getOrElse

Search patterns to include:

  • if (.*\._tag === "Left")
  • if (.*\._tag === "Right")
  • if (.*\._tag === "Some")
  • if (.*\._tag === "None")
  • expect\(.*\._tag\)

Reference: effect-solutions show error-handling


Output Format

Provide a structured report with:

  1. Summary: Overall compliance score using the rubric below. Scoring rubric (0-16 total):

- Evaluate each checklist section (1-8) on a 0-2 scale. - 2: Fully compliant or only minor cosmetic gaps. - 1: Partially compliant, meaningful gaps present. - 0: Non-compliant or pattern missing. - Total score = sum of all section scores. - Provide percentage = (total / 16) * 100, rounded to whole number.

  1. What's Working Well: List patterns that follow best practices
  2. Improvements Needed: List specific issues with:

- File location - Current pattern - Recommended pattern - Priority (high/medium/low) - Scope label: production or test

  1. Quick Wins: Easy fixes that can be done immediately
  2. Next Steps: Recommended order of improvements

Related Skills

  • effect-ts — Effect services, layers, error handling, config patterns
  • testing-patterns — Vitest and @effect/vitest test patterns
  • code-review — General code review methodology (includes Effect section)

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.01%
按下载量换算168

Claude

31.84%
按下载量换算149

Cursor

19.66%
按下载量换算92

Gemini CLI

9.79%
按下载量换算46

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills