Webページの移動やフォーム入力、クリックをエージェントに任せ、情報抽出や画面保存、操作前後の比較まで行います。ブラウザ作業の自動化やWebアプリの確認に使えるスキル。
- フォーム入力やクリックを自動化したいとき
- Webページのテキスト抽出
- ページのスクリーンショット・PDF保存
Effect v4を使うアプリの設計・実装・レビュー・テストを支援します。依存関係やエラーの型を明確にし、外部連携、並行処理、ログまで一貫した方針で整えます。
Design, write, review, and test production Effect v4 programs: deep services and layers, schemas, tagged errors, observability, Config, persistence, resources, concurrency, schedules, workers, streams, caches, HTTP clients, Effect platform services (Node filesystem/path/crypto/process/socket), and Effect Atom integrations. Use for any Effect application or adapter work.
実行スコア 未検証
インストール方法を見るEffect v4を使うアプリの設計、実装、レビュー、テストを支援します。サービスの公開操作を業務に沿った入出力に絞り、依存関係や成功・失敗の型を明確にします。外部データの読み取り、設定と秘密情報、データ保存、リソースの解放、並行処理、再試行、ストリーム、キャッシュ、HTTP通信などを扱います。
Effectで外部APIやデータベースとの接続部分を作るときや、既存の処理を共通の設計方針で見直すときに向いています。エラーを変換する前に記録する方針や、依存先を差し替えるLayerを使ったテストも確認できます。
導入済みのeffectや@effect/*のバージョンと、プロジェクト固有の規約を確認して進めます。不安定なAPIはバージョン間で変わるため、型チェックが必要です。テストには@effect/vitestを使い、SQLの挙動には一時的な実データベースを使う方針です。エラーのSentryへの記録も含まれます。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Build production Effect v4 programs with small domain-shaped interfaces, typed success and error channels, declared dependencies, observable operation boundaries, and tests that substitute layers at real seams. This skill combines broad Effect mechanics with HumanLayer's deep-module, capture-before-narrow, and real-seam design standards.
Check these before guessing:
CLAUDE.md / AGENTS.md and project-local conventions;effect, @effect/*, and related package versions and declarations;~/projects/effect-smol) when docs do not settle an API.unstable-tagged modules (effect/http, effect/rpc, effect/process, ...) can change between beta/minor versions. Typecheck examples against the installed version. Local
project conventions take precedence unless the task explicitly changes them.
Read only the references relevant to the task; read all matching branches when work crosses concerns.
references/DEEP_MODULES.md. Read this any time you are modifying or creating services or layers - this is the core of our effect philosophy!Effect.fn, or runtime composition:
references/SERVICES_LAYERS.md.references/ERRORS_OBSERVABILITY.md.references/SCHEMA_DATA_MODELING.md.references/CONFIG_SECRETS.md.references/BOUNDARIES_PERSISTENCE.md.references/RESOURCES_CONCURRENCY.md.references/SCHEDULING_WORKERS.md.references/STREAMS.md.references/CACHING_BATCHING.md.references/HTTP_CLIENTS.md.references/TESTING.md.references/PLATFORM.md.references/PLATFORM_NODE.md.references/EFFECT_ATOM.md.references/TYPESCRIPT_CONTRACTS.md.references/REPOSITORY_EXAMPLES.md.Deep modules. The interface is the cost and the hidden implementation is the benefit. Public operations use domain inputs and outputs; callers do not supply credentials, clients, rows, or other internals.
Everything stays in Effect. Keep expected failures in E, dependencies in R, and resources in scopes. Do
not pass services, layers, effects, or errors as ordinary values when composition expresses the relationship.
Two-tier errors. Classify rich internal failures, capture them, then narrow to a small caller-actionable union.
Prefer typed catchTag/catchTags; never recover with instanceof, Match, or manual _tag comparisons.
Respect the error channel! Errors stay in the error channel and are not passed as values
Observe operations. Every public operation has a stable Effect.fn("domain.operation"), an explicit
Effect.withSpan, or both. Capture raw actionable/unexpected failures before narrowing or swallowing them.
Use Effect's logger to log info, errors, etc - yield* Effect.logError - do NOT pass in external loggers.
Errors MUST also be captured to sentry as soon as they surface before they are re-mapped or transformed.
someEffect.pipe(
Effect.tapError(Effect.logError),
Effect.tapError((e) => Effect.sync(() => Sentry.captureException(e))),
)
Test at real seams. Use @effect/vitest, layers, deterministic test services, and real infrastructure where
behavior depends on it. Assert both the result/error and externally visible end state.
If you are writing tests you MUST read references/TESTING.md
Use Effect platform services. Application code depends on Effect's FileSystem, Path, Crypto, HTTP, process, socket, worker, and related abstractions. Native Node/Bun/browser APIs belong only in runtime adapters when no Effect service exists or when constructing the platform layer.
Use Martin Fowler / Uncle Bob Martin naming conventions. Prefer longer, readable, explanatory names that indicate
WHAT the thing is and WHAT the thing does - how it fits into the system. err on the side of overly explanatory.
bad: publish; good: publishPatchDiffToStream
Effect.gen and named Effect.fn operations.Context.Service for application capabilities and Layer.effect/Layer.scoped for live acquisition.R. Capturing a yielded dependency is reasonable for genuinely
layer-local acquired state or configured clients.Schema.Struct plus a same-name inferred interface. Use Data.TaggedEnum for trusted
internal control flow and Schema tagged variants/unions for encoded boundaries.Schema.TaggedError for network, RPC, queue, workflow, or other boundary-facing errors.
Data.TaggedError is fine for internal-only failures that do not need a codec.Predicate refinements over ad hoc typeof, instanceof, nullish, and property-presence checks. Predicate is
for trusted values or intentional shallow refinement, not a replacement for Schema decoding at an unknown boundary.Match dispatch for trusted discriminated unions and multi-branch value handling. Never compare
_tag manually: use catchTag/catchTags for Effect errors and Match for non-error values.Config; keep secrets Redacted until the adapter call.Schedule for retry/repeat/polling and Stream for many-valued, backpressured sources.any, non-null assertions, as-casts, excepting as const, vague helper files, or
truthiness shortcuts that erase meaningful domain distinctions.it.effect; use it.live only when live runtime behavior is itself under test.TestClock, Deferred, Queue, Latch, and Ref instead of sleeps and timing races.Layer.mock are allowed in test files or dedicated test utilities only—never
production source.vi.mock, vi.spyOn, module patching, or method spies.R; resources and background work have clear scoped owners.Redacted; raw rows/SDK values do not cross public seams.Predicate; trusted union dispatch uses exhaustive Match; no code manually compares _tag.まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
Webページの移動やフォーム入力、クリックをエージェントに任せ、情報抽出や画面保存、操作前後の比較まで行います。ブラウザ作業の自動化やWebアプリの確認に使えるスキル。
曖昧で読みにくい英文を、語の意味をそろえた短い能動態の文へ書き直すスキル。指示文やツール説明を見直し、修正理由と変更前後を表で確認できます。
GitHubのPRの状態、レビューの会話、CI失敗のログを専用スクリプトで収集し、変更の確認状況や未解決の指摘、失敗したジョブとステップを調べるスキル。
リリース時に対象パッケージの基準バージョンを更新し、関連ファイルの同期と生成結果を検証して、コミットからPRブランチへのプッシュまで進めるスキル。
Git のコミット間や作業中のコードで、関数の呼び出し構造の違いを確認します。呼び出しツリーの表示や、指定した関数へ至る経路の調査にも使えます。
ターミナルからブラウザのクリックや入力、ページ移動を自動化し、通信やエラー、表示速度も調べられる、Chrome DevToolsのCLI操作を支援するスキル。