SECTION 01Understand AIKO's modules
To get the best results from the AI Consultant, AI Developer, and AI Reviewer modules, it’s essential to craft clear and effective prompts. This article will guide you on how to write the correct prompts for ChatGPT to maximize the potential of your software.
Before diving into prompt writing, let’s briefly recap the three modules of our software:
SECTION 02Use the Latest Model
Disclaimer:
While AIKO utilizes advanced AI technology to generate custom WordPress plugins based on user input, we cannot ensure that all generated plugins will function perfectly. Users might occasionally face issues or bugs with the plugins created by AIKO. We advise thorough testing and, if needed, consulting a professional developer for assistance. AIKO aims to simplify plugin creation, but it may not address every complex or specific use case.
SECTION 03Write Clear Instructions
Writing effective prompts is crucial for leveraging the full potential of AIKO developer. By being clear, specific, and iterative in your requests, you can ensure that the AI Consultant, AI Developer, and AI Reviewer provide you with the best possible outcomes for your WordPress plugin development.
A pattern like this can help: “I will be doing A because B. I will be doing B using of C. Be sure when you do C you remember D. When doing D I’d like to have E”.
The fact that each sentence mentions something previously mentioned, so the whole prompt is seen as a single logical entity, and can be “followed” precisely by the “mind” of the AI, with every sub-part being able to be tied back to the original directive/objective as if rooted at a logical tree structure.
SECTION 04Reduce “Fluffy” and Imprecise Descriptions
When crafting prompts for the AI modules in your software, it’s crucial to avoid vague or overly general language—often referred to as “fluffy” descriptions. Fluffy language can lead to misunderstandings, incomplete outputs, and frustration. Here’s how to create precise and actionable prompts that yield better results.
Fluffy language is characterized by:
- Vagueness: Using broad terms that lack specificity.
- Ambiguity: Phrasing that can be interpreted in multiple ways.
- Overly General Statements: Descriptions that do not provide enough detail.
How to Reduce Fluffy Descriptions:
- Improve Clarity: Clear prompts lead to clearer outputs, reducing the need for revisions.
- Enhance Accuracy: Precise descriptions help the AI generate code or requirements that closely match your vision.
- Use Clear Language: Avoid jargon or overly complex terms that may confuse the AI or lead to misinterpretation.
- Break Down Complex Requests: If your request involves multiple components, break it down into smaller tasks (plugins) easier to understand.
For instance:
- Bad: “Create a plugin that prompts visitors to verify their age.”
- Good: “Create a plugin that prompts visitors to verify their age … before accessing certain pages or the entire site.”
- Even better: “Create a plugin that prompts visitors to verify their age before accessing certain pages or the entire site … On a first visit, each page should display a pop-up. Pop-up should contain title, text and a button. The visitor should be able to click the button and close the pop-up. If the user has closed the pop-up, it should not be visible to him for 5 days.”
SECTION 05Define the Role and the Purpose
For instance:
- Bad: “Create a plugin that prompts visitors to verify their age before accessing certain pages or the entire site”
- Good: “Create a plugin that prompts visitors to verify their age before accessing certain pages or the entire site, useful for age-restricted content.”
- Even better: “As a website administrator, I want to prompt visitors to verify their age before accessing certain pages or the entire site, useful for age-restricted content.”
SECTION 06Include Specific Functionalities
For instance:
- Bad: “Create a plugin that prompts visitors to verify their age before accessing certain pages or the entire site, useful for age-restricted content. “
- Good: “Create a plugin that prompts visitors to verify their age before accessing certain pages or the entire site, useful for age-restricted content. On a first visit, each page should display a pop-up. Pop-up should contain title, text and a button. The user should be able to click the button and close the pop-up. “
- Even better: “Create a plugin that prompts visitors to verify their age before accessing certain pages or the entire site, useful for age-restricted content. On a first visit, each page should display a pop-up. Pop-up should contain title, text and a button. The user should be able to click the button and close the pop-up. If the user has closed the pop-up, it should not be visible to him for 5 days. “
SECTION 07Skip Techinical Details
For instance: “Create a plugin that prompts visitors to verify their age before accessing certain pages or the entire site, useful for age-restricted content.
On a first visit, each page should display a pop-up. Pop-up should contain title, text and a button. The user should be able to click the button and close the pop-up. If the user has closed the pop-up, it should not be visible to him for 5 days. Provide a fully functional WordPress plugin using three essential files: one each in PHP, JavaScript, and CSS format.“
SECTION 08Use Rephrase Option and Iterative Refinement
Iterative refinement is a powerful technique that allows you to progressively improve the quality of the Functional Requirements and the code generated by the AIKO. This process involves reviewing the responses and making adjustments to your Functional Requirements.
Do not hesitate to use manual edit, group similar features and ensure each feature is described in a single, clear sentence without ambiguity or suggestions. Avoid non-essential technical inquiries and general questions related to design, security, compatibility, or responsiveness.
Adjust your prompt to include the additional details or clarifications needed. Be specific about what you want to add or change.
SECTION 09Do Not Expect That AI Will Read Your Mind: Provide It with details
To effectively leverage AI in developing your WordPress plugin, it’s crucial to provide clear detailed specifications.
By clearly outlining how you want users to interact with your plugin and what the interface should look like, you can ensure that the AI generates outputs that align with your vision. Remember, the more clear information you provide, the better the AI can assist you in creating a user-friendly and visually appealing plugin.
For instance:
- Bad: “Create a plugin that allow admins to clone posts with a single click. Categories, media attachments, tags and other taxonomies should be also copied.”
- Good: “Create a plugin that allow admins to clone posts with a single click. Categories, media attachments, tags and other taxonomies should be also copied.”
- Even better: “Create a plugin that allow admins to clone posts with a single click. Categories, media attachments, tags and other taxonomies should be also copied. After copying redirect user to a new post.”
