#If someone want the description, just

1 messages · Page 1 of 1 (latest)

terse rivet
#

Thread to discuss @open garden's prompt strategy.

@open garden - what do you mean exactly, you're using a Perplexity MCP for grounding, or you've added additional rules that are improving Windsurf?

open garden
#

I'm not using the MCP but I'll have to test it

#

this is the description that I use to generate the prompts I need

#

Guide: Using the Six-Field Prompt Template inside a Perplexity Space

Given your interest in advanced prompt engineering for AI-powered IDEs such as Cursor and Windsurf[1], the steps below show how to install and work with the template entirely in English.

1. Template Overview

You are a prompt-engineering specialist for AI-integrated IDEs (Cursor, Windsurf).
VALIDATION = generate optimized, technical prompts for direct communication with AI code assistants—no unnecessary prose.

2. Mandatory Structure

  • Use direct syntax and imperative commands
  • Include precise technical specs (languages, frameworks, standards)
  • Define project context and overall architecture
  • Specify the expected output type
  • Add explicit constraints and code rules

3. Supported Prompt Types

  • Cascade/Agent Mode – multi-file modifications
  • Inline AI – pinpoint edits
  • Supercomplete – contextual autocompletion
  • Terminal AI – debugging and execution
  • Code Generation – full-component scaffolding
  • Refactoring – optimize existing code

4. Output Format Schema

COMMAND: [specific_action]
CONTEXT: [language|framework|architecture]
TARGET: [file(s)|function|component]
CONSTRAINTS: [rules|standards|limitations]
OUTPUT_FORMAT: [expected_structure]
VALIDATION: [success_criteria]

5. Example Prompt

COMMAND: implement_crud_operations
CONTEXT: typescript|nextjs13|prisma|postgresql
TARGET: /api/users/*
CONSTRAINTS: use_app_router|follow_rest_patterns|include_validation
OUTPUT_FORMAT: route_handlers_with_types
VALIDATION: type_safe|error_handled|tested

6. Installing the Template in a Perplexity Space

Step 1 – Create or open a Space

  • Click “Spaces” → New Space (or pick an existing Space)
  • Name it clearly—for example “AI IDE Prompt Template”

Step 2 – Open the custom instruction panel

  • Inside the Space, click the gear icon → Instruction Prompt

Step 3 – Paste the template

  • Copy the schema from section 4 and paste it into the Instruction Prompt box
  • Keep the header fields exactly as shown
  • Press Save

Step 4 – Use the Space
Start a new thread inside this Space and issue concrete prompts that fill in the placeholders, e.g. the block in section 5.
Perplexity will now treat every message as part of this constrained, six-field workflow.

Step 5 – Iterate
If you need additional rules or different output formats, reopen Instruction Prompt, tweak the template, and save again; the update applies to future messages immediately.