BLACK FRIDAY: extra 40% off everything with code BLACKFRIDAY. Each customer can use it only once, so use it on a bundle to save the most. Bundles skip plugins you already own. Ends November 30.

NEXTPION - AI Advanced Instruction Editor

Advanced instruction editor with variable support, prompt engineering frameworks, and template market for AI Reply Enhancers.

NEXTPION - AI Advanced Instruction Editor DLC Cover

This guide covers the NEXTPION - AI Advanced Instruction Editor DLC, which replaces the basic System Prompt text editor with a full-screen rich text editor featuring dynamic variables, prompt structure frameworks, and prompt quality analysis.

NEXTPION - AI Advanced Instruction Editor

NEXTPION - AI Advanced Instruction Editor is a DLC expansion for the AI Integration Enhancers plugin. It transforms the default plain-text System Prompt editor into a powerful full-screen rich text editing environment.

Instead of writing prompts in a small text box, you get a dedicated workspace with dynamic Variables, pre-built Structure frameworks, prompt Analysis with quality scoring, and optional access to a curated Prompt Template Library.

Key Features

✅ Full-screen rich text editor replacing the basic System Prompt text box
✅ Dynamic variables — auto-resolve user names, page info, dates at runtime
✅ Platform-conditional tags (<if_facebook>, <if_instagram>) for dual-platform prompts
✅ Pre-built prompt structure frameworks (CO-STAR, Quick Start, Proven Frameworks)
✅ Prompt Analysis with structure breakdown and Quality Score
✅ Optional Prompt Template Library (requires separate Pass)

Prerequisites

This DLC requires the AI Integration Enhancers base plugin to be installed and enabled. If you have not set up the base plugin yet, follow the parent plugin guide first:

Installation Process

After purchasing the DLC from the NEXTPION marketplace, you can install it using the NEXTPION Plugin Manager.

Install the DLC

Open your NEXTPION Plugin Manager from the main dashboard. Locate the NEXTPION - AI Advanced Instruction Editor DLC in your purchased DLC list and click the Install button. During installation, you will be asked to enter the license key for this DLC.

Installing AI Advanced Instruction Editor DLC

Enable the DLC

After installation is complete, click the Enable button on the DLC card. A modal will open directly on the current page and prompt you to enter the DLC license key. Once the license is verified, you can enable or disable the DLC from this same interface without leaving the page.

Enable AI Advanced Instruction Editor DLC and enter license

User Guide

Once the DLC is installed and enabled, a new Advanced Editor button appears above the System Prompt field in the AI configuration page.

Opening the Advanced Editor

Locate the Button

In the AI configuration page, look for the Advanced Editor button located directly above the System Prompt text area.

Advanced Editor button above System Prompt

Open the Editor

Click the button to open a full-screen modal. The editor uses a two-column layout:

  • Left side — Rich text editor displaying the full prompt content
  • Right side — Variables and Structure panels for quick insertion
Advanced Editor full-screen two-column layout

Variables

The Variables panel on the right side provides dynamic placeholders that are automatically resolved at runtime when the AI processes a request. Click any variable to insert it directly into the editor.

Platform-Conditional Tags

These special tags allow you to write platform-specific instructions within a single prompt. Content inside these tags is only included when the request comes from the matching platform:

TagBehavior
<if_facebook>...</if_facebook>Content is included only for Facebook requests; filtered out for Instagram
<if_instagram>...</if_instagram>Content is included only for Instagram requests; filtered out for Facebook

This is especially useful when a single AI configuration serves both Facebook and Instagram pages, but you need different greeting rules or platform-specific instructions for each.

Example: Platform-Specific User Identity

<if_facebook>
【User Identity & Greeting Rules | Facebook】
{{user_last_name}} {{user_first_name}} is the Facebook display name of the current user.
 
Default Greeting Rules:
- Prioritize names explicitly provided by the user in this conversation.
- If no name is provided, use {{user_last_name}} {{user_first_name}}.
 
