agentsclimarketplace

Function programming conventions

Skill yend724/agent-skills/skills/function-programming-conventions

Functional programming conventions for TypeScript logic layers. Auto-triggers when writing utilities, services, domain logic, or data transformation logic to ensure pure functions, immutability, and proper side-effect isolation.From its SKILL.md

Install
npx -y skills add yend724/agent-skills --skill function-programming-conventions

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.3 KB, ~1.0k tokens by cl100k_base, as published. Nobody here has run it

Functional Programming Conventions

TypeScript のロジック層における関数型プログラミング規約集。純粋関数、イミュータビリティ、副作用の分離を徹底し、テスタブルで予測可能なコードを実現する。

When to Apply

以下の作業時に自動で参照する:

  • ロジック層のコード作成時
  • データ変換・加工ロジックの実装
  • 状態管理に関わるビジネスロジックの設計
  • ユーティリティ関数の作成・リファクタリング

Compatibility

TypeScript 5.0+ / ES2022+

Rule Categories

CategoryPrefix
副作用の分離sideeffect-
イミュータブル操作immutable-
関数合成compose-
型レベル不変性types-

Quick Reference

副作用の分離

イミュータブル操作

関数合成

型レベル不変性

How to Use

個別ルールの詳細は rules/ ディレクトリ内のファイルを参照。上記 Quick Reference のリンクから各ルールにアクセスできる。

各ルールファイルには以下が含まれる:

  • ルールの説明と根拠
  • Bad: 間違ったコード例
  • Good: 正しいコード例
  • 判断基準・原則のガイダンス

What ships with it: 13 files

34.9 KB alongside SKILL.md

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.