fn-args-deps
CommunityEnforce explicit DI in TypeScript functions.
Authorjagreehal
Version1.0.0
Installs0
System Documentation
What problem does it solve?
The Skill enforces the fn(args, deps) pattern to replace classes with pure, dependency-injected functions, improving testability and maintainability.
Core Features & Use Cases
- Explicit dependency types per function to avoid god objects and hidden couplings.
- Boundary composition: wire deps once at the edges and pass into functions.
- Encourages writing small, testable functions that operate on per-call args.
Quick Start
Define a per-function deps type and implement a function using the fn(args, deps) signature, then wire it at the application boundary so handlers invoke the function with the correct deps.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: fn-args-deps Download link: https://github.com/jagreehal/jagreehal-claude-skills/archive/main.zip#fn-args-deps Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.