Skip to content

Commit 80b5c3b

Browse files
neo slash commands and instructions blog/docs (#16767)
Co-authored-by: Tyler Ball <[email protected]>
1 parent e23e3a6 commit 80b5c3b

File tree

8 files changed

+203
-0
lines changed

8 files changed

+203
-0
lines changed
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
---
2+
title: "Encode What You Know With Neo: Custom Instructions and Slash Commands"
3+
4+
date: 2025-12-09
5+
6+
draft: false
7+
8+
meta_desc: Custom Instructions teach Neo your organization's standards. Slash Commands turn proven prompts into shortcuts anyone can use. Both are available now.
9+
10+
meta_image: meta.png
11+
12+
authors:
13+
- neo-team
14+
15+
tags:
16+
- ai
17+
- ai-agents
18+
- platform-engineering
19+
- pulumi-neo
20+
21+
schema_type: auto
22+
23+
---
24+
25+
Every organization builds up knowledge over time: naming standards, compliance requirements, patterns your team has settled on, and proven approaches to common tasks. Until now, bringing this knowledge into Neo meant repeating it manually each time - specifying preferences, describing how your team works, and recreating prompts that someone already perfected.
26+
27+
Two new features change this. Custom Instructions teach Neo your standards so it applies them automatically. Slash Commands capture proven prompts so anyone on your team can use them with a keystroke.
28+
29+
<!--more-->
30+
31+
## Custom Instructions: Standards Applied Automatically
32+
33+
Custom Instructions let you define what Neo should know about your organization and how it should behave. This includes naming conventions, required tags and compliance requirements, technology preferences, and cost guidelines - but also actions Neo should take automatically, like including a rough cost estimate whenever it proposes new infrastructure. You configure them once in your organization settings, and Neo applies them to every task from that point forward.
34+
35+
Consider the difference. Before Custom Instructions, a simple request required loading context:
36+
37+
> "Neo, update our Lambda functions to Node 20. Remember, we use TypeScript exclusively, our naming convention is service-region-env, we always deploy to us-east-1 first for testing, and all resources need our standard compliance tags including CostCenter and DataClassification."
38+
39+
With those details captured in Custom Instructions, the same request becomes:
40+
41+
> "Neo, update our Lambda functions to Node 20."
42+
43+
Neo already knows how your team works, so you can focus on what you're trying to accomplish.
44+
45+
## Slash Commands: Capture What Works
46+
47+
Over time, your team figures out the right way to ask Neo for certain tasks. Maybe someone wrote the perfect prompt for checking policy violations, or discovered an approach to drift detection that catches issues others miss. That knowledge tends to live in someone's head or buried in a Slack thread.
48+
49+
Slash Commands turn these prompts into shortcuts anyone can use. When you type `/` in Neo, you'll see available commands, select one, and Neo receives the full prompt behind it.
50+
51+
![Slash Commands in action](slash-commands.gif)
52+
53+
Neo ships with built-in commands for common tasks:
54+
55+
| Command | What it does |
56+
|---------|--------------|
57+
| `/get-started` | Learn what Neo can do and how to structure effective requests |
58+
| `/policy-issues-report` | Lists your most severe policy violations |
59+
| `/component-version-report` | Lists components that are outdated in your private registry |
60+
| `/provider-version-report` | Lists providers that are outdated |
61+
62+
You can also create your own. In Pulumi Cloud, you define the prompt - no coding required. Once saved, your team can start using it immediately. If a command needs more information than what's provided, Neo will ask follow-up questions to fill in the gaps.
63+
64+
## Get Started
65+
66+
[Custom Instructions](/docs/ai/settings/#custom-instructions) and [Slash Commands](/docs/ai/settings/#slash-commands) are available now. You can configure Custom Instructions in Neo Settings. Slash Commands come with several built-in options, and you can create custom ones tailored to your workflow.
491 KB
Loading
86.7 KB
Loading

content/docs/ai/settings/_index.md

Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
---
2+
title: Settings
3+
title_tag: Neo Settings
4+
h1: Neo Settings
5+
meta_desc: Configure Neo for your organization with Custom Instructions, Slash Commands, access controls, and task modes.
6+
meta_image: /images/docs/meta-images/docs-meta.png
7+
menu:
8+
ai:
9+
name: Settings
10+
parent: ai-home
11+
weight: 50
12+
identifier: ai-settings
13+
---
14+
15+
Organization-level settings control how Neo behaves and what capabilities are available to your team.
16+
17+
## Neo Access
18+
19+
Neo is enabled by default. To control Neo access for your organization:
20+
21+
1. Navigate to Neo Settings from the Pulumi left navigation
22+
1. Select the "General" tab
23+
1. Toggle "Enable Neo for organization" on or off
24+
25+
![Toggle Neo access](toggle-neo-access.png)
26+
27+
{{% notes type="info" %}}
28+
If Pulumi Copilot was previously disabled, Neo will need to be enabled as outlined below.
29+
{{% /notes %}}
30+
31+
## Custom Instructions
32+
33+
Custom Instructions teach Neo your organization's standards, preferences, and requirements so they're applied automatically to every task. Instead of repeating context in each task, you define it once from a central location.
34+
35+
### What to Include
36+
37+
Custom Instructions can define many things, including:
38+
39+
- **Naming conventions**: How resources, stacks, and projects should be named
40+
- **Compliance requirements**: Required tags, labels, or configurations
41+
- **Technology preferences**: Preferred languages, frameworks, or cloud services
42+
- **Cost guidelines**: Budget considerations or cost optimization preferences
43+
- **Automatic actions**: Behaviors Neo should apply automatically, like including cost estimates
44+
45+
### Example
46+
47+
```text
48+
All AWS resources must follow these standards:
49+
- Naming convention: {service}-{environment}-{region}
50+
- Required tags: environment and owner
51+
- Use encryption at rest for all storage resources
52+
- Always include estimated monthly costs in pull requests when proposing new infrastructure
53+
```
54+
55+
When you ask Neo to create resources, it automatically applies your organization's standards without you needing to repeat them in every conversation.
56+
57+
### Configuring Custom Instructions
58+
59+
1. Navigate to Neo Settings in Pulumi Cloud
60+
1. Select the "Organization instructions" tab
61+
1. Enter your organization's standards and preferences
62+
1. Save changes
63+
64+
![Custom Instructions configuration](custom-instructions.png)
65+
66+
### Custom Instructions Best Practices
67+
68+
- Keep instructions concise and focused on standards that apply across all tasks
69+
- Update instructions as your team's practices evolve
70+
- Test instructions in individual prompts before rolling out broadly
71+
72+
## Slash Commands
73+
74+
Slash Commands capture proven prompts as shortcuts that anyone on your team can use. When you type `/` in a Neo conversation, you'll see available commands. Selecting a command sends the full prompt to Neo.
75+
76+
### Built-in Commands
77+
78+
Neo includes several built-in commands for common infrastructure tasks:
79+
80+
| Command | Description |
81+
|---------|-------------|
82+
| `/get-started` | Learn what Neo can do and how to structure effective requests |
83+
| `/policy-issues-report` | Lists your most severe policy violations |
84+
| `/component-version-report` | Lists components that are outdated in your private registry |
85+
| `/provider-version-report` | Lists providers that are outdated |
86+
87+
### Creating Custom Commands
88+
89+
You can create organization-specific commands to capture your team's proven prompts:
90+
91+
1. Navigate to Neo Settings in Pulumi Cloud
92+
1. Select the "General" tab
93+
1. Scroll to the "Slash commands" section
94+
1. Click "Add custom slash command"
95+
1. Enter a name and description
96+
1. Define the prompt
97+
1. Save the command
98+
99+
![Slash Commands configuration](slash-commands.png)
100+
101+
Once saved, the command is immediately available to all team members.
102+
103+
### Viewing Slash Command Instructions
104+
105+
When you have selected a slash command in a new or existing Neo task, click on the highlighted command name to view the actual prompt.
106+
107+
### Slash Command Best Practices
108+
109+
- Create commands for frequently-used prompts that have proven effective
110+
- Use clear, descriptive names that indicate what the command does
111+
112+
## Task Modes
113+
114+
Task modes are presets that control what actions Neo can take automatically. Each mode represents a predefined configuration of allowed commands. New tasks start with a default mode, which users can adjust or override during the task.
115+
116+
### Available Modes
117+
118+
Organization administrators can set the default task mode. The available modes determine how much automation Neo applies:
119+
120+
- **Auto mode**: Automatically approves all requests without user intervention
121+
- **Balanced mode**: Automatically approves requests that don't run `pulumi up`
122+
- **Review mode**: Requires manual approval before any request runs
123+
124+
### Configuring Default Task Mode
125+
126+
1. Navigate to Neo Settings in Pulumi Cloud
127+
1. Select the "General" tab
128+
1. Locate the "Task mode" section
129+
1. Select the default mode from the dropdown
130+
1. Save changes
131+
132+
![Task mode configuration](task-mode.png)
133+
134+
### Task Mode Best Practices
135+
136+
- Start with the most restrictive mode -- it's best for most organizations
137+
- Remember, users can override the default for individual tasks when needed
87.4 KB
Loading
60.8 KB
Loading
32.9 KB
Loading
38.7 KB
Loading

0 commit comments

Comments
 (0)