Naming Forge for Openclaw

A sophisticated naming engine that uses linguistic principles and codebase analysis to generate precise, consistent, and discoverable names for any programming element.

jcools1977
v1.0.0
Mar 4, 2026
0
773
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install naming-forge

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install naming-forge using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Naming Forge?

Naming Forge is a specialized tool designed to eliminate the friction of naming variables, functions, types, and API endpoints. By applying the Five Laws of Good Names—Contract, Scope, Grammar, Consistency, and Noise Reduction—it ensures that your code remains readable and self-documenting. This utility for Openclaw Skills acts as a bridge between natural language intent and technical implementation, helping developers avoid vague identifiers that lead to technical debt.

The tool analyzes the specific context of your project to match existing naming patterns, ensuring that new additions feel native to the codebase. Whether you are defining a private local variable or a public cross-module API, Naming Forge provides recommendations that are proportional to the scope and importance of the element being named.

Naming Forge Use Cases

  • Naming complex functions that perform multiple operations like filtering, grouping, and aggregating.
  • Establishing consistent naming conventions for new database schemas and join tables.
  • Generating semantic CSS classes using BEM or utility-first methodologies.
  • Refactoring legacy code to replace ambiguous names like data or info with descriptive alternatives.
  • Standardizing environment variables across different services and deployment stages.

How Naming Forge Works

  1. Semantic Extraction: The skill analyzes a natural language description to identify the core action, concept, and technical scope of the item.
  2. Convention Scan: It audits the existing codebase to detect preferences for casing (camelCase, snake_case), verb usage, and architectural suffixes.
  3. Candidate Generation: A list of 3-5 potential names is generated, each evaluated for precision, discoverability, and proportionality.
  4. Recommendation: The skill presents a top-ranked recommendation with a detailed rationale, including alternatives and names to avoid.

Naming Forge Setup

To integrate Naming Forge into your development workflow, ensure it is enabled in your agent configuration. As a zero-dependency skill, it requires no external API calls.

# Example of invoking naming suggestions via CLI
openclaw run naming-forge "function to group active orders by user"

Naming Forge Data Schema & Taxonomy

Naming Forge organizes its output based on the type of code element being processed. It follows a strict metadata taxonomy to ensure output quality:

Element Type Naming Pattern Example
Functions Verb-first (Action-oriented) summarizeActiveOrders
Variables Noun/Adjective (Collection/Single) userById, orderCount
API Routes RESTful Resource/Action POST /users/:id/verify
Database Plural Nouns / Snake Case payment_records
Env Vars Screaming Snake Case DATABASE_POOL_SIZE

Naming Forge Advanced Features

  • Context-aware scope detection that adjusts name length based on code visibility.
  • Codebase-wide consistency audits to flag naming patterns that deviate from established norms.
  • Domain-specific logic for SQL schemas, NoSQL collections, and CSS architectures.
  • Migration impact reporting to help developers understand the scope of renaming operations during refactors.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*