Skip to content

Add agents.md#13751

Open
eagerterrier wants to merge 13 commits intolatestfrom
add-AGENTS.md
Open

Add agents.md#13751
eagerterrier wants to merge 13 commits intolatestfrom
add-AGENTS.md

Conversation

@eagerterrier
Copy link
Contributor

Based on https://x.com/theo/status/2025900730847232409?s=20 there is another bit that could do with adding

Copilot AI review requested due to automatic review settings February 24, 2026 16:58
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 PR adds an AGENTS.md file to help AI agents (like GitHub Copilot) understand the Simorgh codebase structure, conventions, and best practices. The file is based on a suggestion from a Twitter/X post and aims to reduce common mistakes and confusion points that AI agents might encounter when working on this project.

Changes:

  • Added AGENTS.md with project overview, dev environment tips, coding standards, testing instructions, and PR instructions
  • Documents service-aware architecture pattern where each language service (e.g., arabic, mundo, portuguese) can have different requirements
  • Provides guidance on accessibility, performance optimization, and functional programming approach

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 24, 2026 17:21
eagerterrier and others added 2 commits February 24, 2026 17:21
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
eagerterrier and others added 3 commits February 24, 2026 17:22
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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

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

eagerterrier and others added 2 commits February 24, 2026 17:24
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 24, 2026 17: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

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

Comment on lines 24 to 26
## Coding Standards
- See docs/Coding-Standards/README.md for our coding standards. These can be seen implemented in bbc/simorgh/src/app/components/Paragraph/.* along with linting rules in .eslintrc.js
- Please use the CONTRIBUTING.md and SECURITY.md
Copy link

Copilot AI Feb 24, 2026

Choose a reason for hiding this comment

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

The "Coding Standards" section header is duplicated - it already appears on line 18. Additionally, the content in these two sections is similar but inconsistent (line 19 mentions "src/app/components/Paragraph/" while line 25 mentions "bbc/simorgh/src/app/components/Paragraph/.*", and line 20 says "read and follow the guidelines" while line 26 says "Please use"). These duplicate sections should be merged into a single, consistent section.

Copilot uses AI. Check for mistakes.
Comment on lines 21 to 22
- Use `nvm use` to get the correct version of node, and then `yarn` install packages. Then `yarn dev` will serve your code locally.
- Our directory aliases can be found in dirAlias.js
Copy link

Copilot AI Feb 24, 2026

Choose a reason for hiding this comment

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

This content is duplicated from lines 15-16. The development environment tips are being repeated, which creates confusion and inconsistency in the documentation.

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.

3 participants