refactor: remove checks tab, hub/community refs, and clean up docs nav
- Remove Checks tab and all checks/ pages from docs - Remove telemetry and CONTRIBUTING pages - Make IDE Extensions the first/default tab - Remove About Us/Blog/Changelog sidebar anchors - Remove "Get Started" navbar link - Update logo to link to docs instead of continue.dev - Remove Sign In steps from install page - Remove remaining Hub tabs from model roles docs - Remove GitHub Discussions/community references - Remove Authentication in CI section from headless mode - Clean up CLI configuration to remove hub/org references - Remove getting-started/extensions.mdx (dead redirect) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
bd36638ee0
commit
f7f3ab7440
37 changed files with 688 additions and 1344 deletions
|
|
@ -1,343 +0,0 @@
|
|||
---
|
||||
title: "Contributing to Continue Documentation"
|
||||
sidebarTitle: "Docs Contributions"
|
||||
description: "Welcome to the Continue documentation! We're excited that you want to contribute. This guide will help you get started with our documentation workflow and tools."
|
||||
---
|
||||
|
||||
## 🚀 Quick Start
|
||||
|
||||
### Prerequisites
|
||||
|
||||
1. **Node.js** (v20 or higher)
|
||||
2. **Git** for version control
|
||||
3. **GitHub CLI** - Install from [cli.github.com](https://cli.github.com/)
|
||||
|
||||
### Setup Steps
|
||||
|
||||
1. **Fork and clone the repository**
|
||||
|
||||
```bash
|
||||
# Fork the repository (this will also clone it locally)
|
||||
gh repo fork continuedev/continue
|
||||
cd continue/docs
|
||||
```
|
||||
|
||||
2. **Install dependencies**
|
||||
|
||||
```bash
|
||||
npm install
|
||||
```
|
||||
|
||||
3. **Start the local development server**
|
||||
```bash
|
||||
npm run dev
|
||||
```
|
||||
Your docs will be available at `http://localhost:3000`
|
||||
|
||||
## 💬 Creating Discussions and Issues
|
||||
|
||||
Before creating any issues, we ask that you start with a GitHub Discussion. This helps us organize feedback and determine the best path forward.
|
||||
|
||||
### Starting a Discussion
|
||||
|
||||
<Steps>
|
||||
<Step title="Go to GitHub Discussions">
|
||||
Visit the [Continue GitHub Discussions](https://github.com/continuedev/continue/discussions) page.
|
||||
</Step>
|
||||
|
||||
<Step title="Choose the right category">
|
||||
Select the **Docs** category for documentation improvements, corrections, or suggestions.
|
||||
|
||||
</Step>
|
||||
|
||||
<Step title="Provide detailed information">
|
||||
Include the following in your discussion:
|
||||
- Clear description of the issue or suggestion
|
||||
- Steps to reproduce (if applicable)
|
||||
- Expected vs. actual behavior
|
||||
- Screenshots or code examples when helpful
|
||||
- Your environment (OS, IDE, Continue version)
|
||||
</Step>
|
||||
</Steps>
|
||||
|
||||
### Issue Escalation Process
|
||||
|
||||
<Info>
|
||||
|
||||
**Important**: All issues should start as discussions. The Continue team will determine if and when a discussion should be escalated to a GitHub issue.
|
||||
|
||||
</Info>
|
||||
|
||||
The Continue team will review discussions and may:
|
||||
- Provide a solution or clarification directly in the discussion
|
||||
- Ask for additional information or testing
|
||||
- Convert the discussion to an issue if it requires code changes or is a confirmed bug
|
||||
- Close the discussion if it's resolved or not actionable
|
||||
|
||||
### When Discussions Become Issues
|
||||
|
||||
A discussion will typically be converted to an issue when:
|
||||
- A bug in the documentation is confirmed
|
||||
- A new feature or significant documentation change is approved
|
||||
- Community consensus supports the proposed change
|
||||
- Technical implementation is required
|
||||
|
||||
## 🤖 AI-Powered Documentation with Continue
|
||||
|
||||
We strongly encourage using Continue's AI assistance to maintain consistency and quality in our documentation. Here are three ways to set this up:
|
||||
|
||||
### Option 1: Use the Pre-Built Documentation Agent (Recommended)
|
||||
|
||||
The easiest way to get started is using our pre-configured documentation agent:
|
||||
|
||||
<Steps>
|
||||
<Step title="Install the documentation agent">
|
||||
Add the pre-configured Docs Assistant to your Continue setup. This agent comes pre-configured with all our documentation standards.
|
||||
|
||||
<Info>
|
||||
Learn more about Continue Configs in our [config documentation](/guides/understanding-configs).
|
||||
</Info>
|
||||
</Step>
|
||||
|
||||
<Step title="Use the agent">
|
||||
<Tabs>
|
||||
<Tab title="Command Line">
|
||||
```bash
|
||||
# Install the Continue CLI if you haven't already
|
||||
npm install -g @continuedev/cli
|
||||
|
||||
# Use the agent from the command line
|
||||
cn "Create a new guide for using the Continue CLI with Linear" --config continuedev/docs-mintlify
|
||||
```
|
||||
</Tab>
|
||||
|
||||
<Tab title="IDE">
|
||||
1. Open Continue in your IDE
|
||||
2. Select the "Docs Assistant - Mintlify" agent from the model dropdown
|
||||
3. Ask it to help you create or edit documentation
|
||||
|
||||
Example prompts:
|
||||
- "Create a new guide for using the Continue CLI with Linear"
|
||||
- "Update the getting-started guide with the new installation process"
|
||||
- "Format this documentation according to Mintlify standards"
|
||||
</Tab>
|
||||
</Tabs>
|
||||
</Step>
|
||||
</Steps>
|
||||
|
||||
<Tip>
|
||||
You can also remix this config to customize it for your specific needs.
|
||||
</Tip>
|
||||
|
||||
### Option 2: Create Your Own Custom Agent
|
||||
|
||||
If you want more control or customization, you can create your own documentation agent:
|
||||
|
||||
<Steps>
|
||||
<Step title="Create a new config">
|
||||
Create a new `config.yaml` to set up your own configuration. See the [config reference](/reference) for details.
|
||||
</Step>
|
||||
|
||||
<Step title="Add the Continue Docs MCP">
|
||||
Add the Continue Docs MCP to your configuration. This MCP provides context about Continue's documentation structure and standards.
|
||||
</Step>
|
||||
|
||||
<Step title="Add Mintlify formatting rules">
|
||||
Add a Mintlify technical writing rule to your configuration. This rule ensures proper Mintlify component formatting.
|
||||
</Step>
|
||||
|
||||
<Step title="Use your custom agent">
|
||||
<Tabs>
|
||||
<Tab title="Command Line">
|
||||
```bash
|
||||
# Install the Continue CLI if you haven't already
|
||||
npm install -g @continuedev/cli
|
||||
|
||||
# Use your agent from the command line
|
||||
cn --config your-org/your-agent-name "Create a new guide for API authentication"
|
||||
```
|
||||
</Tab>
|
||||
|
||||
<Tab title="IDE">
|
||||
1. Open Continue in your IDE
|
||||
2. Select your custom agent from the model dropdown
|
||||
3. Ask it to help you create or edit documentation
|
||||
|
||||
Example prompts:
|
||||
- "Help me format this documentation according to Mintlify standards"
|
||||
- "Create a troubleshooting section for this feature"
|
||||
</Tab>
|
||||
</Tabs>
|
||||
</Step>
|
||||
</Steps>
|
||||
|
||||
## 📝 Documentation Standards
|
||||
|
||||
### Mintlify Component Guidelines
|
||||
|
||||
When using Mintlify components, follow these formatting rules:
|
||||
|
||||
#### Cards and Info Boxes
|
||||
|
||||
```mdx
|
||||
<Card title="Best Practice" icon="lightbulb">
|
||||
|
||||
Always include blank lines and proper indentation:
|
||||
|
||||
- Use 2-space indentation
|
||||
- Add blank lines after opening tags
|
||||
- Format lists as bullet points
|
||||
|
||||
</Card>
|
||||
```
|
||||
|
||||
#### Warning and Note Components
|
||||
|
||||
```mdx
|
||||
<Warning>
|
||||
|
||||
Important information should be formatted clearly:
|
||||
|
||||
- Each point on its own line
|
||||
- Consistent indentation
|
||||
- Clear, concise language
|
||||
|
||||
</Warning>
|
||||
```
|
||||
|
||||
### Writing Style
|
||||
|
||||
1. **Be concise**: Get to the point quickly
|
||||
2. **Use examples**: Show, don't just tell
|
||||
3. **Include code blocks**: Provide working examples
|
||||
4. **Add visuals**: Screenshots and diagrams help understanding
|
||||
5. **Test your changes**: Ensure all links and code examples work
|
||||
|
||||
<Warning>
|
||||
If you are creating a new guide, please test the steps yourself to ensure accuracy.
|
||||
</Warning>
|
||||
|
||||
## 🔧 Common Tasks
|
||||
|
||||
### Adding a New Guide
|
||||
|
||||
1. Create a new `.mdx` file in the guides directory
|
||||
2. Add frontmatter:
|
||||
```mdx
|
||||
---
|
||||
title: "Your Guide Title"
|
||||
description: "Brief description of what this guide covers"
|
||||
---
|
||||
```
|
||||
3. Use the Continue agent to help format your content
|
||||
4. Update `docs.json` to include your new page in the navigation
|
||||
|
||||
<Tip>
|
||||
We have both guides and cookbooks. Use guides for step-by-step instructions and cookbooks for creating agents for the CLI.
|
||||
</Tip>
|
||||
|
||||
### Updating Existing Documentation
|
||||
|
||||
1. Use the Continue agent with prompts like:
|
||||
- "Update the installation guide with the new npm package"
|
||||
- "Add a troubleshooting section for connection issues"
|
||||
2. The agent will maintain consistent formatting automatically
|
||||
|
||||
### Adding Code Examples
|
||||
|
||||
Use language-specific code blocks:
|
||||
|
||||
````mdx
|
||||
```typescript
|
||||
// Your TypeScript code here
|
||||
const example = "Hello, Continue!";
|
||||
```
|
||||
````
|
||||
|
||||
## 🐛 Testing Your Changes
|
||||
|
||||
1. **Local preview**: In the docs directory, run `npm run dev` and check your changes
|
||||
2. **Link validation**: Ensure all internal and external links work
|
||||
3. **Format check**: Use the Continue agent to validate Mintlify formatting
|
||||
4. **Build test**: Run `npm run build` to ensure no build errors
|
||||
|
||||
## 📤 Submitting Your Contribution
|
||||
|
||||
1. **Create a feature branch**
|
||||
|
||||
```bash
|
||||
git checkout -b docs/your-feature-name
|
||||
```
|
||||
|
||||
2. **Commit your changes**
|
||||
|
||||
```bash
|
||||
git add .
|
||||
git commit -m "docs: describe your changes"
|
||||
```
|
||||
|
||||
3. **Push and create a Pull Request**
|
||||
|
||||
```bash
|
||||
# Push to your fork and create a PR
|
||||
git push origin docs/your-feature-name
|
||||
gh pr create --web
|
||||
```
|
||||
|
||||
<Tip>
|
||||
|
||||
The `gh pr create` command will automatically:
|
||||
- Push your branch to your fork
|
||||
- Create a pull request to the main repository
|
||||
- Allow you to add a title, description, and reference issues
|
||||
- Open the PR in your browser if using `--web`
|
||||
|
||||
</Tip>
|
||||
|
||||
### Linking Your PR to Issues
|
||||
|
||||
<Info>
|
||||
|
||||
**Important**: When your PR addresses a specific issue, make sure to link it using GitHub keywords.
|
||||
|
||||
</Info>
|
||||
|
||||
To automatically link your PR to an issue and close it when the PR is merged, use one of these keywords in your PR description:
|
||||
|
||||
- `closes #issue_number`
|
||||
- `fixes #issue_number`
|
||||
- `resolves #issue_number`
|
||||
|
||||
**Example PR description:**
|
||||
```markdown
|
||||
Improved the installation guide with clearer steps for Windows users.
|
||||
|
||||
Closes #1234
|
||||
```
|
||||
|
||||
This helps us track which issues are being worked on and automatically closes them when your PR is merged.
|
||||
|
||||
<Tip>
|
||||
|
||||
Learn more about linking PRs to issues in the [GitHub documentation](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests).
|
||||
|
||||
</Tip>
|
||||
|
||||
## 💡 Tips for Success
|
||||
|
||||
- **Use the Continue agent**: It knows our documentation standards and will save you time
|
||||
- **Preview frequently**: Check your changes in the local dev server
|
||||
- **Ask questions**: Open an issue or discussion if you need clarification
|
||||
- **Small PRs are better**: Focus on one topic or fix per PR
|
||||
- **Update examples**: Ensure code examples reflect the latest API
|
||||
|
||||
|
||||
## 🆘 Getting Help
|
||||
|
||||
- **Start a Discussion**: Use [GitHub Discussions](https://github.com/continuedev/continue/discussions) for documentation issues, suggestions, or questions
|
||||
- **Continue agent questions**: Check the [Continue documentation](https://docs.continue.dev)
|
||||
- **GitHub Discussions**: Join the [GitHub Discussions](https://github.com/continuedev/continue/discussions) for community help
|
||||
- **Existing docs**: Review similar pages for formatting examples
|
||||
---
|
||||
|
||||
Thank you for contributing to Continue! Your efforts help make our documentation better for everyone. To learn more about contibuting to other parts of the project, check out our [main CONTRIBUTING guide](https://github.com/continuedev/continue/blob/main/CONTRIBUTING.md) 🎉
|
||||
|
|
@ -1,188 +0,0 @@
|
|||
---
|
||||
title: "Best Practices"
|
||||
---
|
||||
|
||||
These principles apply whether you're writing a check yourself or reviewing one your coding agent generated. A well-structured check tells the agent exactly what to look for and how to fix it; a vague one produces noise.
|
||||
|
||||
## Scope narrowly
|
||||
|
||||
Write one check per concern. A single check that tries to cover security, test coverage, and documentation will produce muddled results. Split it into three checks instead.
|
||||
|
||||
```markdown .continue/checks/input-validation.md
|
||||
---
|
||||
name: Input Validation
|
||||
description: Verify new API endpoints validate their inputs
|
||||
---
|
||||
|
||||
Look for new API endpoints that accept user input without validation
|
||||
(missing type checks, no schema validation, no length limits).
|
||||
If found, add appropriate input validation.
|
||||
```
|
||||
|
||||
A "review everything" check will spread itself thin and miss things. A focused check does one job well.
|
||||
|
||||
## Be specific about what to look for
|
||||
|
||||
The prompt must describe exactly what the agent should look for and what it should do about it. Vague instructions produce vague results.
|
||||
|
||||
**Good:**
|
||||
|
||||
```
|
||||
Look for new API endpoints that don't validate their inputs. Add schema validation using zod where missing.
|
||||
```
|
||||
|
||||
**Bad:**
|
||||
|
||||
```
|
||||
Check that the code is secure.
|
||||
```
|
||||
|
||||
Structure criteria as a concrete list:
|
||||
|
||||
```markdown
|
||||
Look for these issues and fix them:
|
||||
|
||||
- New REST endpoints missing request body validation
|
||||
- Database queries using string interpolation instead of parameterized queries
|
||||
- Error responses that expose stack traces or internal paths
|
||||
```
|
||||
|
||||
The more specific you are about what to look for, the more reliable the check.
|
||||
|
||||
## What you don't need to write
|
||||
|
||||
When a check runs, the system automatically prepends a meta prompt that handles diff scoping for you. Specifically, it:
|
||||
|
||||
- Provides the full diff and a list of changed files
|
||||
- Instructs the agent to only review changed lines
|
||||
- Prevents the agent from touching pre-existing issues in unchanged code
|
||||
- Restricts edits to changed files only
|
||||
|
||||
You **don't** need to include instructions like "review the changed files" or "only look at the diff" — that's already handled. Focus your check on **what to look for and how to fix it**, not on scoping or diff mechanics.
|
||||
|
||||
## What checks can do
|
||||
|
||||
Checks are not limited to reading the diff. The agent running a check can:
|
||||
|
||||
- **Read files** in the repository beyond the diff, to understand surrounding context
|
||||
- **Run bash commands** like `grep`, `find`, or custom scripts
|
||||
- **Use a browser** to visit URLs, take screenshots, and verify rendered output
|
||||
- **Access the PR diff** including file names, additions, and deletions
|
||||
- **Use the GitHub CLI** (`gh`) to read PR metadata, comments, or linked issues
|
||||
|
||||
This means a check can do things like verify a new page renders correctly in a browser, or cross-reference the diff against your database schema.
|
||||
|
||||
## Checks vs. tests vs. linting
|
||||
|
||||
**Linting** handles formatting, style, and static patterns. Use ESLint, Prettier, Ruff, or equivalent. If a rule can be expressed as a pattern match on syntax, it belongs in a linter.
|
||||
|
||||
**Tests** verify correctness, behavior, and regressions. Use your test framework. If the question is "does this function return the right output for these inputs," write a test.
|
||||
|
||||
**Checks** handle judgment calls that require understanding context:
|
||||
|
||||
- "Is this database migration safe to run on a 500M-row table?"
|
||||
- "Does this PR update the API docs to reflect the endpoint changes it makes?"
|
||||
- "Are there security issues in this auth flow that a linter wouldn't catch?"
|
||||
- "Does this error handling follow the patterns established elsewhere in the codebase?"
|
||||
|
||||
Checks fill the gap between mechanical linting and human review. They are most valuable for questions that require reading multiple files, understanding intent, or applying project-specific conventions that aren't codified in a linter rule.
|
||||
|
||||
---
|
||||
|
||||
## Examples
|
||||
|
||||
Complete check files you can drop into `.continue/checks/` directly. These are generic starting points — checks [generated by your coding agent](/checks/generating-checks) will be more specific to your project.
|
||||
|
||||
### Security review
|
||||
|
||||
````markdown security-review.md
|
||||
---
|
||||
name: Security Review
|
||||
description: Catch hardcoded secrets, injection vectors, and missing input validation
|
||||
---
|
||||
|
||||
Look for these security issues and fix them:
|
||||
|
||||
- Hardcoded API keys, tokens, passwords, or connection strings — move them to environment variables
|
||||
- New API endpoints or request handlers without input validation — add appropriate validation
|
||||
- SQL queries built with string concatenation or template literals — convert to parameterized queries
|
||||
- Sensitive data (passwords, tokens, PII) written to logs or stdout — remove or redact the sensitive fields
|
||||
- New cryptographic code using weak algorithms (MD5, SHA1 for security purposes, ECB mode) — replace with stronger alternatives
|
||||
- Secrets added to files that are not in `.gitignore` — remove them and add the files to `.gitignore`
|
||||
````
|
||||
|
||||
### Test coverage
|
||||
|
||||
````markdown test-coverage.md
|
||||
---
|
||||
name: Test Coverage
|
||||
description: Ensure new code has corresponding tests
|
||||
---
|
||||
|
||||
Look for new code that's missing tests:
|
||||
|
||||
- A new source file was added without a corresponding test file (e.g., `utils.ts` added but no `utils.test.ts`) — create a test file with basic coverage for the exported functions
|
||||
- New exported functions or public methods with no tests exercising them — add tests covering the main code paths
|
||||
- An existing test file was deleted without the corresponding source file also being deleted — flag this for review
|
||||
|
||||
No changes needed if:
|
||||
|
||||
- All new source files have corresponding test files
|
||||
- New functions/methods are already covered by tests
|
||||
- Only test files, docs, or config files were changed
|
||||
````
|
||||
|
||||
### Documentation freshness
|
||||
|
||||
````markdown docs-freshness.md
|
||||
---
|
||||
name: Documentation Freshness
|
||||
description: Keep docs in sync when public APIs or configuration changes
|
||||
---
|
||||
|
||||
Look for changes to public-facing APIs or configuration where the documentation wasn't updated:
|
||||
|
||||
- A public function, class, or type signature was added or changed — update the corresponding docs (README, docs/, or inline JSDoc/docstrings)
|
||||
- Configuration options were added or renamed (config files, environment variables, CLI flags) — update the relevant documentation to reflect the new options
|
||||
- API route paths or request/response shapes changed — update the API documentation
|
||||
|
||||
No changes needed if the PR doesn't touch public APIs or configuration, or if docs were already updated.
|
||||
````
|
||||
|
||||
### Dependency audit
|
||||
|
||||
````markdown dependency-audit.md
|
||||
---
|
||||
name: Dependency Audit
|
||||
description: Review new or updated dependencies for risk
|
||||
---
|
||||
|
||||
If no dependency files (`package.json`, `requirements.txt`, `pyproject.toml`, `go.mod`, `Cargo.toml`, `Gemfile`, or similar) were changed, no action is needed.
|
||||
|
||||
When dependencies were added or updated, look for these issues:
|
||||
|
||||
- A new dependency that appears unmaintained (no commits in the last 12 months) — flag for review and suggest well-maintained alternatives
|
||||
- A dependency was bumped by more than one major version (e.g., v2.x to v4.x) without a note in the PR description — add a comment explaining the jump
|
||||
- A known deprecated or security-flagged package was added — replace with the recommended alternative
|
||||
- A dependency that duplicates functionality from an existing dependency — remove and use the existing one instead
|
||||
- Dev dependencies in production dependency sections (e.g., a test framework in `dependencies` instead of `devDependencies`) — move to the correct section
|
||||
````
|
||||
|
||||
### Migration safety
|
||||
|
||||
````markdown migration-safety.md
|
||||
---
|
||||
name: Migration Safety
|
||||
description: Catch destructive database migrations
|
||||
---
|
||||
|
||||
If no migration files were added or changed, no action is needed.
|
||||
|
||||
When migrations are present, look for these issues:
|
||||
|
||||
- `DROP TABLE` or `DROP COLUMN` without a preceding migration that backs up or migrates the data — add a data migration step or split into separate migrations
|
||||
- Column type narrowing (e.g., `TEXT` to `VARCHAR(50)`, `BIGINT` to `INT`) without a backfill step — add a backfill or guard against data truncation
|
||||
- `NOT NULL` constraint added to an existing column without a `DEFAULT` value — add a default or a data backfill migration
|
||||
- Renaming a column or table that is referenced by application code without updating that code in the same PR — update the references
|
||||
- A destructive and a constructive change in the same migration file — split into separate migrations for safe rollback
|
||||
````
|
||||
|
|
@ -1,70 +0,0 @@
|
|||
---
|
||||
title: "Generating Checks"
|
||||
---
|
||||
|
||||
The best way to create checks is to have your coding agent write them. Install the [`writing-checks`](https://github.com/continuedev/skills?tab=readme-ov-file#writing-checks) skill to teach your agent the check file format and best practices:
|
||||
|
||||
```bash
|
||||
npx skills add continuedev/skills --skill writing-checks
|
||||
```
|
||||
|
||||
Then describe what you want to enforce and the agent writes the check file, tailored to your actual frameworks, file structure, and conventions. Here are some prompts to try:
|
||||
|
||||
## Security
|
||||
|
||||
Catch vulnerabilities specific to your stack — auth gaps, injection vectors, leaked secrets.
|
||||
|
||||
```
|
||||
Look at our codebase and write checks for the most likely security issues — think auth bypasses, injection vectors, secrets in source, and missing input validation. Tailor the checks to the frameworks and patterns we actually use.
|
||||
```
|
||||
|
||||
## Code review patterns
|
||||
|
||||
Turn recurring PR feedback into automated checks so reviewers don't have to repeat themselves.
|
||||
|
||||
```
|
||||
Look through our recent PR review comments and identify things reviewers say repeatedly. Write checks that automate those recurring review comments.
|
||||
```
|
||||
|
||||
## QA and browser testing
|
||||
|
||||
Verify that UI changes render correctly and don't break links or layouts.
|
||||
|
||||
```
|
||||
Write a check that uses a browser to verify any new or changed pages render without errors and match our design system
|
||||
```
|
||||
|
||||
## Best practices
|
||||
|
||||
Enforce the conventions your team already follows — error handling, naming, migration safety.
|
||||
|
||||
```
|
||||
Analyze our codebase and write checks for the patterns that matter most — error handling conventions, logging standards, naming conventions, or whatever you see us being inconsistent about
|
||||
```
|
||||
|
||||
## Test coverage
|
||||
|
||||
Make sure new code ships with tests that match your project's existing patterns.
|
||||
|
||||
```
|
||||
Write a check that verifies new code has corresponding tests, following the test file naming and structure conventions already in our project
|
||||
```
|
||||
|
||||
## Documentation
|
||||
|
||||
Flag PRs where public APIs or config changed but the docs didn't.
|
||||
|
||||
```
|
||||
Write a check that flags PRs where public API or configuration changes aren't reflected in documentation
|
||||
```
|
||||
|
||||
## Iterate locally
|
||||
|
||||
Write the check (or have your agent write it), run it against a real PR branch, read the output, refine:
|
||||
|
||||
```bash
|
||||
check scan migration-safety # audit the full codebase
|
||||
check # run against your current diff
|
||||
```
|
||||
|
||||
See [Run Checks Locally](/checks/running-locally) for the full local testing workflow.
|
||||
|
|
@ -1,44 +0,0 @@
|
|||
---
|
||||
title: "Improving Your Checks"
|
||||
---
|
||||
|
||||
Checks improve over time as you review results and provide feedback. There are two main levers: metrics to identify which checks need work, and rejection feedback to tune behavior.
|
||||
|
||||
## Use metrics to find noisy checks
|
||||
|
||||
The Metrics page shows acceptance and rejection rates per check across your repositories. A high rejection rate tells you a check is producing unhelpful suggestions and needs refinement.
|
||||
|
||||

|
||||
|
||||
Start there to identify which checks to focus on before diving into feedback or prompt edits.
|
||||
|
||||
## Provide feedback when rejecting
|
||||
|
||||
When you reject a check result on the PR review page, a dialog appears where you can explain why the suggestion was wrong. This feedback is saved and included in the check's system prompt on future runs, so the check learns from your corrections.
|
||||
|
||||
To leave feedback:
|
||||
|
||||
1. Click **Reject** on a check result.
|
||||
2. Write feedback explaining why the suggestion was unhelpful.
|
||||
3. Click **Refine** to have AI polish your raw feedback into concise instructions.
|
||||
4. Submit the rejection.
|
||||
|
||||
Good feedback is specific and actionable:
|
||||
|
||||
| Good feedback | Bad feedback |
|
||||
| --- | --- |
|
||||
| "Don't flag `console.log` in test files" | "Be better" |
|
||||
| "Ignore TODO comments in draft PRs" | "Too many false positives" |
|
||||
| "Only flag missing error handling in public API endpoints, not internal helpers" | "Wrong" |
|
||||
|
||||
The more precise your feedback, the faster the check improves.
|
||||
|
||||
## Adjust sensitivity
|
||||
|
||||
The rejection dialog also lets you set a sensitivity level for the check:
|
||||
|
||||
- **Conservative** — only flag critical issues (high confidence required)
|
||||
- **Balanced** — default behavior
|
||||
- **Thorough** — flag all potential improvements, even when not fully certain
|
||||
|
||||
If a check is producing too many low-value suggestions, try lowering the sensitivity to **Conservative**. If it's missing real issues, raise it to **Thorough**.
|
||||
|
|
@ -1,50 +0,0 @@
|
|||
---
|
||||
title: "Write Your First Check"
|
||||
---
|
||||
|
||||
## Generating checks (recommended)
|
||||
|
||||
Paste this into Claude Code or any coding agent:
|
||||
|
||||
```
|
||||
Help me write checks for this codebase: https://continue.dev/walkthrough
|
||||
```
|
||||
|
||||
The walkthrough reads your codebase, helps you write your first checks, connects you to Continue, and gets them running on your next PR. It takes a few minutes.
|
||||
|
||||
If you'd rather set things up manually, keep reading.
|
||||
|
||||
## Writing checks manually
|
||||
|
||||
A check file has two parts: **frontmatter** (YAML between `---` delimiters) with a required `name` and `description`, and a **body** prompt that tells the AI what to look for. Create a `.md` file in `.continue/checks/`:
|
||||
|
||||
```markdown .continue/checks/security-review.md
|
||||
---
|
||||
name: Security Review
|
||||
description: Flag hardcoded secrets and missing input validation
|
||||
---
|
||||
|
||||
Review this pull request for security issues.
|
||||
|
||||
Flag as failing if any of these are true:
|
||||
|
||||
- Hardcoded API keys, tokens, or passwords in source files
|
||||
- New API endpoints without input validation
|
||||
- SQL queries built with string concatenation
|
||||
- Sensitive data logged to stdout
|
||||
|
||||
If none of these issues are found, pass the check.
|
||||
```
|
||||
|
||||
Write concrete pass/fail criteria so the check produces consistent results. See the [reference](/checks/reference) for all available fields.
|
||||
|
||||
## Next steps
|
||||
|
||||
<CardGroup cols={2}>
|
||||
<Card title="Run Locally" icon="terminal" href="/checks/running-locally">
|
||||
Verify your checks before pushing with the `check` CLI.
|
||||
</Card>
|
||||
<Card title="Run Checks in CI" icon="github" href="/checks/running-in-ci">
|
||||
Set up GitHub integration so checks run on every pull request.
|
||||
</Card>
|
||||
</CardGroup>
|
||||
|
|
@ -1,71 +0,0 @@
|
|||
---
|
||||
title: "Check File Reference"
|
||||
---
|
||||
|
||||
A check is a markdown file with YAML frontmatter and a markdown body. The frontmatter configures metadata and tooling. The body is the prompt the agent follows when reviewing a pull request.
|
||||
|
||||
## File format
|
||||
|
||||
```markdown
|
||||
---
|
||||
name: Migration Safety
|
||||
description: Flag destructive database migrations
|
||||
---
|
||||
|
||||
Your prompt here. This is the system prompt the agent uses
|
||||
when evaluating the pull request.
|
||||
```
|
||||
|
||||
Check files live in `.continue/checks/` or `.agents/checks/` at the repository root.
|
||||
|
||||
## Frontmatter fields
|
||||
|
||||
| Field | Required | Type | Description |
|
||||
|-------|----------|------|-------------|
|
||||
| `name` | Yes | string | Display name shown in GitHub status checks and on continue.dev |
|
||||
| `description` | Yes | string | Short description of what the check verifies |
|
||||
| `model` | No | string | Model to use. Defaults to Claude Sonnet. Example: `anthropic/claude-sonnet-4-5-20250514` |
|
||||
|
||||
## Body
|
||||
|
||||
The markdown body after the frontmatter is the agent's system prompt. It runs in the context of the PR being reviewed. The agent reads the prompt, examines the pull request diff, and produces a pass or fail verdict with reasoning.
|
||||
|
||||
Write concrete pass/fail criteria. See [Best Practices](/checks/best-practices) for guidance on prompt structure.
|
||||
|
||||
## Complete example
|
||||
|
||||
A fully-specced check file using all available fields:
|
||||
|
||||
```markdown .continue/checks/migration-safety.md
|
||||
---
|
||||
name: Migration Safety
|
||||
description: Flag destructive database migrations
|
||||
model: anthropic/claude-sonnet-4-5-20250514
|
||||
---
|
||||
|
||||
Review database migration files in this pull request.
|
||||
|
||||
Flag as failing if any migration contains:
|
||||
- DROP TABLE or DROP COLUMN without a corresponding backfill migration
|
||||
- Data type changes that narrow the column (e.g., VARCHAR(255) → VARCHAR(100))
|
||||
- Removing NOT NULL constraints without a default value
|
||||
|
||||
Pass if the migration is additive only (new tables, new columns, new indexes).
|
||||
```
|
||||
|
||||
## File discovery
|
||||
|
||||
Continue locates checks by scanning specific directories at the repository root:
|
||||
|
||||
- Reads all `.md` files in `.continue/checks/`
|
||||
- Reads all `.md` files in `.agents/checks/`
|
||||
- Subdirectories are not scanned
|
||||
- Files without valid `name` and `description` frontmatter are skipped
|
||||
|
||||
Checks always run when a PR is opened.
|
||||
|
||||
## Supported directory paths
|
||||
|
||||
`.continue/checks/` and `.agents/checks/` are equivalent. Both are scanned and merged into a single list of checks.
|
||||
|
||||
`.agents/` is an emerging cross-tool standard for AI agent configuration. `.continue/` is Continue-specific. Use whichever fits your project. If both directories contain a check with the same `name`, the `.continue/checks/` version takes precedence.
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
---
|
||||
title: "Run Checks in CI"
|
||||
---
|
||||
|
||||
Continue watches your repository for pull requests, runs each check defined in `.continue/checks/`, and reports results as GitHub status checks. A green check means the code passed; a red check means the code failed, with a suggested fix.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- A [Continue](https://continue.dev) account
|
||||
- A GitHub repository with at least one check file in `.continue/checks/` (see [Write Your First Check](/checks/quickstart))
|
||||
|
||||
## Connect GitHub
|
||||
|
||||
1. Go to [continue.dev](https://continue.dev/) and sign in (or create an account).
|
||||
2. Navigate to the [GitHub integration page](https://continue.dev/integrations/github).
|
||||
3. Click **Connect GitHub** and authorize Continue.
|
||||
4. Select the repositories you want Continue to monitor.
|
||||
|
||||
Once connected, Continue will start running checks on new pull requests in the selected repositories.
|
||||
|
||||
## How checks are discovered
|
||||
|
||||
Continue reads the `.continue/checks/` directory from your repository's default branch. Every `.md` file in that directory becomes a check that runs on every PR. No additional configuration is needed — commit a check file and it is active.
|
||||
|
||||
## The PR workflow
|
||||
|
||||
When a pull request is opened, reopened, or updated:
|
||||
|
||||
1. Each check file runs independently against the PR diff.
|
||||
2. Results appear as GitHub status checks on the PR.
|
||||
3. If a check passes, it shows a green checkmark.
|
||||
4. If a check fails, it shows a red X with a suggested diff.
|
||||
5. Click the check details link in GitHub to see the full reasoning on continue.dev.
|
||||
|
||||

|
||||
|
||||
## Accept or reject suggestions
|
||||
|
||||
When a check fails and suggests changes:
|
||||
|
||||
1. Click the check's **Details** link on the PR in GitHub. This opens the result on continue.dev.
|
||||
2. Review the suggested diff.
|
||||
3. **Accept** to apply the changes as a commit to the PR branch.
|
||||
4. **Reject** to dismiss the suggestion. The check will re-run on the next push.
|
||||
|
||||

|
||||
|
||||
|
|
@ -1,45 +0,0 @@
|
|||
---
|
||||
title: "Run Checks Locally"
|
||||
---
|
||||
|
||||
Run your checks locally before pushing to CI using the `/check` command in your coding agent (Claude Code, Cursor, or any agent that supports skills).
|
||||
|
||||
## Install
|
||||
|
||||
Install the [`check`](https://github.com/continuedev/skills?tab=readme-ov-file#check) skill:
|
||||
|
||||
```bash
|
||||
npx skills add continuedev/skills --skill check
|
||||
```
|
||||
|
||||
If you don't have any checks yet, see [Write Your First Check](/checks/quickstart).
|
||||
|
||||
## Run checks
|
||||
|
||||
Type `/check` in your coding agent. It discovers every check file in `.continue/checks/`, runs each one as a sub-agent against your current branch, and reports the results.
|
||||
|
||||
```
|
||||
/check
|
||||
```
|
||||
|
||||
## Iterate on a check
|
||||
|
||||
The local feedback loop is: edit the check file, run `/check`, read the output, refine. Because checks run inside your coding agent, you can ask it to fix issues in the same session:
|
||||
|
||||
```
|
||||
The migration safety check is flagging additive-only migrations as failures. Update the check to only flag destructive operations.
|
||||
```
|
||||
|
||||
## Run checks automatically
|
||||
|
||||
Add `/check` to your `AGENTS.md` so your coding agent runs checks as part of its workflow:
|
||||
|
||||
```markdown AGENTS.md
|
||||
After creating or updating a pull request, run /check and fix any failures before requesting review.
|
||||
```
|
||||
|
||||
## Why local?
|
||||
|
||||
Running checks locally uses your existing coding agent and credits (Claude Max, API key, etc.). There's nothing extra to install or configure — if your agent can read your repo, it can run your checks.
|
||||
|
||||
To run checks automatically on every PR in CI, see [Run Checks in CI](/checks/running-in-ci).
|
||||
|
|
@ -4,20 +4,16 @@ title: "Configuration"
|
|||
|
||||
`cn` resolves its configuration (models, MCP servers, rules, etc.) from several sources, in this order:
|
||||
|
||||
1. **`--config` flag** — a file path or hub assistant slug passed at launch
|
||||
1. **`--config` flag** — a file path passed at launch
|
||||
2. **Saved config** — the last-used configuration, persisted across sessions
|
||||
3. **Default** — your first assistant from [Continue](https://continue.dev), or `~/.continue/config.yaml` if you're not logged in
|
||||
3. **Default** — `~/.continue/config.yaml`
|
||||
|
||||
## `--config` flag
|
||||
|
||||
Point `cn` at a local YAML file or a hub assistant:
|
||||
Point `cn` at a local YAML file:
|
||||
|
||||
```bash
|
||||
# Local file
|
||||
cn --config ./my-config.yaml
|
||||
|
||||
# Hub assistant
|
||||
cn --config my-org/my-assistant
|
||||
```
|
||||
|
||||
This overrides any saved preference for the current session.
|
||||
|
|
@ -30,47 +26,30 @@ Use `/config` inside a TUI session to switch between available configurations:
|
|||
> /config
|
||||
```
|
||||
|
||||
This shows your available assistants and local configs. The selection is saved for next time.
|
||||
This shows your available local configs. The selection is saved for next time.
|
||||
|
||||
## `config.yaml`
|
||||
|
||||
If you're not logged in to Continue, `cn` looks for `~/.continue/config.yaml`. This file uses the same format as the IDE extensions — see [config.yaml reference](/customize/deep-dives/configuration) for the full schema.
|
||||
`cn` looks for `~/.continue/config.yaml`. This file uses the same format as the IDE extensions — see [config.yaml reference](/customize/deep-dives/configuration) for the full schema.
|
||||
|
||||
## CLI-specific flags
|
||||
|
||||
Several flags inject configuration at launch without editing a file:
|
||||
|
||||
```bash
|
||||
# Add models from the hub
|
||||
cn --model my-org/claude-sonnet
|
||||
|
||||
# Add MCP servers from the hub
|
||||
cn --mcp my-org/github-mcp
|
||||
|
||||
# Add rules (file path, hub slug, or inline string)
|
||||
# Add rules (file path or inline string)
|
||||
cn --rule ./rules/style.md
|
||||
cn --rule my-org/code-review-rules
|
||||
cn --rule "Always use TypeScript strict mode"
|
||||
|
||||
# Load an agent file from the hub
|
||||
# Load an agent file
|
||||
cn --agent my-org/pr-reviewer
|
||||
```
|
||||
|
||||
All of these are repeatable — pass them multiple times to add multiple items.
|
||||
|
||||
## Organization
|
||||
|
||||
If you belong to multiple organizations on Continue, use `--org` to specify which one:
|
||||
|
||||
```bash
|
||||
cn --org my-team -p "Review this PR"
|
||||
```
|
||||
|
||||
In TUI mode, `/config` lets you switch organizations interactively.
|
||||
|
||||
## Secrets
|
||||
|
||||
Store sensitive values (API keys, tokens) in [Continue → Settings → Secrets](https://continue.dev/settings/secrets). Reference them in config with:
|
||||
Store sensitive values (API keys, tokens) as environment variables. Reference them in config with:
|
||||
|
||||
```yaml
|
||||
${{ secrets.MY_API_KEY }}
|
||||
|
|
|
|||
|
|
@ -48,17 +48,6 @@ cn -p "Set up the project" --allow "*"
|
|||
|
||||
See [tool permissions](/cli/tool-permissions) for the full policy system.
|
||||
|
||||
## Authentication in CI
|
||||
|
||||
Set `CONTINUE_API_KEY` instead of running `cn login`:
|
||||
|
||||
```bash
|
||||
export CONTINUE_API_KEY=your-key-here
|
||||
cn -p "Review the PR for security issues"
|
||||
```
|
||||
|
||||
Get an API key from [Continue → Settings → API Keys](https://continue.dev/settings/api-keys). Store it as a secret in your CI provider.
|
||||
|
||||
## Resume in headless mode
|
||||
|
||||
Resume a previous session without interactive input:
|
||||
|
|
|
|||
|
|
@ -56,8 +56,6 @@ export CONTINUE_API_KEY=your-key-here
|
|||
cn -p "your prompt"
|
||||
```
|
||||
|
||||
Get an API key from [Continue → Settings → API Keys](https://continue.dev/settings/api-keys).
|
||||
|
||||
### Local API key
|
||||
|
||||
If you don't want to use Continue, you can use an Anthropic API key directly. On first launch, `cn` will prompt you to choose between logging in with Continue or entering an Anthropic API key.
|
||||
|
|
|
|||
|
|
@ -16,9 +16,6 @@ import { ModelRecommendations } from "/snippets/ModelRecommendations.jsx";
|
|||
If you want to have the best autocomplete experience, we recommend using Codestral, which is available through the [Mistral API](https://console.mistral.ai/). To do this, obtain an API key and add it to your config:
|
||||
|
||||
<Tabs>
|
||||
<Tab title="Hub">
|
||||
[Mistral Codestral model block](https://continue.dev/mistral/codestral)
|
||||
</Tab>
|
||||
<Tab title="YAML">
|
||||
```yaml title="config.yaml"
|
||||
name: My Config
|
||||
|
|
@ -39,7 +36,7 @@ If you want to have the best autocomplete experience, we recommend using Codestr
|
|||
{
|
||||
"tabAutocompleteModel": {
|
||||
"title": "Codestral",
|
||||
"provider": "mistral",
|
||||
"provider": "mistral",
|
||||
"model": "codestral-latest",
|
||||
"apiKey": "<YOUR_CODESTRAL_API_KEY>"
|
||||
}
|
||||
|
|
@ -67,9 +64,6 @@ ollama run qwen2.5-coder:1.5b
|
|||
Then, add the model to your configuration:
|
||||
|
||||
<Tabs>
|
||||
<Tab title="Hub">
|
||||
[Ollama Qwen 2.5 Coder 1.5B model block](https://continue.dev/ollama/qwen2.5-coder-1.5b)
|
||||
</Tab>
|
||||
<Tab title="YAML">
|
||||
```yaml title="config.yaml"
|
||||
name: My Config
|
||||
|
|
@ -89,7 +83,7 @@ Then, add the model to your configuration:
|
|||
{
|
||||
"tabAutocompleteModel": {
|
||||
"title": "Qwen 1.5b Autocomplete Model",
|
||||
"provider": "ollama",
|
||||
"provider": "ollama",
|
||||
"model": "qwen2.5-coder:1.5b",
|
||||
}
|
||||
}
|
||||
|
|
@ -185,7 +179,7 @@ Follow these steps to ensure that everything is set up correctly:
|
|||
4. Make sure that any other completion providers are disabled (e.g. Copilot), as they may interfere.
|
||||
5. Check the output of the logs to find any potential errors: <kbd>cmd/ctrl</kbd> + <kbd>shift</kbd> + <kbd>P</kbd> -> "Toggle Developer Tools" -> "Console" tab in VS Code, ~/.continue/logs/core.log in JetBrains.
|
||||
6. Check VS Code settings to make sure that `"editor.inlineSuggest.enabled"` is set to `true` (use <kbd>cmd/ctrl</kbd> + <kbd>,</kbd> then search for this and check the box)
|
||||
7. If you are still having issues, please let us know in our [GitHub Discussions](https://github.com/continuedev/continue/discussions) and we'll help as soon as possible.
|
||||
7. If you are still having issues, please file an issue on [GitHub](https://github.com/continuedev/continue/issues).
|
||||
|
||||
### Why Are My Completions Only Single-Line?
|
||||
|
||||
|
|
@ -228,4 +222,4 @@ Open Settings -> Tools -> Continue and uncheck the box for "Enable Tab Autocompl
|
|||
|
||||
#### Feedback
|
||||
|
||||
If you're turning off autocomplete, we'd love to hear how we can improve! Please let us know in our [GitHub Discussions](https://github.com/continuedev/continue/discussions) or file an issue on GitHub.
|
||||
If you're turning off autocomplete, we'd love to hear how we can improve! Please file an issue on [GitHub](https://github.com/continuedev/continue/issues).
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ Go to the [API keys page](https://router.tetrate.ai/api-keys) to get your key
|
|||
|
||||
**When to use**: Simple local setups (like using the VS Code extension) when you don't need shared or published blocks.
|
||||
|
||||
Use a Tetrate model block from the Hub in your local agent configuration:
|
||||
Use a Tetrate model block in your local agent configuration:
|
||||
|
||||
```yaml title="~/.continue/config.yaml"
|
||||
name: Local Agent
|
||||
|
|
|
|||
|
|
@ -17,11 +17,6 @@ We recommend [Morph Fast Apply](https://morphllm.com) or [Relace's Instant Apply
|
|||
|
||||
However, most Chat models can also be used for applying code changes. We recommend smaller/cheaper models for the task, such as Claude 3.5 Haiku.
|
||||
|
||||
<Info>
|
||||
Explore all apply models in [the
|
||||
Hub](https://continue.dev/explore/models?roles=apply)
|
||||
</Info>
|
||||
|
||||
## Prompt templating
|
||||
|
||||
You can customize the prompt template used for applying code changes by setting the `promptTemplates.apply` property in your model configuration. Continue uses [Handlebars syntax](https://handlebarsjs.com/guide/) for templating.
|
||||
|
|
|
|||
|
|
@ -24,9 +24,6 @@ For the best overall Chat experience, you will want to use a 400B+ parameter mod
|
|||
Our current top recommendations are Claude Opus 4.6 and Claude Sonnet 4 from [Anthropic](../model-providers/top-level/anthropic).
|
||||
|
||||
<Tabs>
|
||||
<Tab title="Hub">
|
||||
View the [Claude Opus 4.6 model block](https://continue.dev/anthropic/claude-opus-4-6) or [Claude Sonnet 4 model block](https://continue.dev/anthropic/claude-4-sonnet) on the hub.
|
||||
</Tab>
|
||||
<Tab title="YAML">
|
||||
```yaml title="config.yaml"
|
||||
name: My Config
|
||||
|
|
@ -47,16 +44,6 @@ Our current top recommendations are Claude Opus 4.6 and Claude Sonnet 4 from [An
|
|||
If you prefer to use an open-weight model, then the Gemma family of Models from Google DeepMind is a good choice. You will need to decide if you use it through a SaaS model provider, e.g. [Together](../model-providers/more/together), or self-host it, e.g. [Ollama](../model-providers/top-level/ollama).
|
||||
|
||||
<Tabs>
|
||||
<Tab title="Hub">
|
||||
<Tabs>
|
||||
<Tab title="Ollama">
|
||||
Add the [Ollama Gemma 3 27B block](https://continue.dev/ollama/gemma3-27b) from the hub
|
||||
</Tab>
|
||||
<Tab title="Together">
|
||||
Add the [Together Gemma 2 27B Instruct block](https://continue.dev/togetherai/gemma-2-instruct-27b) from the hub
|
||||
</Tab>
|
||||
</Tabs>
|
||||
</Tab>
|
||||
<Tab title="YAML">
|
||||
<Tabs>
|
||||
<Tab title="Ollama">
|
||||
|
|
@ -93,9 +80,6 @@ If you prefer to use an open-weight model, then the Gemma family of Models from
|
|||
If you prefer to use a model from [OpenAI](../model-providers/top-level/openai), then we recommend GPT-5.1.
|
||||
|
||||
<Tabs>
|
||||
<Tab title="Hub">
|
||||
Add the [OpenAI GPT-5.1 block](https://continue.dev/openai/gpt-5.1) from the hub
|
||||
</Tab>
|
||||
<Tab title="YAML">
|
||||
```yaml title="config.yaml"
|
||||
name: My Config
|
||||
|
|
@ -116,9 +100,6 @@ If you prefer to use a model from [OpenAI](../model-providers/top-level/openai),
|
|||
If you prefer to use a model from [xAI](../model-providers/more/xAI), then we recommend Grok-4.
|
||||
|
||||
<Tabs>
|
||||
<Tab title="Hub">
|
||||
Add the [xAI Grok-4.1 block](https://continue.dev/xai/grok-4-1-fast-non-reasoning) from the hub
|
||||
</Tab>
|
||||
<Tab title="YAML">
|
||||
```yaml title="config.yaml"
|
||||
name: My Config
|
||||
|
|
@ -139,9 +120,6 @@ If you prefer to use a model from [xAI](../model-providers/more/xAI), then we re
|
|||
If you prefer to use a model from [Google](../model-providers/top-level/gemini), then we recommend Gemini 3 Pro.
|
||||
|
||||
<Tabs>
|
||||
<Tab title="Hub">
|
||||
Add the [Gemini 3 Pro block](https://continue.dev/google/gemini-3-pro-preview) from the hub
|
||||
</Tab>
|
||||
<Tab title="YAML">
|
||||
```yaml title="config.yaml"
|
||||
name: My Config
|
||||
|
|
@ -166,17 +144,6 @@ For the best local, offline Chat experience, you will want to use a model that i
|
|||
If your local machine can run an 8B parameter model, then we recommend running Llama 3.1 8B on your machine (e.g. using [Ollama](../model-providers/top-level/ollama) or [LM Studio](../model-providers/top-level/lmstudio)).
|
||||
|
||||
<Tabs>
|
||||
<Tab title="Hub">
|
||||
<Tabs>
|
||||
<Tab title="Ollama">
|
||||
Add the [Ollama Llama 3.1 8b block](https://continue.dev/ollama/llama3.1-8b) from the hub
|
||||
</Tab>
|
||||
{/* HUB_TODO nonexistent block */}
|
||||
{/* <Tab title="LM Studio">
|
||||
Add the [LM Studio Llama 3.1 8b block](https://continue.dev/explore/models) from the hub
|
||||
</Tab> */}
|
||||
</Tabs>
|
||||
</Tab>
|
||||
<Tab title="YAML">
|
||||
<Tabs>
|
||||
<Tab title="Ollama">
|
||||
|
|
@ -224,17 +191,6 @@ If your local machine can run an 8B parameter model, then we recommend running L
|
|||
If your local machine can run a 16B parameter model, then we recommend running DeepSeek Coder 2 16B (e.g. using [Ollama](../model-providers/top-level/ollama) or [LM Studio](../model-providers/top-level/lmstudio)).
|
||||
|
||||
<Tabs>
|
||||
{/* HUB_TODO nonexistent blocks */}
|
||||
{/* <Tab title="Hub">
|
||||
<Tabs>
|
||||
<Tab title="Ollama">
|
||||
Add the [Ollama Deepseek Coder 2 16B block](https://continue.dev/explore/models) from the hub
|
||||
</Tab>
|
||||
<Tab title="LM Studio">
|
||||
Add the [LM Studio Deepseek Coder 2 16B block](https://continue.dev/explore/models) from the hub
|
||||
</Tab>
|
||||
</Tabs>
|
||||
</Tab> */}
|
||||
<Tab title="YAML">
|
||||
<Tabs>
|
||||
<Tab title="Ollama">
|
||||
|
|
|
|||
|
|
@ -32,9 +32,6 @@ If you want to generate embeddings locally, we recommend using `nomic-embed-text
|
|||
After obtaining an API key from [here](https://www.voyageai.com/), you can configure like this:
|
||||
|
||||
<Tabs>
|
||||
<Tab title="Hub">
|
||||
[Voyage Code 3 Embedder Block](https://continue.dev/voyageai/voyage-code-3)
|
||||
</Tab>
|
||||
<Tab title="YAML">
|
||||
```yaml title="config.yaml"
|
||||
name: My Config
|
||||
|
|
@ -101,10 +98,6 @@ See [here](../model-providers/top-level/ollama) for instructions on how to use O
|
|||
[Hugging Face Text Embeddings Inference](https://huggingface.co/docs/text-embeddings-inference/en/index) enables you to host your own embeddings endpoint. You can configure embeddings to use your endpoint as follows:
|
||||
|
||||
<Tabs>
|
||||
{/* HUB_TODO nonexistent block */}
|
||||
{/* <Tab title="Hub">
|
||||
[HuggingFace Text Embedder Block](https://continue.dev/)
|
||||
</Tab> */}
|
||||
<Tab title="YAML">
|
||||
```yaml title="config.yaml"
|
||||
name: My Config
|
||||
|
|
|
|||
|
|
@ -22,16 +22,6 @@ If you have the ability to use any model, we recommend `rerank-2` by Voyage AI,
|
|||
Voyage AI offers the best reranking model for code with their `rerank-2` model. After obtaining an API key from [here](https://www.voyageai.com/), you can configure a reranker as follows:
|
||||
|
||||
<Tabs>
|
||||
<Tab title="Hub">
|
||||
```yaml title="config.yaml"
|
||||
name: My Config
|
||||
version: 0.0.1
|
||||
schema: v1
|
||||
|
||||
models:
|
||||
- uses: voyageai/rerank-2
|
||||
```
|
||||
</Tab>
|
||||
<Tab title="YAML">
|
||||
```yaml title="config.yaml"
|
||||
name: My Config
|
||||
|
|
@ -54,10 +44,6 @@ Voyage AI offers the best reranking model for code with their `rerank-2` model.
|
|||
See Cohere's documentation for rerankers [here](https://docs.cohere.com/docs/rerank-2).
|
||||
|
||||
<Tabs>
|
||||
{/* HUB_TODO block doesn't exist */}
|
||||
{/* <Tab title="Hub">
|
||||
[Cohere Reranker English v3](https://continue.dev/)
|
||||
</Tab> */}
|
||||
<Tab title="YAML">
|
||||
```yaml title="config.yaml"
|
||||
name: My Config
|
||||
|
|
@ -80,10 +66,6 @@ See Cohere's documentation for rerankers [here](https://docs.cohere.com/docs/rer
|
|||
If you only have access to a single LLM, then you can use it as a reranker. This is discouraged unless truly necessary, because it will be much more expensive and still less accurate than any of the above models trained specifically for the task. Note that this will not work if you are using a local model, for example with Ollama, because too many parallel requests need to be made.
|
||||
|
||||
<Tabs>
|
||||
{/* HUB_TODO block doesn't exist */}
|
||||
{/* <Tab title="Hub">
|
||||
[GPT-4o LLM Reranker Block](https://continue.dev/)
|
||||
</Tab> */}
|
||||
<Tab title="YAML">
|
||||
```yaml title="config.yaml"
|
||||
name: My Config
|
||||
|
|
@ -107,10 +89,6 @@ If you only have access to a single LLM, then you can use it as a reranker. This
|
|||
[Hugging Face Text Embeddings Inference](https://huggingface.co/docs/text-embeddings-inference/en/index) enables you to host your own [reranker endpoint](https://huggingface.github.io/text-embeddings-inference/#/Text%20Embeddings%20Inference/rerank). You can configure your reranker as follows:
|
||||
|
||||
<Tabs>
|
||||
{/* HUB_TODO */}
|
||||
{/* <Tab title="Hub">
|
||||
[HuggingFace TEI Reranker block](https://continue.dev/)
|
||||
</Tab> */}
|
||||
<Tab title="YAML">
|
||||
```yaml title="config.yaml"
|
||||
name: My Config
|
||||
|
|
|
|||
|
|
@ -1,49 +0,0 @@
|
|||
---
|
||||
title: "Telemetry"
|
||||
description: "Learn about Continue's anonymous telemetry collection practices, what usage data is tracked, and how to opt out of data collection to maintain your privacy preferences"
|
||||
---
|
||||
|
||||
## Overview
|
||||
|
||||
The open-source Continue Extensions collect and report **anonymous** usage information to help us improve our product. This data enables us to understand user interactions and optimize the user experience effectively. You can opt out of telemetry collection at any time if you prefer not to share your usage information.
|
||||
|
||||
We utilize [Posthog](https://posthog.com/), an open-source platform for product analytics, to gather and store this data. For transparency, you can review the implementation code [here](https://github.com/continuedev/continue/blob/main/gui/src/hooks/CustomPostHogProvider.tsx) or read our [official privacy policy](https://continue.dev/privacy).
|
||||
|
||||
## Tracking Policy
|
||||
|
||||
All data collected by the open-source Continue extensions is anonymized and stripped of personally identifiable information (PII) before being sent to PostHog. We are committed to maintaining the privacy and security of your data.
|
||||
|
||||
## What We Track
|
||||
|
||||
The following usage information is collected and reported:
|
||||
|
||||
- **Suggestion Interactions:** Whether you accept or reject suggestions (excluding the actual code or prompts involved).
|
||||
- **Model and Command Information:** The name of the model and command used.
|
||||
- **Token Metrics:** The number of tokens generated.
|
||||
- **System Information:** The name of your operating system (OS) and integrated development environment (IDE).
|
||||
- **Pageviews:** General pageview statistics.
|
||||
|
||||
## How to Opt Out
|
||||
|
||||
### IDE extensions
|
||||
|
||||
You can disable anonymous telemetry by toggling "Allow Anonymous Telemetry" off in the user settings.
|
||||
|
||||
#### VS Code
|
||||
|
||||
Alternatively in VS Code, you can disable telemetry through your VS Code settings by unchecking the "Continue: Telemetry Enabled" box (this will override the Settings Page settings). VS Code settings can be accessed with `File` > `Preferences` > `Settings` (or use the keyboard shortcut `ctrl` + `,` on Windows/Linux or `cmd` + `,` on macOS).
|
||||
|
||||
### CLI
|
||||
|
||||
For `cn`, the Continue CLI, set the environment variable `CONTINUE_TELEMETRY_ENABLED=0` before running commands:
|
||||
|
||||
```bash
|
||||
export CONTINUE_TELEMETRY_ENABLED=0
|
||||
cn <your prompt>
|
||||
```
|
||||
|
||||
Or run it inline:
|
||||
|
||||
```bash
|
||||
CONTINUE_TELEMETRY_ENABLED=0 cn <your prompt>
|
||||
```
|
||||
|
|
@ -10,47 +10,6 @@
|
|||
"favicon": "/favicon.png",
|
||||
"navigation": {
|
||||
"tabs": [
|
||||
{
|
||||
"tab": "Checks",
|
||||
"groups": [
|
||||
{
|
||||
"group": "Getting Started",
|
||||
"icon": "rocket-launch",
|
||||
"pages": [
|
||||
"index",
|
||||
"checks/quickstart",
|
||||
"checks/running-locally",
|
||||
"checks/running-in-ci"
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "Writing Checks",
|
||||
"icon": "pencil",
|
||||
"pages": [
|
||||
"checks/generating-checks",
|
||||
"checks/best-practices",
|
||||
"checks/iterating",
|
||||
"checks/reference"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"tab": "CLI",
|
||||
"groups": [
|
||||
{
|
||||
"group": "CLI",
|
||||
"icon": "terminal",
|
||||
"pages": [
|
||||
"cli/quickstart",
|
||||
"cli/tui-mode",
|
||||
"cli/headless-mode",
|
||||
"cli/configuration",
|
||||
"cli/tool-permissions"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"tab": "IDE Extensions",
|
||||
"groups": [
|
||||
|
|
@ -188,8 +147,7 @@
|
|||
"customize/deep-dives/custom-providers",
|
||||
"customize/deep-dives/model-capabilities"
|
||||
]
|
||||
},
|
||||
"customize/telemetry"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -226,35 +184,33 @@
|
|||
"group": "Help",
|
||||
"icon": "book-open",
|
||||
"expanded": false,
|
||||
"pages": ["faqs", "troubleshooting", "CONTRIBUTING"]
|
||||
"pages": ["faqs", "troubleshooting"]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"tab": "CLI",
|
||||
"groups": [
|
||||
{
|
||||
"group": "CLI",
|
||||
"icon": "terminal",
|
||||
"pages": [
|
||||
"cli/quickstart",
|
||||
"cli/tui-mode",
|
||||
"cli/headless-mode",
|
||||
"cli/configuration",
|
||||
"cli/tool-permissions"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"global": {
|
||||
"anchors": [
|
||||
{
|
||||
"anchor": "About Us",
|
||||
"href": "https://continue.dev/about-us",
|
||||
"icon": "book-open"
|
||||
},
|
||||
{
|
||||
"anchor": "Blog",
|
||||
"href": "https://continue.dev/blog",
|
||||
"icon": "newspaper"
|
||||
},
|
||||
{
|
||||
"anchor": "Changelog",
|
||||
"href": "https://changelog.continue.dev/",
|
||||
"icon": "bullhorn"
|
||||
}
|
||||
]
|
||||
}
|
||||
"global": {}
|
||||
},
|
||||
"logo": {
|
||||
"light": "/logo/light.svg",
|
||||
"dark": "/logo/dark.svg",
|
||||
"href": "https://continue.dev"
|
||||
"href": "https://docs.continue.dev"
|
||||
},
|
||||
"background": {
|
||||
"color": {
|
||||
|
|
@ -262,12 +218,6 @@
|
|||
}
|
||||
},
|
||||
"navbar": {
|
||||
"links": [
|
||||
{
|
||||
"label": "🚀 Get Started",
|
||||
"href": "https://continue.dev/"
|
||||
}
|
||||
],
|
||||
"primary": {
|
||||
"type": "github",
|
||||
"href": "https://github.com/continuedev/continue"
|
||||
|
|
@ -1260,10 +1210,6 @@
|
|||
"source": "/getting-started/quick-start",
|
||||
"destination": "/ide-extensions/quick-start"
|
||||
},
|
||||
{
|
||||
"source": "/guides/run-agents-locally",
|
||||
"destination": "/checks/running-locally"
|
||||
},
|
||||
{
|
||||
"source": "/overview",
|
||||
"destination": "/"
|
||||
|
|
|
|||
|
|
@ -315,4 +315,4 @@ If you'd like to perform a clean reset of the extension, including removing all
|
|||
|
||||
## Still having trouble?
|
||||
|
||||
You can also join [GitHub Discussions](https://github.com/continuedev/continue/discussions) for additional support. Alternatively, you can create a GitHub issue [here](https://github.com/continuedev/continue/issues/new?assignees=&labels=bug&projects=&template=bug-report-%F0%9F%90%9B.md&title=), providing details of your problem, and we'll be able to help you out more quickly.
|
||||
You can create a GitHub issue [here](https://github.com/continuedev/continue/issues/new?assignees=&labels=bug&projects=&template=bug-report-%F0%9F%90%9B.md&title=), providing details of your problem, and we'll be able to help you out more quickly.
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
---
|
||||
title: "Understanding Configs"
|
||||
description: "Continue offers two ways to configure your AI agents"
|
||||
---
|
||||
|
||||
This content has moved to our comprehensive guide: [Understanding Hub vs Local Configuration](/guides/understanding-configs)
|
||||
|
|
@ -86,14 +86,8 @@ cn --ask Bash(curl*)
|
|||
cn --exclude Fetch
|
||||
```
|
||||
|
||||
## API Key Authentication
|
||||
|
||||
For automation in CI or other headless environments, you can use an API key to authenticate with Continue. First, obtain your personal API key [here](https://continue.dev/settings/api-keys). Then, set it as the `CONTINUE_API_KEY` environment variable. You can now use `cn -p` (headless mode) without needing to log in.
|
||||
|
||||
If you wish to run an automation on behalf of your organization you can obtain an organization-scoped API key by going to [your organization's settings](https://continue.dev/settings/organizations) -> API Keys.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
Run `cn` with the `--verbose` flag to see more detailed logs. These will be output to `~/.continue/logs/cn.log`.
|
||||
|
||||
If you have feedback on the beta, please [leave feedback in the GitHub discussion](https://github.com/continuedev/continue/discussions/7307).
|
||||
If you have feedback on the beta, please [file a GitHub issue](https://github.com/continuedev/continue/issues).
|
||||
|
|
|
|||
|
|
@ -28,8 +28,8 @@ There are two places where you can define these configurations:
|
|||
Custom configurations you create and manage in your workspace or globally
|
||||
</Card>
|
||||
|
||||
<Card title="Community" icon="cloud">
|
||||
Pre-built models, rules, and tools from the Continue community that you can import and use
|
||||
<Card title="Shared" icon="cloud">
|
||||
Pre-built models, rules, and tools that you can import and use
|
||||
</Card>
|
||||
</Columns>
|
||||
|
||||
|
|
@ -50,7 +50,7 @@ Perfect for project-specific setups like TypeScript rules for web apps or the Pl
|
|||
|
||||
</Columns>
|
||||
|
||||
## Community Blocks
|
||||
## Shared Blocks
|
||||
|
||||
Continue uses a slug in the format of `owner/item-name` to resolve blocks.
|
||||
|
||||
|
|
@ -174,6 +174,5 @@ models:
|
|||
Now that you understand how models, rules, and tools work, explore:
|
||||
|
||||
- **[Config Reference](/reference)**: Detailed documentation of all available properties
|
||||
- **[Continue Community](https://continue.dev)**: Browse community models, rules, and tools
|
||||
- **[Custom Context Providers](/customize/deep-dives/custom-providers)**: Create advanced context integrations
|
||||
- **[Model Roles](/customize/model-roles/intro)**: Understanding how different models work together
|
||||
|
|
|
|||
|
|
@ -514,9 +514,6 @@ Want to create documentation MCPs for your own projects? Mintlify makes it easy:
|
|||
- [MCP Generation Guide](https://www.mintlify.com/blog/generate-mcp-servers-for-your-docs)
|
||||
- [Mintlify Documentation](https://mintlify.com/docs)
|
||||
|
||||
### Community
|
||||
- [GitHub Discussions](https://github.com/continuedev/continue/discussions)
|
||||
|
||||
---
|
||||
|
||||
## Next Steps
|
||||
|
|
@ -534,7 +531,4 @@ Want to create documentation MCPs for your own projects? Mintlify makes it easy:
|
|||
See cookbook examples
|
||||
</Card>
|
||||
|
||||
<Card title="Join Discussions" icon="comments" href="https://github.com/continuedev/continue/discussions">
|
||||
Get help from community
|
||||
</Card>
|
||||
</CardGroup>
|
||||
|
|
|
|||
|
|
@ -494,17 +494,8 @@ After completing this setup, you have an **AI-powered code review system** that:
|
|||
<Card title="Continue CLI Guide" icon="terminal" href="/guides/cli">
|
||||
Learn more about Continue CLI capabilities
|
||||
</Card>
|
||||
<Card title="Continue" icon="globe" href="https://continue.dev">
|
||||
Browse community configs and resources
|
||||
</Card>
|
||||
<Card title="Rules Documentation" icon="book" href="/customize/deep-dives/rules">
|
||||
Deep dive into custom rules
|
||||
</Card>
|
||||
</CardGroup>
|
||||
|
||||
## Community Examples
|
||||
|
||||
Share your pull request review bot configuration:
|
||||
- Tweet your setup with `#ContinueDev`
|
||||
- Share improvements as [GitHub discussions](https://github.com/continuedev/continue/discussions)
|
||||
- Contribute example rules to the docs
|
||||
|
|
|
|||
|
|
@ -705,7 +705,6 @@ The Netlify Performance Rules enforce:
|
|||
- Install the Netlify MCP in your Continue configuration
|
||||
- Set up [Performance Monitoring](https://docs.netlify.com/analytics/get-started/)
|
||||
- Configure [A/B Testing](https://docs.netlify.com/split-testing/overview/)
|
||||
- Join the [GitHub Discussions](https://github.com/continuedev/continue/discussions) for support
|
||||
|
||||
## Resources
|
||||
|
||||
|
|
|
|||
|
|
@ -338,7 +338,6 @@ Consider enhancing your workflow with these advanced Continue CLI prompts:
|
|||
|
||||
- Consider GitHub MCP as an alternative (note: can be token-expensive)
|
||||
- Set up [PostHog performance monitoring](https://posthog.com/docs/web-analytics)
|
||||
- Join the [GitHub Discussions](https://github.com/continuedev/continue/discussions) for support
|
||||
|
||||
## Resources
|
||||
|
||||
|
|
|
|||
|
|
@ -468,7 +468,6 @@ See the [Sentry MCP GitHub Issues](https://github.com/getsentry/sentry-mcp/issue
|
|||
|
||||
- Set up [Sentry performance monitoring](https://docs.sentry.io/product/performance/)
|
||||
- Configure [Sentry release tracking](https://docs.sentry.io/product/releases/) for deployment correlation
|
||||
- Join the [GitHub Discussions](https://github.com/continuedev/continue/discussions) for support
|
||||
|
||||
## Resources
|
||||
|
||||
|
|
|
|||
|
|
@ -503,7 +503,6 @@ If you encounter connection issues:
|
|||
- Set up [Supabase Edge Functions](https://supabase.com/docs/guides/functions) for automated workflows
|
||||
- Configure [Supabase Realtime](https://supabase.com/docs/guides/realtime) for live data monitoring
|
||||
- Implement [Database Webhooks](https://supabase.com/docs/guides/database/webhooks) for event-driven automation
|
||||
- Join the [GitHub Discussions](https://github.com/continuedev/continue/discussions) for support
|
||||
|
||||
## Resources
|
||||
|
||||
|
|
|
|||
|
|
@ -140,8 +140,7 @@ Continue automatically enables Next Edit when:
|
|||
</Card>
|
||||
|
||||
<Card title="Provide Feedback" icon="message">
|
||||
Have feedback? We want to hear it. __[Add your thoughts to our feedback
|
||||
discussions](https://github.com/continuedev/continue/discussions/categories/feedback)__
|
||||
Have feedback? We want to hear it. __[File an issue on GitHub](https://github.com/continuedev/continue/issues)__
|
||||
to help us improve.
|
||||
</Card>
|
||||
|
||||
|
|
|
|||
|
|
@ -33,14 +33,10 @@ The Continue logo will appear on the left sidebar. For a better experience, move
|
|||
|
||||
</Step>
|
||||
|
||||
<Step title="Sign In">
|
||||
[Sign in to Continue](https://auth.continue.dev/) to get started
|
||||
</Step>
|
||||
</Steps>
|
||||
|
||||
<Info>
|
||||
If you have any problems, see the [troubleshooting guide](/troubleshooting) or
|
||||
ask for help in [GitHub Discussions](https://github.com/continuedev/continue/discussions)
|
||||
If you have any problems, see the [troubleshooting guide](/troubleshooting).
|
||||
</Info>
|
||||
|
||||
</Tab>
|
||||
|
|
@ -61,23 +57,12 @@ Click `Install`, which will cause the Continue logo to show up on the right tool
|
|||
|
||||

|
||||
|
||||
</Step>
|
||||
|
||||
<Step title="Sign In">
|
||||
[Sign in to Continue](https://auth.continue.dev/) to get started
|
||||
</Step>
|
||||
</Steps>
|
||||
|
||||
<Info>
|
||||
If you have any problems, see the [troubleshooting guide](/troubleshooting) or
|
||||
ask for help in [GitHub Discussions](https://github.com/continuedev/continue/discussions)
|
||||
If you have any problems, see the [troubleshooting guide](/troubleshooting).
|
||||
</Info>
|
||||
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Signing in
|
||||
|
||||
Click "Get started" to sign in to Continue and get started.
|
||||
|
||||

|
||||
|
|
|
|||
|
|
@ -283,13 +283,6 @@ Congratulations! You've experienced all four core Continue features. Here's what
|
|||
>
|
||||
Connect your preferred AI models and providers
|
||||
</Card>
|
||||
<Card
|
||||
title="Join Community"
|
||||
icon="users"
|
||||
href="https://github.com/continuedev/continue/discussions"
|
||||
>
|
||||
Get help and share experiences with other Continue users
|
||||
</Card>
|
||||
</CardGroup>
|
||||
|
||||
---
|
||||
|
|
@ -317,7 +310,5 @@ Ready to master specific features? Check out these detailed guides:
|
|||
</AccordionGroup>
|
||||
|
||||
<Info>
|
||||
**Need help?** Check our [troubleshooting guide](/troubleshooting) or ask a
|
||||
question in our [community
|
||||
discussions](https://github.com/continuedev/continue/discussions).
|
||||
**Need help?** Check our [troubleshooting guide](/troubleshooting).
|
||||
</Info>
|
||||
|
|
|
|||
|
|
@ -1,35 +1,14 @@
|
|||
---
|
||||
title: "What is Continue?"
|
||||
description: "Open source AI code assistant for VS Code and JetBrains"
|
||||
---
|
||||
|
||||
Continue runs AI checks on every pull request. Each check is a markdown file in your repo that shows up as a GitHub status check — green if the code looks good, red with a suggested fix if not.
|
||||
**Continue enables developers to create, share, and use custom AI code agents with our open source [VS Code](https://marketplace.visualstudio.com/items?itemName=Continue.continue) and [JetBrains](https://plugins.jetbrains.com/plugin/22707-continue-extension) extensions.**
|
||||
|
||||
<video autoPlay muted loop playsInline className="rounded-xl" src="https://continue.dev/videos/demo.mp4" />
|
||||
## Key Features
|
||||
|
||||
## Quickstart
|
||||
|
||||
1. Go to [continue.dev/check](https://continue.dev/check) to run checks on a pull request.
|
||||
|
||||
## How it works
|
||||
|
||||
You define checks as markdown files in `.continue/checks/`. Each file has a name, a description, and a prompt that tells the AI what to look for.
|
||||
|
||||
```markdown .continue/checks/security-review.md
|
||||
---
|
||||
name: Security Review
|
||||
description: Flag hardcoded secrets and missing input validation
|
||||
---
|
||||
|
||||
Review this pull request for security issues.
|
||||
|
||||
Flag as failing if any of these are true:
|
||||
|
||||
- Hardcoded API keys, tokens, or passwords in source files
|
||||
- New API endpoints without input validation
|
||||
- SQL queries built with string concatenation
|
||||
- Sensitive data logged to stdout
|
||||
|
||||
If none of these issues are found, pass the check.
|
||||
```
|
||||
|
||||
When a PR is opened, Continue runs each check against the diff and reports the result as a GitHub status check. If a check fails, it suggests a fix you can accept or reject directly from GitHub.
|
||||
- [Agent mode](/ide-extensions/agent/quick-start) to work on development tasks together with AI
|
||||
- [Chat mode](/ide-extensions/chat/quick-start) to ask general questions and clarify code sections
|
||||
- [Edit mode](/ide-extensions/edit/quick-start) to modify code sections without leaving your current file
|
||||
- [Autocomplete](/ide-extensions/autocomplete/quick-start) to receive inline code suggestions as you type
|
||||
- [Continue CLI (cn)](/cli/quickstart) for terminal-native AI coding assistance
|
||||
|
|
|
|||
|
|
@ -86,13 +86,6 @@ Learn more about [extension features](https://docs.continue.dev/ide-extensions/q
|
|||
## Resources
|
||||
|
||||
<CardGroup cols={2}>
|
||||
<Card
|
||||
title="GitHub Discussions"
|
||||
icon="comments"
|
||||
href="https://github.com/continuedev/continue/discussions"
|
||||
>
|
||||
Get help from the community
|
||||
</Card>
|
||||
<Card
|
||||
title="GitHub Repository"
|
||||
icon="github"
|
||||
|
|
|
|||
765
docs/package-lock.json
generated
765
docs/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -18,6 +18,7 @@
|
|||
"dependencies": {
|
||||
"@c15t/react": "^1.8.2",
|
||||
"axios": "^1.13.5",
|
||||
"sharp": "^0.34.5",
|
||||
"tar-fs": "^3.1.1"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -107,4 +107,4 @@ This issue typically affects macOS users with large development environments and
|
|||
|
||||
## Still having trouble?
|
||||
|
||||
You can also join [GitHub Discussions](https://github.com/continuedev/continue/discussions) for additional support and discussions. Alternatively, you can create a GitHub issue [here](https://github.com/continuedev/continue/issues/new?assignees=&labels=bug&projects=&template=bug-report-%F0%9F%90%9B.md&title=), providing details of your problem, and we'll be able to help you out more quickly.
|
||||
You can create a GitHub issue [here](https://github.com/continuedev/continue/issues/new?assignees=&labels=bug&projects=&template=bug-report-%F0%9F%90%9B.md&title=), providing details of your problem, and we'll be able to help you out more quickly.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue