Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

effect-review-v4

БесплатноЗапускает вложенные скриптыНе проверен

Review Effect v4 code, including beta, RC, and release versions, for correct error propagation, resource ownership, cancellation, concurrency, primitive…

Makisuoот Makisuo★ 79 звёзд на GitHub

Об этом скилле

Effect v4 review

Review program behavior and the contracts it exposes. Prefer Effect primitives when they remove custom cancellation, scheduling, resource, or coordination logic. Explain the semantic benefit; counting Effect APIs is not a measure of code quality.

Use this skill read-only unless the user also requests fixes. When asked to review or improve this skill itself, inspect its instructions and examples; do not launch a product-code audit.

Default to one reviewer: the current agent, with zero subagents, including whole-repository audits. Follow the delegation and context limits in section 3.

1. Establish scope and ground truth

Read version-grounding.md and the applicable repository instructions before making findings.

  • Respect explicit files/directories, PRs, branches, and prior conversation. "My changes" normally means working changes when present; otherwise inspect the current branch's actual base. State inferred scope. Ask only if unresolved ambiguity would materially change the review.
  • PR/branch: determine the actual base, inspect its merge-base diff and relevant callers. Working changes: include staged, unstaged, and relevant untracked files. An empty diff is not a command failure. Never silently review HEAD~1.
  • Repo: discover first-party source, excluding generated/dependency/reference trees. .context is API evidence, not product code under review.
  • Classify by contents and ownership, not extension alone. index.ts, config, .tsx, .spec.*, and type tests can contain important Effect behavior. Include indirect consumers and runtime adapters when following a contract.
  • Pin actual package resolution and patches. Skill examples are evidence for their tested version, not authority over a different installed version.

Optional read-only inventory helper (supply actual paths):

node <skill>/scripts/inspect-project.mjs --project <repo> --mode working
node <skill>/scripts/inspect-project.mjs --project <repo> --mode diff --base <actual-base>
node <skill>/scripts/inspect-project.mjs --project <repo> --mode repo

The helper lists candidates and exclusions; it does not claim semantic review coverage or discover a PR base for you. Narrow to user-requested paths and read relevant non-source contracts too.

2. Review connected behavior

Read known-pitfalls.md for conditions that made previous proposed fixes unsafe. Then follow the relevant path:

input → schema → service → driver/resource → error mapping → consumer → test.

Run the error and lifetime passes on effectful work before suggesting style changes. Load other references when their concerns are present:

Concern Reference
Expected failures, defects, interruption, recovery, public contracts errors-and-cause.md
Resource scopes, fibers, cancellation, state, backpressure resources-concurrency.md
Primitive selection; HTTP, retry, caching, polling, data transforms primitives.md
Lazy construction, generators, tracing, Promise interop effect-fn-and-gen.md
Dependencies, layer acquisition/memoization, configuration services-layers.md
Decode/construction/encode, optionality, brands schema.md
Trace/log/metric context, status, export lifetime observability.md
Atom identity, runtime ownership, async state, invalidation effect-atom.md
Behavior assertions, clocks, layers, typed failures test-patterns.md

For each custom mechanism, consider an existing Effect primitive or repository abstraction. Check API availability, lifetime, failure/cancellation semantics, performance, and affected callers before recommending it. Short combinator chains, local variables, exhaustive switches, and native boundary adapters can be the clearest correct implementation.

3. Review with one agent by default

Delegation budget: zero by default; at most two subagents in total when the user explicitly requests parallel or independent agent review. Repository size, file count, available slots, or a request for a thorough audit do not authorize delegation. Do not ask to add agents routinely; continue locally. An explicitly requested higher count can override this limit, subject to host rules. A smaller user/host limit always applies.

  • The cap is for the entire review, not concurrent agents or each wave. Count every distinct delegated reviewer, including reused agents. Never reset the budget for another concern, phase, retry, or verification pass.
  • No recursive delegation. Every delegated reviewer must work alone. Do not create one agent per file, concern, finding, or shard-and-concern pair.
  • Deleg
Полный SKILL.md на GitHub

Установить effect-review-v4 в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

evals/README.mdevals/evals.jsonevals/setup.mjsexamples/README.mdexamples/api-surface.test.tsexamples/errors-and-http.tsexamples/runtime-semantics.test.tsexamples/schema-layer-atom.test.tsreferences/effect-atom.mdreferences/effect-fn-and-gen.mdreferences/errors-and-cause.mdreferences/known-pitfalls.mdreferences/observability.mdreferences/primitives.mdreferences/resources-concurrency.mdreferences/review-protocol.mdreferences/schema.mdreferences/services-layers.mdreferences/test-patterns.mdreferences/version-grounding.mdscripts/check-examples.mjsscripts/inspect-project.mjsscripts/inspect-project.test.mjs

FAQ

Что делает скилл effect-review-v4?

Review Effect v4 code, including beta, RC, and release versions, for correct error propagation, resource ownership, cancellation, concurrency, primitive selection, services/layers, schemas, atoms, observability, and tests. Use for requests such as "effect v4 review", "review my Effect 4 changes", "check Effect patterns", or "audit the Effect codebase" when the project uses v4. Supports files, working changes, PR/branch diffs, and repository audits. Reviews with one agent by default; delegation has an explicit total limit. Verify APIs against the installed version. For Effect v3 use effect-review.

Как установить скилл effect-review-v4?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл effect-review-v4 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить effect-review-v4 с