Skip to content

[chore](build) Clarify where to load Doris development skills - #70672

Merged
morningman merged 2 commits into
apache:masterfrom
morningman:chore/clarify-doris-skill-source
Nov 17, 2026
Merged

morningman merged 2 commits into
apache:masterfrom
morningman:chore/clarify-doris-skill-source

Conversation

@morningman

@morningman morningman commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Background

AGENTS.md guides agents working in Doris checkouts and worktrees. The repository includes reusable development and PR-writing workflows in the doris-skills submodule, which worktree setup leaves uninitialized by default.

What problem does this PR solve?

Issue Number: None
Related PR: None
PR Type: Build/CI/Chore

Problem Summary:

AGENTS.md references develop-with-evidence and doris-pr-description without saying where to find them, and its submodule rule only accounts for builds and tests. Document doris-skills/skills/develop-with-evidence/SKILL.md and doris-skills/skills/doris-pr-description/SKILL.md as their entry points in the current worktree, and require a scoped submodule update before loading a missing skill.

Details

  • Affected: Agent workflow instructions in AGENTS.md for Doris checkouts and worktrees.
  • Developer and release impact: Agents initialize doris-skills when needed and read the skill instructions from the current worktree. The release process is unchanged.
  • License and third-party: None.
  • Rollback: Revert this change.

Testing

Executed git submodule update --init -- doris-skills locally on macOS and confirmed that doris-skills/skills/develop-with-evidence/SKILL.md and doris-skills/skills/doris-pr-description/SKILL.md are present. No build or runtime tests were run for this documentation-only change.

Release note

None

Check List (For Author)

  • Behavior changed: No
  • Does this need documentation: No
  • Pre-submission status: Ready

AI Disclosure

  • Tool: Codex (GPT-6)
  • Generated: The AGENTS.md changes and this description.
  • Human review: Not stated.

### Background

`AGENTS.md` guides agents working in Doris checkouts and worktrees. The repository includes reusable development and PR-writing workflows in the `doris-skills` submodule, which worktree setup leaves uninitialized by default.

### What problem does this PR solve?

Issue Number: None
Related PR: None
PR Type: Build/CI/Chore

Problem Summary:

`AGENTS.md` references `develop-with-evidence` and `doris-pr-description` without saying where to find them, and its submodule rule only accounts for builds and tests. Document the current worktree's `doris-skills/` as their source and require a scoped submodule update before loading a missing skill.

### Details

- **Affected:** Agent workflow instructions in `AGENTS.md` for Doris checkouts and worktrees.
- **Developer and release impact:** Agents initialize `doris-skills` when needed and read the skill instructions from the current worktree. The release process is unchanged.
- **License and third-party:** None.
- **Rollback:** Revert this change.

### Testing

Executed `git submodule update --init -- doris-skills` locally on macOS and confirmed that `doris-skills/skills/develop-with-evidence/SKILL.md` and `doris-skills/skills/doris-pr-description/SKILL.md` are present. No build or runtime tests were run for this documentation-only change.

### Release note

None

### Check List (For Author)

- Behavior changed: No
- Does this need documentation: No
- Pre-submission status: Ready

### AI Disclosure

- Tool: Codex (GPT-6)
- Generated: The `AGENTS.md` changes and this description.
- Human review: Not stated.
### Background

`AGENTS.md` guides agents working in Doris checkouts and worktrees. The repository includes reusable development and PR-writing workflows in the `doris-skills` submodule, which worktree setup leaves uninitialized by default.

### What problem does this PR solve?

Issue Number: None
Related PR: None
PR Type: Build/CI/Chore

Problem Summary:

`AGENTS.md` references `develop-with-evidence` and `doris-pr-description` without saying where to find them, and its submodule rule only accounts for builds and tests. Document `doris-skills/skills/develop-with-evidence/SKILL.md` and `doris-skills/skills/doris-pr-description/SKILL.md` as their entry points in the current worktree, and require a scoped submodule update before loading a missing skill.

### Details

- **Affected:** Agent workflow instructions in `AGENTS.md` for Doris checkouts and worktrees.
- **Developer and release impact:** Agents initialize `doris-skills` when needed and read the skill instructions from the current worktree. The release process is unchanged.
- **License and third-party:** None.
- **Rollback:** Revert this change.

### Testing

Executed `git submodule update --init -- doris-skills` locally on macOS and confirmed that `doris-skills/skills/develop-with-evidence/SKILL.md` and `doris-skills/skills/doris-pr-description/SKILL.md` are present. No build or runtime tests were run for this documentation-only change.

### Release note

None

### Check List (For Author)

- Behavior changed: No
- Does this need documentation: No
- Pre-submission status: Ready

### AI Disclosure

- Tool: Codex (GPT-6)
- Generated: The `AGENTS.md` changes and this description.
- Human review: Not stated.
@morningman

Copy link
Copy Markdown
Contributor Author

skip buildall

@shuke987 shuke987 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.

LGTM

@morningman
morningman merged commit fbb96f2 into apache:master Nov 17, 2026
40 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.

@github-actions github-actions Bot added the approved Indicates a PR has been approved by one committer. label Nov 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

PR approved by at least one committer and no changes requested.

morningman added a commit to morningman/doris that referenced this pull request Nov 18, 2026
### Background

`doris-skills` is the Apache Doris repository of agent skills, included here as a submodule. Its `develop-with-evidence` skill develops and verifies a change and leaves a PR handoff file; `doris-pr-description` writes and submits the PR. Coding agents such as Claude Code and Codex read `AGENTS.md` when a session starts.

