Merge pull request #8486 from continuedev/bekahhw/add-agents-to-cookbooks
docs: Update cookbook guides to use agents
This commit is contained in:
commit
7690843f11
9 changed files with 73 additions and 165 deletions
|
|
@ -65,10 +65,10 @@ After completing **Quick Setup** above, you have two paths to get started:
|
|||
|
||||
<Steps>
|
||||
<Step title="Add the Pre-Built Agent">
|
||||
Visit the [Chrome DevTools Continuous Agent](https://hub.continue.dev/continuedev/chrome-dev-continuous) on Continue Hub and click **"Install Agent"** or run:
|
||||
Visit the [Chrome Dev Tools Agent](https://hub.continue.dev/continuedev/chrome-dev-tools-agent) on Continue Hub and click **"Install Agent"** or run:
|
||||
|
||||
```bash
|
||||
cn --config continuedev/chrome-dev-continuous
|
||||
cn --agent continuedev/chrome-dev-tools-agent
|
||||
```
|
||||
|
||||
This agent includes:
|
||||
|
|
@ -438,7 +438,7 @@ jobs:
|
|||
env:
|
||||
CONTINUE_API_KEY: ${{ secrets.CONTINUE_API_KEY }}
|
||||
run: |
|
||||
cn --config continuedev/chrome-dev-continuous \
|
||||
cn --agent continuedev/chrome-dev-tools-agent \
|
||||
-p "Navigate to http://localhost:3000 and:
|
||||
1. Record performance trace with reload
|
||||
2. Extract LCP, FID, CLS values
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ For all options, first:
|
|||
## dlt MCP Workflow Options
|
||||
|
||||
<Card title="🚀 Fastest Path to Success" icon="zap">
|
||||
Skip the manual setup and use our pre-built [dlt Assistant agent](https://hub.continue.dev/dlthub/dlt-assistant) that includes
|
||||
Skip the manual setup and use our pre-built [dlt Agent](https://hub.continue.dev/continuedev/dlt-agent) that includes
|
||||
the dlt MCP and optimized data pipeline workflows for more consistent results. You can [remix this agent](/guides/understanding-configs#how-to-get-started-with-hub-configs) to customize it for your specific needs.
|
||||
</Card>
|
||||
|
||||
|
|
@ -53,7 +53,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s
|
|||
<Step title="Load the Pre-Built Agent">
|
||||
Navigate to your pipeline project directory and run:
|
||||
```bash
|
||||
cn --config dlthub/dlt-assistant
|
||||
cn --agent continuedev/dlt-agent
|
||||
```
|
||||
|
||||
This agent includes:
|
||||
|
|
@ -73,7 +73,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s
|
|||
</Steps>
|
||||
|
||||
<Info>
|
||||
**Why Use the Agent?** The pre-built [dlt Assistant agent](https://hub.continue.dev/dlthub/dlt-assistant) provides consistent pipeline development workflows and handles MCP configuration automatically, making it easier to get started with AI-powered data engineering. You can [remix and customize this agent](/guides/understanding-configs#how-to-get-started-with-hub-configs) later to fit your team's specific workflow.
|
||||
**Why Use the Agent?** The pre-built [dlt Agent](https://hub.continue.dev/continuedev/dlt-agent) provides consistent pipeline development workflows and handles MCP configuration automatically, making it easier to get started with AI-powered data engineering. You can [remix and customize this agent](/guides/understanding-configs#how-to-get-started-with-hub-configs) later to fit your team's specific workflow.
|
||||
</Info>
|
||||
|
||||
</Tab>
|
||||
|
|
@ -117,7 +117,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s
|
|||
</Tabs>
|
||||
|
||||
<Accordion title="Agent Requirements">
|
||||
To use the pre-built [dlt Assistant agent](https://hub.continue.dev/dlthub/dlt-assistant), you need either:
|
||||
To use the pre-built [dlt Agent](https://hub.continue.dev/continuedev/dlt-agent), you need either:
|
||||
- **Continue CLI Pro Plan** with the models add-on, OR
|
||||
- **Your own API keys** added to Continue Hub secrets (same as manual setup)
|
||||
|
||||
|
|
@ -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
|
||||
|
|
@ -293,7 +265,7 @@ Navigate to **Repository Settings → Secrets and variables → Actions** and ad
|
|||
- Any required database credentials for your destination
|
||||
|
||||
<Info>
|
||||
The workflow uses the pre-built [dlt Assistant agent](https://hub.continue.dev/dlthub/dlt-assistant) with `--agent dlthub/dlt-assistant`. This agent comes pre-configured with the dlt MCP and optimized rules for pipeline operations. You can [remix this agent](/guides/understanding-configs#how-to-get-started-with-hub-configs) to customize the validation rules and prompts for your specific pipeline requirements.
|
||||
The workflow uses the pre-built [dlt Agent](https://hub.continue.dev/continuedev/dlt-agent) with `--agent continuedev/dlt-agent`. This agent comes pre-configured with the dlt MCP and optimized rules for pipeline operations. You can [remix this agent](/guides/understanding-configs#how-to-get-started-with-hub-configs) to customize the validation rules and prompts for your specific pipeline requirements.
|
||||
</Info>
|
||||
|
||||
### Create Workflow File
|
||||
|
|
@ -342,7 +314,7 @@ jobs:
|
|||
- name: Validate Pipeline Schema
|
||||
run: |
|
||||
echo "🔍 Validating pipeline schema..."
|
||||
cn --config dlthub/dlt-assistant \
|
||||
cn --agent continuedev/dlt-agent \
|
||||
-p "Inspect the pipeline schema and verify all required tables
|
||||
and columns are present. Flag any missing or unexpected changes." \
|
||||
--auto
|
||||
|
|
@ -350,7 +322,7 @@ jobs:
|
|||
- name: Check Pipeline Health
|
||||
run: |
|
||||
echo "📊 Checking pipeline health..."
|
||||
cn --config dlthub/dlt-assistant \
|
||||
cn --agent continuedev/dlt-agent \
|
||||
-p "Analyze the last pipeline run for errors or warnings.
|
||||
Report any issues that need attention." \
|
||||
--auto
|
||||
|
|
@ -360,7 +332,7 @@ jobs:
|
|||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
REPORT=$(cn --config dlthub/dlt-assistant \
|
||||
REPORT=$(cn --agent continuedev/dlt-agent \
|
||||
-p "Generate a concise summary (200 words or less) of:
|
||||
- Pipeline schemas and row counts
|
||||
- Any load errors or warnings
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s
|
|||
<Tab title="⚡ Quick Start (Recommended)">
|
||||
<Steps>
|
||||
<Step title="Install GitHub MCP via Continue Hub">
|
||||
Visit the [Anthropic GitHub MCP](https://hub.continue.dev/anthropic/github-mcp) on Continue Hub and click **Install** to add it to your agent.
|
||||
Visit the [GitHub Project Manager Agent](https://hub.continue.dev/continuedev/github-project-manager-agent) on Continue Hub and click **Install** to add it to your agent.
|
||||
|
||||
The listing provides a pre-configured MCP block; add your `GITHUB_TOKEN` in Hub.
|
||||
</Step>
|
||||
|
|
@ -62,7 +62,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s
|
|||
<Step title="Launch the Agent">
|
||||
From your repo root:
|
||||
```bash
|
||||
cn --config continuedev/github-manager-ai
|
||||
cn --agent continuedev/github-project-manager-agent
|
||||
```
|
||||
Now try: "List my open issues labeled bug and summarize priorities."
|
||||
</Step>
|
||||
|
|
@ -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
|
||||
|
|
@ -136,31 +138,21 @@ Use natural language to explore, triage, and act on open issues. The agent calls
|
|||
<Card title="Summarize Open Issues" icon="clipboard-list">
|
||||
Get a prioritized overview of current open issues.
|
||||
|
||||
**TUI Mode Prompt:**
|
||||
**Prompt:**
|
||||
```
|
||||
List the 20 most recently updated open issues in this repo.
|
||||
Cluster by label and severity. Summarize top priorities.
|
||||
```
|
||||
|
||||
**Headless Mode Prompt:**
|
||||
```bash
|
||||
cn -p "List the 20 most recently updated open issues in this repo. Cluster by label and severity. Summarize top priorities." --auto
|
||||
```
|
||||
</Card>
|
||||
|
||||
<Card title="Owner/Label Filters" icon="filter">
|
||||
Narrow by label or assignee.
|
||||
|
||||
**TUI Mode Prompt:**
|
||||
**Prompt:**
|
||||
```
|
||||
Show open issues labeled bug or security, assigned to @me.
|
||||
Summarize blockers and suggest next steps.
|
||||
```
|
||||
|
||||
**Headless Mode Prompt:**
|
||||
```bash
|
||||
cn -p "Show open issues labeled bug or security, assigned to @me. Summarize blockers and suggest next steps." --auto
|
||||
```
|
||||
</Card>
|
||||
|
||||
### Taking Action
|
||||
|
|
@ -168,7 +160,7 @@ cn -p "Show open issues labeled bug or security, assigned to @me. Summarize bloc
|
|||
<Card title="Comment on an Issue" icon="comment">
|
||||
Post an AI-generated status update or checklist.
|
||||
|
||||
**TUI Mode Prompt:**
|
||||
**Prompt:**
|
||||
```
|
||||
Find the issue with the most engagement (comments, reactions) in the last 30 days.
|
||||
Come up with a triage plan and draft a comment with:
|
||||
|
|
@ -178,11 +170,6 @@ Come up with a triage plan and draft a comment with:
|
|||
Then post the comment.
|
||||
```
|
||||
|
||||
**Headless Mode Prompt:**
|
||||
```bash
|
||||
cn -p "Find the issue with the most engagement in the last 30 days. Come up with a triage plan and draft a comment (hypothesis, next 2 steps, owner, ETA) and post it." --auto
|
||||
```
|
||||
|
||||
<Note>
|
||||
Requires a token with permission to comment (`public_repo` or `repo`). The agent will confirm before posting unless `--auto` is used.
|
||||
</Note>
|
||||
|
|
@ -191,16 +178,11 @@ cn -p "Find the issue with the most engagement in the last 30 days. Come up with
|
|||
<Card title="Find Stale Issues" icon="clock">
|
||||
Identify issues that need attention.
|
||||
|
||||
**TUI Mode Prompt:**
|
||||
**Prompt:**
|
||||
```
|
||||
Find open issues with no activity in the last 30 days.
|
||||
Suggest action (close, needs-repro, or prioritize) and draft comments.
|
||||
```
|
||||
|
||||
**Headless Mode Prompt:**
|
||||
```bash
|
||||
cn -p "Find open issues with no activity in the last 30 days. Suggest action and draft comments for each." --auto
|
||||
```
|
||||
</Card>
|
||||
|
||||
---
|
||||
|
|
@ -214,16 +196,11 @@ Analyze recently merged PRs for change awareness, release notes, and quality sig
|
|||
<Card title="Merged PR Digest" icon="code-merge">
|
||||
Summarize merged PRs over a time window.
|
||||
|
||||
**TUI Mode Prompt:**
|
||||
**Prompt:**
|
||||
```
|
||||
List PRs merged in the last 7 days.
|
||||
Group by area (label or path). Summarize impact and notable changes.
|
||||
```
|
||||
|
||||
**Headless Mode Prompt:**
|
||||
```bash
|
||||
cn -p "List PRs merged in the last 7 days. Group by area (label or path). Summarize impact and notable changes." --auto
|
||||
```
|
||||
</Card>
|
||||
|
||||
### Release Notes
|
||||
|
|
@ -231,16 +208,11 @@ cn -p "List PRs merged in the last 7 days. Group by area (label or path). Summar
|
|||
<Card title="Generate Release Notes" icon="file-lines">
|
||||
Turn merged PRs into crisp release notes.
|
||||
|
||||
**TUI Mode Prompt:**
|
||||
**Prompt:**
|
||||
```
|
||||
Generate release notes for PRs merged since tag v1.2.0.
|
||||
Use keep-a-changelog sections and include PR numbers/authors.
|
||||
```
|
||||
|
||||
**Headless Mode Prompt:**
|
||||
```bash
|
||||
cn -p "Generate release notes for PRs merged since tag v1.2.0. Use keep-a-changelog sections and include PR numbers/authors." --auto
|
||||
```
|
||||
</Card>
|
||||
|
||||
### Deep Dives
|
||||
|
|
@ -248,17 +220,12 @@ cn -p "Generate release notes for PRs merged since tag v1.2.0. Use keep-a-change
|
|||
<Card title="Summarize a PR" icon="magnifying-glass">
|
||||
Get a human-readable summary of a recently merged PR with active discussion.
|
||||
|
||||
**TUI Mode Prompt:**
|
||||
**Prompt:**
|
||||
```
|
||||
Find the last merged PR with a significant amount of comments.
|
||||
Summarize the conversation, including goal, key changes,
|
||||
risk areas, and any follow-ups.
|
||||
```
|
||||
|
||||
**Headless Mode Prompt:**
|
||||
```bash
|
||||
cn -p "Find the last merged PR with a significant amount of comments. Summarize the conversation including goal, key changes, risk areas, and follow-ups." --auto
|
||||
```
|
||||
</Card>
|
||||
|
||||
---
|
||||
|
|
@ -305,7 +272,7 @@ jobs:
|
|||
- name: Weekly Issue Triage Summary
|
||||
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
|
||||
run: |
|
||||
cn --config continuedev/github-manager-ai \
|
||||
cn --agent continuedev/github-project-manager-agent \
|
||||
-p "List open issues updated in the last 14 days. Group by label and priority. Propose top 5 actions and include issue links." \
|
||||
--auto > issue_summary.txt
|
||||
|
||||
|
|
@ -314,14 +281,14 @@ jobs:
|
|||
env:
|
||||
PR_NUMBER: ${{ github.event.pull_request.number }}
|
||||
run: |
|
||||
REPORT=$(cn --config continuedev/github-manager-ai \
|
||||
REPORT=$( cn --agent continuedev/github-project-manager-agent \
|
||||
-p "Summarize the context for PR #${PR_NUMBER}: related open issues, risk areas, and test suggestions. Keep under 200 words." \
|
||||
--auto)
|
||||
gh pr comment ${PR_NUMBER} --body "$REPORT"
|
||||
```
|
||||
|
||||
<Info>
|
||||
Use `continuedev/github-manager-ai` consistently throughout your automation as the recommended agent configuration.
|
||||
Use `continuedev/github-project-manager-agent` consistently throughout your automation as the recommended agent configuration.
|
||||
</Info>
|
||||
|
||||
---
|
||||
|
|
@ -366,7 +333,7 @@ After completing this guide, you have a complete **AI-powered GitHub workflow sy
|
|||
<Card title="MCP in Continue" icon="book" href="/customize/deep-dives/mcp">
|
||||
How MCP works with Continue agents
|
||||
</Card>
|
||||
<Card title="GitHub Manager AI Agent" icon="robot" href="https://hub.continue.dev/continuedev/github-manager-ai">
|
||||
<Card title="GitHub Project Manager Agent" icon="robot" href="https://hub.continue.dev/continuedev/github-project-manager-agent">
|
||||
Pre-configured agent on Continue Hub
|
||||
</Card>
|
||||
<Card title="GitHub MCP Server" icon="link" href="https://github.com/github/github-mcp-server/blob/main/README.md">
|
||||
|
|
|
|||
|
|
@ -82,10 +82,13 @@ After completing **Quick Setup** above, you have two paths to get started:
|
|||
|
||||
<Steps>
|
||||
<Step title="Add the Pre-Built Agent">
|
||||
Visit the [Netlify Continuous AI Agent](https://hub.continue.dev/continuedev/netlify-continuous-ai) on Continue Hub and click **"Install Agent"**
|
||||
Visit the [Netlify Continuous AI Agent](https://hub.continue.dev/continuedev/netlify-continuous-ai-agent) on Continue Hub and click **"Install Agent"** or run:
|
||||
|
||||
```bash
|
||||
cn --agent continuedev/netlify-continuous-ai-agent
|
||||
```
|
||||
|
||||
This agent includes:
|
||||
- **Optimized prompts** for Netlify deployment and performance analysis
|
||||
- **Built-in rules** for consistent formatting and error handling
|
||||
- **Netlify MCP** for more reliable API interactions
|
||||
</Step>
|
||||
|
|
|
|||
|
|
@ -134,16 +134,16 @@ You only need to configure the PostHog MCP credential - it automatically handles
|
|||
|
||||
<Steps>
|
||||
<Step title="Add the Pre-Built Agent">
|
||||
Visit the [PostHog GitHub Continuous AI Agent](https://hub.continue.dev/continuedev/awesome-models-posthog-gh) on Continue Hub and click **"Install Agent"** or run:
|
||||
Visit the [PostHog Continuous AI Agent](https://hub.continue.dev/continuedev/posthog-continuous-ai-agent) on Continue Hub and click **"Install Agent"** or run:
|
||||
|
||||
```bash
|
||||
cn --config continuedev/awesome-models-posthog-gh
|
||||
cn --agent continuedev/posthog-continuous-ai-agent
|
||||
```
|
||||
|
||||
This agent includes:
|
||||
- **Optimized prompts** for [PostHog analysis](https://hub.continue.dev/continuedev/posthog-analysis) and [GitHub issue creation](https://hub.continue.dev/continuedev/posthog-github-issues)
|
||||
- **[Built-in rules](https://hub.continue.dev/bekah-hawrot-weigel/posthog-github-continuous-ai-rules)** for consistent formatting and error handling
|
||||
- **[PostHog MCP](https://hub.continue.dev/posthog/posthog-mcp)** for more reliable API interactions
|
||||
- **Optimized prompts** for PostHog analysis and GitHub issue creation
|
||||
- **Built-in rules** for consistent formatting and error handling
|
||||
- **PostHog MCP** for more reliable API interactions
|
||||
</Step>
|
||||
|
||||
<Step title="Run the Analysis">
|
||||
|
|
@ -204,7 +204,7 @@ You only need to configure the PostHog MCP credential - it automatically handles
|
|||
- **Continue CLI Pro Plan** with
|
||||
the models add-on, OR
|
||||
- **Your own API keys** added to Continue Hub secrets
|
||||
(same as Step 1 below) The agent will automatically detect and use your
|
||||
The agent will automatically detect and use your
|
||||
configuration.
|
||||
|
||||
</Accordion>
|
||||
|
|
|
|||
|
|
@ -72,10 +72,10 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s
|
|||
<Tab title="⚡ Quick Start (Recommended)">
|
||||
<Steps>
|
||||
<Step title="Load the Pre-Built Agent">
|
||||
Visit the [Sanity Agent Config](https://hub.continue.dev/continuedev/sanity-agent-config) on Continue Hub and click **"Install Config"** or run:
|
||||
Visit the [Sanity Assistant Agent](https://hub.continue.dev/continuedev/sanity-assistant-agent) on Continue Hub and click **"Install Config"** or run:
|
||||
|
||||
```bash
|
||||
cn --config continuedev/sanity-agent-config
|
||||
cn --agent continuedev/sanity-assistant-agent
|
||||
```
|
||||
|
||||
This agent includes:
|
||||
|
|
@ -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>
|
||||
|
|
@ -245,17 +247,12 @@ You can add prompts to your agent's configuration for easy access in future sess
|
|||
<Card title="Explore Document Types" icon="diagram-project">
|
||||
Review and understand your content schema structure.
|
||||
|
||||
**TUI Mode Prompt:**
|
||||
**Prompt:**
|
||||
```
|
||||
Show me all document types in my Sanity schema with their fields,
|
||||
validation rules, and relationships to other types.
|
||||
```
|
||||
|
||||
**Headless Mode Prompt:**
|
||||
```bash
|
||||
cn -p "Show me all document types in my Sanity schema with their fields, validation rules, and relationships to other types." --auto
|
||||
```
|
||||
|
||||
</Card>
|
||||
|
||||
### GROQ Queries
|
||||
|
|
@ -263,17 +260,12 @@ cn -p "Show me all document types in my Sanity schema with their fields, validat
|
|||
<Card title="Execute GROQ Queries" icon="magnifying-glass">
|
||||
Run GROQ queries to fetch and analyze content.
|
||||
|
||||
**TUI Mode Prompt:**
|
||||
**Prompt:**
|
||||
```
|
||||
Run a GROQ query to fetch all articles published in the last 30 days,
|
||||
including their titles, authors, categories, and view counts.
|
||||
```
|
||||
|
||||
**Headless Mode Prompt:**
|
||||
```bash
|
||||
cn -p "Run a GROQ query to fetch all articles published in the last 30 days, including their titles, authors, categories, and view counts." --auto
|
||||
```
|
||||
|
||||
</Card>
|
||||
|
||||
### Content Operations
|
||||
|
|
@ -281,17 +273,12 @@ cn -p "Run a GROQ query to fetch all articles published in the last 30 days, inc
|
|||
<Card title="Bulk Content Updates" icon="arrows-rotate">
|
||||
Perform bulk operations on your content.
|
||||
|
||||
**TUI Mode Prompt:**
|
||||
**Prompt:**
|
||||
```
|
||||
Find all blog posts with the category "News" and update their
|
||||
status to "archived" if they are older than 6 months.
|
||||
```
|
||||
|
||||
**Headless Mode Prompt:**
|
||||
```bash
|
||||
cn -p "Find all blog posts with the category 'News' and update their status to 'archived' if they are older than 6 months." --auto
|
||||
```
|
||||
|
||||
</Card>
|
||||
|
||||
### Localization
|
||||
|
|
@ -299,17 +286,12 @@ cn -p "Find all blog posts with the category 'News' and update their status to '
|
|||
<Card title="Add Localization Support" icon="language">
|
||||
Set up and manage content translations.
|
||||
|
||||
**TUI Mode Prompt:**
|
||||
**Prompt:**
|
||||
```
|
||||
Add localization support to my article document type for
|
||||
Spanish and French languages with appropriate field configurations.
|
||||
```
|
||||
|
||||
**Headless Mode Prompt:**
|
||||
```bash
|
||||
cn -p "Add localization support to my article document type for Spanish and French languages with appropriate field configurations." --auto
|
||||
```
|
||||
|
||||
</Card>
|
||||
|
||||
### Content Migration
|
||||
|
|
@ -317,17 +299,12 @@ cn -p "Add localization support to my article document type for Spanish and Fren
|
|||
<Card title="Migrate Content Structure" icon="right-left">
|
||||
Migrate content between different schemas or environments.
|
||||
|
||||
**TUI Mode Prompt:**
|
||||
**Prompt:**
|
||||
```
|
||||
Help me migrate my blog posts from the old schema structure
|
||||
to the new one, mapping the deprecated fields to the new format.
|
||||
```
|
||||
|
||||
**Headless Mode Prompt:**
|
||||
```bash
|
||||
cn -p "Help me migrate my blog posts from the old schema structure to the new one, mapping the deprecated fields to the new format." --auto
|
||||
```
|
||||
|
||||
</Card>
|
||||
|
||||
### Documentation Generation
|
||||
|
|
@ -335,17 +312,12 @@ cn -p "Help me migrate my blog posts from the old schema structure to the new on
|
|||
<Card title="Generate Schema Documentation" icon="book">
|
||||
Automatically generate documentation for your content model.
|
||||
|
||||
**TUI Mode Prompt:**
|
||||
**Prompt:**
|
||||
```
|
||||
Generate comprehensive documentation for my Sanity schema including
|
||||
all document types, their purposes, field descriptions, and usage examples.
|
||||
```
|
||||
|
||||
**Headless Mode Prompt:**
|
||||
```bash
|
||||
cn -p "Generate comprehensive documentation for my Sanity schema including all document types, their purposes, field descriptions, and usage examples." --auto
|
||||
```
|
||||
|
||||
</Card>
|
||||
|
||||
### Content Releases
|
||||
|
|
@ -353,17 +325,12 @@ cn -p "Generate comprehensive documentation for my Sanity schema including all d
|
|||
<Card title="Manage Content Releases" icon="rocket">
|
||||
Work with Sanity's content release feature.
|
||||
|
||||
**TUI Mode Prompt:**
|
||||
**Prompt:**
|
||||
```
|
||||
List all active releases in my dataset and show me the content
|
||||
changes scheduled for each release.
|
||||
```
|
||||
|
||||
**Headless Mode Prompt:**
|
||||
```bash
|
||||
cn -p "List all active releases in my dataset and show me the content changes scheduled for each release." --auto
|
||||
```
|
||||
|
||||
</Card>
|
||||
|
||||
### Performance Analysis
|
||||
|
|
@ -371,17 +338,12 @@ cn -p "List all active releases in my dataset and show me the content changes sc
|
|||
<Card title="Analyze Query Performance" icon="gauge-high">
|
||||
Optimize GROQ queries for better performance.
|
||||
|
||||
**TUI Mode Prompt:**
|
||||
**Prompt:**
|
||||
```
|
||||
Analyze the performance of my most frequent GROQ queries and
|
||||
suggest optimizations to improve response times.
|
||||
```
|
||||
|
||||
**Headless Mode Prompt:**
|
||||
```bash
|
||||
cn -p "Analyze the performance of my most frequent GROQ queries and suggest optimizations to improve response times." --auto
|
||||
```
|
||||
|
||||
</Card>
|
||||
|
||||
## Continuous Content Management with GitHub Actions
|
||||
|
|
@ -399,7 +361,7 @@ Navigate to **Repository Settings → Secrets and variables → Actions** and ad
|
|||
- `MCP_USER_ROLE`: Your MCP user role (typically "admin" or "editor")
|
||||
|
||||
<Info>
|
||||
The workflow uses the [Sanity Agent Config](https://hub.continue.dev/continuedev/sanity-agent-config) with environment variable authentication via [Sanity MCP Config](https://hub.continue.dev/sanity/sanity-mcp-config). This enables headless mode operation without OAuth browser authentication.
|
||||
The workflow uses the [Sanity Assistant Agent](https://hub.continue.dev/continuedev/sanity-assistant-agent) with environment variable authentication via [Sanity MCP Config](https://hub.continue.dev/sanity/sanity-mcp-config). This enables headless mode operation without OAuth browser authentication.
|
||||
</Info>
|
||||
|
||||
### Create Workflow File
|
||||
|
|
@ -447,7 +409,7 @@ jobs:
|
|||
- name: Validate Schema Structure
|
||||
run: |
|
||||
echo "🔍 Validating schema structure..."
|
||||
cn --config continuedev/sanity-agent-config \
|
||||
cn --agent continuedev/sanity-assistant-agent \
|
||||
-p "Analyze the Sanity schema for any structural issues,
|
||||
missing required fields, or broken references between document types." \
|
||||
--auto
|
||||
|
|
@ -455,7 +417,7 @@ jobs:
|
|||
- name: Check Content Integrity
|
||||
run: |
|
||||
echo "📊 Checking content integrity..."
|
||||
cn --config continuedev/sanity-agent-config \
|
||||
cn --agent continuedev/sanity-assistant-agent \
|
||||
-p "Run GROQ queries to identify any orphaned documents,
|
||||
broken references, or missing required fields in the content." \
|
||||
--auto
|
||||
|
|
@ -463,7 +425,7 @@ jobs:
|
|||
- name: Generate Schema Documentation
|
||||
run: |
|
||||
echo "📝 Generating schema documentation..."
|
||||
cn --config continuedev/sanity-agent-config \
|
||||
cn --agent continuedev/sanity-assistant-agent \
|
||||
-p "Generate a markdown summary of all schema changes
|
||||
in this PR and their potential impact on existing content." \
|
||||
--auto > schema-changes.md
|
||||
|
|
@ -473,7 +435,7 @@ jobs:
|
|||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
REPORT=$(cn --config continuedev/sanity-agent-config \
|
||||
REPORT=$( cn --agent continuedev/sanity-assistant-agent \
|
||||
-p "Generate a concise summary (200 words or less) of:
|
||||
- Schema validation results
|
||||
- Content integrity checks
|
||||
|
|
|
|||
|
|
@ -138,10 +138,10 @@ First, you'll need to gather your Sentry and GitHub API credentials.
|
|||
|
||||
<Steps>
|
||||
<Step title="Add the Pre-Built Agent">
|
||||
Visit the [Sentry Continuous AI Agent](https://hub.continue.dev/continuedev/sentry-continuous-ai) on Continue Hub and click **"Install Agent"** or run:
|
||||
Visit the [Sentry Continuous AI Agent](https://hub.continue.dev/continuedev/sentry-continuous-ai-agent) on Continue Hub and click **"Install Agent"** or run:
|
||||
|
||||
```bash
|
||||
cn --config continuedev/sentry-continuous-ai
|
||||
cn --agent continuedev/sentry-continuous-ai-agent
|
||||
```
|
||||
|
||||
This agent includes:
|
||||
|
|
@ -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:**
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s
|
|||
<Step title="Load the Pre-Built Agent">
|
||||
Navigate to your project directory and run:
|
||||
```bash
|
||||
cn --config continuedev/snyk-continuous-ai
|
||||
cn --agent continuedev/snyk-continuous-ai-agent
|
||||
```
|
||||
|
||||
This agent includes:
|
||||
|
|
@ -109,7 +109,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s
|
|||
</Step>
|
||||
|
||||
<Step title="Connect Snyk MCP via Continue Hub">
|
||||
Visit the [Snyk MCP on Continue Hub](https://hub.continue.dev/snyk/snyk-mcp) and click **Install** to add it to the agent you created in the step above.
|
||||
Visit the [Snyk Continuous AI Agent](https://hub.continue.dev/continuedev/snyk-continuous-ai-agent) and click **Install** to add it to the agent you created in the step above.
|
||||
|
||||
This will add Snyk MCP to your agent's available tools. The Hub listing automatically configures the MCP command:
|
||||
```bash
|
||||
|
|
@ -454,7 +454,7 @@ jobs:
|
|||
# Use Continue CLI to generate mitigation suggestions
|
||||
PROMPT="Analyze these Snyk security findings and provide specific, actionable mitigation steps for each issue. Focus on: 1) Root cause, 2) Immediate fix, 3) Long-term prevention. Findings: $FINDINGS_SUMMARY. Provide clear, prioritized recommendations."
|
||||
|
||||
cn --config continuedev/snyk-continuous-ai -p "$PROMPT" --auto > mitigation-suggestions.md || {
|
||||
cn --agent continuedev/snyk-continuous-ai-agent -p "$PROMPT" --auto > mitigation-suggestions.md || {
|
||||
echo "⚠️ Warning: Could not generate AI suggestions"
|
||||
exit 0
|
||||
}
|
||||
|
|
|
|||
|
|
@ -140,10 +140,10 @@ First, you'll need to set up access to your Supabase project.
|
|||
|
||||
<Steps>
|
||||
<Step title="Add the Pre-Built Agent">
|
||||
Visit the [Supabase Continuous AI Agent](https://hub.continue.dev/continuedev/supabase-continuous-ai) on Continue Hub and click **"Install Agent"** or run:
|
||||
Visit the [Supabase Agent](https://hub.continue.dev/continuedev/supabase-agent) on Continue Hub and click **"Install Agent"** or run:
|
||||
|
||||
```bash
|
||||
cn --config continuedev/supabase-continuous-ai
|
||||
cn --agent continuedev/supabase-agent
|
||||
```
|
||||
|
||||
This agent includes:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue