·code style

在用户询问"Effect 最佳实践"、"Effect 代码风格"、"惯用 Effect"、"Schema 优先"、"Match 优先"、"何时使用 Schema"、"何时使用 Match"、"品牌类型"、"双 API"、"Effect 指南"、"do 表示法"、"Effect.gen"、"pipe vs 方法链"、"Effect 命名约定"、"Effect 项目结构"、"Effect 中的数据建模",或需要理解惯用的 Effect-TS 模式和约定时使用。

5安装·0热度·@andrueandersoncs

安装

$npx skills add https://github.com/andrueandersoncs/claude-skill-effect-ts --skill code style

SKILL.md

NEVER use if/else, switch/case, or ternary operators. These imperative constructs must be replaced with pattern matching in ALL cases:

When you encounter imperative control flow in existing code, refactor it immediately. This is not optional - imperative conditionals are code smells that must be eliminated.

Define ALL data structures as Effect Schemas. This is the foundation of type-safe Effect code.

在用户询问"Effect 最佳实践"、"Effect 代码风格"、"惯用 Effect"、"Schema 优先"、"Match 优先"、"何时使用 Schema"、"何时使用 Match"、"品牌类型"、"双 API"、"Effect 指南"、"do 表示法"、"Effect.gen"、"pipe vs 方法链"、"Effect 命名约定"、"Effect 项目结构"、"Effect 中的数据建模",或需要理解惯用的 Effect-TS 模式和约定时使用。 来源:andrueandersoncs/claude-skill-effect-ts。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/andrueandersoncs/claude-skill-effect-ts --skill code style
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 code style?

在用户询问"Effect 最佳实践"、"Effect 代码风格"、"惯用 Effect"、"Schema 优先"、"Match 优先"、"何时使用 Schema"、"何时使用 Match"、"品牌类型"、"双 API"、"Effect 指南"、"do 表示法"、"Effect.gen"、"pipe vs 方法链"、"Effect 命名约定"、"Effect 项目结构"、"Effect 中的数据建模",或需要理解惯用的 Effect-TS 模式和约定时使用。 来源:andrueandersoncs/claude-skill-effect-ts。

如何安装 code style?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/andrueandersoncs/claude-skill-effect-ts --skill code style 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/andrueandersoncs/claude-skill-effect-ts