npx skills add smithery/mepuka --skill effect-collections-datastructs
mepuka/effect-ontology · Archived
effect-collections-datastructs
Value-based data structures (Data.struct, tuple, array) and high-performance collections (Chunk, HashSet). Use for safe comparisons and pipelines.
Installation
npx skills add mepuka/effect-ontology --skill effect-collections-datastructs
Stronger alternatives
This repository is archived — consider an actively maintained alternative.
Skill index and decision guide. Use to pick the right Effect Skill quickly and follow a minimal…
331 installsComplete catalog of 130+ Effect-TS patterns from EffectPatterns repository. Use when looking fo…
50 installsError modeling and recovery with TaggedError, catchTag(s), mapError, and retry schedules. Use w…
43 installsConcurrency with Effect.all, forEach concurrency, Fiber lifecycle, race and timeouts. Use for p…
41 installsSimilar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Migrate Kotlin (and Java) code from kotlinx.collections.immutable 0.3.x / 0.4.x to the latest 0…
597 installsContent Collections TypeScript-first build tool for Markdown/MDX content. Use for blogs, docs, …
128 installsAlso in this package
Other skills from mepuka/effect-ontology · top by installs.
npx skills add mepuka/effect-ontology
More details
Agent compatibility
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Also listed on
Alternate registries and mirrors of this skill.
Repository health
main
Skill metadata
Parsed from SKILL.md frontmatter.
Read, Grep, Glob, Edit, WritePackage contents
Files included with this skill beyond the listing page.
-
skill md
SKILL.md2,155 B -
docs
SUMMARY.md184 B
History
- First seen on skills.sh
- First recorded snapshot · 33 installs
SKILL.md
Data Structures & Collections
Structural Equality
import { Data, Equal } from "effect"
const a = Data.struct({ id: 1, name: "A" })
const b = Data.struct({ id: 1, name: "A" })
Equal.equals(a, b) // true
Tuples & Arrays
const t = Data.tuple(1, "x")
const arr = Data.array([1,2,3])
Chunk
import { Chunk } from "effect"
const items = Chunk.fromIterable([1,2,3])
HashSet
import { HashSet } from "effect"
const set = HashSet.fromIterable([1,2,3])
Local Source Reference
CRITICAL: Search local Effect source before implementing
The full Effect source code is available at docs/effect-source/. Always search the actual implementation before writing Effect code.
Key Source Files
- Data:
docs/effect-source/effect/src/Data.ts - Chunk:
docs/effect-source/effect/src/Chunk.ts - HashSet:
docs/effect-source/effect/src/HashSet.ts - Equal:
docs/effect-source/effect/src/Equal.ts
Example Searches
# Find Data.struct and equality patterns
grep -F "Data.struct" docs/effect-source/effect/src/Data.ts
grep -F "Data.tuple" docs/effect-source/effect/src/Data.ts
# Find Chunk operations
grep -F "export" docs/effect-source/effect/src/Chunk.ts | grep -F "function"
# Study HashSet API
grep -F "export" docs/effect-source/effect/src/HashSet.ts | grep -F "function"
# Find Equal implementation
grep -F "equals" docs/effect-source/effect/src/Equal.ts
Workflow
- Identify the collection API you need (e.g., Chunk, HashSet)
- Search
docs/effect-source/effect/src/for the implementation - Study the types and available operations
- Look at test files for usage examples
- Write your code based on real implementations
Real source code > documentation > assumptions
References
- Agent Skills overview: https://www.anthropic.com/news/skills
- Skills guide: https://docs.claude.com/en/docs/claude-code/skills