/forgejo-issues:forgejo-issuesfrom forgejo-issues
Reads, creates, edits, closes and labels a single issue on Codeberg or a self-hosted Forgejo with fj, including templates, milestones, dependencies and issue search. Use when the user wants to file or update one Forgejo or Codeberg issue, set its labels or milestone, or find issues by query. Not for GitHub issues (`gh-issues`).
Ships in forgejo-issues. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Make issue changes through fj. Reads run freely. Every write needs the user's approval first.
Run git remote -v. github.com, or a host gh auth status --hostname <host> knows, means GitHub: stop and name gh-issues (if installed). codeberg.org, a host where curl -fsS https://<host>/api/forgejo/v1/version answers, or a repo with .forgejo/workflows or .gitea/workflows means Forgejo. With several remotes, pass -R <remote> after the noun (fj issue -R <remote> view 123) on every call and never assume origin; the placement table in forgejo-cli lists where each flag goes. Outside a checkout, issue create, issue search and issue templates take -r host/owner/name. If fj is missing or logged out, use forgejo-cli.
Creating, editing, commenting, labeling, closing, assigning and dependency changes change shared state.
Codeberg's terms restrict projects made mostly of generative-AI code, so draft and show text and never post unattended.
fj issue -R <remote> view 123 # title and body
fj issue -R <remote> view 123 comments
fj issue -R <remote> search "sso" -s all
fj issue -R <remote> search -l bug -a alice -s open --all
fj issue -R <remote> templates
issue search takes -l labels, -c creator, -a assignee, -s open|closed|all (default open), -m milestones, -p page, --all. Output is text, there is no JSON. Confirm flags with fj issue search --help.
fj issue search "<keywords>" -s all. If one exists, offer to comment on it instead.fj repo labels view (several remotes: fj repo labels <host/owner/repo> view), fj milestone search --state all. With forgejo-mcp tools present (mcp__plugin_forgejo-mcp_forgejo__*), use them for label IDs and organization labels.fj issue templates. Use one with --template "<name>", otherwise a body from templates. If the repo disables blank issues, --template is required.fj issue create "Login fails with SSO enabled" --body-file /tmp/issue-body.md --milestone "v2.0"
fj issue edit 123 labels -a bug
issue create has no label flag, so labels are a second command with the number it printed. edit N labels takes -a/--add and -r/--rm. Check fj issue edit 123 labels --help for how several labels are passed. Keep titles specific and under about 72 characters. Omitting --body and --body-file opens an editor, which hangs a non-interactive run.
fj issue edit 123 title "New title"
fj issue edit 123 milestone "v2.0" # --unset removes it
fj issue edit 123 labels -a needs-info -r needs-triage
fj issue comment 123 --body-file /tmp/comment.md
fj issue assign 123 alice
fj issue close 123 -w "Out of scope because ..."
issue edit N body replaces the whole body, so read the current body with issue view and edit it. fj 0.7.0 has no issue reopen: use the web UI (fj issue browse 123) or a forgejo-mcp tool.
fj issue depend add 123 120 # 123 depends on 120
fj issue block add 123 130 # 123 blocks 130
fj issue depend list 123
Use these when a link carries meaning such as "blocked by". Otherwise write Related to #123 in the body.
fj milestone search|create|view|edit|delete (create requires --state open|closed), fj repo labels view|create|delete|edit. Creating or deleting either is a write that needs approval.
No JSON output, no label flag on create, no reopen, no Projects. Fall back to forgejo-mcp tools, then the web UI. The reference templates holds body shapes for bugs, features and tasks.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub adminhead/claude-plugins --plugin forgejo-issues