【Current Platform Info】
Operating Facebook Page Name: {{page_name}}
</if_facebook>
<if_instagram>
【User Identity & Greeting Rules | Instagram】
{{instagram_full_name}} is the Instagram display name of the current user.
 
Default Greeting Rules:
- Prioritize names explicitly provided by the user in this conversation.
- If no name is provided, use {{instagram_full_name}}.
 
【Current Platform Info】
Operating Instagram Account Name: {{instagram_page_name}}
</if_instagram>

Available Variables

VariableDescriptionPlatform
{{current_date}}Resolves to the current real date when the API request is madeAll
{{user_first_name}}Facebook user's first nameFacebook
{{user_last_name}}Facebook user's last nameFacebook
{{instagram_full_name}}Instagram user's display nameInstagram
{{page_name}}The name of the connected Facebook PageFacebook
{{instagram_page_name}}The name of the connected Instagram accountInstagram

Structure

The Structure panel provides pre-built prompt engineering frameworks and templates. Click any structure template to insert it directly into the editor as a starting point for your system prompt.

The Structure panel is organized into the following categories:

Quick Start Templates

Ready-to-use complete prompt structures for common business scenarios:

  • Customer Support Bot — Complete template with role, rules, scope, and boundaries
  • Sales Assistant — Product recommendations with personality
  • Content Writer — Blog posts, articles, and marketing copy

Proven Frameworks

Battle-tested prompt engineering patterns:

  • Platform Logic — FB Logic and IG Logic for platform-specific rules and variables
  • CO-STAR Framework — Context, Objective, Style, Tone, Audience, Response
  • RISEN Framework — Role, Instructions, Steps, End goal, Narrowing
  • CRAFT Framework — Character, Request, Audience, Format, Tweaks
  • RTF Framework — Role, Task, Format (Simple & Effective)

Formatting Symbols

Markdown-style symbols to structure your prompts clearly:

