pull down to refresh

Do you guys have custom tools configured for OpenCode? I'm considering reading from JIRA, Intranet and other self hosted resources for roundabout two dozen people team.

Do you guys have any custom tools? If yes, which ones?

yes (comment which)50.0%
no50.0%
2 votes \ 346 days left

i have a skill + helper for read/write from a private forgejo for interacting with issues/prs and comments

reply

damn. That sounds sophisticated

reply

hmm not really. It just uses the forgejo/gitea REST API, you'd do the same on Jira. The helper is there to have a basic CLI command instead of having to write curl calls with JSON bodies all the time and return yaml instead of json, like so

forgejo issue get privateorg/privaterepo 123
forgejo issue reply privateorg/privaterepo 123 "${reply}"
forgejo pr create me/myfork upstream/theirfork "${pr_body}" --label "type/bugfix"

Can just ask an LLM to develop the CLI command - for mine I just wrote the framework for it and then let the LLM fill in the methods. The skill markdown is just a means to expose /forgejo in prompts so that you can easily guide what it should do, and contains some examples for common use cases and how to use --help

reply