function-type-expressions

Community

Centralize function signatures across expressions

Authorluyi985
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Repeatedly writing the same function signature across multiple function expressions leads to noise and maintenance burden. This skill lets you define the signature once and apply it to all relevant functions.

Core Features & Use Cases

  • Define a single function type alias and reuse it across several expressions.
  • Use typeof to match an existing function's signature exactly.
  • Use Parameters to derive argument types when wrapping or composing functions.
  • Improve readability and safety by centralizing return and parameter types.

Quick Start

Create a shared type for your common signature and apply it to all related function expressions.

Dependency Matrix

Required Modules

None required

Components

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: function-type-expressions
Download link: https://github.com/luyi985/lyi-bash/archive/main.zip#function-type-expressions

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.