Skip to content

Conversation

@pwang347
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings January 27, 2026 23:25
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds an experimental configuration option for a stronger skill adherence prompt that encourages language models to immediately invoke skills when relevant rather than just announcing them. The change is designed to improve the quality of model outputs by providing more detailed guidance and examples for skill usage.

Changes:

  • Added new configuration constant USE_SKILL_ADHERENCE_PROMPT for controlling the experimental feature
  • Implemented conditional prompt generation logic that switches between standard and enhanced skill adherence prompts based on the configuration
  • Registered the new configuration option with proper experimental flags and localized descriptions

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/vs/workbench/contrib/chat/common/promptSyntax/config/config.ts Added new configuration constant USE_SKILL_ADHERENCE_PROMPT with JSDoc documentation
src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.ts Implemented conditional logic to switch between standard and enhanced skill adherence prompts based on configuration value
src/vs/workbench/contrib/chat/browser/chat.contribution.ts Registered the new configuration option with UI labels, descriptions, experimental tags, and auto experiment mode
Comments suppressed due to low confidence (1)

src/vs/workbench/contrib/chat/browser/chat.contribution.ts:834

  • The trailing comma after the closing parenthesis of nls.localize() is inconsistent with the coding style used elsewhere in this file. Most configuration entries omit this trailing comma (e.g., lines 152, 159, 196, 202). Remove the trailing comma for consistency.
			title: nls.localize('chat.useSkillAdherencePrompt.title', "Use Skill Adherence Prompt",),

@pwang347 pwang347 marked this pull request as ready for review January 28, 2026 00:02
@vs-code-engineering vs-code-engineering bot added this to the January 2026 milestone Jan 28, 2026
@pwang347 pwang347 merged commit c73f3da into main Jan 28, 2026
22 checks passed
@pwang347 pwang347 deleted the pawang/skillAdherencePrompts branch January 28, 2026 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants