| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .claude-plugin | ||
| plugins/fj | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
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:
-
There is no version to bump. Neither
plugin.jsonnormarketplace.jsonhas aversionfield (it was dropped on purpose), so a release is marked only by a tag on the plugin repo,v0.1.0today. 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. -
Update SKILL.md if new fj commands or workflows exist.
-
Commit + push the fj repo.
-
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.