Skip to content

تعزيز تعليمات الإعداد لوكيل الترميز#17

Merged
Abdullah9990 merged 3 commits into
mainfrom
Abdullah9990-patch-3
Mar 28, 2026
Merged

تعزيز تعليمات الإعداد لوكيل الترميز#17
Abdullah9990 merged 3 commits into
mainfrom
Abdullah9990-patch-3

Conversation

@Abdullah9990

@Abdullah9990 Abdullah9990 commented Mar 28, 2026

Copy link
Copy Markdown
Owner
  • Read the review comments and current file state
  • Fix empty name/description in YAML front matter
  • Fix conflicting 2-page limit guidance in ProjectLayout section
  • Fix broken markdown list formatting in ProjectLayout and StepsToFollow
  • Remove stray bullet after StepsToFollow

⚡ Quickly spin up Copilot coding agent tasks from anywhere on your macOS or Windows machine with Raycast.

Expanded agent onboarding instructions to improve efficiency and reduce errors for coding agents. Added detailed sections on goals, limitations, build instructions, project layout, and steps to follow.
Copilot AI review requested due to automatic review settings March 28, 2026 07:36
@netlify

netlify Bot commented Mar 28, 2026

Copy link
Copy Markdown

Deploy Preview for resilient-mermaid-3e3f4f ready!

Name Link
🔨 Latest commit 01e8901
🔍 Latest deploy log https://app.netlify.com/projects/resilient-mermaid-3e3f4f/deploys/69c7878a7a49fd0008a9d0f3
😎 Deploy Preview https://deploy-preview-17--resilient-mermaid-3e3f4f.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@vercel

vercel Bot commented Mar 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
aa12-b3z3 Error Error Mar 28, 2026 7:47am
aa12-bi73 Ready Ready Preview, Comment Mar 28, 2026 7:47am
aa12-zufm Ready Ready Preview, Comment Mar 28, 2026 7:47am

@coderabbitai

coderabbitai Bot commented Mar 28, 2026

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

Added a new GitHub agent configuration file that instructs an AI agent to generate repository onboarding documentation (/.github/copilot-instructions.md), specifying goals, constraints, and the information to collect about codebase layout, build/test/lint commands, CI checks, and documentation inventory.

Changes

Cohort / File(s) Summary
GitHub Agent Configuration
​.github/agents/my-agent.agent.md
New agent template (YAML frontmatter + instructions) that directs an AI agent to produce a one-time copilot onboarding file detailing repo summary, build/test/lint/run commands with versions, project layout/architecture, CI/validation checks, and documentation/scripts inventory.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐇 I hopped through files with bright intent,
To leave clear maps the first day meant.
Short, kind, and trusty notes I penned,
So future coders find the end —
And start their work without lament.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title is in Arabic and translates to 'Enhancing setup instructions for a coding agent,' which directly aligns with the changeset that adds a GitHub Copilot agent configuration file with comprehensive onboarding instructions.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch Abdullah9990-patch-3

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bb4fd5658f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/agents/my-agent.agent.md Outdated
# For format details, see: https://gh.io/customagents/config

name:
description:

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Set required agent description in frontmatter

The YAML frontmatter leaves description empty, which parses as null instead of a string; GitHub’s custom agent schema marks description as a required string, so this profile can fail validation and not be loadable as a custom agent. Add a non-empty description value so the agent is discoverable and usable.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

