Coding

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

Learn a standardized approach to naming scripts or functions using a specific verb-noun pattern with optional variations. This method employs a predefined set of verbs covering preparation, processing, control, state, and computation actions, combined with nouns and optional addi

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 the 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.