[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71J2F0EHVZT0ZZ6ER7BYS7W":3,"skill-same:01M71J2F0EHVZT0ZZ6ER7BYS7W":72},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":13,"repositoryHtmlUrl":43,"repositoryHomepageUrl":6,"ownerHtmlUrl":44,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":45,"install":46,"resources":59},"01M71J2F0EHVZT0ZZ6ER7BYS7W","backlog",null,"Collects open issues with the `backlog.mjs` engine, orders them by dependency graph (reusing drive's dependency-notation SSOT) and fixed-vocabulary priority rules, and presents start candidates output in drive argument format (e.g. `#12,#15 ->","ozzy-labs\u002Fskills","ozzy-labs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F246109093?v=4","01M6H0M2K2PZXHWNHJJTWY20FY","01M71J2B6FZ5KPEXPR5VS1TX7Z",0,"MIT","https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fskills\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbacklog\u002FSKILL.md",[],[5,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"notation","vocabulary","graph","drive","orders","start","format","dependency","argument","with","candidates","engine","output","Rules","open","issues","dependency graph","2026-11-10 10:12:30",false,"---\nname: backlog\ndescription: Collects open issues with the `backlog.mjs` engine, orders them by dependency graph (reusing drive's dependency-notation SSOT) and fixed-vocabulary priority rules, and presents start candidates output in drive argument format (e.g. `#12,#15 -> #18`). Default is presentation only; `--drive[=N]` hands off to drive after confirmation; `--auto` hands off to drive without confirmation, but only for issues labeled `auto-ok` (HATL). Single repo only.\n---\n\n# backlog - Prioritize open issues and connect to drive\n\ndrive presupposes that \"a human hands it the issue number to start on,\" so the **upstream** of the autonomous loop (selecting what to start on) had not been made into a skill. This skill fills that gap: it collects open issues, orders them by dependency graph and priority, and presents\u002Fconnects start candidates in drive argument format.\n\nThe deterministic logic (issue collection, dependency extraction, priority sorting, `auto-ok` gating, drive-argument formatting, and rendering) is handled by the bundled **`backlog.mjs` engine** ([ADR-0028](https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fhandbook\u002Fblob\u002Fmain\u002Fadr\u002F0028-skills-architecture-engine-judgment-policy-catalog.md) R1, following the precedent of `drive-plan.mjs` \u002F `topics.mjs` \u002F `health-check.mjs` \u002F `policy-read.mjs`). This SKILL.md confines itself to the judgment layer — **when to call the engine, how to present the candidates, and where to confirm with a human (policy gate)**. Claude does not create priority ordering on its own judgment (the ordering is determined by the engine's fixed vocabulary).\n\n**Scope**: single repository only. cross-repo backlog is a future consideration (see [Out of scope](#out-of-scope)).\n\n## Input\n\n```text\nbacklog\n  --repo owner\u002Frepo   (resolved from cwd's origin if omitted)\n  --label \u003Cfilter>    (label filter passed to gh issue list)\n  --limit N           (collection limit; default 20)\n  --drive[=N]         (hand off top N + dependency closure to drive after confirmation; omit N for all candidates)\n  --auto              (hand off to drive without confirmation, but only for issues labeled `auto-ok`)\n```\n\nThe `--dry-run` equivalent (presentation only, no side effects) is the **default behavior**, so no flag is needed.\n\n## Steps\n\n1. Run `backlog.mjs` **in the same directory as this SKILL.md** via Bash (pass the arguments through as-is). In Claude Code this is `~\u002F.claude\u002Fskills\u002Fbacklog\u002Fbacklog.mjs` (dogfood: `\u003Crepo>\u002F.claude\u002Fskills\u002Fbacklog\u002Fbacklog.mjs`; Codex\u002FGemini: `.agents\u002Fskills\u002Fbacklog\u002Fbacklog.mjs`):\n\n   ```bash\n   node \u003Cthis skill's directory>\u002Fbacklog.mjs [--repo owner\u002Frepo] [--label \u003Cfilter>] [--limit N] [--drive[=N] | --auto]\n   ```\n\n   By default the engine outputs **formatted text** (a priority-ordered candidate table + blocker list + drive argument format) to stdout. Use `--json` to get structured JSON.\n\n2. **Present the engine's output as-is** (do not reformat, reinterpret, or re-sort it — collection, dependency extraction, and priority rules are all the engine's responsibility).\n3. If `repo_error` is set (no GitHub remote), present that fact and prompt for an explicit `--repo owner\u002Frepo`. If `fetch_error` is set (gh not authenticated \u002F rate limit \u002F network), relay the engine's classification as-is.\n4. Connecting to drive follows the mode branching below and the **policy's `externally-visible` gate**.\n\n## Dependency notation (SSOT is drive)\n\nThe grammar for dependency extraction (the `depends on #X` family) and its extraction rules, along with the logic that splits dependencies into waves, are **SSOT'd on the drive side** (`drive-plan.mjs`'s `detectBodyDeps` \u002F `topoWaves`; the canonical source is drive SKILL.md's \"Explicit dependency notation\" \u002F \"Phase 0\"). `backlog.mjs` **imports and reuses** them. Neither this SKILL.md nor `backlog.mjs` **restates the rules** (to prevent drift). Refer to drive SKILL.md to check the meaning of the dependency graph.\n\n\"blocker\" = an issue that other collected issues depend on (a depended-upon target detected by `detectBodyDeps`). The engine reflects this in both priority rule (a) and the wave order of the drive arguments.\n\n## Priority rules (fixed vocabulary, listed in priority order from top)\n\nThe engine sorts deterministically using the fixed vocabulary in the table below. Claude **does not reinterpret or override** this ordering.\n\n| Rank | Rule | Criterion |\n| --- | --- | --- |\n| (a) | **blocker** (depended on by other issues) | Depended-upon targets go first |\n| (b) | **milestone due date ascending** | Earliest `milestone.dueOn` first. No due date \u002F no milestone goes last |\n| (c) | **labels such as `priority:high`** | Issues with the fixed vocabulary `priority:high` \u002F `priority: high` \u002F `p0` \u002F `p1` (case-insensitive) go first |\n| (d) | **updatedAt ascending (oldest first)** | Issues with an older (neglected) last update go first |\n| tie-break | **issue number ascending** | If all of the above tie, lower numbers go first (fully deterministic) |\n\nThis fixed vocabulary is implemented in `backlog.mjs`. To add or remove vocabulary, revise both `backlog.mjs` and this table together (Claude does not add label vocabulary on its own judgment).\n\n## Output (drive argument format)\n\nThe engine returns the selection result as an argument string that drive can interpret directly (`handoff.drive_args`):\n\n- A group of candidates with no dependencies → comma-separated list `#1,#2,#3`\n- A clean dependency structure (where each wave's nodes (transitively) depend on all preceding nodes) → expressed as waves using drive's dependency notation `->`: `#12,#15 -> #18` (#18 comes after #12, #15 complete)\n\nWave splitting reuses drive's `topoWaves`. However, when independent and dependent nodes are mixed and the wave notation would **fabricate false dependency edges** (drive interprets `A,B -> C` as \"C depends on both A and B\", so an unrelated wave-mate's failure could cause C to be incorrectly skipped), it falls back to a **flat, priority-ordered comma list** instead of using `->`. In this case, no false edges arise because drive's Phase 0 reconstructs the real DAG from the issue body using the same `detectBodyDeps` (`drive-plan.mjs`). Either format can be passed directly to `\u002Fdrive \u003Cdrive_args>` (`handoff.faithful` indicates which one was output).\n\n## Connecting to drive (mode branching)\n\n| Mode | Trigger condition | Behavior |\n| --- | --- | --- |\n| **present** (default) | Neither `--drive` nor `--auto` | Only presents the candidate table + `drive_args`. drive is not launched. Once the user selects via the host's confirmation UI, either output the drive arguments for that subset or launch `\u002Fdrive` |\n| **drive** | `--drive[=N]` | Presents the top N (expanded to include the dependency closure) in the confirmation UI → launches `\u002Fdrive \u003Cdrive_args>` after approval |\n| **auto** | `--auto` | Goes to drive without individual confirmation. However, targets are limited to issues labeled `auto-ok` (HATL below). Follows the policy gate |\n\n## `--auto`'s HATL gating (requires the `auto-ok` label)\n\n`--auto` \"launches drive without confirmation\", but **its scope is limited to issues labeled `auto-ok`**. This is HATL (human-at-the-loop): **the human does not give individual approval, but instead sets the boundary condition via the label**.\n\n- Label convention: `auto-ok` is applied **only by a human**. Who applies it and when is fixed by operational practice, and no automatic-application path is created. Applying the label = standing approval that this issue may be passed to drive without confirmation.\n- Engine enforcement: under `--auto`, the engine **always excludes** issues without the `auto-ok` label from the handoff set (`handoff.excluded_no_label`). Furthermore, if an `auto-ok` issue **depends on an issue that is not `auto-ok`**, that issue is also excluded (`excluded_unapproved_dep`, cascading). drive never starts work on an unapproved issue.\n- **There is no ungated `--auto`**. If there are zero issues with the `auto-ok` label, the handoff set is empty and drive is not launched.\n\n## Policy reference at connection time (`externally-visible` gate)\n\nWhen backlog launches drive, drive performs **externally-visible, irreversible actions** such as creating a PR and (with `--merge`) merging. Therefore, **the act of launching drive from backlog itself is classified as an externally-visible action**, and rather than hardcoding an individual approval gate in prose, it follows the central autonomy policy (the SSOT for the 3 classes and gate vocabulary, defined by the `policy` skill). Classification and zero-config default:\n\n| This skill's action | Class | Policy reference | Zero-config default gate |\n| --- | --- | --- | --- |\n| Launching drive (`--drive` \u002F `--auto`) | `externally-visible` | `--action=drive-launch --class=externally-visible` | `batch-confirm` (presents the drive arguments to be launched once, for a single batch confirmation) |\n\nThe effective gate is looked up via the sibling `policy` skill's `policy-read.mjs` (in Claude Code's user-scope this is `~\u002F.claude\u002Fskills\u002Fpolicy\u002Fpolicy-read.mjs`; dogfood: `\u003Crepo>\u002F.claude\u002Fskills\u002Fpolicy\u002Fpolicy-read.mjs`; Codex\u002FGemini: `.agents\u002Fskills\u002Fpolicy\u002Fpolicy-read.mjs`):\n\n```bash\nnode \u003Cpolicy skill's directory>\u002Fpolicy-read.mjs --action=drive-launch --class=externally-visible --repo-root=\"$PWD\"\n# => .resolved.gate (default batch-confirm)\n```\n\nBehavior per gate:\n\n- gate=`batch-confirm` (zero-config default):\n  - `--drive`: presents the drive arguments to be launched once for a single batch confirmation → launches `\u002Fdrive` after approval\n  - `--auto`: since the `auto-ok` label functions as standing approval (a boundary condition), the handoff set (= `auto-ok` issues only) is presented once and launched. No individual confirmation is done\n- gate=`proceed`: launches without confirmation\n- gate=`ask`: confirms drive arguments one at a time (even with `--auto`, it fails safe and is escalated to individual confirmation)\n\n**Does not break even if policy is absent:** `policy-read.mjs` is fail-safe by design — unreadable or invalid values fall to the stricter side (`ask`). In environments where the `policy` skill is not deployed, the zero-config default gate in the table above (`externally-visible`=`batch-confirm`) is applied directly. In either case, `--auto`'s `auto-ok` gating always takes effect.\n\n## Integration with scheduled execution (`schedule` \u002F `\u002Floop`)\n\nLaunching `--auto` + `--limit` from `schedule` (cron routine) or `\u002Floop` closes the loop of \"attach `auto-ok` and it gets consumed automatically\" ([ADR-0028](https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fhandbook\u002Fblob\u002Fmain\u002Fadr\u002F0028-skills-architecture-engine-judgment-policy-catalog.md) R5). Example: `\u002Fbacklog --auto --limit 3`. Human involvement converges to a single point: \"applying the `auto-ok` label\".\n\n## Error handling (the engine puts this in the JSON)\n\n| Situation | Engine behavior |\n| --- | --- |\n| `--repo` not specified and no GitHub remote | Sets `repo_error`. Prompts for an explicit value rather than relying on gh's default repo resolution |\n| `gh` not authenticated \u002F rate limit \u002F network | Puts the classification in `fetch_error`. Candidates are empty |\n| 0 open issues | `issues: []`. handoff is empty |\n| Circular dependency | Falls back to a flat comma list for the drive arguments and records it in `warnings` |\n\n## Out of scope\n\n| Item | Reason for exclusion |\n| --- | --- |\n| 1. cross-repo backlog | Single repo only for now. Selection across multiple repos will be considered in a separate issue |\n| 2. Making priority rules freeform | Ranking uses only fixed vocabulary. The LLM does not create rankings on its own judgment (for reproducibility and reliability) |\n| 3. The internals of drive execution | This skill only selects and launches. Implementation, review, and merging are drive's responsibility |\n\n## Notes\n\n- Do not read or stage `.env` files\n- The SSOT for dependency notation is drive (`drive-plan.mjs`). backlog reuses it via import and does not restate the rules\n- **Requires the `drive` skill at the same level**: `backlog.mjs` imports the sibling `drive\u002Fdrive-plan.mjs` (to avoid duplicating dependency rules). Since backlog is a skill that hands off to drive, drive is always assumed to coexist with it. Standalone install (backlog only) is not supported\n- Priority is determined by the engine using the fixed vocabulary (table above). Claude does not re-sort\n- `--auto` is always gated by the `auto-ok` label (there is no ungated, unconfirmed launch)\n- Launching drive follows the policy's `externally-visible` gate (default `batch-confirm`)\n","# backlog - Prioritize open issues and connect to drive\n\ndrive presupposes that \"a human hands it the issue number to start on,\" so the **upstream** of the autonomous loop (selecting what to start on) had not been made into a skill. This skill fills that gap: it collects open issues, orders them by dependency graph and priority, and presents\u002Fconnects start candidates in drive argument format.\n\nThe deterministic logic (issue collection, dependency extraction, priority sorting, `auto-ok` gating, drive-argument formatting, and rendering) is handled by the bundled **`backlog.mjs` engine** ([ADR-0028](https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fhandbook\u002Fblob\u002Fmain\u002Fadr\u002F0028-skills-architecture-engine-judgment-policy-catalog.md) R1, following the precedent of `drive-plan.mjs` \u002F `topics.mjs` \u002F `health-check.mjs` \u002F `policy-read.mjs`). This SKILL.md confines itself to the judgment layer — **when to call the engine, how to present the candidates, and where to confirm with a human (policy gate)**. Claude does not create priority ordering on its own judgment (the ordering is determined by the engine's fixed vocabulary).\n\n**Scope**: single repository only. cross-repo backlog is a future consideration (see [Out of scope](#out-of-scope)).\n\n## Input\n\n```text\nbacklog\n  --repo owner\u002Frepo   (resolved from cwd's origin if omitted)\n  --label \u003Cfilter>    (label filter passed to gh issue list)\n  --limit N           (collection limit; default 20)\n  --drive[=N]         (hand off top N + dependency closure to drive after confirmation; omit N for all candidates)\n  --auto              (hand off to drive without confirmation, but only for issues labeled `auto-ok`)\n```\n\nThe `--dry-run` equivalent (presentation only, no side effects) is the **default behavior**, so no flag is needed.\n\n## Steps\n\n1. Run `backlog.mjs` **in the same directory as this SKILL.md** via Bash (pass the arguments through as-is). In Claude Code this is `~\u002F.claude\u002Fskills\u002Fbacklog\u002Fbacklog.mjs` (dogfood: `\u003Crepo>\u002F.claude\u002Fskills\u002Fbacklog\u002Fbacklog.mjs`; Codex\u002FGemini: `.agents\u002Fskills\u002Fbacklog\u002Fbacklog.mjs`):\n\n   ```bash\n   node \u003Cthis skill's directory>\u002Fbacklog.mjs [--repo owner\u002Frepo] [--label \u003Cfilter>] [--limit N] [--drive[=N] | --auto]\n   ```\n\n   By default the engine outputs **formatted text** (a priority-ordered candidate table + blocker list + drive argument format) to stdout. Use `--json` to get structured JSON.\n\n2. **Present the engine's output as-is** (do not reformat, reinterpret, or re-sort it — collection, dependency extraction, and priority rules are all the engine's responsibility).\n3. If `repo_error` is set (no GitHub remote), present that fact and prompt for an explicit `--repo owner\u002Frepo`. If `fetch_error` is set (gh not authenticated \u002F rate limit \u002F network), relay the engine's classification as-is.\n4. Connecting to drive follows the mode branching below and the **policy's `externally-visible` gate**.\n\n## Dependency notation (SSOT is drive)\n\nThe grammar for dependency extraction (the `depends on #X` family) and its extraction rules, along with the logic that splits dependencies into waves, are **SSOT'd on the drive side** (`drive-plan.mjs`'s `detectBodyDeps` \u002F `topoWaves`; the canonical source is drive SKILL.md's \"Explicit dependency notation\" \u002F \"Phase 0\"). `backlog.mjs` **imports and reuses** them. Neither this SKILL.md nor `backlog.mjs` **restates the rules** (to prevent drift). Refer to drive SKILL.md to check the meaning of the dependency graph.\n\n\"blocker\" = an issue that other collected issues depend on (a depended-upon target detected by `detectBodyDeps`). The engine reflects this in both priority rule (a) and the wave order of the drive arguments.\n\n## Priority rules (fixed vocabulary, listed in priority order from top)\n\nThe engine sorts deterministically using the fixed vocabulary in the table below. Claude **does not reinterpret or override** this ordering.\n\n| Rank | Rule | Criterion |\n| --- | --- | --- |\n| (a) | **blocker** (depended on by other issues) | Depended-upon targets go first |\n| (b) | **milestone due date ascending** | Earliest `milestone.dueOn` first. No due date \u002F no milestone goes last |\n| (c) | **labels such as `priority:high`** | Issues with the fixed vocabulary `priority:high` \u002F `priority: high` \u002F `p0` \u002F `p1` (case-insensitive) go first |\n| (d) | **updatedAt ascending (oldest first)** | Issues with an older (neglected) last update go first |\n| tie-break | **issue number ascending** | If all of the above tie, lower numbers go first (fully deterministic) |\n\nThis fixed vocabulary is implemented in `backlog.mjs`. To add or remove vocabulary, revise both `backlog.mjs` and this table together (Claude does not add label vocabulary on its own judgment).\n\n## Output (drive argument format)\n\nThe engine returns the selection result as an argument string that drive can interpret directly (`handoff.drive_args`):\n\n- A group of candidates with no dependencies → comma-separated list `#1,#2,#3`\n- A clean dependency structure (where each wave's nodes (transitively) depend on all preceding nodes) → expressed as waves using drive's dependency notation `->`: `#12,#15 -> #18` (#18 comes after #12, #15 complete)\n\nWave splitting reuses drive's `topoWaves`. However, when independent and dependent nodes are mixed and the wave notation would **fabricate false dependency edges** (drive interprets `A,B -> C` as \"C depends on both A and B\", so an unrelated wave-mate's failure could cause C to be incorrectly skipped), it falls back to a **flat, priority-ordered comma list** instead of using `->`. In this case, no false edges arise because drive's Phase 0 reconstructs the real DAG from the issue body using the same `detectBodyDeps` (`drive-plan.mjs`). Either format can be passed directly to `\u002Fdrive \u003Cdrive_args>` (`handoff.faithful` indicates which one was output).\n\n## Connecting to drive (mode branching)\n\n| Mode | Trigger condition | Behavior |\n| --- | --- | --- |\n| **present** (default) | Neither `--drive` nor `--auto` | Only presents the candidate table + `drive_args`. drive is not launched. Once the user selects via the host's confirmation UI, either output the drive arguments for that subset or launch `\u002Fdrive` |\n| **drive** | `--drive[=N]` | Presents the top N (expanded to include the dependency closure) in the confirmation UI → launches `\u002Fdrive \u003Cdrive_args>` after approval |\n| **auto** | `--auto` | Goes to drive without individual confirmation. However, targets are limited to issues labeled `auto-ok` (HATL below). Follows the policy gate |\n\n## `--auto`'s HATL gating (requires the `auto-ok` label)\n\n`--auto` \"launches drive without confirmation\", but **its scope is limited to issues labeled `auto-ok`**. This is HATL (human-at-the-loop): **the human does not give individual approval, but instead sets the boundary condition via the label**.\n\n- Label convention: `auto-ok` is applied **only by a human**. Who applies it and when is fixed by operational practice, and no automatic-application path is created. Applying the label = standing approval that this issue may be passed to drive without confirmation.\n- Engine enforcement: under `--auto`, the engine **always excludes** issues without the `auto-ok` label from the handoff set (`handoff.excluded_no_label`). Furthermore, if an `auto-ok` issue **depends on an issue that is not `auto-ok`**, that issue is also excluded (`excluded_unapproved_dep`, cascading). drive never starts work on an unapproved issue.\n- **There is no ungated `--auto`**. If there are zero issues with the `auto-ok` label, the handoff set is empty and drive is not launched.\n\n## Policy reference at connection time (`externally-visible` gate)\n\nWhen backlog launches drive, drive performs **externally-visible, irreversible actions** such as creating a PR and (with `--merge`) merging. Therefore, **the act of launching drive from backlog itself is classified as an externally-visible action**, and rather than hardcoding an individual approval gate in prose, it follows the central autonomy policy (the SSOT for the 3 classes and gate vocabulary, defined by the `policy` skill). Classification and zero-config default:\n\n| This skill's action | Class | Policy reference | Zero-config default gate |\n| --- | --- | --- | --- |\n| Launching drive (`--drive` \u002F `--auto`) | `externally-visible` | `--action=drive-launch --class=externally-visible` | `batch-confirm` (presents the drive arguments to be launched once, for a single batch confirmation) |\n\nThe effective gate is looked up via the sibling `policy` skill's `policy-read.mjs` (in Claude Code's user-scope this is `~\u002F.claude\u002Fskills\u002Fpolicy\u002Fpolicy-read.mjs`; dogfood: `\u003Crepo>\u002F.claude\u002Fskills\u002Fpolicy\u002Fpolicy-read.mjs`; Codex\u002FGemini: `.agents\u002Fskills\u002Fpolicy\u002Fpolicy-read.mjs`):\n\n```bash\nnode \u003Cpolicy skill's directory>\u002Fpolicy-read.mjs --action=drive-launch --class=externally-visible --repo-root=\"$PWD\"\n# => .resolved.gate (default batch-confirm)\n```\n\nBehavior per gate:\n\n- gate=`batch-confirm` (zero-config default):\n  - `--drive`: presents the drive arguments to be launched once for a single batch confirmation → launches `\u002Fdrive` after approval\n  - `--auto`: since the `auto-ok` label functions as standing approval (a boundary condition), the handoff set (= `auto-ok` issues only) is presented once and launched. No individual confirmation is done\n- gate=`proceed`: launches without confirmation\n- gate=`ask`: confirms drive arguments one at a time (even with `--auto`, it fails safe and is escalated to individual confirmation)\n\n**Does not break even if policy is absent:** `policy-read.mjs` is fail-safe by design — unreadable or invalid values fall to the stricter side (`ask`). In environments where the `policy` skill is not deployed, the zero-config default gate in the table above (`externally-visible`=`batch-confirm`) is applied directly. In either case, `--auto`'s `auto-ok` gating always takes effect.\n\n## Integration with scheduled execution (`schedule` \u002F `\u002Floop`)\n\nLaunching `--auto` + `--limit` from `schedule` (cron routine) or `\u002Floop` closes the loop of \"attach `auto-ok` and it gets consumed automatically\" ([ADR-0028](https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fhandbook\u002Fblob\u002Fmain\u002Fadr\u002F0028-skills-architecture-engine-judgment-policy-catalog.md) R5). Example: `\u002Fbacklog --auto --limit 3`. Human involvement converges to a single point: \"applying the `auto-ok` label\".\n\n## Error handling (the engine puts this in the JSON)\n\n| Situation | Engine behavior |\n| --- | --- |\n| `--repo` not specified and no GitHub remote | Sets `repo_error`. Prompts for an explicit value rather than relying on gh's default repo resolution |\n| `gh` not authenticated \u002F rate limit \u002F network | Puts the classification in `fetch_error`. Candidates are empty |\n| 0 open issues | `issues: []`. handoff is empty |\n| Circular dependency | Falls back to a flat comma list for the drive arguments and records it in `warnings` |\n\n## Out of scope\n\n| Item | Reason for exclusion |\n| --- | --- |\n| 1. cross-repo backlog | Single repo only for now. Selection across multiple repos will be considered in a separate issue |\n| 2. Making priority rules freeform | Ranking uses only fixed vocabulary. The LLM does not create rankings on its own judgment (for reproducibility and reliability) |\n| 3. The internals of drive execution | This skill only selects and launches. Implementation, review, and merging are drive's responsibility |\n\n## Notes\n\n- Do not read or stage `.env` files\n- The SSOT for dependency notation is drive (`drive-plan.mjs`). backlog reuses it via import and does not restate the rules\n- **Requires the `drive` skill at the same level**: `backlog.mjs` imports the sibling `drive\u002Fdrive-plan.mjs` (to avoid duplicating dependency rules). Since backlog is a skill that hands off to drive, drive is always assumed to coexist with it. Standalone install (backlog only) is not supported\n- Priority is determined by the engine using the fixed vocabulary (table above). Claude does not re-sort\n- `--auto` is always gated by the `auto-ok` label (there is no ungated, unconfirmed launch)\n- Launching drive follows the policy's `externally-visible` gate (default `batch-confirm`)\n",{"name":5,"description":7},"main","db212a47efe751fa1c42bd76e61dbfd8328e5b10",".agents\u002Fskills\u002Fbacklog","https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fskills","https:\u002F\u002Fgithub.com\u002Fozzy-labs","2026-07-13 06:49:42",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add ozzy-labs\u002Fskills --skill backlog",{"tool":52,"command":53},"bunx","bunx skills add ozzy-labs\u002Fskills --skill backlog",{"tool":55,"command":56},"pnpm","pnpm dlx skills add ozzy-labs\u002Fskills --skill backlog","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fskills\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbacklog\u002FSKILL.md",true,[60,66],{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},"backlog.mjs","SCRIPT","脚本",25369,"https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fskills\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbacklog\u002Fbacklog.mjs",{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"SKILL.claude-code.md","REFERENCE","参考文档",4373,"https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fskills\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbacklog\u002FSKILL.claude-code.md",[73,97,123,144,166,187],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":35},"01M71J6R63H4E6ZE6KMDM4CT85","verify","An integrated skill that runs the combined validation of build \u002F typecheck \u002F test \u002F lint in one shot. The `verify.mjs` engine auto-discovers validation commands via a discovery chain (AGENTS.md's 「検証」 section → package.json scripts → justfile\u002FMakefile\u002Flefthook → language heuristics), executes them serially with their source attached, and returns a result summary. If a higher-priority stage produces a hit, only that stage is executed (no crossing stages).","https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fskills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fverify\u002FSKILL.md",[],[75,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,29,27,95,96],"combined","heuristics","chain","repo","discovery","section","lefthook","only","auto","package","stage","Bash","one","lint","dry","test","typecheck",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":35},"01M71J6JW7SAY9PDKAWHG3SJCR","usage-guard","Monitors Claude Code's Usage Limit (5-hour = Current \u002F weekly = Weekly), pauses work when it exceeds 95%, and automatically resumes once the reset restores headroom. Bundles an engine form that a caller such as drive Reads at a checkpoint, and a standalone form, `\u002Fusage-guard \"\u003Ccontinuation command>\"`, that guards arbitrary work. Claude-only (depends on the OAuth usage-rate endpoint + ScheduleWakeup).","https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fskills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fusage-guard\u002FSKILL.md",[],[104,105,106,107,108,87,109,110,111,112,113,114,115,116,117,118,119,120,121,122],"usage","usage guard","guard","weekly","standalone","guards","when","code","reset","work","command","at","rate","status","endpoint","as","continuation","form","limit",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":35},"01M71J6FRG119REA1G0S99Q4GZ","topics","Selects GitHub topic candidates by having the `topics.mjs` engine perform constraint validation, popularity measurement, broad+narrow \u002F singular-plural comparison, and hardcoded ozzy-labs conventions, then applies them via `gh repo edit --add-topic` following the policy's `externally-visible` gate (default batch-confirm). Scope is limited to use within ozzy-labs.","https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fskills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftopics\u002FSKILL.md",[],[125,130,131,83,132,133,134,135,136,137,138,91,139,140,141,94,29,28,142,143],"measurement","scope","policy","default","true","gh","plural","use","comparison","apply","candidate","batch","github","via",{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":35},"01M71J6DC27P4FDSP10SDT2PSN","skill-observability","Defines the skill observability event contract (event.schema.json) and emit substrate (obs-emit.mjs). The SSOT for the measurement layer of the skill improvement loop. Referenced by other skills and hooks.","https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fskills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fskill-observability\u002FSKILL.md",[],[151,152,130,153,154,155,156,157,158,159,160,161,162,163,164,165],"observability","skill observability","improvement","skill improvement","for","event","hooks","contract","schema","loop","false","substrate","json","improvement loop","layer",{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":35},"01M71J6AYECH1J94RAZ49QZ19Y","skill-metrics","Aggregates the local observability event log (~\u002F.agents\u002Fobservability\u002Fevents.jsonl) and presents, read-only, per-skill invocation counts and notable events (fallback \u002F HITL rejection \u002F loop cap reached \u002F abort). Fires on \"show me the skill metrics,\" \"aggregate the observability results,\" \"which skills get used the most?\" Does not send anything.","https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fskills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fskill-metrics\u002FSKILL.md",[],[173,174,151,175,176,177,178,179,156,180,181,182,183,134,87,160,184,91,185,186],"skill metrics","metrics","event log","which","show","get","read-only","iso","aggregates","send","local","show me","log","jsonl",{"skillNo":188,"name":189,"nameZh":6,"description":190,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":191,"categories":192,"keywords":193,"publishedAt":35},"01M71J68TD0QFATGW3BBZVCWA2","ship","Runs verification, commit, and PR creation all at once. An integrated pipeline that runs verify (build + type + test + lint) → commit → PR creation in sequence against the changes.","https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fskills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fship\u002FSKILL.md",[],[189,194,195,95,196,197,75,198,199,200,115,201,202,203,134,204,91,205,93],"type","verification","changes","pr","creation","build","pipeline","read","sequence","grep","pr creation","commit"]