4
1
In review
Synced today
What it does
Guidance for `effect/ScopedCache` focused on APIs like get, set, and make. Load after `effect-skill-router` when this module is the primary owner.
Skill profile
Keep exploring
More options in Dev Tools.
Claude Code · Codex · OpenClaw
TypeScript
Updated 5/27/2026
Agent compatibility
Compatibility has not been reviewed for this listing yet. Check the publisher documentation before installing.
Installation
npx skills add https://github.com/TylorS/typed-smol --skill effect-module-scopedcacheReview source code and installation permissions before adding third-party tools to an agent.
effect-module-scopedcache is organized in the Dev Tools category. Compare its source, install method, and compatibility before adding it to your workflow.
Third-party agent tools may access source code, credentials, or browser sessions. Read the source documentation and use the minimum permissions needed.
npx skills add https://github.com/TylorS/typed-smol --skill effect-module-scopedcacheSKILL.md
---
name: effect-module-scopedcache
description: Guidance for `effect/ScopedCache` focused on APIs like get, set, and make. Load after `effect-skill-router` when this module is the primary owner.
---
# Effect Module ScopedCache
## Owned scope
- Owns only `effect/ScopedCache`.
- Source of truth: `packages/effect/src/ScopedCache.ts`.
## What it is for
- Module-specific APIs and usage patterns for Effect programs.
## API quick reference
- `get`
- `set`
- `make`
- `makeWith`
- `getOption`
- `getSuccess`
- `has`
- `keys`
- `size`
- `Entry`
- `State`
- `values`
- `entries`
- `refresh`
- `invalidate`
- `ScopedCache`
- `invalidateAll`
- `invalidateWhen`
- Full API list: `references/api-reference.md`
## How to use it
- Start with constructor-style APIs to build values/services before composing operations.
- Use schema/codec APIs to validate inputs at boundaries before business logic.
- Treat stateful APIs as synchronization boundaries and keep updates atomic.
## Starter example
```ts
import { ScopedCache } from "effect/ScopedCache";
const value = ScopedCache.make();
const next = ScopedCache.get(value);
```
## Common pitfalls
- Scoped resources require deterministic lifecycle management to avoid leaks.
- Prefer explicit, typed combinators over ad-hoc casting or unchecked assumptions.
## Not covered here
- Adjacent modules in `effect/*` and `effect/unstable/*` are out of scope for this owner.
## Escalate to
- `effect-skill-router` for routing and ownership checks.
## Reference anchors
- Module source: `packages/effect/src/ScopedCache.ts`
- Representative tests: `packages/effect/test/ScopedCache.test.ts`
- API details: `references/api-reference.md`
- Usage notes: `references/usage-reference.md`
- Ownership mapping: `references/owner.md`
skill
mattpocock
A tool that automates setting up Husky pre-commit hooks with lint-staged, Prettier formatting, type checking, and tests in a code repository.