·effect-best-practices
</>

effect-best-practices

Enforces Effect-TS patterns for services, errors, layers, and atoms. Use when writing code with Effect.Service, Schema.TaggedError, Layer composition, or effect-atom React components.

30Installs·2Trend·@forcedotcom

Installation

$npx skills add https://github.com/forcedotcom/salesforcedx-vscode --skill effect-best-practices

How to Install effect-best-practices

Quickly install effect-best-practices AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/forcedotcom/salesforcedx-vscode --skill effect-best-practices
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: forcedotcom/salesforcedx-vscode.

SKILL.md

View raw

This skill enforces opinionated, consistent patterns for Effect-TS codebases. These patterns optimize for type safety, testability, observability, and maintainability.

| Services | Effect.Service with accessors: true | Context.Tag for business logic | | Dependencies | dependencies: [Dep.Default] in service | Manual Layer.provide at usage sites | | Errors | Schema.TaggedError with message field | Plain classes or generic Error |

| Error Specificity | UserNotFoundError, SessionExpiredError | Generic NotFoundError, BadRequestError | | Error Handling | catchTag/catchTags | catchAll or mapError | | IDs | Schema.UUID.pipe(Schema.brand("@App/EntityId")) | Plain string for entity IDs | | Functions | Effect.fn("Service.method") | Anonymous generators |

Enforces Effect-TS patterns for services, errors, layers, and atoms. Use when writing code with Effect.Service, Schema.TaggedError, Layer composition, or effect-atom React components. Source: forcedotcom/salesforcedx-vscode.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/forcedotcom/salesforcedx-vscode --skill effect-best-practices
Category
</>Dev Tools
Verified
First Seen
2026-02-22
Updated
2026-03-11

Browse more skills from forcedotcom/salesforcedx-vscode

Quick answers

What is effect-best-practices?

Enforces Effect-TS patterns for services, errors, layers, and atoms. Use when writing code with Effect.Service, Schema.TaggedError, Layer composition, or effect-atom React components. Source: forcedotcom/salesforcedx-vscode.

How do I install effect-best-practices?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/forcedotcom/salesforcedx-vscode --skill effect-best-practices Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/forcedotcom/salesforcedx-vscode

Details

Category
</>Dev Tools
Source
skills.sh
First Seen
2026-02-22

Related Skills

None