Prefer Named Functions

Prefer named functions over anonymous functions across any technology stack. Use when an agent needs to define, refactor, or review functions, methods, callbacks, handlers, lambdas, arrow functions, or function expressions. Choose a named function unless the language, framework, idiomatic style, or local readability genuinely favors an anonymous form.

code-sherpas Updated 0 repo stars

File contents

code-sherpas/agent-skills commit c90b00be4e

Frequently asked questions

npx get-skill add code-sherpas/prefer-named-functions