Writes and refactors TypeScript code using Effect-TS services, Zod schemas, Drizzle ORM, Hono routes, Bun runtime, and event-sourced persistence in namespace-driven architectures. For features, bugs, tests, refactoring.
npx claudepluginhub joshuarweaver/cascade-code-general-misc-1 --plugin pproenca-dot-skills-1This skill uses the workspace's default tool permissions.
Code like the opencode core team. This skill contains real code extracted from the repo — complete implementations, not abstract rules. Follow the workflow below based on your task.
Applies Acme Corporation brand guidelines including colors, fonts, layouts, and messaging to generated PowerPoint, Excel, and PDF documents.
Builds DCF models with sensitivity analysis, Monte Carlo simulations, and scenario planning for investment valuation and risk assessment.
Calculates profitability (ROE, margins), liquidity (current ratio), leverage, efficiency, and valuation (P/E, EV/EBITDA) ratios from financial statements in CSV, JSON, text, or Excel for investment analysis.
Code like the opencode core team. This skill contains real code extracted from the repo — complete implementations, not abstract rules. Follow the workflow below based on your task.
Follow these phases in order:
Load architecture.md. Find:
Load helpers-deep-dive.md. Before writing ANY utility:
util/, effect/, bus/, sync/For quick lookups: primitives.md (shorter, import paths + signatures only)
Load the reference that matches what you're building:
| 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 |
Load style-dna.md. If ANY of the following fail, fix the code before proceeding to Review:
try/catch, no else, no any, no unnecessary destructuringconst + ternary over let + mutation.meta({ref}) on boundary schemasDO NOT proceed if any check fails. Go back to phase 3 and fix.
Load review-voice.md. The diff MUST NOT contain any of the following. If it does, fix before submitting:
as any or as unknown as casts@/util/* helpersLoad architecture.md. Map the blast radius before changing anything.
Load refactoring-patterns.md. Start with the Decision Matrix at the top — match the code smell you see to the correct pattern. Then read the specific pattern section for real before/after diffs:
Load helpers-deep-dive.md. The best refactor often replaces 20 lines with one utility call.
Same as implement phases 4-5: style-dna.md then review-voice.md.
ServiceMap.Service / Layer / makeRuntime. No plain async classes.export namespace X {} per feature, one file until real split pressure.z.infer for DTOs/tool params. Schema.TaggedErrorClass for Effect errors. Newtype for branded IDs.SyncEvent.run → projectors → SQLite. Direct DB writes only for non-event-sourced features.tmpdir + Instance.provide + real services. Mocks only for external SDKs.state, pending, info, row, cfg, tx. Multi-word only when genuinely ambiguous.| 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 |