Skip to content

[chore](build) Have agents use Doris development and PR skills - #70422

Merged
hello-stephen merged 1 commit into
apache:masterfrom
morningman:recommend-doris-skills
Nov 18, 2026
Merged

hello-stephen merged 1 commit into
apache:masterfrom
morningman:recommend-doris-skills

Conversation

@morningman

@morningman morningman commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

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.

hello-stephen pushed a commit that referenced this pull request Nov 14, 2026
…0582)

### Background

`doris-skills` is a submodule that points at apache/doris-skills, the
Apache Doris repository of agent skills: instructions and scripts that
coding agents such as Claude Code and Codex load for Doris tasks.
Nothing builds from it; it is checked out on request (`git submodule
update --init doris-skills`) and by the CI jobs that clone every
submodule. This repository pins `c0aca2f` (apache/doris-skills#2, June),
which has three skills.

### What problem does this PR solve?

Issue Number: None
Related PR: #64240 (the previous update of this pointer), #70422 (moves
the same pointer to `0b36dcb` and adds the `AGENTS.md` guidance;
conflicts with this PR on that line), apache/doris-skills#17 (the commit
this PR pins)
PR Type: Build/CI/Chore

Problem Summary:

Since `c0aca2f`, doris-skills has merged 13 PRs that add four skills,
for debugging, local PR review, development, and PR descriptions, and a
checkout of this repository still gets none of them. This PR moves the
pointer to `c353d71`, the tip of doris-skills `main`, and changes
nothing else. Builds, tests, and Doris users see no change.

| | Skills in `doris-skills/skills/` |
|---|---|
| master (`c0aca2f`) | `doris-architecture-advisor`,
`doris-best-practices`, `doris-profile-reader` |
| this PR (`c353d71`) | `develop-with-evidence`,
`doris-architecture-advisor`, `doris-best-practices`, `doris-debug`,
`doris-pr-description`, `doris-profile-reader`, `doris-repo-review` |

### Details

- **Affected:** Only the `doris-skills` pointer. The CI jobs that clone
every submodule (`submodules: recursive` in `be-ut-mac.yml`,
`build-extension.yml`, `build-thirdparty.yml`, `build-ui.yml`, and
`checkstyle.yaml`, and `git submodule update --init --recursive --depth
1` in the performance pipeline's `compile.sh`) clone doris-skills at
`c353d71` without reading it; `build.sh` and `run-be-ut.sh` update only
the `contrib/` submodules they name.
- **Developer and release impact:** Developers who check out the
submodule get the seven skills at `c353d71`, about 2.3 MB; existing
checkouts keep their commit until the next `git submodule update`.
Release builds don't change, since no script in this repository reads
`doris-skills`.
- **License and third-party:** None. doris-skills is an Apache-2.0
repository of the ASF, and no file from it is added to this tree.
- **Rollback:** Revert this PR; local submodule checkouts made meanwhile
do no harm.

### Testing

- `git ls-remote https://github.com/apache/doris-skills refs/heads/main`
returns `c353d71bc50d6c0baf1831dec33cbfa0abc64ef2`, the commit this PR
pins: the squash merge of apache/doris-skills#17, not a PR-only commit.
`c0aca2f` is its ancestor.
- A fresh clone of the URL in `.gitmodules`, checked out at `c353d71` as
`git submodule update --init doris-skills` does, holds the seven skills
in the table above.
- `python3 skills/doris-pr-description/scripts/check_pr.py --self-test`
at `c353d71` reports `Self-test: 11 examples in 10 files, 0 problems`.

### Notes for Reviewers

- The pointer moves over 13 commits of apache/doris-skills (#3 to #17),
+10,047 −45 in 114 files, each reviewed and merged there; the three
skills pinned today don't change. In this repository's diff, only the
pin itself needs checking.
- #70422 changes the same line, to `0b36dcb` (apache/doris-skills#16).
Whichever of the two merges second keeps `c353d71`.
### 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>
@morningman
morningman force-pushed the recommend-doris-skills branch from 5cca807 to ce32c6e Compare November 18, 2026 03:46
@morningman morningman changed the title [chore](build) Update doris-skills and have agents use its development and PR skills [chore](build) Have agents use Doris development and PR skills Nov 18, 2026
@morningman

Copy link
Copy Markdown
Contributor Author

skip buildall

@hello-stephen
hello-stephen merged commit a415c09 into apache:master Nov 18, 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 18, 2026
@github-actions

Copy link
Copy Markdown
Contributor

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

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