跳到正文
cccskills
免费在 GitHub 公开

gz-issue-file

Use from a consuming repository to file a gzkit defect or enhancement at tvproductions/gzkit.

中文简介正在准备中。当前显示原文说明。

集成工具GitHub
查看安装方法

包含的文件(1)

  • SKILL.md4.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

gz-issue-file

Invocation

/gz-issue-file

No ID argument. gh issue create (invoked under the hood by gz issue file) assigns the next available issue number on tvproductions/gzkit; the skill records the assigned number into session evidence after creation.

When to use

When working inside a gzkit-consuming repository and the finding belongs to a gzkit-owned surface:

  • The gz CLI itself misbehaves (parser, dispatcher, output, exit code).
  • A schema under src/gzkit/schemas/ is over- or under-strict.
  • A validator scope (gz validate --<scope>) misses or false-flags drift.
  • A ledger event semantic drifts from doctrine.
  • A rule under .gzkit/rules/** contradicts another rule or is silently skipped.
  • A skill or hook surface in .gzkit/skills/ or .gzkit/hooks/ regresses.

For enhancements to any of the above, file with --enhancement instead of --defect.

When NOT to use

  • Defects in consumer-repo code, content, or governance — file at the consumer's tracker via plain gh issue create.
  • In-flight defects against gzkit that meet the direct-fix thresholds in AGENTS.md § Defect-fix routing (diff size ≤10 source lines OR ≤2 source files; single named surface; ≥3 recent fix( precedents) — fix in place with fix(<scope>): … (GHI #N) rather than filing.

Procedure

  1. Preview first with --dry-run:

    uv run gz issue file \
      --title "<gzkit-surface description>" \
      --body "<must reference gz <verb>, .gzkit/, src/gzkit/, or gzkit.<module>>" \
      --defect \
      --dry-run
    
  2. Confirm the provenance line and target in the dry-run output:

    • Filed from <owner>/<repo> running gz vX.Y.Z is the first line of the issue body (the dry-run prints Target:/Label:/Title: above it).
    • Target: tvproductions/gzkit.
    • Label: defect (or enhancement).
  3. File live by re-running without --dry-run. The wrapper invokes gh issue create --repo tvproductions/gzkit --title T --body B --label L and propagates gh's exit code on failure.

  4. Record the assigned issue number into the relevant brief, GHI, or commit body so downstream (GHI #N) references resolve.

Doctrine

  • .gzkit/rules/gh-cli.md § Cross-repo filing — the canonical doctrine surface this skill operationalizes.
  • .gzkit/rules/agent-failure-modes.md § Safeguard circumvention — the failure shape this wrapper closes structurally.
  • AGENTS.md § Execution Rules (Operator PII) — the auto-stamped trailer composes only the repo slug and gz version; no email is ever derived.

Output Contract

Default form: plain text (one Target:/Label:/Title: line each, then the composed body). --dry-run is the canonical preview affordance.

The wrapper has no --json flag: filing an issue is a side-effecting operation whose canonical output is the GHI URL on stdout (gh issue create's default), not a structured payload.

Failure Modes

FailureCauseResolution
Exit 1, "issue body references no gzkit-owned surface"Body lacks gz <verb>, .gzkit/, src/gzkit/, or gzkit.<module>Edit body to name the gzkit surface; or file at the consumer's tracker if the defect is consumer-owned
Exit 1, "no git remote found"Working tree is not a git repo or has no remoteRun from a real git working tree
Exit 2, mutually-exclusive flag conflictBoth --defect and --enhancement supplied (argparse rejects before the command body runs)Pick one
Exit 2gh subprocess failed (auth, network, GitHub API error)Run gh auth status; check network; re-try

Related

  • Manpage: docs/user/manpages/issue.md
  • Command doc: docs/user/manpages/issue-file.md
  • Operator runbook entry: docs/user/runbook.md § Cross-Repo Defect Filing
  • Governance runbook entry: docs/governance/governance_runbook.md § Cross-repo defect routing
  • Parent ADR: docs/design/adr/foundation/ADR-0.0.23-agent-failure-mode-taxonomy/
  • Source brief: GHI #316
  • Sibling skill: ghi-author — for filing GHIs at the current repo (not cross-repo)

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use to mine ../airlineops for governance habits gzkit lacks; produces a parity scan report (gzkit leads, AirlineOps adopts).

中文简介正在准备中。当前显示原文说明。

tvproductions/gzkit92026年10月22日 更新

Use to file a GitHub issue when a finding needs its own work order or the operator asks; OBPI corrections stay in its change log.

中文简介正在准备中。当前显示原文说明。

tvproductions/gzkit92026年10月22日 更新

ghi-close

免费

Use to do the work a GHI describes, verify it and close the issue with evidence in one sweep.

中文简介正在准备中。当前显示原文说明。

tvproductions/gzkit92026年10月22日 更新

Use to triage the open GHI queue before planning or choosing what to pull; produces a ranked deliverable.

中文简介正在准备中。当前显示原文说明。

tvproductions/gzkit92026年10月22日 更新

git-sync

免费

Run the guarded repository sync ritual; the hooks your pre-commit config declares enforce the quality gates.

中文简介正在准备中。当前显示原文说明。

tvproductions/gzkit92026年10月22日 更新

git-sync

免费

Run the guarded repository sync ritual; commit-time hooks enforce the cheap gates and the pre-push hook runs gz check.

中文简介正在准备中。当前显示原文说明。

tvproductions/gzkit92026年10月22日 更新

查看 tvproductions 的全部技能

报告此技能的问题