SymbolUsage
#Main section title
##Subsection
###Header / Category
**Bold**Emphasis
---Separator / Divider
```Code Block

Essential Sections

Pre-built building blocks for common prompt sections:

  • Role & Identity — Define who the AI should be
  • Context & Background — Provide necessary information
  • Rules & Guidelines — Set clear boundaries
  • Output Format — Specify response structure
  • Examples (Few-Shot) — Show ideal responses
  • Error Handling — Handle edge cases

Tone & Style

One-click tone presets: Professional, Friendly, Casual, Empathetic, Direct, Educational

Advanced Techniques

  • Chain of Thought — Step-by-step reasoning
  • XML Structure — Clear section boundaries
  • Negative Instructions — Define clear boundaries
  • Output Constraints — Length, format & requirements

Structure templates are designed as starting points. After inserting a template, customize it with your specific business context, tone requirements, and platform-specific variables.

Prompt Analysis

The editor includes a built-in Analysis tool that performs real-time evaluation of your prompt's quality and structure based on modern LLM prompt engineering best practices.

Open Analysis

Click the Analysis button in the editor header bar. A side panel will slide open alongside the editor.

Prompt Analysis side panel with Quality Score

Review the Results

The Analysis panel provides:

  • Basic Metrics — Character count, word count, sentence count, paragraphs, and average sentence length
  • Structure Detection — Identifies which prompt components are present (role, context, task, constraints, examples, output format, etc.)
  • Pattern Recognition — Detects prompt engineering patterns like Chain of Thought, Few-shot Learning, Role Playing, Output Structuring, Constraint Setting, and Negative Prompting
  • Framework Detection — Recognizes if your prompt follows a known framework (CO-STAR, RTF, RISEN, TAG)
  • Quality Score — An overall score out of 100 with a letter grade
  • Improvement Suggestions — Prioritized recommendations to strengthen your prompt

Quality Score Breakdown

The Quality Score is rated out of 100 points, divided equally across four dimensions:

DimensionMax PointsWhat It Measures
Completeness25Essential prompt components
Clarity25Organization and readability
Specificity25Detail and actionability
Best Practices25Prompt engineering patterns

Completeness (25 pts) evaluates whether your prompt includes the five essential components:

  • Role / Persona (5 pts) — e.g. "You are a customer support specialist"
  • Context / Background (5 pts) — Relevant background information
  • Task / Objective (5 pts) — Clear instructions on what to do
  • Constraints / Rules (5 pts) — Boundaries and limitations
  • Output Format (5 pts) — Expected response structure

Clarity (25 pts) assesses how well-organized and readable your prompt is:

  • Sufficient length (5 pts) — 50+ words for adequate detail
  • Sentence length (5 pts) — Average 5–20 words per sentence is ideal
  • Structural delimiters (5 pts) — Headers, separators, or XML tags
  • Section organization (5 pts) — 3+ clearly defined sections
  • Tone guidance (5 pts) — Specifying communication style

Specificity (25 pts) measures how detailed and actionable the prompt is:

  • Examples / Few-shot (8 pts) — Sample inputs and expected outputs
  • Negative instructions (5 pts) — What the AI should NOT do
  • Error handling (5 pts) — Behavior for edge cases or unexpected inputs
  • Dynamic variables (4 pts) — Using {{placeholders}} for personalization
  • Detailed sections (3 pts) — 5+ well-defined sections

Best Practices (25 pts) checks for recognized prompt engineering techniques:

  • Detected patterns (up to 12 pts) — Chain of Thought, Few-shot Learning, Role Playing, Output Structuring, Constraint Setting, Self-Consistency, Negative Prompting
  • Framework alignment (5 pts) — Matches CO-STAR, RTF, RISEN, or TAG
  • Balanced instructions (4 pts) — Both positive rules and negative boundaries
  • Paragraph structure (4 pts) — 3+ well-organized paragraphs

Grading Scale

ScoreGradeLevel
92–100A+Excellent
85–91AVery Good
75–84B+Good
65–74BAbove Average
55–64C+Average
45–54CBelow Average
35–44DNeeds Improvement
0–34FInsufficient

The analysis runs entirely client-side for instant feedback — your prompt content is never sent to any external server. As you edit, the analysis updates automatically to reflect your changes in real time.

Applying Changes

After editing your prompt in the Advanced Editor:

  1. Click the Use button in the top-right corner of the editor
  2. The content will be transferred back to the System Prompt field on the configuration page
  3. Important: You still need to click Save on the configuration page to persist the changes

Clicking Use only transfers the content to the System Prompt field. Your changes are not saved until you click the Save button on the AI configuration page.

Prompt Templates (Optional)

If you have purchased the AI Prompt Template Library Pass, an additional Prompt Templates button appears in the editor header next to the Analysis button. Clicking it opens a modal where you can browse and apply curated prompt templates maintained by NEXTPION.

Troubleshooting

Best Practices

  1. Use platform-conditional tags for dual-platform setups If your AI configuration serves both Facebook and Instagram, wrap platform-specific instructions in <if_facebook> and <if_instagram> tags to deliver tailored experiences.

  2. Start with a Structure template Use the pre-built frameworks as a starting point rather than writing from scratch. Customize the template to fit your business context.

  3. Leverage variables for dynamic content Use {{current_date}} for time-sensitive instructions and user name variables for personalized greetings instead of hardcoding values.

  4. Run Analysis before saving Check the Quality Score and structure breakdown to identify gaps in your prompt before deploying it live.

  5. Keep prompts organized with clear sections Use headings and labeled sections (e.g. 【User Identity】, 【Response Rules】) to make prompts easier to read and maintain.

The Advanced Instruction Editor is most valuable when you need complex, well-structured system prompts with platform-specific logic and dynamic variables — especially for businesses managing both Facebook and Instagram pages.

Support & Community

Join Our Community

Share your prompt engineering tips, ask questions, and learn advanced usage patterns for the AI Advanced Instruction Editor from other NEXTPION users.

View