From 8b59b59aadd2ac48a8cf21fef17f196a334cd6eb Mon Sep 17 00:00:00 2001 From: Hugo Nijhuis Date: Sun, 28 Dec 2025 18:22:20 +0100 Subject: [PATCH] Add Forgejo integration documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Document fj CLI setup and available slash commands for issue/PR workflow. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- CLAUDE.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index f312c9d..89278cd 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -10,6 +10,27 @@ This repository contains configurations, prompts, and tools to improve the Claud - `scripts/` - Automation scripts - `hooks/` - Claude Code hooks (pre/post tool execution) +## Forgejo Integration + +Uses `fj` CLI (forgejo-cli) for issue/PR management: + +```bash +# Setup (one-time) +brew install forgejo-cli +echo "YOUR_TOKEN" | fj -H code.flowmade.one auth add-key username + +# Token needs scopes: read:user, read:repository, write:issue, write:repository +``` + +### Available Commands + +| Command | Description | +|---------|-------------| +| `/work-issue ` | Fetch issue, create branch, implement, create PR | +| `/dashboard` | Show open issues and PRs | +| `/review-pr ` | Review PR with diff and comments | +| `/create-issue` | Create single or batch issues | + ## Usage This project is meant to be used alongside Claude Code to enhance productivity and maintain consistent workflows.