It is just a prompt change if there is a cli tool for GitLab or Bitbucket. I just tell Claude to use the gh cli tool and to use it as external memory to track tasks and to submit PRs.
It would be great to run local models at the same level one day. I am sure that Claude is making your wallet feel quite light :)