effect-best-practices
Originally frommakisuo/skills
Installation
SKILL.md
For diff/plan review against these patterns, invoke the effect-advocate subagent (.claude/agents/effect-advocate.md).
Effect LS diagnostics (agent usage)
Cursor's read_lints does not surface Effect Language Server diagnostics. Use the CLI:
npx effect-language-service diagnostics --file <path>
# or whole project:
npx effect-language-service diagnostics --project tsconfig.json
- The PostToolUse
verify-on-edit.shhook auto-runs--file <edited>on every.tsEdit/Write and surfaces output asfollowup_message. Address what it reports. - Address warnings AND messages, not just errors.
references/diagnostics-findings.mdmaps each common finding to its fix;config/effect-diagnostics.jsonenforcedRulesis the build gate. - Enforcing a rule takes two edits, not just an
enforcedRulesentry — seereferences/diagnostics-findings.md. - After a batch of edits, run
--project tsconfig.jsonfor the affected package to catch cross-file issues. effect-language-service quickfixesshows proposed code changes.