@copilot

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/agents/my-agent.agent.md:
- Line 14: Update the product name casing in the documentation by replacing the
incorrect instance on line 14 of .github/agents/my-agent.agent.md with the
official "GitHub" capitalization; search for the current string (e.g., "Github"
or "github") in that file and replace it with "GitHub" to ensure consistency and
professionalism across the agent onboarding text.
- Around line 85-86: A duplicated trailing bullet ("- Document any errors
encountered as well as the steps taken to work-around them.") exists after the
closing </StepsToFollow> tag; remove that trailing line so the instruction only
appears inside the StepsToFollow section and ensure the closing tag
</StepsToFollow> directly follows the final intended bullet; look for the
StepsToFollow block and delete the repeated bullet outside it.
- Around line 7-8: The agent metadata file has empty name and description
fields; set meaningful values for the name and description keys in
.github/agents/my-agent.agent.md (populate the name field with a concise
human-readable agent name and the description field with a one-sentence summary
of the agent's purpose) to improve discoverability and follow GitHub
conventions.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 965ebdd9-858f-40f8-a3c9-3da942ff78a1

📥 Commits

Reviewing files that changed from the base of the PR and between 9e96b78 and bb4fd56.

📒 Files selected for processing (1)
  • .github/agents/my-agent.agent.md

Comment thread .github/agents/my-agent.agent.md Outdated
Comment on lines +7 to +8
name:
description:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🧹 Nitpick | 🔵 Trivial

🧩 Analysis chain

🌐 Web query:

For GitHub custom agents configuration files, are nameanddescription in frontmatter required to be non-empty values?

💡 Result:

No, name is not required to be non-empty (optional string, defaults to filename without extension if unset). description is required but official GitHub docs do not explicitly state it must be non-empty; however, it is consistently provided as a non-empty string in all examples, and creation instructions emphasize writing a "brief description explaining what your agent does". In VS Code custom agent validation tools, empty description triggers only a warning, not a failure. No sources confirm enforcement of non-empty values or report errors for empty strings.

Citations:


Consider populating name and description for clarity and consistency.

Empty name and description fields are technically permitted by the schema (name defaults to the filename if unset, and description has no explicit non-empty validation). However, GitHub's examples and creation guidance consistently show these fields populated with meaningful values. Filling them improves agent discoverability and follows established conventions.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/agents/my-agent.agent.md around lines 7 - 8, The agent metadata file
has empty name and description fields; set meaningful values for the name and
description keys in .github/agents/my-agent.agent.md (populate the name field
with a concise human-readable agent name and the description field with a
one-sentence summary of the agent's purpose) to improve discoverability and
follow GitHub conventions.

Comment thread .github/agents/my-agent.agent.md Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds a new GitHub Copilot custom agent definition intended to guide an “onboarding” flow for coding agents by describing what information to capture for .github/copilot-instructions.md.

Changes:

  • Added .github/agents/my-agent.agent.md with YAML front matter and a long-form prompt/template (Goals, Limitations, BuildInstructions, ProjectLayout, StepsToFollow).
  • Included guidance for collecting build/validation steps and project layout details to reduce future agent exploration.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/agents/my-agent.agent.md Outdated
Comment on lines +7 to +8
name:
description:

Copilot AI Mar 28, 2026

Copy link

Choose a reason for hiding this comment

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

description is required for custom agent configs, but it's currently empty/null in the YAML front matter. This will likely make the agent invalid/not load; set a non-empty description string (and optionally a name) before merging.

Suggested change
name:
description:
name: My Agent
description: "Onboards this repository to Copilot by guiding creation of .github/copilot-instructions.md"

Copilot uses AI. Check for mistakes.
Comment on lines +13 to +16
Describe what your agent does here.
Your task is to "onboard" this repository to Copilot coding agent by adding a .github/copilot-instructions.md file in the repository that contains information describing how a coding agent seeing it for the first time can work most efficiently.

You will do this task only one time per repository and doing a good job can SIGNIFICANTLY improve the quality of the agent's work, so take your time, think carefully, and search thoroughly before writing the instructions.

Copilot AI Mar 28, 2026

Copy link

Choose a reason for hiding this comment

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

The PR description says onboarding instructions were expanded, but this change only adds a custom agent template under .github/agents/ and does not add/update .github/copilot-instructions.md itself. If the intent is to provide repository onboarding instructions, those should live in .github/copilot-instructions.md (or the PR description should be adjusted to reflect that this is an agent definition).

Copilot uses AI. Check for mistakes.
Comment thread .github/agents/my-agent.agent.md Outdated
Comment on lines +64 to +65
- Finally, fill in any remaining space with detailed lists of the following, in order of priority: the list of files in the repo root, the
contents of the README, the contents of any key source files, the list of files in the next level down of directories, giving priority to the more structurally important and snippets of code from key source files, such as the one containing the main method.

Copilot AI Mar 28, 2026

Copy link

Choose a reason for hiding this comment

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

The <Limitations> section requires the generated instructions to be "no longer than 2 pages", but later guidance suggests including large inventories (root file lists, README contents, snippets from key source files). These requirements conflict and will push agents to violate the 2-page constraint; please tighten the guidance to fit within the stated limit (e.g., summarize and link/point to files instead of reproducing contents).

Suggested change
- Finally, fill in any remaining space with detailed lists of the following, in order of priority: the list of files in the repo root, the
contents of the README, the contents of any key source files, the list of files in the next level down of directories, giving priority to the more structurally important and snippets of code from key source files, such as the one containing the main method.
- Finally, within the 2-page limit, add concise summaries of where to find important resources (for example: key entry-point files, main README and docs locations, primary configuration directories), and briefly describe what they contain instead of listing every file or copying large contents. When helpful, reference paths (like `src/main/...`, `docs/`, or specific config files) rather than reproducing their full contents.

Copilot uses AI. Check for mistakes.
Comment thread .github/agents/my-agent.agent.md Outdated
Comment on lines +58 to +86
- A description of the major architectural elements of the project, including the relative paths to the main project files, the location
of configuration files for linting, compilation, testing, and preferences.
- A description of the checks run prior to check in, including any GitHub workflows, continuous integration builds, or other validation pipelines.
- Document the steps so that the agent can replicate these itself.
- Any explicit validation steps that the agent can consider to have further confidence in its changes.
- Dependencies that aren't obvious from the layout or file structure.
- Finally, fill in any remaining space with detailed lists of the following, in order of priority: the list of files in the repo root, the
contents of the README, the contents of any key source files, the list of files in the next level down of directories, giving priority to the more structurally important and snippets of code from key source files, such as the one containing the main method.
</ProjectLayout>
</WhatToAdd>

<StepsToFollow>
- Perform a comprehensive inventory of the codebase. Search for and view:
- README.md, CONTRIBUTING.md, and all other documentation files.
- Search the codebase for build steps and indications of workarounds like 'HACK', 'TODO', etc.
- All scripts, particularly those pertaining to build and repo or environment setup.
- All build and actions pipelines.
- All project files.
- All configuration and linting files.
- For each file:
- think: are the contents or the existence of the file information that the coding agent will need to implement, build, test, validate, or demo a code change?
- If yes:
- Document the command or information in detail.
- Explicitly indicate which commands work and which do not and the order in which commands should be run.
- Document any errors encountered as well as the steps taken to workaround them.
- Document any other steps or information that the agent can use to reduce time spent exploring or trying and failing to run bash commands.
- Finally, explicitly instruct the agent to trust the instructions and only perform a search if the information in the instructions is incomplete or found to be in error.
</StepsToFollow>
- Document any errors encountered as well as the steps taken to work-around them.

Copilot AI Mar 28, 2026

Copy link

Choose a reason for hiding this comment

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

Markdown list formatting is broken in a few places (e.g., this bullet wraps onto the next line without indentation), which makes the rendered instructions harder to read. Consider re-wrapping/indenting continuation lines so they stay part of the same list item.

Suggested change
- A description of the major architectural elements of the project, including the relative paths to the main project files, the location
of configuration files for linting, compilation, testing, and preferences.
- A description of the checks run prior to check in, including any GitHub workflows, continuous integration builds, or other validation pipelines.
- Document the steps so that the agent can replicate these itself.
- Any explicit validation steps that the agent can consider to have further confidence in its changes.
- Dependencies that aren't obvious from the layout or file structure.
- Finally, fill in any remaining space with detailed lists of the following, in order of priority: the list of files in the repo root, the
contents of the README, the contents of any key source files, the list of files in the next level down of directories, giving priority to the more structurally important and snippets of code from key source files, such as the one containing the main method.
</ProjectLayout>
</WhatToAdd>
<StepsToFollow>
- Perform a comprehensive inventory of the codebase. Search for and view:
- README.md, CONTRIBUTING.md, and all other documentation files.
- Search the codebase for build steps and indications of workarounds like 'HACK', 'TODO', etc.
- All scripts, particularly those pertaining to build and repo or environment setup.
- All build and actions pipelines.
- All project files.
- All configuration and linting files.
- For each file:
- think: are the contents or the existence of the file information that the coding agent will need to implement, build, test, validate, or demo a code change?
- If yes:
- Document the command or information in detail.
- Explicitly indicate which commands work and which do not and the order in which commands should be run.
- Document any errors encountered as well as the steps taken to workaround them.
- Document any other steps or information that the agent can use to reduce time spent exploring or trying and failing to run bash commands.
- Finally, explicitly instruct the agent to trust the instructions and only perform a search if the information in the instructions is incomplete or found to be in error.
</StepsToFollow>
- Document any errors encountered as well as the steps taken to work-around them.
- A description of the major architectural elements of the project, including the relative paths to the main project files, the location of configuration files for linting, compilation, testing, and preferences.
- A description of the checks run prior to check in, including any GitHub workflows, continuous integration builds, or other validation pipelines.
- Document the steps so that the agent can replicate these itself.
- Any explicit validation steps that the agent can consider to have further confidence in its changes.
- Dependencies that aren't obvious from the layout or file structure.
- Finally, fill in any remaining space with detailed lists of the following, in order of priority: the list of files in the repo root, the contents of the README, the contents of any key source files, the list of files in the next level down of directories, giving priority to the more structurally important and snippets of code from key source files, such as the one containing the main method.
</ProjectLayout>
</WhatToAdd>
<StepsToFollow>
- Perform a comprehensive inventory of the codebase. Search for and view:
- README.md, CONTRIBUTING.md, and all other documentation files.
- Search the codebase for build steps and indications of workarounds like 'HACK', 'TODO', etc.
- All scripts, particularly those pertaining to build and repo or environment setup.
- All build and actions pipelines.
- All project files.
- All configuration and linting files.
- For each file:
- Think: are the contents or the existence of the file information that the coding agent will need to implement, build, test, validate, or demo a code change?
- If yes:
- Document the command or information in detail.
- Explicitly indicate which commands work and which do not and the order in which commands should be run.
- Document any errors encountered as well as the steps taken to workaround them.
- Document any other steps or information that the agent can use to reduce time spent exploring or trying and failing to run bash commands.
- Finally, explicitly instruct the agent to trust the instructions and only perform a search if the information in the instructions is incomplete or found to be in error.
</StepsToFollow>

Copilot uses AI. Check for mistakes.
Comment thread .github/agents/my-agent.agent.md Outdated
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@Abdullah9990

Copy link
Copy Markdown
Owner Author

@copilot apply changes based on the comments in this thread

…dance, fix list formatting

Agent-Logs-Url: https://github.com/Abdullah9990/Aa12/sessions/be9c7828-d839-4daa-bc24-6ebeea615f0e

Co-authored-by: Abdullah9990 <56370218+Abdullah9990@users.noreply.github.com>

Copilot AI commented Mar 28, 2026

Copy link
Copy Markdown
Contributor

@copilot apply changes based on the comments in this thread

Applied all the review feedback in commit 01e8901:

  • Set name: My Agent and a non-empty description in the YAML front matter
  • Replaced the conflicting large-inventory bullet in <ProjectLayout> with a concise summary instruction that respects the 2-page limit
  • Fixed broken markdown list formatting in <StepsToFollow> (sub-items properly indented with 2-space indentation)
  • Removed the stray trailing content after </StepsToFollow>

@sonarqubecloud

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/agents/my-agent.agent.md:
- Line 33: The document .github/agents/my-agent.agent.md contains unhyphenated
compound adjectives and a wordy phrase; update the phrases "high level details"
to "high-level details", "High level repository" to "High-level repository", and
"prior to check in" to "before check-in" (or "prior to check-in") wherever they
appear (e.g., around the strings visible at line 33, 37, and 60) to improve
grammar and consistency in the agent documentation.
- Line 13: Replace the template placeholder string "Describe what your agent
does here." in .github/agents/my-agent.agent.md with a concise, meaningful
description of the onboarding agent (e.g., "This agent generates comprehensive
repository onboarding documentation for Copilot coding agents.") so the file
documents the agent's purpose; locate the placeholder text and update it to a
clear one-line summary that describes the agent's behavior and intended output.
- Line 14: The long 88-word run-on sentence in .github/agents/my-agent.agent.md
(the paragraph at line 14) should be split into two or three shorter sentences
for readability; edit that paragraph to separate independent clauses into clear
sentences, keeping the same meaning and any key instructions for onboarding, and
ensure punctuation and capitalization are corrected so the resulting text is
concise and easier for a coding agent to parse.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 66f4981d-b622-4714-8148-dc48d45702ad

📥 Commits

Reviewing files that changed from the base of the PR and between bb4fd56 and fd8ce54.

📒 Files selected for processing (1)
  • .github/agents/my-agent.agent.md


# My Agent

Describe what your agent does here.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Replace placeholder text with actual agent description.

Line 13 still contains the template placeholder "Describe what your agent does here." This should be replaced with a meaningful description of what this onboarding agent does, such as "This agent generates comprehensive repository onboarding documentation for Copilot coding agents."

📝 Suggested description
-Describe what your agent does here.
+This agent performs a one-time analysis of the repository to generate comprehensive onboarding documentation (`.github/copilot-instructions.md`) that enables coding agents to work efficiently with minimal exploration and command failures.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
Describe what your agent does here.
This agent performs a one-time analysis of the repository to generate comprehensive onboarding documentation (`.github/copilot-instructions.md`) that enables coding agents to work efficiently with minimal exploration and command failures.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/agents/my-agent.agent.md at line 13, Replace the template
placeholder string "Describe what your agent does here." in
.github/agents/my-agent.agent.md with a concise, meaningful description of the
onboarding agent (e.g., "This agent generates comprehensive repository
onboarding documentation for Copilot coding agents.") so the file documents the
agent's purpose; locate the placeholder text and update it to a clear one-line
summary that describes the agent's behavior and intended output.

# My Agent

Describe what your agent does here.
Your task is to "onboard" this repository to Copilot coding agent by adding a .github/copilot-instructions.md file in the repository that contains information describing how a coding agent seeing it for the first time can work most efficiently.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🧹 Nitpick | 🔵 Trivial

Consider breaking the long sentence for readability.

Line 14 contains an 88-word run-on sentence. Breaking it into smaller sentences would improve clarity and make the instructions easier to follow.

✂️ Proposed refactor
-Your task is to "onboard" this repository to Copilot coding agent by adding a .github/copilot-instructions.md file in the repository that contains information describing how a coding agent seeing it for the first time can work most efficiently.
+Your task is to "onboard" this repository to Copilot coding agent. You will create a `.github/copilot-instructions.md` file containing information that enables a coding agent seeing the repository for the first time to work most efficiently.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
Your task is to "onboard" this repository to Copilot coding agent by adding a .github/copilot-instructions.md file in the repository that contains information describing how a coding agent seeing it for the first time can work most efficiently.
Your task is to "onboard" this repository to Copilot coding agent. You will create a `.github/copilot-instructions.md` file containing information that enables a coding agent seeing the repository for the first time to work most efficiently.
🧰 Tools
🪛 LanguageTool

[uncategorized] ~14-~14: The official name of this software platform is spelled with a capital “H”.
Context: ...ry to Copilot coding agent by adding a .github/copilot-instructions.md file in the rep...

(GITHUB)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/agents/my-agent.agent.md at line 14, The long 88-word run-on
sentence in .github/agents/my-agent.agent.md (the paragraph at line 14) should
be split into two or three shorter sentences for readability; edit that
paragraph to separate independent clauses into clear sentences, keeping the same
meaning and any key instructions for onboarding, and ensure punctuation and
capitalization are corrected so the resulting text is concise and easier for a
coding agent to parse.


<WhatToAdd>

Add the following high level details about the codebase to reduce the amount of searching the agent has to do to understand the codebase each time:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🧹 Nitpick | 🔵 Trivial

Consider grammar improvements for professional documentation.

Static analysis identified several compound adjectives that should be hyphenated, and a wordy phrase:

  • Line 33: "high level details" → "high-level details"
  • Line 37: "High level repository" → "High-level repository"
  • Line 60: "prior to check in" → "before check-in" or "prior to check-in"

While these are minor style issues, addressing them improves readability and professionalism.

📐 Proposed grammar fixes
-Add the following high level details about the codebase to reduce the amount of searching the agent has to do to understand the codebase each time:
+Add the following high-level details about the codebase to reduce the amount of searching the agent has to do to understand the codebase each time:
-- High level repository information, such as the size of the repo, the type of the project, the languages, frameworks, or target runtimes in use.
+- High-level repository information, such as the size of the repo, the type of the project, the languages, frameworks, or target runtimes in use.
-- A description of the checks run prior to check in, including any GitHub workflows, continuous integration builds, or other validation pipelines.
+- A description of the checks run before check-in, including any GitHub workflows, continuous integration builds, or other validation pipelines.

Also applies to: 37-37, 60-60

🧰 Tools
🪛 LanguageTool

[grammar] ~33-~33: Use a hyphen to join words.
Context: ...ns> Add the following high level details about the codebase to redu...

(QB_NEW_EN_HYPHEN)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/agents/my-agent.agent.md at line 33, The document
.github/agents/my-agent.agent.md contains unhyphenated compound adjectives and a
wordy phrase; update the phrases "high level details" to "high-level details",
"High level repository" to "High-level repository", and "prior to check in" to
"before check-in" (or "prior to check-in") wherever they appear (e.g., around
the strings visible at line 33, 37, and 60) to improve grammar and consistency
in the agent documentation.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 01e8901335

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +75 to +77
- For each file:
- Think: are the contents or the existence of the file information that the coding agent will need to implement, build, test, validate, or demo a code change?
- If yes:

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Nest the per-file decision steps under "For each file"

The list items starting at Think: and If yes: are aligned with For each file: instead of being nested beneath it, so Markdown parses them as sibling bullets rather than per-file substeps. In practice this weakens the instruction from "repeat for every file" to a one-off checklist, which can cause the onboarding agent to miss file-by-file evaluation and produce less complete copilot-instructions.md output.

Useful? React with 👍 / 👎.

@Abdullah9990
Abdullah9990 merged commit 26b8bed into main Mar 28, 2026
10 of 11 checks passed
@Abdullah9990
Abdullah9990 deleted the Abdullah9990-patch-3 branch March 28, 2026 07:53
@Abdullah9990
Abdullah9990 restored the Abdullah9990-patch-3 branch March 28, 2026 07:53
@Abdullah9990
Abdullah9990 deleted the Abdullah9990-patch-3 branch March 28, 2026 07:53
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