Add Makefile for managing Claude Code config symlinks

- Move commands, scripts, settings to repo root
- Add Makefile with install/uninstall/status targets
- Symlinks ~/.claude/* to this repo for version control
- Update documentation with setup instructions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Hugo Nijhuis
2025-12-28 18:43:35 +01:00
committed by Hugo Nijhuis
parent 8598f3d405
commit fc5a400b94
14 changed files with 228 additions and 8 deletions

17
commands/create-issue.md Normal file
View File

@@ -0,0 +1,17 @@
---
description: Create a new Forgejo issue. Can create single issues or batch create from a plan.
argument-hint: [title] or "batch"
---
# Create Issue(s)
## Single Issue (default)
If title provided: `fj issue create "$1" --body "<description>"`
## Batch Mode
If $1 is "batch":
1. Ask user for the plan/direction
2. Generate list of issues with titles and descriptions
3. Show for approval
4. Create each: `fj issue create "<title>" --body "<body>"`
5. Display all created issue numbers

12
commands/dashboard.md Normal file
View File

@@ -0,0 +1,12 @@
---
description: Show dashboard of open issues, PRs awaiting review, and CI status.
---
# Repository Dashboard
Run these commands and present a summary:
1. **Open Issues**: `fj issue search -s open`
2. **Open PRs**: `fj pr search -s open`
Format as tables showing issue/PR number, title, and author.

18
commands/review-pr.md Normal file
View File

@@ -0,0 +1,18 @@
---
description: Review a Forgejo pull request. Fetches PR details, diff, and comments.
argument-hint: <pr-number>
---
# Review PR #$1
1. **View PR details**: `fj pr view $1`
2. **Check status**: `fj pr status $1`
3. **Get the diff**: `fj pr view $1 diff`
Review the changes and provide feedback on:
- Code quality
- Potential bugs
- Test coverage
- Documentation
Ask the user if they want to approve, request changes, or comment.

14
commands/work-issue.md Normal file
View File

@@ -0,0 +1,14 @@
---
description: Work on a Forgejo issue. Fetches issue details and sets up branch for implementation.
argument-hint: <issue-number>
---
# Work on Issue #$1
1. **View the issue**: `fj issue view $1`
2. **Create a branch**: `git checkout -b issue-$1-<short-kebab-title>`
3. **Plan**: Use TodoWrite to break down the work based on acceptance criteria
4. **Implement** the changes
5. **Commit** with message referencing the issue
6. **Push**: `git push -u origin <branch>`
7. **Create PR**: `fj pr create "[Issue #$1] <title>" --body "Closes #$1"`