Skip to content

improve /init#309031

Merged
aeschli merged 1 commit intomainfrom
aeschli/huge-meerkat-340
Apr 10, 2026
Merged

improve /init#309031
aeschli merged 1 commit intomainfrom
aeschli/huge-meerkat-340

Conversation

@aeschli
Copy link
Copy Markdown
Contributor

@aeschli aeschli commented Apr 10, 2026

Followup on #309020

Copilot AI review requested due to automatic review settings April 10, 2026 15:09
@aeschli aeschli enabled auto-merge (squash) April 10, 2026 15:09
@aeschli aeschli self-assigned this Apr 10, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: 6d3ab98d Current: 8601969e

Changed (1)

agentSessionsViewer/ApprovalRowLongLabel/Light
Before After
before after

Copy link
Copy Markdown
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

Updates the Copilot /init skill prompt to improve clarity and tighten the workflow guidance for generating/updating agent customization files (follow-up to the earlier generalization work in #309020).

Changes:

  • Clarifies the optional argument behavior and reinforces “customizations only” scope.
  • Improves wording/grammar around the invocation and completion instructions.
  • Updates workflow guidance text (including referencing the agent-customization skill).
Show a summary per file
File Description
extensions/copilot/assets/prompts/skills/init/SKILL.md Refines /init skill instructions and workflow wording for creating/updating customization files.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 2


3. **Generate or merge**
- New file: Prefern AGENTS.md over `.github/copilot-instructions.md`. If the user already has one of these files, update it instead of creating a new one. If both exist, update both.
- New file: Prefer AGENTS.md over `.github/copilot-instructions.md`. If the user already has one of these files, update it instead of creating a new one.
Copy link

Copilot AI Apr 10, 2026

Choose a reason for hiding this comment

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

Step 3 now omits guidance for the case where both AGENTS.md and .github/copilot-instructions.md are present. Without explicitly saying to update both (or explaining which one is authoritative), the /init workflow becomes ambiguous and may lead to only one file being updated, causing divergence.

Suggested change
- New file: Prefer AGENTS.md over `.github/copilot-instructions.md`. If the user already has one of these files, update it instead of creating a new one.
- Agent instructions file: If neither file exists, create `AGENTS.md` rather than `.github/copilot-instructions.md`. If exactly one of these files exists, update the existing file instead of creating a new one. If both `AGENTS.md` and `.github/copilot-instructions.md` exist, treat `AGENTS.md` as the authoritative file and update both files to keep them aligned.

Copilot uses AI. Check for mistakes.
Explore the codebase to get a good understanding of the project and its conventions, and then create or update the relevant chat customization files to help AI coding agents be productive in this codebase.

When complete, give the user table of the added or modified chat customization files, along with a short explanation why this file is useful for the AI coding agents.
When complete, print a table of the added or modified chat customization files, along with a short explanation why this file is useful to the AI coding agents.
Copy link

Copilot AI Apr 10, 2026

Choose a reason for hiding this comment

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

Minor grammar: “a short explanation why this file is useful…” reads awkwardly; consider “a short explanation of why this file is useful…”.

Suggested change
When complete, print a table of the added or modified chat customization files, along with a short explanation why this file is useful to the AI coding agents.
When complete, print a table of the added or modified chat customization files, along with a short explanation of why this file is useful to the AI coding agents.

Copilot uses AI. Check for mistakes.
@aeschli aeschli merged commit 504aa05 into main Apr 10, 2026
30 checks passed
@aeschli aeschli deleted the aeschli/huge-meerkat-340 branch April 10, 2026 15:32
@vs-code-engineering vs-code-engineering bot added this to the 1.116.0 milestone Apr 10, 2026
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