### What problem does this PR solve?

Issue Number: None
Related PR: apache#70175 (introduced the PR guidance), apache#70582 (updated the skills submodule), apache#70672 (documented the worktree skill paths), apache/doris-skills#16 (added both skills)
PR Type: Build/CI/Chore

Problem Summary:

The worktree guidance now names the skill paths, but does not tell agents when to use them, so developers still have to request the skills explicitly. This PR makes `develop-with-evidence` the default for repository changes and `doris-pr-description` the default for PR tasks, unless the user asks otherwise. The contributor guides and PR template give people the same recommendation. Doris runtime behavior is unchanged.

### Details

- **Affected:** Four documentation files: `AGENTS.md`, both contributor guides, and the PR template. Build scripts, CI workflows, and the submodule pointer are unchanged.
- **Developer and release impact:** Agents that read `AGENTS.md` receive explicit task routing and instructions for checking out missing skills. Contributors see the same recommendation and can optionally fetch newer skills with `--remote`, while keeping the moved pointer out of commits. Releases are unchanged.
- **License and third-party:** None; no dependency, artifact, or license file changes.
- **Rollback:** Revert this PR; no other cleanup is required.

### Testing

- After rebasing onto `bb6fff5077e4`, checked that all four documentation patches match the original PR, that the final diff contains only 17 added lines, and that the `doris-skills` pointer matches master at `c353d71bc50d`.
- The author previously verified submodule initialization and both skill paths at `0b36dcb`, and agent routing in throwaway sparse clones with Claude Code 2.1.322 and Codex 0.163.0. These checks predate this rebase and were not rerun; they covered initial skill selection, not a complete development and PR submission.
- No Doris build or runtime tests were run for this documentation change.

### Notes for Reviewers

- Master already contains the original submodule bump and a newer commit. The rebase retains master's `c353d71bc50d` pointer, which descends from the original PR's `0b36dcb`; this PR now changes documentation only.
- Existing worktree instructions for loading the skills remain intact.

### Release note

None

### Check List (For Author)

- Behavior changed: No
- Does this need documentation: No
- Pre-submission status: Partially verified: agent routing checks predate this rebase and were not rerun.

### AI Disclosure

- Tool: Claude Code (Claude Opus 5.5); Codex (GPT-6)
- Generated: Claude Code wrote the original documentation and description; Codex resolved the rebase conflict and updated the title and description.
- Human review: not stated
- Prompts: Update doris-skills and recommend the two skills so agents use them automatically for development and PR submission. Then rebase, resolve conflicts, and update the PR.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
hello-stephen pushed a commit that referenced this pull request Nov 18, 2026
### Background

`doris-skills` is the Apache Doris repository of agent skills, included
here as a submodule. Its `develop-with-evidence` skill develops and
verifies a change and leaves a PR handoff file; `doris-pr-description`
writes and submits the PR. Coding agents such as Claude Code and Codex
read `AGENTS.md` when a session starts.

### What problem does this PR solve?

Issue Number: None
Related PR: #70175 (introduced the PR guidance), #70582 (updated the
skills submodule), #70672 (documented the worktree skill paths),
apache/doris-skills#16 (added both skills)
PR Type: Build/CI/Chore

Problem Summary:

The worktree guidance now names the skill paths, but does not tell
agents when to use them, so developers still have to request the skills
explicitly. This PR makes `develop-with-evidence` the default for
repository changes and `doris-pr-description` the default for PR tasks,
unless the user asks otherwise. The contributor guides and PR template
give people the same recommendation. Doris runtime behavior is
unchanged.

### Details

- **Affected:** Four documentation files: `AGENTS.md`, both contributor
guides, and the PR template. Build scripts, CI workflows, and the
submodule pointer are unchanged.
- **Developer and release impact:** Agents that read `AGENTS.md` receive
explicit task routing and instructions for checking out missing skills.
Contributors see the same recommendation and can optionally fetch newer
skills with `--remote`, while keeping the moved pointer out of commits.
Releases are unchanged.
- **License and third-party:** None; no dependency, artifact, or license
file changes.
- **Rollback:** Revert this PR; no other cleanup is required.

### Testing

- After rebasing onto `bb6fff5077e4`, checked that all four
documentation patches match the original PR, that the final diff
contains only 17 added lines, and that the `doris-skills` pointer
matches master at `c353d71bc50d`.
- The author previously verified submodule initialization and both skill
paths at `0b36dcb`, and agent routing in throwaway sparse clones with
Claude Code 2.1.322 and Codex 0.163.0. These checks predate this rebase
and were not rerun; they covered initial skill selection, not a complete
development and PR submission.
- No Doris build or runtime tests were run for this documentation
change.

### Notes for Reviewers

- Master already contains the original submodule bump and a newer
commit. The rebase retains master's `c353d71bc50d` pointer, which
descends from the original PR's `0b36dcb`; this PR now changes
documentation only.
- Existing worktree instructions for loading the skills remain intact.

### Release note

None

### Check List (For Author)

- Behavior changed: No
- Does this need documentation: No
- Pre-submission status: Partially verified: agent routing checks
predate this rebase and were not rerun.

### AI Disclosure

- Tool: Claude Code (Claude Opus 5.5); Codex (GPT-6)
- Generated: Claude Code wrote the original documentation and
description; Codex resolved the rebase conflict and updated the title
and description.
- Human review: not stated
- Prompts: Update doris-skills and recommend the two skills so agents
use them automatically for development and PR submission. Then rebase,
resolve conflicts, and update the PR.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants