Skip to content

Conversation

fs-projects
Copy link

@fs-projects fs-projects commented Aug 31, 2025

Removed tool keys from tools array. These tool keys were flagged unknown as these aren't available in tools list in agent mode.

Pull Request

Type of Change

  • New Custom Chat Mode
  • New Prompt File
  • Update Existing Chat Mode
  • Update Existing Prompt File
  • MCP Server Configuration
  • Documentation Update
  • Bug Fix
  • Other (specify below)

Asset Details

For New/Updated Chat Modes

  • Chat Mode Name:
  • Target Domain/Technology:
  • Tools Required:

For New/Updated Prompt Files

  • Prompt File Name:
  • Prompt Mode:
  • Target Use Case:

Description

Testing

Examples

Sample Usage

<!-- For Chat Modes: Show a typical interaction -->
<!-- For Prompt Files: Show input variables and expected output -->

Expected Behavior

Quality Checklist

  • I have read the contributing guidelines
  • My contribution follows the repository's file naming conventions
  • I have included proper YAML front matter (for .chatmode.md and .prompt.md files)
  • I have tested my contribution in VS Code with GitHub Copilot
  • My chat mode includes appropriate tools for its functionality
  • My prompt file uses proper variable syntax (${input:VariableName})
  • I have provided clear examples and use cases
  • I have updated the README.md if adding a new asset
  • My contribution is self-contained and well-documented

Compatibility and Standards

  • My contribution follows GitHub Copilot best practices
  • I have considered accessibility and usability
  • My content uses professional, inclusive language
  • I have avoided proprietary or organization-specific information
  • My contribution works across different development environments

Community Value

Related Issues

Additional Notes


This change is Reviewable

@Copilot Copilot AI review requested due to automatic review settings August 31, 2025 16:55
@fs-projects fs-projects requested a review from PlagueHO as a code owner August 31, 2025 16:55
Copy link

@Copilot 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 PR removes invalid tool keys from the tools arrays across multiple prompt and chatmode files. The removed tools were flagged as unknown and are not available in agent mode according to GitHub Copilot's current tool list.

Key changes:

  • Removed deprecated/invalid tool names from tools arrays in prompt files
  • Removed deprecated/invalid tool names from tools arrays in chatmode files
  • Maintained consistent tool arrays across similar file types

Reviewed Changes

Copilot reviewed 46 out of 46 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
prompts/update-markdown-file-index.prompt.md Removed 'runTests' tool from tools array
prompts/update-avm-modules-in-bicep.prompt.md Removed 'think', 'todos', 'bicepschema', 'azure_get_schema_for_Bicep' tools
prompts/suggest-github-copilot-prompts.prompt.md Removed 'runTests', 'github' tools
prompts/suggest-github-copilot-chatmodes.prompt.md Removed 'runTests', 'github' tools
prompts/suggest-awesome-github-copilot-prompts.prompt.md Removed 'runTests', 'github' tools
prompts/suggest-awesome-github-copilot-chatmodes.prompt.md Removed 'runTests', 'github' tools
prompts/review-aac-multitenant-service-specific-guidance.prompt.md Removed 'think', 'todos', 'Microsoft Docs' tools
prompts/next-intl-add-language.prompt.md Removed 'writeTest' tool
prompts/my-pull-requests.prompt.md Removed GitHub-specific API tools like 'github', 'get_me', 'get_pull_request' etc.
prompts/my-issues.prompt.md Removed GitHub-specific API tools like 'github', 'get_issue', 'get_me' etc.
prompts/create-spring-boot-kotlin-project.prompt.md Removed 'runTests' tool
prompts/create-spring-boot-java-project.prompt.md Removed 'runTests' tool
prompts/create-github-issues-for-unmet-specification-requirements.prompt.md Removed GitHub API tools like 'github', 'create_issue', 'search_issues', 'update_issue'
prompts/create-github-issues-feature-from-implementation-plan.prompt.md Removed GitHub API tools like 'github', 'create_issue', 'search_issues', 'update_issue'
prompts/create-github-issue-feature-from-specification.prompt.md Removed GitHub API tools like 'github', 'create_issue', 'search_issues', 'update_issue'
prompts/create-github-action-workflow-specification.prompt.md Removed deprecated tools like 'runInTerminal2', 'microsoft.docs.mcp', 'github', 'Microsoft Docs'
Multiple chatmode files Removed various deprecated tools including 'github', 'microsoft.docs.mcp', 'Microsoft Docs', 'think', 'todos', database-specific tools, etc.

mode: 'agent'
description: 'Update Azure Verified Modules (AVM) to latest versions in Bicep files.'
tools: ['codebase', 'think', 'changes', 'fetch', 'searchResults', 'todos', 'editFiles', 'search', 'runCommands', 'bicepschema', 'azure_get_schema_for_Bicep']
tools: ['codebase', 'changes', 'fetch', 'searchResults','editFiles', 'search', 'runCommands']
Copy link
Preview

Copilot AI Aug 31, 2025

Choose a reason for hiding this comment

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

Missing space after comma between 'searchResults' and 'editFiles' in the tools array. This should be consistent with other spacing in the array.

Suggested change
tools: ['codebase', 'changes', 'fetch', 'searchResults','editFiles', 'search', 'runCommands']
tools: ['codebase', 'changes', 'fetch', 'searchResults', 'editFiles', 'search', 'runCommands']

Copilot uses AI. Check for mistakes.

Comment on lines 3 to 4
description: 'Suggest relevant GitHub Copilot prompt files from a GitHub repository based on current repository context and chat history, avoiding duplicates with existing prompts in this repository.
'tools: ['changes', 'codebase', 'editFiles', 'fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runTasks', 'runTests', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'testFailure', 'usages', 'vscodeAPI', 'github']
'tools: ['changes', 'codebase', 'editFiles', 'fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runTasks', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'testFailure', 'usages', 'vscodeAPI']
Copy link
Preview

Copilot AI Aug 31, 2025

Choose a reason for hiding this comment

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

The description field spans multiple lines and ends with a newline character before the closing quote, which is inconsistent with single-line descriptions in other files. The description should be contained on a single line.

Copilot uses AI. Check for mistakes.

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.

1 participant