AgentSkillsCN

effect

运用TypeScript最佳实践。在实现Effect功能(如服务、层、错误处理或模式)时使用。触发条件:Effect、服务、层、模式、错误处理。

SKILL.md
--- frontmatter
name: effect
description: Effect TypeScript best practices. Use when implementing Effect features like services, layers, error handling, or patterns. Triggers on: Effect, service, layer, schema, error handling.

Effect Best Practices

Before implementing Effect features, run effect-solutions list and read the relevant guide.

Available topics:

  • Services and layers
  • Data modeling with Schema
  • Error handling patterns
  • Configuration management
  • Testing with Effect
  • HTTP clients
  • CLI applications
  • Observability and tracing
  • Project structure

Effect Source Reference

The Effect repository is cloned at ~/.local/share/effect-solutions/effect. Search here for real implementations when docs aren't enough.

Quick Commands

  • effect-solutions list - List all available guides
  • effect-solutions show <topic> - Read a specific guide