Skip to content

docs: improve repository contribution guidance - #2671

Merged
sunng87 merged 6 commits into
mainfrom
codex/add-agent-guidelines
Jul 30, 2026
Merged

docs: improve repository contribution guidance#2671
sunng87 merged 6 commits into
mainfrom
codex/add-agent-guidelines

Conversation

@killme2008

@killme2008 killme2008 commented Jul 30, 2026

Copy link
Copy Markdown
Member

What changed

  • add a concise AGENTS.md for coding agents and a portable CLAUDE.md import
  • ignore .local/ for machine-local agent instructions
  • update CONTRIBUTING.md with current setup, version, localization, link, anchor, generated-file, backport, sidebar, shared-content, variable, and release-note guidance
  • simplify the pull request template around scope and verification
  • add documentation problem and documentation request issue forms

This PR depends on #2669 for the documented AnchorAlias component, pnpm check:links command, and package lifecycle behavior. Merge it after #2669.

Scope

  • Documentation versions: repository-wide contributor guidance; no versioned page content changed
  • Languages: English contributor guidance; no localized page content changed

Verification

  • npx --yes markdownlint-cli@0.45.0 --config .markdownlint.yaml AGENTS.md CLAUDE.md CONTRIBUTING.md .github/pull_request_template.md
  • typos AGENTS.md CLAUDE.md CONTRIBUTING.md .github/pull_request_template.md .github/ISSUE_TEMPLATE/*.yml
  • git diff --check
  • parsed all issue-template YAML files
  • verified referenced repository paths, package scripts, labels, and that CLAUDE.md is a regular file importing AGENTS.md

Checklist

  • I verified the content against the applicable GreptimeDB version.
  • I updated the relevant documentation versions and languages, or explained why not.
  • I checked changed links and anchors.
  • I updated navigation when the document structure changed.

@killme2008
killme2008 requested a review from fengjiachun as a code owner July 30, 2026 09:28
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 30, 2026

Copy link
Copy Markdown

Deploying greptime-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7a79864
Status: ✅  Deploy successful!
Preview URL: https://7c0970b6.greptime-docs.pages.dev
Branch Preview URL: https://codex-add-agent-guidelines.greptime-docs.pages.dev

View logs

@killme2008
killme2008 requested a review from sunng87 July 30, 2026 09:32
@killme2008 killme2008 changed the title docs: add repository agent guidelines docs: improve repository contribution guidance Jul 30, 2026

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

This PR updates repository-wide contributor workflow documentation and GitHub templates/forms to make reporting and contribution expectations clearer and more standardized.

Changes:

  • Rewrites CONTRIBUTING.md into a shorter, more actionable guide covering setup, versioning, links/anchors, generated files, and pre-PR checks.
  • Adds a concise AGENTS.md guide for coding agents/contributors, aligned with the repo workflow.
  • Simplifies the PR template and adds issue forms for documentation problems/requests (plus issue template configuration).

Reviewed changes

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

Show a summary per file
File Description
CONTRIBUTING.md Replaces the long-form guide with a concise, structured contributor workflow and repo conventions.
AGENTS.md Adds an agent-focused operational guide that points back to CONTRIBUTING for source-of-truth details.
.gitignore Ignores .local/ agent override files while keeping the shared guide tracked.
.github/pull_request_template.md Simplifies the template into “What changed / Scope / Verification / Checklist”.
.github/ISSUE_TEMPLATE/documentation-request.yml Adds an issue form for requesting new/expanded documentation.
.github/ISSUE_TEMPLATE/documentation-problem.yml Adds an issue form for reporting incorrect/outdated/broken documentation.
.github/ISSUE_TEMPLATE/config.yml Disables blank issues and adds contact links directing users to the right support channels.

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

Comment thread CONTRIBUTING.md Outdated
Comment thread AGENTS.md Outdated
Comment thread AGENTS.md
@sunng87
sunng87 merged commit c996ecd into main Jul 30, 2026
6 checks passed
@sunng87
sunng87 deleted the codex/add-agent-guidelines branch July 30, 2026 12:12
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