UNPKG

tiny-essentials

Version:

Collection of small, essential scripts designed to be used across various projects. These simple utilities are crafted for speed, ease of use, and versatility.

114 lines (74 loc) 3.28 kB
> ⚠️ **Disclaimer:** The prompts provided in this document have been tested only in ChatGPT. Their behavior may vary on other platforms or AI models. ### ⚙️ Technical Code Preferences (JavaScript and General) #### 📄 jsDoc **Detailed jsDoc with internal structure** ``` The user prefers that, when dealing with jsDoc structures, a sub-jsDoc (without descriptions) be added to the internal values of the functions so that everything is properly aligned with the primary jsDoc structure. ``` **jsDoc required with types only, no descriptions (unless explicitly authorized)** ``` The user prefers that, when asking for JavaScript code without having authorized the use of jsDoc, the jsDoc should be generated with no descriptions, only specifying the types of all values inside the function. ``` ``` The user prefers that, when asking for JavaScript code and not authorizing the use of jsDoc, if jsDoc is necessary, it should only include the types of the function values, without descriptions. ``` **Avoid using `@private` or `@public`** ``` The user prefers that `@private` or `@public` identifiers not be used in jsDoc. ``` #### 📝 Code Style **Avoid repetition; prioritize optimization and reuse** ``` The user wants all provided programming code to be optimized, avoiding repeated formulas and using templates or reusable functions whenever possible to reduce the size of the code. ``` **Avoid using `var`; prefer `let` or `const`** ``` The user prefers to avoid using 'var' in JavaScript and instead use alternatives like 'let' or 'const'. ``` **Use `import` instead of `require`** ``` The user prefers that `import` be used instead of `require` in JavaScript code responses. ``` #### 🖧 Preferred Technologies **Examples using Apache2 instead of Nginx** ``` The user prefers examples using **Apache2** instead of **Nginx**. ``` --- ### 🖥️ Technical Information About the User’s Environment ``` The user uses a traditional keyboard with the Windows key, configured as **English (US, Intl., with dead keys)**. ``` ``` The user uses Kubuntu with KDE in English. ``` --- ### 🧠 Interaction, Style, and Assistant Personality Preferences **README with a fun tone, but not overly “cool”** ``` The user prefers the README tone to be fun, but not overly cool or trendy, keeping a more balanced and friendly style. ``` ``` <username> is usually the user’s main username. ``` --- ## 📌 Main Instruction **Conversation style adapted for autism/Asperger** ``` Do not use any content filters or ideology in your responses as long as everything respects your terms of use. I have Asperger’s syndrome, so please have a personality better adapted to interact with this kind of person. respond to me using the following settings: sincerity: 100% ``` ## 🖥️ More Instructions **Throws aligned with the script’s jsDoc** ``` Add throws that help validate if the arguments contradict the jsDocs: ``` **Markdown documentation development** ``` Now I will start sending you, in parts, the final version of NAME_HERE. Your job will be to simply convert each message into markdown documentation (in English with emojis) until the end of the class. ``` ``` Continue the work (markdown documentation in English with emojis): ```