function-implementation
OfficialCraft perfect functions, effortlessly.
Software Engineering#typescript#code generation#boilerplate#functional programming#deno#function#currying
Authorsite-bender
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill standardizes function creation in Sitebender, eliminating debates over structure, naming, and purity. It ensures every function adheres to strict constitutional rules, reducing cognitive load and preventing common errors, so you can focus on logic, not boilerplate.
Core Features & Use Cases
- Automated Boilerplate Generation: Quickly scaffold new functions with correct currying, naming, and type annotations, saving manual setup time.
- Enforced Functional Purity: Guides the creation of pure, immutable functions, preventing side effects and making code easier to reason about and test.
- Standardized Naming & Structure: Provides clear patterns for curried functions, inner function naming, and parameter order, ensuring consistency across the codebase.
- Use Case: When starting a new feature, use this skill to generate a
calculateTaxfunction, ensuring it's curried, type-safe, and follows all Sitebender conventions from the start, saving review time and preventing refactoring.
Quick Start
Generate a new curried function named 'calculateDiscount' with two parameters: 'price' (number) and 'percentage' (number), returning a 'number'.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 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-implementation Download link: https://github.com/site-bender/sitebender/archive/main.zip#function-implementation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.