SECTION 01Understand AIKO's modules

Creating a WordPress plugin can be a complex task, but with the help of our software that integrates different AI platforms, the process becomes much more manageable.

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:

AI Developer
Generates the necessary code for your WordPress plugin based on the functional requirements.
AI Consultant
Aiding you in shaping functional requirements to fit your idea as much as possible.
AI Reviewer
Verifies the code against the requirements, checks for errors, and suggests improvements.

SECTION 02Use the Latest Model

For optimal results, we suggest using the latest and most advanced models, as they are generally easier for prompt engineering. While you can experiment with older models for simpler tasks, be aware that the quality of the results may be lower.

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

AI models can’t read your mind. The less the model has to guess at what you want, the more likely you’ll get it.

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

Reducing fluffy and imprecise descriptions in your prompts is essential for maximizing the effectiveness of your software. By being specific, clear, and detailed in your requests, you can ensure that the AI modules deliver high-quality outputs that align with your goals.

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

Explain the purpose of the plugin you want to create and briefly explain user roles. This helps the AI Consultant understand your vision better.

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

If you have specific functionalities in mind, list them out. This will help the AI Consultant generate more accurate requirements. Note that you don't have to write techical requirements, that's embeded in our plugin.

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

You don't need to include technical details about the technology stack or coding standards; AIKO already incorporates those.

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

Don’t hesitate to refine your prompts based on the AIKO’s responses. If the initial output isn’t what you expected, provide feedback and ask for adjustments.

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

When working with AI to develop WordPress plugins, it’s essential to remember that the AI cannot intuitively understand your vision or preferences.

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