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.sh hook auto-runs --file <edited> on every .ts Edit/Write and surfaces output as followup_message. Address what it reports.
  • Address warnings AND messages, not just errors. references/diagnostics-findings.md maps each common finding to its fix; config/effect-diagnostics.json enforcedRules is the build gate.
  • Enforcing a rule takes two edits, not just an enforcedRules entry — see references/diagnostics-findings.md.
  • After a batch of edits, run --project tsconfig.json for the affected package to catch cross-file issues.
  • effect-language-service quickfixes shows proposed code changes.

Quick Reference: Critical Rules

Installs
39
GitHub Stars
1.0K
First Seen
Feb 19, 2026
effect-best-practices — forcedotcom/salesforcedx-vscode