Skip to content

Simplify agents.md for bit Boilerplate (#12228)#12229

Merged
yasmoradi merged 3 commits into
bitfoundation:developfrom
yasmoradi:12228
Mar 29, 2026
Merged

Simplify agents.md for bit Boilerplate (#12228)#12229
yasmoradi merged 3 commits into
bitfoundation:developfrom
yasmoradi:12228

Conversation

@yasmoradi
Copy link
Copy Markdown
Member

@yasmoradi yasmoradi commented Mar 29, 2026

closes #12228

Summary by CodeRabbit

  • Documentation
    • Restructured agent configuration guide with reorganized sections for improved navigation and clarity.
    • Refined workflow guidance instructions for enhanced accuracy.
    • Simplified behavioral directives while retaining essential functionality.
    • Updated critical command references with streamlined entries.

@yasmoradi yasmoradi requested a review from Copilot March 29, 2026 18:01
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 29, 2026

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 96804be1-2cd7-4fd8-b50f-97629bfcf332

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Walkthrough

The AGENTS.md documentation was restructured and simplified: "Core Principles" and "Available Tooling" sections were removed and content was reorganized into new categories including "Technology Stack," "Project Structure," "Information Gathering & Codebase Investigation," "Critical Command Reference," "Coding Conventions & Best Practices," and "Behavioral Directives." Workflow guidance phrasing was updated and the "Behavioral Directives" section was condensed.

Changes

Cohort / File(s) Summary
Documentation Restructuring
src/Templates/Boilerplate/Bit.Boilerplate/AGENTS.md
Reorganized sections from numbered format to thematic categories, updated workflow guidance conditional phrasing ("talked about" to "If the user talks about current changes"), relocated "Generate Resx C# code" command entry, and simplified behavioral directives by removing previous decisiveness and command execution guidance while retaining RTL rule.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Poem

🐰 A rabbit's ode to order restored

Sections dance in new array,
Docs grow clearer, come what may,
Old divisions hop away,
Simpler guidance leads the fray! 📝✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title 'Simplify agents.md for bit Boilerplate' directly and clearly describes the main change in the pull request.
Linked Issues check ✅ Passed The PR directly addresses the linked issue #12228 by simplifying the AGENTS.md file for bit Boilerplate as requested.
Out of Scope Changes check ✅ Passed All changes are scoped to the AGENTS.md documentation file and directly related to the simplification objective stated in issue #12228.
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

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.

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

Simplifies the Boilerplate template’s AGENTS.md to a shorter set of actionable instructions while keeping the key tech stack, project structure, and mandatory investigation steps.

Changes:

  • Removed the verbose “Core Principles” and step-by-step workflow sections.
  • Reorganized and renumbered sections (Technology Stack, Project Structure, investigation steps, commands, conventions).
  • Converted the conventions section into a more compact bullet list and moved a couple of directives into “Behavioral Directives”.

Comment thread src/Templates/Boilerplate/Bit.Boilerplate/AGENTS.md Outdated
Comment thread src/Templates/Boilerplate/Bit.Boilerplate/AGENTS.md Outdated
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (2)
src/Templates/Boilerplate/Bit.Boilerplate/AGENTS.md (2)

63-63: Add missing hyphen in compound modifier.

The phrase "realm related" should be hyphenated as "realm-related" when used as a compound modifier before a noun.

✍️ Suggested improvement
-*   For Keycloak/realm related tasks, you **MUST** use the `DeepWiki_ask_question` tool with repository `keycloak/keycloak` to find relevant information.
+*   For Keycloak/realm-related tasks, you **MUST** use the `DeepWiki_ask_question` tool with repository `keycloak/keycloak` to find relevant information.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/Templates/Boilerplate/Bit.Boilerplate/AGENTS.md` at line 63, Update the
compound modifier in the AGENTS.md sentence that mentions Keycloak by changing
"realm related" to the hyphenated form "realm-related" (the line that reads: For
Keycloak/realm related tasks, you **MUST** use the `DeepWiki_ask_question` tool
with repository `keycloak/keycloak`...). Ensure only the compound modifier is
hyphenated and preserve the rest of the sentence and backticks around
`DeepWiki_ask_question`.

58-58: Use more professional phrasing.

The phrase "talks about" is considered informal. Consider using "mentions" or "refers to" for more professional documentation.

✍️ Suggested improvement
-*   If the user talks about current changes in the codebase, you **MUST** run the `git --no-pager diff` and `git --no-pager diff --staged` commands to see the differences.
+*   If the user mentions current changes in the codebase, you **MUST** run the `git --no-pager diff` and `git --no-pager diff --staged` commands to see the differences.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/Templates/Boilerplate/Bit.Boilerplate/AGENTS.md` at line 58, Replace the
informal phrase "talks about" in the sentence "*   If the user talks about
current changes in the codebase, you **MUST** run the `git --no-pager diff` and
`git --no-pager diff --staged` commands to see the differences." with a more
professional term such as "mentions" or "refers to" (e.g., "If the user mentions
current changes in the codebase..." or "If the user refers to current changes in
the codebase...") so the directive remains clear and professional while keeping
the required git commands and emphasis intact.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@src/Templates/Boilerplate/Bit.Boilerplate/AGENTS.md`:
- Line 63: Update the compound modifier in the AGENTS.md sentence that mentions
Keycloak by changing "realm related" to the hyphenated form "realm-related" (the
line that reads: For Keycloak/realm related tasks, you **MUST** use the
`DeepWiki_ask_question` tool with repository `keycloak/keycloak`...). Ensure
only the compound modifier is hyphenated and preserve the rest of the sentence
and backticks around `DeepWiki_ask_question`.
- Line 58: Replace the informal phrase "talks about" in the sentence "*   If the
user talks about current changes in the codebase, you **MUST** run the `git
--no-pager diff` and `git --no-pager diff --staged` commands to see the
differences." with a more professional term such as "mentions" or "refers to"
(e.g., "If the user mentions current changes in the codebase..." or "If the user
refers to current changes in the codebase...") so the directive remains clear
and professional while keeping the required git commands and emphasis intact.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 1bf8dca1-8dd7-4940-ae19-7def4aa472ec

📥 Commits

Reviewing files that changed from the base of the PR and between ff7da72 and b8ee69b.

📒 Files selected for processing (1)
  • src/Templates/Boilerplate/Bit.Boilerplate/AGENTS.md

yasmoradi and others added 2 commits March 29, 2026 20:11
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Yas Moradi <yas_moradi@outlook.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Yas Moradi <yas_moradi@outlook.com>
@yasmoradi yasmoradi merged commit 7dbe31c into bitfoundation:develop Mar 29, 2026
3 checks passed
@yasmoradi yasmoradi deleted the 12228 branch March 29, 2026 20:26
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.

bit Boilerplate AGENTS.md must be simplified

2 participants