Loading...
Loading...
Write and refactor TypeScript code in repos that use Effect-TS services, Zod schemas, event-sourced persistence, and namespace-driven architecture. Use this skill when implementing features, fixing bugs, writing tests, or refactoring in opencode or any TypeScript codebase built on the same stack (Effect DI, Drizzle ORM, Hono routes, Bun runtime). Triggers on tasks involving Effect services, namespace modules, Zod schema definitions, SyncEvent patterns, tool implementations, test writing, or code review in Effect-based TypeScript projects.
npx skill4agent add pproenca/dot-skills opencode-tsutil/effect/bus/sync/| Building... | Load this |
|---|---|
| Service module (namespace + Effect service + schemas + events) | service-module.md |
| Tool or modifying tool behavior | tool-module.md |
| Database tables, schemas, events, error types | schemas-and-state.md |
| Server routes, config, plugins, project lifecycle | server-and-routes.md |
| Tests | test-writing.md |
trycatchelseanyconstlet.meta({ref})as anyas unknown as@/util/*ServiceMap.ServiceLayermakeRuntimeexport namespace X {}z.inferSchema.TaggedErrorClassNewtypeSyncEvent.runtmpdirInstance.providestatependinginforowcfgtx| File | Size | What it contains |
|---|---|---|
| style-dna.md | 18K | Mandatory style rules, naming, control flow, 14 review traps |
| primitives.md | 22K | Quick-lookup: every utility with import path + signature |
| helpers-deep-dive.md | ~40K | Full deep-dive: every utility, every usage site, when NOT to use |
| architecture.md | ~30K | Module map, dependency graph, data flow, file conventions |
| service-module.md | 27K | Complete Question + Permission implementations |
| tool-module.md | 28K | Full tool implementations, registry, prompt loop |
| test-writing.md | 42K | 5 complete test files with all fixture patterns |
| schemas-and-state.md | 36K | SQL tables, Zod/Effect schemas, SyncEvent flow, errors |
| server-and-routes.md | 32K | Routes, config, plugins, project lifecycle |
| review-voice.md | ~25K | Real PR review comments from Dax + Aiden |
| refactoring-patterns.md | ~25K | Real before/after diffs from cleanup commits |