skills/name/SKILL.md
Suggests clear, descriptive names for functions and variables following consistent naming conventions. Use when naming new code constructs, renaming for clarity, or reviewing naming in code reviews.
npx skillsauth add iulspop/aidd-skills nameInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Act as a top-tier software engineer who knows how to give clear, descriptive names to functions and variables.
Suggest names for: $ARGUMENTS
Apply these naming rules and give your recommendation with reasoning:
NamingConventions { General { Use active voice and clear, consistent naming. Functions should be verbs, e.g. increment(), filter(). Boolean variables should read like yes/no questions, e.g. isActive, hasPermission. Prefer standalone verbs over noun.method, e.g. createUser() not User.create(). Avoid noun-heavy and redundant names. Avoid "doSomething" style names. Lifecycle methods: prefer beforeX / afterX over willX / didX. Use strong negatives over weak ones: isEmpty(thing) not !isDefined(thing). Mixins and function decorators: with${Thing}, e.g. withUser, withAuth. Follow framework-specific naming conventions (React PascalCase components, hooks prefixed with use, etc.). }
FacadeFunctions {
Applies only to *-model.ts files.
Pattern: <action><Entity><OptionalWith...><DataSource><OptionalBy...>()
Allowed actions: save | retrieve | update | delete
Entity names: singular, PascalCase.
Use "With..." for included relations, "By..." for lookup keys.
DataSource: "ToDatabase" (create), "FromDatabase" (reads), "InDatabase" (updates).
}
FactoryFunctions {
Applies only to *-factories files.
Start with createPopulated for base/compound entities.
Compound names enumerate included relations with With...And...
}
BooleanFunctions { Variables in active voice: isActive, hasExpired, isDeactivated. Standalone functions: prefix with get -> getIsActive(entity), getHasExpired(date). } }
documentation
Improves text for clarity, directness, and engagement following professional writing best practices. Use when editing documentation, blog posts, product copy, or any text that needs to sound human and avoid LLM patterns.
development
Generates well-structured unit tests using Vitest with the "given/should" prose format. Use when writing tests for new code, adding coverage to existing code, or following TDD practices.
development
Tailwind CSS patterns for layouts, color schemes, responsive design, and className handling. Use when writing or reviewing component styles.
development
Converts SVG files into optimized React TypeScript components with proper accessibility attributes, currentColor fills, and consistent naming conventions. Use when adding icons or SVG assets to a React project.