Skip to content

Commit 336e82d

Browse files
BekahHWContinue
andcommitted
Consolidate info callouts for headless mode
- Added single info callout before example prompts explaining headless mode usage - Removed individual info callouts from each prompt card - Simplified documentation to reduce repetition while maintaining clarity Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <[email protected]>
1 parent b9c0ee0 commit 336e82d

File tree

4 files changed

+16
-100
lines changed

4 files changed

+16
-100
lines changed

docs/guides/dlt-mcp-continue-cookbook.mdx

Lines changed: 8 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ You can add prompts to your agent's configuration for easy access in future sess
165165
changes, test your prompts in plan mode (see the [Plan Mode
166166
Guide](/guides/plan-mode-guide); press **Shift+Tab** to switch modes in TUI/IDE). This
167167
shows you what the agent will do without executing it.
168+
169+
To run any of the example prompts below in headless mode, use `cn -p "prompt"`
168170
</Info>
169171

170172
<Info>
@@ -178,107 +180,77 @@ You can add prompts to your agent's configuration for easy access in future sess
178180
<Card title="Inspect Pipeline Execution" icon="magnifying-glass">
179181
Review pipeline execution details including load timing and file sizes.
180182

181-
**TUI Mode Prompt:**
183+
**Prompt:**
182184
```
183185
Inspect my dlt pipeline execution and provide a summary of the load info.
184186
Show me the timing breakdown and file sizes for each table.
185187
```
186188

187-
**Headless Mode Prompt:**
188-
```bash
189-
cn -p "Inspect my dlt pipeline execution and provide a summary of the load info. Show me the timing breakdown and file sizes for each table." --auto
190-
```
191-
192189
</Card>
193190

194191
### Schema Management
195192

196193
<Card title="Retrieve Schema Metadata" icon="diagram-project">
197194
Get detailed schema information for your pipeline's tables.
198195

199-
**TUI Mode Prompt:**
196+
**Prompt:**
200197
```
201198
Show me the schema for my users table including all columns,
202199
data types, and any constraints.
203200
```
204201

205-
**Headless Mode Prompt:**
206-
```bash
207-
cn -p "Show me the schema for my users table including all columns, data types, and any constraints." --auto
208-
```
209-
210202
</Card>
211203

212204
### Data Exploration
213205

214206
<Card title="Query Dataset Records" icon="table">
215207
Retrieve and analyze records from your destination database.
216208

217-
**TUI Mode Prompt:**
209+
**Prompt:**
218210
```
219211
Get the last 10 records from my orders table and show me
220212
the distribution of order statuses.
221213
```
222214

223-
**Headless Mode Prompt:**
224-
```bash
225-
cn -p "Get the last 10 records from my orders table and show me the distribution of order statuses." --auto
226-
```
227-
228215
</Card>
229216

230217
### Error Debugging
231218

232219
<Card title="Analyze Load Errors" icon="triangle-exclamation">
233220
Investigate and understand pipeline load errors.
234221

235-
**TUI Mode Prompt:**
222+
**Prompt:**
236223
```
237224
Check for any load errors in my last pipeline run. If there are errors,
238225
explain what went wrong and suggest fixes.
239226
```
240227

241-
**Headless Mode Prompt:**
242-
```bash
243-
cn -p "Check for any load errors in my last pipeline run. If there are errors, explain what went wrong and suggest fixes." --auto
244-
```
245-
246228
</Card>
247229

248230
### Pipeline Creation
249231

250232
<Card title="Build New Pipeline" icon="plus">
251233
Create a new dlt pipeline from an API or data source.
252234

253-
**TUI Mode Prompt:**
235+
**Prompt:**
254236
```
255237
Help me create a new dlt pipeline that loads data from the
256238
JSONPlaceholder API users endpoint into DuckDB.
257239
```
258240

259-
**Headless Mode Prompt:**
260-
```bash
261-
cn -p "Help me create a new dlt pipeline that loads data from the JSONPlaceholder API users endpoint into DuckDB." --auto
262-
```
263-
264241
</Card>
265242

