feat(forgejo-cli): add --list-labels for deterministic label lookup #14

Merged
jerome merged 2 commits from fj-list-labels into main 2026-07-01 00:27:22 +03:00
Collaborator

Goal

Give the forgejo-cli skill a deterministic way to discover a repo's actual
label names before applying one.

Why

fj's additive -a/-r label flags silently no-op on an unknown label
name, so guessing a label leads to a confusing no-op instead of an error.

Steps

  • Add --list-labels to fj_read.py, paging /repos/{repo}/labels.
  • Document it in SKILL.md, pointed at from the pr-label/issue-label section.
## Goal Give the forgejo-cli skill a deterministic way to discover a repo's actual label names before applying one. ## Why `fj`'s additive `-a`/`-r` label flags silently no-op on an unknown label name, so guessing a label leads to a confusing no-op instead of an error. ## Steps - Add `--list-labels` to `fj_read.py`, paging `/repos/{repo}/labels`. - Document it in SKILL.md, pointed at from the `pr-label`/`issue-label` section.
feat(forgejo-cli): add --list-labels for deterministic label lookup
All checks were successful
gitleaks / gitleaks (pull_request) Successful in 23s
55177d93f6
Skill had no way to discover a repo's actual label names before
applying one; fj's additive -a silently no-ops on an unknown name.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
docs(task): point label checks at fj_read.py --list-labels
All checks were successful
gitleaks / gitleaks (pull_request) Successful in 1m16s
f0f94169c1
task-new/task-implement/task-orchestrate all said "only apply labels
that already exist" but had no deterministic way to check -- fj's
additive -a silently no-ops on an unknown label instead of erroring.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
jerome approved these changes 2026-07-01 00:27:18 +03:00
jerome merged commit d3ffaddb43 into main 2026-07-01 00:27:22 +03:00
jerome deleted branch fj-list-labels 2026-07-01 00:27:22 +03:00
Sign in to join this conversation.
No reviewers
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
public/chiche-plugins!14
No description provided.