[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AD00GPHAP6AZ82RVSD2QZW":3,"skill-same:01M6AD00GPHAP6AZ82RVSD2QZW":80},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":45,"linkOnly":46,"markdownContent":47,"markdownBody":48,"frontMatter":49,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":54,"repositoryHtmlUrl":55,"repositoryHomepageUrl":56,"ownerHtmlUrl":57,"ownerBlogUrl":58,"ownerDescription":6,"updatedAt":59,"install":60,"resources":73},"01M6AD00GPHAP6AZ82RVSD2QZW","gh-issue",null,"Size-audit, write, and split BanyanDB issues that somebody else or an automated TDD workflow can implement. Use whenever the user asks to file or revise an issue, decide whether an issue is too large, make an issue TDD-ready, turn a design into tickets, or split an umbrella into executable leaves. Do not draft or file an implementation issue before classifying it as a mergeable leaf or a tracking parent.","apache\u002Fskywalking-banyandb","apache","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F47359?v=4","01M6AC83E6K4FDKK7HZ8WNMQKE","The Apache Software Foundation","01M6ACZR3K7E1F2KGPX2VBVQER",355,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fapache\u002Fskywalking-banyandb\u002Fblob\u002Fmain\u002Fskills\u002Fgh-issue\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000015","视觉设计","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],"issue","gh issue","gh","decide","split","make","as","revise","do","ready","use","write","read","design","Bash","audit","file","issues","workflow","tdd","implement","2026-11-10 10:12:30",false,"---\nname: gh-issue\ndescription: >-\n  Size-audit, write, and split BanyanDB issues that somebody else or an\n  automated TDD workflow can implement. Use whenever the user asks to file or\n  revise an issue, decide whether an issue is too large, make an issue\n  TDD-ready, turn a design into tickets, or split an umbrella into executable\n  leaves. Do not draft or file an implementation issue before classifying it as\n  a mergeable leaf or a tracking parent.\nallowed-tools: Bash, Read, Grep, Glob\n---\n\n# Writing a BanyanDB Issue\n\nBanyanDB's issues live in the **apache\u002Fskywalking** tracker, not in this\nrepository — `apache\u002Fskywalking-banyandb` has issues disabled. Label them\n`database`, which is the component label for BanyanDB.\n\nA good issue is one somebody can implement from **without asking you a\nquestion**. That is a higher bar than \"clear\", and it is the bar that decides\nwhether an issue sits untouched for a year.\n\n## Size the work before polishing the issue\n\nIssue length is not issue size. Inspect the design and the relevant production\ncode before drafting. Count independently testable behaviour, integration seams,\ncallers, format families, lifecycle domains, fixture work, and test suites. A\nshort issue that says \"replace the index\" can be much larger than a long issue\nthat fixes one query operation.\n\nAlways produce a short size audit during review, even if it will not appear in\nthe filed body:\n\n```markdown\n## Size audit\nClassification: executable leaf | tracking parent\nBoundary: \u003Cone seam, or the several seams that make this a parent>\nProduction activation: \u003Cthe caller switched by this merge>\nRED test: \u003Cthe command and the observable failure on current main>\nEnd to end: \u003Cthe real operation proved by the merge>\nFormat\u002Flifecycle scope: \u003Csections or algorithms; read\u002Fwrite\u002Fpublish\u002Fmerge\u002FGC\u002Fetc.>\nFixtures and oracle: \u003Cwho supplies expected values independently of the code under test>\nFocused suites: \u003Ccommands>\nDependencies present on main: yes | no — \u003Cevidence>\nDecision: \u003Cfits one run, or the exact split required>\n```\n\nDo not infer the answers only from the proposal. Use repository evidence such as\ninterfaces, call sites, packages, fixtures, and existing tests. Treat line count\nas supporting evidence, never as the sole sizing rule.\n\n### Executable leaf versus tracking parent\n\nAn **executable leaf** must satisfy all of these:\n\n- It exposes one agreed boundary and delivers one behaviour end to end.\n- The same merge switches at least one named production or CLI caller to it.\n- Every requirement has a RED test that fails on current `main` for a stated\n  reason and passes after the change.\n- One focused end-to-end scenario proves the real caller, not just an isolated\n  codec or helper.\n- Expected values and persisted bytes come from an independent oracle.\n- Its prerequisites and the seam it builds on are already merged to `main`.\n- A contract author can create the boundary and RED tests in one workflow turn,\n  and an implementer can reasonably complete the production change in the next.\n\nA **tracking parent** describes a milestone, replacement, or multi-PR outcome.\nIt owns completion criteria, the dependency graph, and links to children, but it\nis not itself an implementation contract. Mark it clearly as a tracking parent\nand do not put it in an automated implementation queue.\n\n### Mandatory split triggers\n\nClassify the issue as a parent or split it before filing when any of these is\ntrue:\n\n- It mixes lifecycle domains such as read, write, publish\u002Frecovery, merge\u002FGC, or\n  replication.\n- It introduces several independent public seams or several unrelated caller\n  cutovers.\n- It replaces a whole third-party subsystem rather than one observable operation.\n- No test can be named that fails on current `main` without asserting private\n  implementation details.\n- It needs the production implementation to generate its own expected fixture\n  bytes; that is a circular oracle, not a test contract.\n- A required boundary exists only in an open or planned PR. Keep the issue as a\n  parent and decompose it after the blocker merges.\n- It is foundation-only: the merge adds format readers, helpers, or abstractions\n  that no production\u002FCLI path uses.\n\nUse this score as a second check when none of the hard triggers is decisive:\n\n| add | signal |\n|---:|---|\n| +2 | each additional public boundary after the first |\n| +2 | each additional lifecycle domain after the first |\n| +1 | each additional production caller family |\n| +1 | each additional persisted format or algorithm family |\n| +1 | each additional independent fixture family |\n| +1 | each additional focused package test suite |\n| +2 | a prerequisite or seam is not yet on `main` |\n\nScore `0–2`: normally a leaf. Score `3–4`: split unless repository evidence\nshows it is still one small behaviour. Score `5+`: a tracking parent. A hard\ntrigger overrides the score.\n\nFor a TDD workflow, also cap a leaf at roughly four observable requirements,\none fixture family, one activation point, and one focused end-to-end scenario.\nThese are review budgets, not excuses to hide work by combining requirements.\n\n### RED-test feasibility catches false slices\n\nA compatibility-preserving cutover often returns the same result before and\nafter the change, so a new output assertion may pass against the legacy path and\nis not RED. State why the test fails before implementation. Absence of a new\nboundary can be a compile-time RED test, but acceptance must also prove that a\nreal caller uses the boundary; do not use brittle source-text assertions as the\nonly proof.\n\nIf a fixture is required, include its cost in the size audit. Persisted expected\nbytes should be generated by an independent legacy\u002Freference writer and checked\nin with provenance before the native code consumes them. Do not create a\nfixture-only or codec-only ticket when the project requires every merge to\nactivate production behaviour; put the smallest fixture and decoder beside the\nfirst real caller that uses them.\n\n## The body is the specification\n\nAssume the implementer has your issue and the codebase, and nothing else — no\ncontext from a design meeting, no follow-up in the comments. Comments are where\na specification goes to be missed; if a discussion changed the plan, edit the\nbody.\n\nFour things have to be derivable from it:\n\n**A boundary.** The seam the change exposes: a Go interface, the exported\nfunctions, the protobuf message, the HTTP surface. *\"Add an `Authorizer` that\ndecides whether a principal may perform an operation on a group\"* is a boundary.\n*\"Improve permissions\"* is not.\n\n**Expected values from an independent source.** State the concrete answers, not\njust the behaviour. A test whose expected value is derived the way the\nimplementation derives it passes by construction and can never disagree with the\ncode — so the issue is where the real answers come from. Write `a reader scoped\nto group \"ecommerce\" sees only that group`, not `scoping should work`.\n\n**Acceptance criteria provable by a command.** If a criterion is \"a research\ndocument\" or \"benchmark results\", nobody can tell whether it is met. Those are\nworth doing and belong in a proposal, not in an implementable issue.\n\n**Where it lives and how that area is tested.** Name the packages or workspace.\nIt saves the implementer a discovery pass and it scopes the suite they run:\n\n| area | tests |\n|---|---|\n| Go — `banyand\u002F`, `pkg\u002F` | `make test-ci PKG=.\u002Fbanyand\u002Ftrace .\u002Fpkg\u002Findex` |\n| Canopy — `canopy\u002F` | `npm run -w web test`, `npm run -w server test` |\n| Canopy end-to-end | `npx playwright test --config=e2e\u002Fplaywright.config.ts` |\n| everything, before pushing | `make generate && make build && make pre-push` |\n\n## What a database issue owes that a service issue does not\n\nWeight the criteria by what fails silently and late. If the change touches any of\nthese, say so in the issue — the implementer should not have to infer it:\n\n- **Anything persisted or on the wire.** A segment, an index, a protobuf\n  message: existing data must still read, and a rolling upgrade must survive a\n  mixed-version cluster. State what an old reader does with new bytes and what a\n  new reader does with old ones. The project labels this class\n  `bydb file compatible change`.\n- **Durability and ordering.** For a flush, a WAL append, a compaction or a\n  snapshot: what is the state after a crash between any two steps?\n- **Concurrency.** Goroutine launches go through the panic-recovery wrappers\n  (`run.Go` \u002F `run.GoOrDie` \u002F `run.GoWithSignal`); a raw `go func(` needs an\n  explicit `\u002F\u002Fpanicdiag:allow-rawgo` directive and the lint baseline only ever\n  shrinks.\n- **Resource bounds.** An unbounded buffer, a query that materialises a whole\n  series, a retention path that cannot reclaim.\n\n## A shape that works\n\n```markdown\n## Summary\nOne paragraph: what this delivers and why.\n\n## Boundary\nThe seam this exposes — the interface, exported functions, or protobuf\u002FHTTP\nsurface. What callers may rely on, and what stays free to change.\n\n## Requirements\nR1. \u003Cobservable behaviour, with its concrete expected value>\nR2. ...\none per behaviour, each independently checkable.\n\n## Acceptance criteria\n- every requirement has a test that fails today and passes after\n- end-to-end: \u003Ca real use of the feature, start to finish>\n- \u003Ccompatibility \u002F durability \u002F concurrency criteria, where they apply>\n\n## Scope\nPackages: banyand\u002Ftrace, pkg\u002Findex — or canopy\u002Fweb.\nOut of scope: \u003Cthe neighbouring thing this is NOT>\n```\n\n## Breaking a design-ready issue into tickets\n\nWhen an issue carries a design and a proof of concept, it is usually several\npieces of work. Split it into **vertical slices** — each cutting a complete path\nthrough the layers it touches, each verifiable on its own — and file them as\n**sub-issues** of the base.\n\nA slice is the right size when it delivers one behaviour end to end and its\nacceptance criteria can be checked by running something. A slice that only makes\nsense alongside the next one is not a slice; it is half of one.\n\nDo not slice a storage replacement horizontally by format section (`container`,\n`postings`, `stored fields`) if those tickets would be unused foundations. Slice\nby **fixture complexity against one real caller** instead. A first read slice may\nactivate document count on a deliberately small fixture; a later slice can widen\nthat same caller to multiple segments and deletion masks; another caller can\nthen activate stored-field decoding. Each merge stays TDD-sized and live.\n\nDecompose just in time. Keep downstream design workstreams as tracking parents\nuntil their blocker lands. Then inspect the boundary that actually merged and\ncreate their executable leaves. Pre-filing speculative leaves commits to stale\nseams and recreates horizontal slicing at the issue layer.\n\n**Order them by dependency and say so.** Put `Blocked by: #NNNN` in the body of\nanything that needs an earlier ticket, and create them in that order so the\nnumbers ascend with the graph. **Do not start a blocked ticket before its blocker\nhas merged** — not merely opened a pull request. Until the merge, `main` does not\ncontain the seam the next ticket builds on.\n\n**A pure refactor is a poor ticket** if the project's convention is to land\nbehaviour with a failing test first: a change that alters no behaviour has no\ntest that fails today. Either land the refactor on its own as an explicit\ncleanup, or fold it into the first ticket that adds behaviour.\n\n**Wide, mechanical changes use expand–contract**, one ticket per phase:\n\n1. **Expand** — add the new form alongside the old.\n2. **Migrate** — move call sites in batches sized by blast radius.\n3. **Contract** — delete the old form once nothing uses it.\n\n### Filing them\n\nCreate each child, then attach it to the base by the child's **`id`**, which is\nnot its number:\n\n```bash\nurl=$(gh issue create --repo apache\u002Fskywalking \\\n        --title \"...\" --body-file .\u002Fticket-1.md --label database)\nn=${url##*\u002F}\nid=$(gh api repos\u002Fapache\u002Fskywalking\u002Fissues\u002F$n -q .id)\ngh api --method POST repos\u002Fapache\u002Fskywalking\u002Fissues\u002F\u003Cbase>\u002Fsub_issues -F sub_issue_id=$id\n```\n\n`-F`, not `-f`: the endpoint takes an integer, and `-f` sends the string form.\nCheck the result with:\n\n```bash\ngh api repos\u002Fapache\u002Fskywalking\u002Fissues\u002F\u003Cbase> -q .sub_issues_summary\n```\n\nThe base issue stays open as the umbrella, and `sub_issues_summary` is the\nprogress bar. Close it when the last ticket merges.\n\nIf automation selects the oldest issue with a queue label such as `Backlog`,\napply that label only to the oldest unblocked executable leaf. Never queue a\ntracking parent or all sibling leaves at once. Create children in dependency\norder so issue numbers reinforce rather than fight the execution order.\n\n## Before you file\n\n- Did you show the size audit and explicitly classify the issue as a leaf or a\n  tracking parent?\n- Could someone write a failing test from this body alone, without asking you\n  anything?\n- Does the test actually fail on current `main`, or would the legacy path already\n  satisfy it?\n- Does every expected value come from the issue rather than from what the code\n  would compute?\n- Is every acceptance criterion provable by running something?\n- Is it one boundary and one production activation, or a plan with phases?\n- Does this merge activate a real caller rather than land dead foundation code?\n- Are all prerequisite seams already merged to `main`?\n- If it touches stored or wire data, does it say what happens to existing data\n  and to a mixed-version cluster?\n","# Writing a BanyanDB Issue\n\nBanyanDB's issues live in the **apache\u002Fskywalking** tracker, not in this\nrepository — `apache\u002Fskywalking-banyandb` has issues disabled. Label them\n`database`, which is the component label for BanyanDB.\n\nA good issue is one somebody can implement from **without asking you a\nquestion**. That is a higher bar than \"clear\", and it is the bar that decides\nwhether an issue sits untouched for a year.\n\n## Size the work before polishing the issue\n\nIssue length is not issue size. Inspect the design and the relevant production\ncode before drafting. Count independently testable behaviour, integration seams,\ncallers, format families, lifecycle domains, fixture work, and test suites. A\nshort issue that says \"replace the index\" can be much larger than a long issue\nthat fixes one query operation.\n\nAlways produce a short size audit during review, even if it will not appear in\nthe filed body:\n\n```markdown\n## Size audit\nClassification: executable leaf | tracking parent\nBoundary: \u003Cone seam, or the several seams that make this a parent>\nProduction activation: \u003Cthe caller switched by this merge>\nRED test: \u003Cthe command and the observable failure on current main>\nEnd to end: \u003Cthe real operation proved by the merge>\nFormat\u002Flifecycle scope: \u003Csections or algorithms; read\u002Fwrite\u002Fpublish\u002Fmerge\u002FGC\u002Fetc.>\nFixtures and oracle: \u003Cwho supplies expected values independently of the code under test>\nFocused suites: \u003Ccommands>\nDependencies present on main: yes | no — \u003Cevidence>\nDecision: \u003Cfits one run, or the exact split required>\n```\n\nDo not infer the answers only from the proposal. Use repository evidence such as\ninterfaces, call sites, packages, fixtures, and existing tests. Treat line count\nas supporting evidence, never as the sole sizing rule.\n\n### Executable leaf versus tracking parent\n\nAn **executable leaf** must satisfy all of these:\n\n- It exposes one agreed boundary and delivers one behaviour end to end.\n- The same merge switches at least one named production or CLI caller to it.\n- Every requirement has a RED test that fails on current `main` for a stated\n  reason and passes after the change.\n- One focused end-to-end scenario proves the real caller, not just an isolated\n  codec or helper.\n- Expected values and persisted bytes come from an independent oracle.\n- Its prerequisites and the seam it builds on are already merged to `main`.\n- A contract author can create the boundary and RED tests in one workflow turn,\n  and an implementer can reasonably complete the production change in the next.\n\nA **tracking parent** describes a milestone, replacement, or multi-PR outcome.\nIt owns completion criteria, the dependency graph, and links to children, but it\nis not itself an implementation contract. Mark it clearly as a tracking parent\nand do not put it in an automated implementation queue.\n\n### Mandatory split triggers\n\nClassify the issue as a parent or split it before filing when any of these is\ntrue:\n\n- It mixes lifecycle domains such as read, write, publish\u002Frecovery, merge\u002FGC, or\n  replication.\n- It introduces several independent public seams or several unrelated caller\n  cutovers.\n- It replaces a whole third-party subsystem rather than one observable operation.\n- No test can be named that fails on current `main` without asserting private\n  implementation details.\n- It needs the production implementation to generate its own expected fixture\n  bytes; that is a circular oracle, not a test contract.\n- A required boundary exists only in an open or planned PR. Keep the issue as a\n  parent and decompose it after the blocker merges.\n- It is foundation-only: the merge adds format readers, helpers, or abstractions\n  that no production\u002FCLI path uses.\n\nUse this score as a second check when none of the hard triggers is decisive:\n\n| add | signal |\n|---:|---|\n| +2 | each additional public boundary after the first |\n| +2 | each additional lifecycle domain after the first |\n| +1 | each additional production caller family |\n| +1 | each additional persisted format or algorithm family |\n| +1 | each additional independent fixture family |\n| +1 | each additional focused package test suite |\n| +2 | a prerequisite or seam is not yet on `main` |\n\nScore `0–2`: normally a leaf. Score `3–4`: split unless repository evidence\nshows it is still one small behaviour. Score `5+`: a tracking parent. A hard\ntrigger overrides the score.\n\nFor a TDD workflow, also cap a leaf at roughly four observable requirements,\none fixture family, one activation point, and one focused end-to-end scenario.\nThese are review budgets, not excuses to hide work by combining requirements.\n\n### RED-test feasibility catches false slices\n\nA compatibility-preserving cutover often returns the same result before and\nafter the change, so a new output assertion may pass against the legacy path and\nis not RED. State why the test fails before implementation. Absence of a new\nboundary can be a compile-time RED test, but acceptance must also prove that a\nreal caller uses the boundary; do not use brittle source-text assertions as the\nonly proof.\n\nIf a fixture is required, include its cost in the size audit. Persisted expected\nbytes should be generated by an independent legacy\u002Freference writer and checked\nin with provenance before the native code consumes them. Do not create a\nfixture-only or codec-only ticket when the project requires every merge to\nactivate production behaviour; put the smallest fixture and decoder beside the\nfirst real caller that uses them.\n\n## The body is the specification\n\nAssume the implementer has your issue and the codebase, and nothing else — no\ncontext from a design meeting, no follow-up in the comments. Comments are where\na specification goes to be missed; if a discussion changed the plan, edit the\nbody.\n\nFour things have to be derivable from it:\n\n**A boundary.** The seam the change exposes: a Go interface, the exported\nfunctions, the protobuf message, the HTTP surface. *\"Add an `Authorizer` that\ndecides whether a principal may perform an operation on a group\"* is a boundary.\n*\"Improve permissions\"* is not.\n\n**Expected values from an independent source.** State the concrete answers, not\njust the behaviour. A test whose expected value is derived the way the\nimplementation derives it passes by construction and can never disagree with the\ncode — so the issue is where the real answers come from. Write `a reader scoped\nto group \"ecommerce\" sees only that group`, not `scoping should work`.\n\n**Acceptance criteria provable by a command.** If a criterion is \"a research\ndocument\" or \"benchmark results\", nobody can tell whether it is met. Those are\nworth doing and belong in a proposal, not in an implementable issue.\n\n**Where it lives and how that area is tested.** Name the packages or workspace.\nIt saves the implementer a discovery pass and it scopes the suite they run:\n\n| area | tests |\n|---|---|\n| Go — `banyand\u002F`, `pkg\u002F` | `make test-ci PKG=.\u002Fbanyand\u002Ftrace .\u002Fpkg\u002Findex` |\n| Canopy — `canopy\u002F` | `npm run -w web test`, `npm run -w server test` |\n| Canopy end-to-end | `npx playwright test --config=e2e\u002Fplaywright.config.ts` |\n| everything, before pushing | `make generate && make build && make pre-push` |\n\n## What a database issue owes that a service issue does not\n\nWeight the criteria by what fails silently and late. If the change touches any of\nthese, say so in the issue — the implementer should not have to infer it:\n\n- **Anything persisted or on the wire.** A segment, an index, a protobuf\n  message: existing data must still read, and a rolling upgrade must survive a\n  mixed-version cluster. State what an old reader does with new bytes and what a\n  new reader does with old ones. The project labels this class\n  `bydb file compatible change`.\n- **Durability and ordering.** For a flush, a WAL append, a compaction or a\n  snapshot: what is the state after a crash between any two steps?\n- **Concurrency.** Goroutine launches go through the panic-recovery wrappers\n  (`run.Go` \u002F `run.GoOrDie` \u002F `run.GoWithSignal`); a raw `go func(` needs an\n  explicit `\u002F\u002Fpanicdiag:allow-rawgo` directive and the lint baseline only ever\n  shrinks.\n- **Resource bounds.** An unbounded buffer, a query that materialises a whole\n  series, a retention path that cannot reclaim.\n\n## A shape that works\n\n```markdown\n## Summary\nOne paragraph: what this delivers and why.\n\n## Boundary\nThe seam this exposes — the interface, exported functions, or protobuf\u002FHTTP\nsurface. What callers may rely on, and what stays free to change.\n\n## Requirements\nR1. \u003Cobservable behaviour, with its concrete expected value>\nR2. ...\none per behaviour, each independently checkable.\n\n## Acceptance criteria\n- every requirement has a test that fails today and passes after\n- end-to-end: \u003Ca real use of the feature, start to finish>\n- \u003Ccompatibility \u002F durability \u002F concurrency criteria, where they apply>\n\n## Scope\nPackages: banyand\u002Ftrace, pkg\u002Findex — or canopy\u002Fweb.\nOut of scope: \u003Cthe neighbouring thing this is NOT>\n```\n\n## Breaking a design-ready issue into tickets\n\nWhen an issue carries a design and a proof of concept, it is usually several\npieces of work. Split it into **vertical slices** — each cutting a complete path\nthrough the layers it touches, each verifiable on its own — and file them as\n**sub-issues** of the base.\n\nA slice is the right size when it delivers one behaviour end to end and its\nacceptance criteria can be checked by running something. A slice that only makes\nsense alongside the next one is not a slice; it is half of one.\n\nDo not slice a storage replacement horizontally by format section (`container`,\n`postings`, `stored fields`) if those tickets would be unused foundations. Slice\nby **fixture complexity against one real caller** instead. A first read slice may\nactivate document count on a deliberately small fixture; a later slice can widen\nthat same caller to multiple segments and deletion masks; another caller can\nthen activate stored-field decoding. Each merge stays TDD-sized and live.\n\nDecompose just in time. Keep downstream design workstreams as tracking parents\nuntil their blocker lands. Then inspect the boundary that actually merged and\ncreate their executable leaves. Pre-filing speculative leaves commits to stale\nseams and recreates horizontal slicing at the issue layer.\n\n**Order them by dependency and say so.** Put `Blocked by: #NNNN` in the body of\nanything that needs an earlier ticket, and create them in that order so the\nnumbers ascend with the graph. **Do not start a blocked ticket before its blocker\nhas merged** — not merely opened a pull request. Until the merge, `main` does not\ncontain the seam the next ticket builds on.\n\n**A pure refactor is a poor ticket** if the project's convention is to land\nbehaviour with a failing test first: a change that alters no behaviour has no\ntest that fails today. Either land the refactor on its own as an explicit\ncleanup, or fold it into the first ticket that adds behaviour.\n\n**Wide, mechanical changes use expand–contract**, one ticket per phase:\n\n1. **Expand** — add the new form alongside the old.\n2. **Migrate** — move call sites in batches sized by blast radius.\n3. **Contract** — delete the old form once nothing uses it.\n\n### Filing them\n\nCreate each child, then attach it to the base by the child's **`id`**, which is\nnot its number:\n\n```bash\nurl=$(gh issue create --repo apache\u002Fskywalking \\\n        --title \"...\" --body-file .\u002Fticket-1.md --label database)\nn=${url##*\u002F}\nid=$(gh api repos\u002Fapache\u002Fskywalking\u002Fissues\u002F$n -q .id)\ngh api --method POST repos\u002Fapache\u002Fskywalking\u002Fissues\u002F\u003Cbase>\u002Fsub_issues -F sub_issue_id=$id\n```\n\n`-F`, not `-f`: the endpoint takes an integer, and `-f` sends the string form.\nCheck the result with:\n\n```bash\ngh api repos\u002Fapache\u002Fskywalking\u002Fissues\u002F\u003Cbase> -q .sub_issues_summary\n```\n\nThe base issue stays open as the umbrella, and `sub_issues_summary` is the\nprogress bar. Close it when the last ticket merges.\n\nIf automation selects the oldest issue with a queue label such as `Backlog`,\napply that label only to the oldest unblocked executable leaf. Never queue a\ntracking parent or all sibling leaves at once. Create children in dependency\norder so issue numbers reinforce rather than fight the execution order.\n\n## Before you file\n\n- Did you show the size audit and explicitly classify the issue as a leaf or a\n  tracking parent?\n- Could someone write a failing test from this body alone, without asking you\n  anything?\n- Does the test actually fail on current `main`, or would the legacy path already\n  satisfy it?\n- Does every expected value come from the issue rather than from what the code\n  would compute?\n- Is every acceptance criterion provable by running something?\n- Is it one boundary and one production activation, or a plan with phases?\n- Does this merge activate a real caller rather than land dead foundation code?\n- Are all prerequisite seams already merged to `main`?\n- If it touches stored or wire data, does it say what happens to existing data\n  and to a mixed-version cluster?\n",{"name":5,"description":7,"allowed-tools":50},"Bash, Read, Grep, Glob","main","6d139c72c55265037781a094139a9b189d8d93a7","skills\u002Fgh-issue",130,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fskywalking-banyandb","https:\u002F\u002Fskywalking.apache.org\u002F","https:\u002F\u002Fgithub.com\u002Fapache","https:\u002F\u002Fwww.apache.org\u002F","2026-11-14 22:48:18",{"source":8,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add apache\u002Fskywalking-banyandb --skill gh-issue",{"tool":66,"command":67},"bunx","bunx skills add apache\u002Fskywalking-banyandb --skill gh-issue",{"tool":69,"command":70},"pnpm","pnpm dlx skills add apache\u002Fskywalking-banyandb --skill gh-issue","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fapache\u002Fskywalking-banyandb\u002Fblob\u002Fmain\u002Fskills\u002Fgh-issue\u002FSKILL.md",true,[74],{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"evals\u002Fevals.json","REFERENCE","参考文档",1473,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fskywalking-banyandb\u002Fblob\u002Fmain\u002Fskills\u002Fgh-issue\u002Fevals\u002Fevals.json",[81,108,132,143],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":45},"01M6AD0631HQ9KC4J5E4SQVBBB","vendor-update","Upgrade Go\u002FNode.js vendor dependencies and sync tool versions. Use whenever the user says \"upgrade dependencies\", \"update vendors\", \"vendor update\", \"run vendor-upgrade\", \"bump dependencies\", \"update packages\", or asks to run the `vendor-update` Make target. This skill also checks `scripts\u002Fbuild\u002Fversion.mk` after upgrading to see if any tracked tool versions need updating too, and removes stale binaries from `bin\u002F` when versions change.","https:\u002F\u002Fgithub.com\u002Fapache\u002Fskywalking-banyandb\u002Fblob\u002Fmain\u002Fskills\u002Fvendor-update\u002FSKILL.md",[],[88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,34,104,105,106,107],"update","vendor update","vendor","go","packages","bump","when","scripts","update packages","upgrade dependencies","upgrade","dependencies","build","stale","change","version","node","tool","run","sync",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":117,"publishedAt":45},"01M6AD03MY8XZ7J4641NXD2JEH","gh-pull-request","Create a GitHub pull request for SkyWalking BanyanDB. Use when the user asks to create a PR, submit changes, or open a pull request.","https:\u002F\u002Fgithub.com\u002Fapache\u002Fskywalking-banyandb\u002Fblob\u002Fmain\u002Fskills\u002Fgh-pull-request\u002FSKILL.md",[114],{"categoryNo":115,"categoryName":116,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000007","代码审查",[118,119,120,26,121,94,122,123,124,34,125,36,126,38,127,128,129,130,131],"pull","gh pull request","pull request","request","changes","for","submit","user","grep","open","create","pr","github","skywalking",{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":45},"01M6ACZXWXSN37RTNGM0C1PXXS","compiling","Compile and build the SkyWalking BanyanDB project. Use when the user asks to compile, build, or generate code for this project.","https:\u002F\u002Fgithub.com\u002Fapache\u002Fskywalking-banyandb\u002Fblob\u002Fmain\u002Fskills\u002Fcompiling\u002FSKILL.md",[],[134,125,94,123,139,100,34,36,126,38,140,131,141,142],"project","compile","code","generate",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":45},"01M6ACZV6249KB28054ZD5DG1Z","bydbql","Generate, validate, and optionally execute read-only BanyanDB BydbQL for STREAM, MEASURE, TRACE, and PROPERTY resources. Use when the user asks to query BanyanDB, translate natural language to BydbQL, inspect BanyanDB schema or data, validate BydbQL, or fetch raw BanyanDB records.","https:\u002F\u002Fgithub.com\u002Fapache\u002Fskywalking-banyandb\u002Fblob\u002Fmain\u002Fskills\u002Fbydbql\u002FSKILL.md",[],[145,150,151,123,152,153,154,155,156,157,94,158,34,159,160,36,161,142,162,163],"only","stream","inspect","read-only","records","resources","query","natural language","schema","execute","fetch","data","validate","translate"]