Add Claude engine examples to reference documentation#54099
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Adds Claude variants to engine-agnostic reference documentation to prevent unintended Copilot fallback.
Changes:
- Adds Claude examples for imports and Serena.
- Documents Claude-compatible threat detection and feature flags.
Show a summary per file
| File | Description |
|---|---|
reference/imports.md |
Adds Claude import examples. |
reference/serena.md |
Adds Claude Serena workflows. |
reference/threat-detection.md |
Adds Claude threat-detection configurations. |
reference/feature-flags.md |
Adds Claude feature-flag examples. |
Review details
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Suppressed comments (1)
docs/src/content/docs/reference/threat-detection.md:404
- The nested engine config changes only the detector. Without a top-level
engine: claude, the copied workflow's main agent defaults to Copilot, so this Claude equivalent still creates a mixed Copilot/Claude workflow. Include the main engine selection in the snippet.
safe-outputs:
create-pull-request:
threat-detection:
steps:
- name: Connect to AI Gateway
- Files reviewed: 4/4 changed files
- Comments generated: 2
- Review effort level: Balanced
| - .github/agents/code-reviewer.md # local | ||
| - githubnext/shared-agents/.github/agents/security-reviewer.md@v1.0.0 # remote, pinned |
|
@copilot This PR still needs a maintainer-facing finish pass. Current blockers:
|
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Fixed the Claude threat-detection examples to set top-level |
Engine-agnostic reference pages presented Copilot-only examples, leaving Claude users without copyable workflows and exposing them to silent engine fallback.
engine: claudevariants for imports and Serena examples.