Claude Code plugin: teach Claude how to use fj, a CLI for Forgejo
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-28 17:30:04 +00:00
.claude-plugin support email: hello@ → support@ 2026-05-14 09:49:08 -07:00
plugins/fj sync from fj main (ee732f8) 2026-11-28 09:29:22 -08:00
.gitignore initial: fj 0.1.0 skill 2026-05-13 16:11:51 -07:00
LICENSE initial: fj 0.1.0 skill 2026-05-13 16:11:51 -07:00
README.md sync from fj main (ee732f8) 2026-11-28 09:29:22 -08:00

fj Claude Code plugin

A Claude Code plugin that teaches Claude how to use fj, the CLI for Forgejo and Gitea-compatible instances.

The plugin ships a single skill (fj) that activates when the user mentions fj, Forgejo, Gitea, or any forge-side action (open a PR, list issues, cut a release, request a review, etc.) on a non-GitHub host.

Install

This directory is both a Claude Code plugin AND a single-plugin marketplace. Add the marketplace once, then install:

/plugin marketplace add rasterandstate/fj-claude-plugin
/plugin install fj@rasterandstate

After install, the skill activates automatically when relevant.

Layout

claude/
├── .claude-plugin/
│   └── marketplace.json    marketplace manifest, declares plugins[]
├── README.md               this file
└── plugins/
    └── fj/
        ├── .claude-plugin/
        │   └── plugin.json plugin manifest (name, version, keywords)
        └── skills/
            └── fj/
                └── SKILL.md  the skill body, what Claude reads

The marketplace lives at the root; each plugin lives in plugins/<name>/. marketplace.json references plugins via "source": "./plugins/<name>". This is the working pattern used by anthropics/claude-plugins-official and other shipping marketplaces.

Updating

This claude/ directory is the source of truth, inside the fj repo at rasterhub.com/rasterstate/fj.

The published plugin lives at rasterhub.com/rasterstate/fj-claude-plugin, synced from this directory. That is the canonical plugin repo. github.com/rasterandstate/fj-claude-plugin is a GitHub copy, currently synced by hand (CLS-1329), so each sync pushes to both. To sync a change:

  1. There is no version to bump. Neither plugin.json nor marketplace.json has a version field (it was dropped on purpose), so a release is marked only by a tag on the plugin repo, v0.1.0 today. Only the first commit there is tagged, and later syncs went out untagged. So a sync doesn't need a tag; tag when the skill changes materially.

  2. Update SKILL.md if new fj commands or workflows exist.

  3. Commit + push the fj repo.

  4. Sync the contents of claude/ over to the plugin repo and push to rasterhub and then to the GitHub copy. Add the tag lines only for a tagged release:

    # From the fj repo root, with a clone of the rasterhub plugin repo:
    rsync -av --delete --exclude=.git --exclude=LICENSE --exclude=.gitignore claude/ /path/to/fj-claude-plugin/
    cd /path/to/fj-claude-plugin
    git add -A
    git commit -m "sync from fj <short sha>"
    git push origin main    # rasterhub, canonical
    git push git@github.com:rasterandstate/fj-claude-plugin.git main    # GitHub copy, by hand for now
    # tagged release only:
    git tag vX.Y.Z && git push origin vX.Y.Z && git push git@github.com:rasterandstate/fj-claude-plugin.git vX.Y.Z
    

License

MIT, matching fj.