agentleFS
oceanbaseoceanbase/seekdb/.agents/skills/submit-pull-request/SKILL.md

submit-pull-request

Skill3.3k starsChanged 8 days agoApache-2.0View on GitHub

Prepare, describe, submit, and update seekdb pull requests with concrete root cause, before/after verification evidence, explicit platform and version scope, and honest merge rationale. Use for preparing, opening, or updating a seekdb pull request, filling the pull request template, or organizing a PR summary; not for reviewing another author's pull request.

  • Commits and pushes

1 other project uses a version of this.

Trending

More talk lately.about the whole repository

Dec 2025: 1 mentionJan 2026: 6 mentionsFeb 2026: 1 mentionMar 2026: 0 mentionsApr 2026: 3 mentionsMay 2026: 3 mentionsJun 2026: 1 mentionJul 2026: 1 mentionAug 2026: 1 mentionSep 2026: 0 mentionsOct 2026: 3 mentionsNov 2026: 2 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the oceanbase/seekdb repository that our weekly crawl found. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about oceanbase/seekdb

The biggest 5 of 27 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 27

Talked about on GitHub and Hacker News (27 times).

On GitHub · 23

18 more on GitHub
  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. jxxghp/MoviePilot★ 12ksame name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository4 other files it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. About 0 are common, 10 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Follow the repository pull request template, .github/pull_request_template.md.

    line 15
  2. Distinctive:

    Read the linked issue, the full diff, the head SHA, and the changed implementation.

    line 22
  3. Very specific:

    If the change has an associated Multica issue, include its link or identifier (for example, SEEK-xxx) in the Task Description section.

    line 25
  4. Distinctive:

    Keep the change focused. Do not expand a description task into code changes, full test runs, or unrelated fixes, and do not silently …

    line 30
  5. Distinctive:

    If the user asks for a draft only, return the draft.

    line 33
  6. Distinctive:

    Write reproduction steps in execution order: prepare the baseline or build, set up the environment, establish the connection path, prepare …

    line 65
  7. Distinctive:

    Keep builds, static checks, local runs, and CI separate.

    line 80
  8. Distinctive:

    Prefer regression coverage in the repository's established suites for behavior changes: focused C++ unit tests, mysqltest cases, or Rust …

    line 100
  9. Very specific:

    Use a commit message in the repository's existing style, for example fix(scope): ..., that states the behavior changed.

    line 104
  10. Distinctive:

    Run validation proportionate to the change before opening the pull request, and record exactly what ran.

    line 106
  11. Very specific:

    Write the body as UTF-8 Markdown in a temporary file based on the current template, then run gh pr create --title ...

    line 114
  12. Very specific:

    Verify the created pull request: re-read the rendered body.

    line 118
  13. Distinctive:

    Follow the user's instruction to append or replace the summary.

    line 128
  14. Distinctive:

    Keep requested historical verification records, preferably in the collapsible details section, annotated with the baseline they belong to.

    line 131
  15. Distinctive:

    Never present old runs as current results.

    line 133
  16. Very specific:

    Write the updated body to a UTF-8 file and apply it with gh pr edit --body-file or the structured API equivalent.

    line 134

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

SeekDB Pull Request Submission

Submission Goal

Deliver a pull request that a maintainer can review without re-deriving the investigation: reproduce the problem from the description, trace it to a concrete root cause, and decide the merge from evidence rather than promises.

Follow the repository pull request template, .github/pull_request_template.md. Write the description in Simplified Chinese, matching the template, unless the user explicitly requests another language.

Establish the Facts Before Writing

  1. Read the linked issue, the full diff, the head SHA, and the changed implementation. Follow callers, callees, and serializers far enough to explain the mechanism; do not explain implementation from the title.
  2. If the change has an associated Multica issue, include its link or identifier (for example, SEEK-xxx) in the Task Description section.
  3. Reuse verifiable original logs and upstream test cases when available.
  4. Label four evidence classes separately: prior measurement, current re-verification, source-level inference, and unverified.
  5. Keep the change focused. Do not expand a description task into code changes, full test runs, or unrelated fixes, and do not silently rewrite tests to make them pass.
  6. If the user asks for a draft only, return the draft. If the user asked to replace or update the description, do it without asking again.

Root Cause Standard for Bug Fixes

