Coding

Generate Script or Function Names Using Standardized Verb-Noun Naming Convention

Learn and apply a standardized naming convention for scripts and functions that uses a verb describing the action and a noun describing the object, joined by underscores. The convention supports variations such as two verbs, two nouns showing genitive relationships, or a noun wit

7 steps English

Prompt template

Run these steps in order.

01
Understand the naming convention: verb(^verb)_noun_(noun_adverb).sh.
02
Use underscores to join words in the script or function name.
03
Select a verb describing the script's action from a standardized list categorized as prep, process, control, state, or computation.
04
Follow with a noun describing the object the script acts upon.
05
Apply optional variations: two verbs (e.g., update^clean_log), two nouns indicating genitive relationships (e.g., check_incidents_criticality.sh), or a noun and an adverb (e.g., calculate_data_daily.sh).
06
Use only the predefined standardized verbs.
07
After understanding the convention, prepare to generate five different naming proposals based on given descriptions when prompted.

Prompt library

Use these prompts directly inside ChatGPT.

Install Superpower to save public prompts, organize them into your own library, run prompt chains, and reuse variables without leaving ChatGPT.