266243
### Schema Evolution
267244

268245
<Card title="Handle Schema Changes" icon="code-branch">
269246
Review and manage schema evolution in your pipelines.
270247

271-
**TUI Mode Prompt:**
248+
**Prompt:**
272249
```
273250
Check if my pipeline schema has evolved since the last run.
274251
Show me what columns were added or modified.
275252
```
276253

277-
**Headless Mode Prompt:**
278-
```bash
279-
cn -p "Check if my pipeline schema has evolved since the last run. Show me what columns were added or modified." --auto
280-
```
281-
282254
</Card>
283255

284256
## Continuous Data Pipelines with GitHub Actions

docs/guides/github-mcp-continue-cookbook.mdx

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ Use natural language to explore, triage, and act on open issues. The agent calls
129129
- **IDE Extensions**: Use Continue in VS Code, JetBrains, or other supported IDEs
130130
- **Terminal (TUI mode)**: Run `cn` to enter interactive mode, then type your prompts
131131
- **CLI (headless mode)**: Use `cn -p "your prompt" --auto` for automation
132+
133+
To run any of the example prompts below in headless mode, use `cn -p "prompt"`
132134
</Info>
133135

134136
### Triage and Summaries
@@ -141,10 +143,6 @@ Use natural language to explore, triage, and act on open issues. The agent calls
141143
List the 20 most recently updated open issues in this repo.
142144
Cluster by label and severity. Summarize top priorities.
143145
```
144-
145-
<Info>
146-
To run the command in headless mode, use cn -p "prompt"
147-
</Info>
148146
</Card>
149147
150148
<Card title="Owner/Label Filters" icon="filter">
@@ -155,10 +153,6 @@ To run the command in headless mode, use cn -p "prompt"
155153
Show open issues labeled bug or security, assigned to @me.
156154
Summarize blockers and suggest next steps.
157155
```
158-
159-
<Info>
160-
To run the command in headless mode, use cn -p "prompt"
161-
</Info>
162156
</Card>
163157
164158
### Taking Action
@@ -176,10 +170,6 @@ Come up with a triage plan and draft a comment with:
176170
Then post the comment.
177171
```
178172
179-
<Info>
180-
To run the command in headless mode, use cn -p "prompt"
181-
</Info>
182-
183173
<Note>
184174
Requires a token with permission to comment (`public_repo` or `repo`). The agent will confirm before posting unless `--auto` is used.
185175
</Note>
@@ -193,10 +183,6 @@ To run the command in headless mode, use cn -p "prompt"
193183
Find open issues with no activity in the last 30 days.
194184
Suggest action (close, needs-repro, or prioritize) and draft comments.
195185
```
196-
197-
<Info>
198-
To run the command in headless mode, use cn -p "prompt"
199-
</Info>
200186
</Card>
201187
202188
---
@@ -215,10 +201,6 @@ Analyze recently merged PRs for change awareness, release notes, and quality sig
215201
List PRs merged in the last 7 days.
216202
Group by area (label or path). Summarize impact and notable changes.
217203
```
218-
219-
<Info>
220-
To run the command in headless mode, use cn -p "prompt"
221-
</Info>
222204
</Card>
223205
224206
### Release Notes
@@ -231,10 +213,6 @@ To run the command in headless mode, use cn -p "prompt"
231213
Generate release notes for PRs merged since tag v1.2.0.
232214
Use keep-a-changelog sections and include PR numbers/authors.
233215
```
234-
235-
<Info>
236-
To run the command in headless mode, use cn -p "prompt"
237-
</Info>
238216
</Card>
239217
240218
### Deep Dives
@@ -248,10 +226,6 @@ Find the last merged PR with a significant amount of comments.
248226
Summarize the conversation, including goal, key changes,
249227
risk areas, and any follow-ups.
250228
```
251-
252-
<Info>
253-
To run the command in headless mode, use cn -p "prompt"
254-
</Info>
255229
</Card>
256230
257231
---

docs/guides/sanity-mcp-continue-cookbook.mdx

Lines changed: 2 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ You can add prompts to your agent's configuration for easy access in future sess
232232
changes, test your prompts in plan mode (see the [Plan Mode
233233
Guide](/guides/plan-mode-guide); press **Shift+Tab** to switch modes in TUI/IDE). This
234234
shows you what the agent will do without executing it.
235+
236+
To run any of the example prompts below in headless mode, use `cn -p "prompt"`
235237
</Info>
236238

237239
<Info>
@@ -251,10 +253,6 @@ Show me all document types in my Sanity schema with their fields,
251253
validation rules, and relationships to other types.
252254
```
253255

254-
<Info>
255-
To run prompts in headless mode, use cn -p "prompt"
256-
</Info>
257-
258256
</Card>
259257

260258
### GROQ Queries
@@ -268,10 +266,6 @@ Run a GROQ query to fetch all articles published in the last 30 days,
268266
including their titles, authors, categories, and view counts.
269267
```
270268

271-
<Info>
272-
To run prompts in headless mode, use cn -p "prompt"
273-
</Info>
274-
275269
</Card>
276270

277271
### Content Operations
@@ -285,10 +279,6 @@ Find all blog posts with the category "News" and update their
285279
status to "archived" if they are older than 6 months.
286280
```
287281

288-
<Info>
289-
To run prompts in headless mode, use cn -p "prompt"
290-
</Info>
291-
292282
</Card>
293283

294284
### Localization
@@ -302,10 +292,6 @@ Add localization support to my article document type for
302292
Spanish and French languages with appropriate field configurations.
303293
```
304294

305-
<Info>
306-
To run prompts in headless mode, use cn -p "prompt"
307-
</Info>
308-
309295
</Card>
310296

311297
### Content Migration
@@ -319,10 +305,6 @@ Help me migrate my blog posts from the old schema structure
319305
to the new one, mapping the deprecated fields to the new format.
320306
```
321307

322-
<Info>
323-
To run prompts in headless mode, use cn -p "prompt"
324-
</Info>
325-
326308
</Card>
327309

328310
### Documentation Generation
@@ -336,10 +318,6 @@ Generate comprehensive documentation for my Sanity schema including
336318
all document types, their purposes, field descriptions, and usage examples.
337319
```
338320

339-
<Info>
340-
To run prompts in headless mode, use cn -p "prompt"
341-
</Info>
342-
343321
</Card>
344322

345323
### Content Releases
@@ -353,10 +331,6 @@ List all active releases in my dataset and show me the content
353331
changes scheduled for each release.
354332
```
355333

356-
<Info>
357-
To run prompts in headless mode, use cn -p "prompt"
358-
</Info>
359-
360334
</Card>
361335

362336
### Performance Analysis
@@ -370,10 +344,6 @@ Analyze the performance of my most frequent GROQ queries and
370344
suggest optimizations to improve response times.
371345
```
372346

373-
<Info>
374-
To run prompts in headless mode, use cn -p "prompt"
375-
</Info>
376-
377347
</Card>
378348

379349
## Continuous Content Management with GitHub Actions

docs/guides/sentry-mcp-error-monitoring.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,10 @@ First, you'll need to gather your Sentry and GitHub API credentials.
242242

243243
Use Continue CLI to perform intelligent error analysis. Enter these prompts in the Continue CLI TUI:
244244

245+
<Info>
246+
To run any of the example prompts below in headless mode, use `cn -p "prompt"`
247+
</Info>
248+
245249
<Tabs>
246250
<Tab title="Recent Errors Analysis">
247251
**Prompt:**
@@ -275,10 +279,6 @@ Use Continue CLI to perform intelligent error analysis. Enter these prompts in t
275279
</Tab>
276280
</Tabs>
277281

278-
<Info>
279-
To run prompts in headless mode, use cn -p "prompt"
280-
</Info>
281-
282282
<Info>
283283
**Available Sentry MCP Tools**:
284284
- **Organizations**: Access org-level data and settings

0 commit comments

Comments
 (0)