Explain one real minimal input along the call chain, not labels:

  1. Trigger conditions: platform and build, client version and mode, key configuration, data types, input, and execution stage. State whether the failure occurs at connect, execute, result return, or decode.
  2. Concrete entry: file, class/method, and branch, with the necessary original code snippet.
  3. Parameters and actions: the concrete parameters the method received, how it processed them, and the value, type metadata, length, or bytes it produced. Use a call/parameter/result table when it clarifies the trace.
  4. Error propagation: the downstream consumer, its contract or check, how the actual input violates it, and the original error code or exception. Never present a client-side failure location as the server-side root cause.
  5. Fix correspondence: the replaced calls and parameters, the new intermediate and final results, and why one edit is insufficient when coupled stages must change together.

Protocol, binary, JSON, and charset defects warrant byte-level before/after comparisons; other defects show values, indices, branches, or state transitions instead. Do not force byte examples where they do not exist. Distinguish content length from packet length and character values from numeric values. State unknowns explicitly; never invent parameters, calls, or results.

Verification Evidence Rules

  • Write reproduction steps in execution order: prepare the baseline or build, set up the environment, establish the connection path, prepare the input, execute, observe the original failure, switch to the fixed build, then rerun identically and compare.
  • Record case names, versions, platforms, modes, and pass/fail/skip/block counts with key semantic assertions such as returned rows, order, warnings, byte round-trips, type tags, and session liveness. Selected cases passing are not a whole-suite pass, and "no error" is not full semantic verification.
  • State whether upstream assertions were modified. DDL adaptations, dependency pins, and temporary workarounds must be disclosed, including whether they were removed.
  • Explain any difference between verification build SHAs and the PR head: same tree, same patch-id, or the same patch applied. Never call them identical source without proof, and disclose cross-baseline comparisons.
  • Keep builds, static checks, local runs, and CI separate. Do not claim CI is green without checking it live.
  • For introduction analysis, distinguish author date, committer date, release date, earliest measured failing version, and the commit that actually introduced the defect. An old version failing only proves the defect existed then; a client adding a check does not date the server defect.
  • Fill the template's platform and version section separately: measured reproduction per platform, inferred-only paths, fix verification builds, and untested versions. Shared source proves a shared code path, not a shared test result. Record migration compatibility with separate source and target versions and platforms.
  • Commands must use explicit placeholders or safe inputs. Never include passwords, private keys, or internal machine addresses, and distinguish SSH ports from SQL ports.

Prepare the Branch

  1. Rebase onto the latest upstream/master (or origin/master) and use a focused branch name such as fix/issue-123.
  2. Prefer regression coverage in the repository's established suites for behavior changes: focused C++ unit tests, mysqltest cases, or Rust tests.
  3. Stage only intended files. Verify with git diff --cached --check and review the staged diff.
  4. Use a commit message in the repository's existing style, for example fix(scope): ..., that states the behavior changed.
  5. Run validation proportionate to the change before opening the pull request, and record exactly what ran.

Create the Pull Request

  1. Push the branch to the contributor fork or another authorized remote.
  2. Title the pull request in the repository's existing style, such as fix(regex): preserve position errors for invalid capture references.
  3. Write the body as UTF-8 Markdown in a temporary file based on the current template, then run gh pr create --title ... --body-file ... or the platform equivalent. Never pass a complex body through inline shell strings that can mangle backticks, newlines, or byte notation.
  4. Verify the created pull request: re-read the rendered body; check sections, code blocks, tables, links, the linked issue, and the target branch oceanbase/seekdb:master.
  5. Report the pull request link, what was submitted, and what remains unverified.

Update an Existing Description

  1. Fetch the current body first and keep the original for recovery. Work from the latest version to preserve concurrent edits.
  2. Follow the user's instruction to append or replace the summary. When replacing, remove superseded summary sections so two conflicting descriptions cannot coexist.
  3. Keep requested historical verification records, preferably in the collapsible details section, annotated with the baseline they belong to. Never present old runs as current results.
  4. Write the updated body to a UTF-8 file and apply it with gh pr edit --body-file or the structured API equivalent.
  5. Re-read after writing and verify the full text, code blocks, tables, and links. If someone edited concurrently, merge again instead of overwriting.
  6. Report the pull request link and the completed change. Never describe a description update as rerunning tests.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.