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 <noreply@continue.dev>
This commit is contained in:
parent
b9c0ee0dd5
commit
336e82d563
4 changed files with 16 additions and 100 deletions
|
|
@ -165,6 +165,8 @@ You can add prompts to your agent's configuration for easy access in future sess
|
|||
changes, test your prompts in plan mode (see the [Plan Mode
|
||||
Guide](/guides/plan-mode-guide); press **Shift+Tab** to switch modes in TUI/IDE). This
|
||||
shows you what the agent will do without executing it.
|
||||
|
||||
To run any of the example prompts below in headless mode, use `cn -p "prompt"`
|
||||
</Info>
|
||||
|
||||
<Info>
|
||||
|
|
@ -178,17 +180,12 @@ You can add prompts to your agent's configuration for easy access in future sess
|
|||
<Card title="Inspect Pipeline Execution" icon="magnifying-glass">
|
||||
Review pipeline execution details including load timing and file sizes.
|
||||
|
||||
**TUI Mode Prompt:**
|
||||
**Prompt:**
|
||||
```
|
||||
Inspect my dlt pipeline execution and provide a summary of the load info.
|
||||
Show me the timing breakdown and file sizes for each table.
|
||||
```
|
||||
|
||||
**Headless Mode Prompt:**
|
||||
```bash
|
||||
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
|
||||
```
|
||||
|
||||
</Card>
|
||||
|
||||
### Schema Management
|
||||
|
|
@ -196,17 +193,12 @@ cn -p "Inspect my dlt pipeline execution and provide a summary of the load info.
|
|||
<Card title="Retrieve Schema Metadata" icon="diagram-project">
|
||||
Get detailed schema information for your pipeline's tables.
|
||||
|
||||
**TUI Mode Prompt:**
|
||||
**Prompt:**
|
||||
```
|
||||
Show me the schema for my users table including all columns,
|
||||
data types, and any constraints.
|
||||
```
|
||||
|
||||
**Headless Mode Prompt:**
|
||||
```bash
|
||||
cn -p "Show me the schema for my users table including all columns, data types, and any constraints." --auto
|
||||
```
|
||||
|
||||
</Card>
|
||||
|
||||
### Data Exploration
|
||||
|
|
@ -214,17 +206,12 @@ cn -p "Show me the schema for my users table including all columns, data types,
|
|||
<Card title="Query Dataset Records" icon="table">
|
||||
Retrieve and analyze records from your destination database.
|
||||
|
||||
**TUI Mode Prompt:**
|
||||
**Prompt:**
|
||||
```
|
||||
Get the last 10 records from my orders table and show me
|
||||
the distribution of order statuses.
|
||||
```
|
||||
|
||||
**Headless Mode Prompt:**
|
||||
```bash
|
||||
cn -p "Get the last 10 records from my orders table and show me the distribution of order statuses." --auto
|
||||
```
|
||||
|
||||
</Card>
|
||||
|
||||
### Error Debugging
|
||||
|
|
@ -232,17 +219,12 @@ cn -p "Get the last 10 records from my orders table and show me the distribution
|
|||
<Card title="Analyze Load Errors" icon="triangle-exclamation">
|
||||
Investigate and understand pipeline load errors.
|
||||
|
||||
**TUI Mode Prompt:**
|
||||
**Prompt:**
|
||||
```
|
||||
Check for any load errors in my last pipeline run. If there are errors,
|
||||
explain what went wrong and suggest fixes.
|
||||
```
|
||||
|
||||
**Headless Mode Prompt:**
|
||||
```bash
|
||||
cn -p "Check for any load errors in my last pipeline run. If there are errors, explain what went wrong and suggest fixes." --auto
|
||||
```
|
||||
|
||||
</Card>
|
||||
|
||||
### Pipeline Creation
|
||||
|
|
@ -250,17 +232,12 @@ cn -p "Check for any load errors in my last pipeline run. If there are errors, e
|
|||
<Card title="Build New Pipeline" icon="plus">
|
||||
Create a new dlt pipeline from an API or data source.
|
||||
|
||||
**TUI Mode Prompt:**
|
||||
**Prompt:**
|
||||
```
|
||||
Help me create a new dlt pipeline that loads data from the
|
||||
JSONPlaceholder API users endpoint into DuckDB.
|
||||
```
|
||||
|
||||
**Headless Mode Prompt:**
|
||||
```bash
|
||||
cn -p "Help me create a new dlt pipeline that loads data from the JSONPlaceholder API users endpoint into DuckDB." --auto
|
||||
```
|
||||
|
||||
</Card>
|
||||
|
||||
### Schema Evolution
|
||||
|
|
@ -268,17 +245,12 @@ cn -p "Help me create a new dlt pipeline that loads data from the JSONPlaceholde
|
|||
<Card title="Handle Schema Changes" icon="code-branch">
|
||||
Review and manage schema evolution in your pipelines.
|
||||
|
||||
**TUI Mode Prompt:**
|
||||
**Prompt:**
|
||||
```
|
||||
Check if my pipeline schema has evolved since the last run.
|
||||
Show me what columns were added or modified.
|
||||
```
|
||||
|
||||
**Headless Mode Prompt:**
|
||||
```bash
|
||||
cn -p "Check if my pipeline schema has evolved since the last run. Show me what columns were added or modified." --auto
|
||||
```
|
||||
|
||||
</Card>
|
||||
|
||||
## Continuous Data Pipelines with GitHub Actions
|
||||
|
|
|
|||
|
|
@ -129,6 +129,8 @@ Use natural language to explore, triage, and act on open issues. The agent calls
|
|||
- **IDE Extensions**: Use Continue in VS Code, JetBrains, or other supported IDEs
|
||||
- **Terminal (TUI mode)**: Run `cn` to enter interactive mode, then type your prompts
|
||||
- **CLI (headless mode)**: Use `cn -p "your prompt" --auto` for automation
|
||||
|
||||
To run any of the example prompts below in headless mode, use `cn -p "prompt"`
|
||||
</Info>
|
||||
|
||||
### Triage and Summaries
|
||||
|
|
@ -141,10 +143,6 @@ Use natural language to explore, triage, and act on open issues. The agent calls
|
|||
List the 20 most recently updated open issues in this repo.
|
||||
Cluster by label and severity. Summarize top priorities.
|
||||
```
|
||||
|
||||
<Info>
|
||||
To run the command in headless mode, use cn -p "prompt"
|
||||
</Info>
|
||||
</Card>
|
||||
|
||||
<Card title="Owner/Label Filters" icon="filter">
|
||||
|
|
@ -155,10 +153,6 @@ To run the command in headless mode, use cn -p "prompt"
|
|||
Show open issues labeled bug or security, assigned to @me.
|
||||
Summarize blockers and suggest next steps.
|
||||
```
|
||||
|
||||
<Info>
|
||||
To run the command in headless mode, use cn -p "prompt"
|
||||
</Info>
|
||||
</Card>
|
||||
|
||||
### Taking Action
|
||||
|
|
@ -176,10 +170,6 @@ Come up with a triage plan and draft a comment with:
|
|||
Then post the comment.
|
||||
```
|
||||
|
||||
<Info>
|
||||
To run the command in headless mode, use cn -p "prompt"
|
||||
</Info>
|
||||
|
||||
<Note>
|
||||
Requires a token with permission to comment (`public_repo` or `repo`). The agent will confirm before posting unless `--auto` is used.
|
||||
</Note>
|
||||
|
|
@ -193,10 +183,6 @@ To run the command in headless mode, use cn -p "prompt"
|
|||
Find open issues with no activity in the last 30 days.
|
||||
Suggest action (close, needs-repro, or prioritize) and draft comments.
|
||||
```
|
||||
|
||||
<Info>
|
||||
To run the command in headless mode, use cn -p "prompt"
|
||||
</Info>
|
||||
</Card>
|
||||
|
||||
---
|
||||
|
|
@ -215,10 +201,6 @@ Analyze recently merged PRs for change awareness, release notes, and quality sig
|
|||
List PRs merged in the last 7 days.
|
||||
Group by area (label or path). Summarize impact and notable changes.
|
||||
```
|
||||
|
||||
<Info>
|
||||
To run the command in headless mode, use cn -p "prompt"
|
||||
</Info>
|
||||
</Card>
|
||||
|
||||
### Release Notes
|
||||
|
|
@ -231,10 +213,6 @@ To run the command in headless mode, use cn -p "prompt"
|
|||
Generate release notes for PRs merged since tag v1.2.0.
|
||||
Use keep-a-changelog sections and include PR numbers/authors.
|
||||
```
|
||||
|
||||
<Info>
|
||||
To run the command in headless mode, use cn -p "prompt"
|
||||
</Info>
|
||||
</Card>
|
||||
|
||||
### Deep Dives
|
||||
|
|
@ -248,10 +226,6 @@ Find the last merged PR with a significant amount of comments.
|
|||
Summarize the conversation, including goal, key changes,
|
||||
risk areas, and any follow-ups.
|
||||
```
|
||||
|
||||
<Info>
|
||||
To run the command in headless mode, use cn -p "prompt"
|
||||
</Info>
|
||||
</Card>
|
||||
|
||||
---
|
||||
|
|
|
|||
|
|
@ -232,6 +232,8 @@ You can add prompts to your agent's configuration for easy access in future sess
|
|||
changes, test your prompts in plan mode (see the [Plan Mode
|
||||
Guide](/guides/plan-mode-guide); press **Shift+Tab** to switch modes in TUI/IDE). This
|
||||
shows you what the agent will do without executing it.
|
||||
|
||||
To run any of the example prompts below in headless mode, use `cn -p "prompt"`
|
||||
</Info>
|
||||
|
||||
<Info>
|
||||
|
|
@ -251,10 +253,6 @@ Show me all document types in my Sanity schema with their fields,
|
|||
validation rules, and relationships to other types.
|
||||
```
|
||||
|
||||
<Info>
|
||||
To run prompts in headless mode, use cn -p "prompt"
|
||||
</Info>
|
||||
|
||||
</Card>
|
||||
|
||||
### GROQ Queries
|
||||
|
|
@ -268,10 +266,6 @@ Run a GROQ query to fetch all articles published in the last 30 days,
|
|||
including their titles, authors, categories, and view counts.
|
||||
```
|
||||
|
||||
<Info>
|
||||
To run prompts in headless mode, use cn -p "prompt"
|
||||
</Info>
|
||||
|
||||
</Card>
|
||||
|
||||
### Content Operations
|
||||
|
|
@ -285,10 +279,6 @@ Find all blog posts with the category "News" and update their
|
|||
status to "archived" if they are older than 6 months.
|
||||
```
|
||||
|
||||
<Info>
|
||||
To run prompts in headless mode, use cn -p "prompt"
|
||||
</Info>
|
||||
|
||||
</Card>
|
||||
|
||||
### Localization
|
||||
|
|
@ -302,10 +292,6 @@ Add localization support to my article document type for
|
|||
Spanish and French languages with appropriate field configurations.
|
||||
```
|
||||
|
||||
<Info>
|
||||
To run prompts in headless mode, use cn -p "prompt"
|
||||
</Info>
|
||||
|
||||
</Card>
|
||||
|
||||
### Content Migration
|
||||
|
|
@ -319,10 +305,6 @@ Help me migrate my blog posts from the old schema structure
|
|||
to the new one, mapping the deprecated fields to the new format.
|
||||
```
|
||||
|
||||
<Info>
|
||||
To run prompts in headless mode, use cn -p "prompt"
|
||||
</Info>
|
||||
|
||||
</Card>
|
||||
|
||||
### Documentation Generation
|
||||
|
|
@ -336,10 +318,6 @@ Generate comprehensive documentation for my Sanity schema including
|
|||
all document types, their purposes, field descriptions, and usage examples.
|
||||
```
|
||||
|
||||
<Info>
|
||||
To run prompts in headless mode, use cn -p "prompt"
|
||||
</Info>
|
||||
|
||||
</Card>
|
||||
|
||||
### Content Releases
|
||||
|
|
@ -353,10 +331,6 @@ List all active releases in my dataset and show me the content
|
|||
changes scheduled for each release.
|
||||
```
|
||||
|
||||
<Info>
|
||||
To run prompts in headless mode, use cn -p "prompt"
|
||||
</Info>
|
||||
|
||||
</Card>
|
||||
|
||||
### Performance Analysis
|
||||
|
|
@ -370,10 +344,6 @@ Analyze the performance of my most frequent GROQ queries and
|
|||
suggest optimizations to improve response times.
|
||||
```
|
||||
|
||||
<Info>
|
||||
To run prompts in headless mode, use cn -p "prompt"
|
||||
</Info>
|
||||
|
||||
</Card>
|
||||
|
||||
## Continuous Content Management with GitHub Actions
|
||||
|
|
|
|||
|
|
@ -242,6 +242,10 @@ First, you'll need to gather your Sentry and GitHub API credentials.
|
|||
|
||||
Use Continue CLI to perform intelligent error analysis. Enter these prompts in the Continue CLI TUI:
|
||||
|
||||
<Info>
|
||||
To run any of the example prompts below in headless mode, use `cn -p "prompt"`
|
||||
</Info>
|
||||
|
||||
<Tabs>
|
||||
<Tab title="Recent Errors Analysis">
|
||||
**Prompt:**
|
||||
|
|
@ -275,10 +279,6 @@ Use Continue CLI to perform intelligent error analysis. Enter these prompts in t
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
<Info>
|
||||
To run prompts in headless mode, use cn -p "prompt"
|
||||
</Info>
|
||||
|
||||
<Info>
|
||||
**Available Sentry MCP Tools**:
|
||||
- **Organizations**: Access org-level data and settings
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue