Add Forgejo integration documentation
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 <noreply@anthropic.com>
This commit is contained in:
21
CLAUDE.md
21
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 <n>` | Fetch issue, create branch, implement, create PR |
|
||||
| `/dashboard` | Show open issues and PRs |
|
||||
| `/review-pr <n>` | 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.
|
||||
|
||||
Reference in New Issue
Block a user