lootlog/monorepo / repos/effect/.agents/skills/effect-development
effect-development
VerifiedEffect development guidance. Use when implementing or reviewing code that composes Effect APIs or patterns, or that adds or changes API signatures.
Use the repository's AI documentation as targeted reference, not ambient context:
- Identify the Effect APIs and concepts involved in the change.
- Search
LLMS.mdandai-docs/srcfor those names and concepts, then read the matching sections and examples. - Apply the relevant guidance and inspect nearby source and tests for any repository-internal conventions not covered by the documentation.
The task is ready for implementation when every material Effect API or pattern has matching local guidance, or the search has established that none exists.
API conventions
Write option types inline in the signature by default. Mark fields readonly
and add | undefined to optional fields:
export const make = (options: {
readonly capacity: number
readonly strategy?: "dropping" | "sliding" | undefined
}): Effect.Effect<Queue> => ...
Declare a named options type only in these cases:
- A substantial set of options is shared across several APIs, so a named type keeps them in sync.
- The options type needs complex conditional logic, such as conditional or mapped types driven by type parameters.
A long option list for a single API is not on its own a reason to extract a named type.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |