Skip to content

docs: add coding agent guidelines#410

Merged
zjw1111 merged 4 commits into
alibaba:mainfrom
zjw1111:codex/docs-agent-guidelines
Jul 10, 2026
Merged

docs: add coding agent guidelines#410
zjw1111 merged 4 commits into
alibaba:mainfrom
zjw1111:codex/docs-agent-guidelines

Conversation

@zjw1111

@zjw1111 zjw1111 commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Purpose

Linked issue: N/A

Add repository-level guidance for coding agents, document Conventional Commits requirements for commit messages and pull request titles, align the pull request template with that policy, recommend separate follow-up commits for review changes, and expose the same instructions to Claude-compatible tooling through a CLAUDE.md symbolic link.

Tests

  • git diff --cached --check
  • codespell --ignore-words .codespell_ignore AGENTS.md CONTRIBUTING.md .github/PULL_REQUEST_TEMPLATE.md
  • Verified that CLAUDE.md is a symbolic link to AGENTS.md and resolves to identical content.
  • pre-commit was not run because the local Python installation is missing the _sqlite3 module.

API and Format

No public API, storage format, or protocol changes.

Documentation

Adds AGENTS.md, links CLAUDE.md to the same guidance, and updates contributor and pull request documentation.

Generative AI tooling

Generated-by: Codex (GPT-5)

Copilot AI review requested due to automatic review settings July 10, 2026 07:46

Copilot AI 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.

Pull request overview

Note

Copilot couldn't run its full agentic review because no GitHub Actions runner was available. Make sure your repository has a runner available to run Copilot's review, or add a copilot-setup-steps.yml file specifying one with the runs-on attribute. See the docs for more details.

Adds repository-level guidance for coding agents and aligns contributor/PR guidance with Conventional Commits requirements.

Changes:

  • Document Conventional Commits format in CONTRIBUTING.md and reference it for PR titles.
  • Add AGENTS.md with repo-specific instructions for coding agents (scope, C++ rules, build/test, delivery).
  • Update PR template messaging and add CLAUDE.md pointing to agent guidance.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
CONTRIBUTING.md Adds Conventional Commits policy for commit messages and PR titles.
CLAUDE.md Introduces a pointer to agent guidelines (currently minimal/ambiguous).
AGENTS.md Adds comprehensive coding-agent guidance including build/test commands.
.github/PULL_REQUEST_TEMPLATE.md Updates template note to require Conventional Commits PR titles.
Comments suppressed due to low confidence (1)

CLAUDE.md:17

  • CLAUDE.md currently contains only the literal text AGENTS.md, which is easy to miss and may not be treated as a link by renderers/tools. If the intent is to redirect readers/tools to the agent guidelines, consider making this an explicit Markdown link (and optionally a one-line explanation) so it’s unambiguous and clickable.
# AGENTS.md

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

Comment thread AGENTS.md

@lxy-9602 lxy-9602 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

+1

@zjw1111
zjw1111 merged commit 2a61bdd into alibaba:main Jul 10, 2026
9 checks passed
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