SkillsReviewed · sgaunet

gen-forgejo-dir

gen-forgejo-dir is a Claude Code skill for Go developers that creates Forgejo automation files, but usable workflows require shared plugin assets, supporting project files and a configured runner. It specifies lint, coverage, snapshot and release workflows, with tool versions managed through mise.toml. Release publishing also requires instance-specific GoReleaser configuration.

Researched 16 Nov 2026

In short.

gen-forgejo-dir is a Claude Code skill for Go developers that generates Forgejo Actions workflows, but it requires additional project configuration and working Forgejo infrastructure. Its instructions reuse shared GitHub-compatible templates, adapt runner labels and release credentials, and create mise.toml when missing. The selected file does not contain those shared templates or generate the required Taskfile, linter configuration or GoReleaser configuration. Nothing was executed, so generated output, CI compatibility and successful release publishing remain unassessed.

Researched and written by an AI model and checked by a second AI model. How it works

The selected scope is plugins/go-specialist/skills/gen-forgejo-dir at revision 8b8182cfc8dcdb5f84d185e0e88d038f56d1c5f1. Its supplied file is SKILL.md, with the repository-root LICENSE included as an applicable notice outside that folder. Shared workflow assets, mise templates, detection helpers, companion skills and other plugin files are excluded. The selected instructions are fully represented, but generated YAML, external dependencies, installation behavior and end-to-end Forgejo operation were not executed or assessed.

The overview

Identity

gen-forgejo-dir is an instruction-based skill inside the go-specialist plugin in sgaunet/claude-plugins. Its metadata declares it user-invocable and disables automatic model invocation. The documented command is /gen-forgejo-dir, with optional --force, --minimal and --dry-run flags.

The original source location is [https://github.com/sgaunet/claude-plugins/tree/main/plugins/go-specialist/skills/gen-forgejo-dir]. The supplied source is pinned to revision 8b8182cfc8dcdb5f84d185e0e88d038f56d1c5f1.

Assessment

The skill offers a concrete starting point for Go projects that already use, or want to adopt, mise, Task and GoReleaser. Its useful Forgejo-specific adaptations are runner-label substitution and adding GITEA_TOKEN to the release workflow.

The main integration burden remains with the project owner. A generated release workflow still needs a gitea_urls configuration pointing GoReleaser to the intended instance. Runner availability, action resolution and supporting task definitions also determine whether the files are useful. The source's production-readiness and setup-time claims are not supported by execution results.

Who it suits

It suits Go maintainers using Forgejo who want repeatable linting, coverage, development builds and binary releases. Experienced developers can use it as a scaffold while retaining control over runner labels, tool versions and publishing settings.

Beginners receive explicit prerequisites and companion-command suggestions, but still need to understand repository configuration, CI runners and release credentials. Projects using different build tools or unusual layouts will need additional adaptation.

Capabilities

Standard mode specifies four files under .forgejo/workflows: linter.yml, coverage.yml, snapshot.yml and release.yml. Minimal mode specifies only linter.yml and release.yml. A root mise.toml is created from a shared asset if missing; an existing file is preserved.

The instructions include previews, confirmation before ordinary writes, overwrite handling and reporting of individual write failures. Dry-run mode specifies no writes. Docker image publishing is disabled by default and requires enabling additional tools and workflow blocks.

Using it

Requirements

Generation requires a compatible Claude Code environment, the go-specialist plugin's shared assets, an initialized Git repository and go.mod. The skill expects access to read templates, write files and perform its documented shell operations. Minimum Claude Code and Forgejo versions are not specified.

Running the resulting workflows requires a registered Forgejo Actions runner matching the configured label, resolvable action references, suitable mise.toml contents, Taskfile.yml tasks including lint, snapshot and release, .golangci.yml and .goreleaser.yml. Publishing releases to Forgejo additionally requires gitea_urls and a suitable GITEA_TOKEN.

The fgj CLI supports runner-label discovery. When discovery is unavailable, the instructions fall back to the docker label; that fallback does not establish that a matching runner exists.

How it works

The skill directs the assistant to inspect the repository, read shared workflow templates and detection helpers, substitute configuration in memory, obtain confirmation when required, and write the resulting files. Its post-write validation establishes only that reported files exist and are nonempty.

The shared templates use GitHub Actions-compatible syntax. The documented transformations replace ubuntu-latest with a detected or fallback Forgejo runner label and add GITEA_TOKEN to release.yml, initially referencing secrets.GITHUB_TOKEN. Tool installation uses jdx/mise-action@v3 and versions in mise.toml; workflow commands use Task.

Snapshot builds are described as using GoReleaser's nonpublishing snapshot mode. Release publishing needs a separate gitea_urls block because injecting a token alone does not change GoReleaser's destination.

Setup

The instructions expect the skill to run within go-specialist, where CLAUDE_PLUGIN_ROOT resolves shared workflow, mise and detection assets. Copying SKILL.md alone does not supply those dependencies. The captured file does not provide a complete plugin installation procedure.

The suggested preparation sequence uses /gen-taskfiles for Taskfile.yml and mise.toml, /gen-linter for .golangci.yml, and /gen-goreleaser for .goreleaser.yml. Equivalent files can be supplied manually. An existing mise.toml needs review because the skill preserves it without establishing that it contains every required tool.

For Forgejo releases, configure the instance's API and download URLs in gitea_urls. Confirm the runner label and action sources, and use a dedicated repository secret when the default job token lacks the required permissions.

Example

For an initialized Go module with the plugin assets available, /gen-forgejo-dir --minimal --dry-run is documented to preview .forgejo/workflows/linter.yml and .forgejo/workflows/release.yml without writing files. If mise.toml is absent, the preview should also identify its proposed creation.

Removing --dry-run requests creation, subject to the documented confirmation flow. Adding --force skips confirmation and permits overwriting workflow files without backups. This example describes intended behavior; it was not executed.

Assessment & evidence

Limitations

The skill does not generate Taskfile.yml, .golangci.yml or .goreleaser.yml, register runners, configure action mirroring or validate successful workflow execution. Its shared templates and detection helpers are outside the supplied selected folder, so their actual contents are unassessed.

A missing matching runner can leave jobs queued. Unresolvable action references prevent execution. Missing gitea_urls or unsuitable credentials can send release publishing toward the wrong service or cause authentication failure. The documented coverage settings include a 70% threshold and a filter removing lines matching cmd; the resulting coverage scope needs inspection.

The declared Bash permissions list git, test and fgj, while the documented procedure also uses commands such as mkdir, awk and sed, with version detection involving gh. Whether the host permits the complete procedure without additional authorization is unknown. Partial writes are explicitly allowed, and --force overwrites files without backups.

Design tradeoffs

Sharing templates with the GitHub variant reduces duplicated workflow definitions, while mise.toml provides one place to manage local and CI tool versions. The documented baseline references only actions/checkout and jdx/mise-action, reducing the action references an instance must resolve; optional Docker publishing adds dependencies.

These choices concentrate configuration in shared assets, mise and Task. That makes the skill a stronger fit for projects accepting those conventions. Compatibility cannot be inferred from GitHub-like YAML alone because runner labels, action sources, token permissions and release destinations remain instance-specific.

Alternatives

For projects hosted on GitHub, the source describes /gen-github-dir as the related generator using .github/workflows, GitHub runner conventions and GitHub release settings. Its implementation is not included here, so comparative reliability is unknown.

Directly editing Forgejo workflow YAML is an option for projects needing different toolchains or build conventions. The named /gen-taskfiles, /gen-linter and /gen-goreleaser skills address supporting configuration rather than replacing the Forgejo workflow generator; their implementations are not supplied.

Evidence

The supplied resource text is plugins/go-specialist/skills/gen-forgejo-dir/SKILL.md, accompanied by the repository-root LICENSE. The immutable skill source is [https://raw.githubusercontent.com/sgaunet/claude-plugins/8b8182cfc8dcdb5f84d185e0e88d038f56d1c5f1/plugins/go-specialist/skills/gen-forgejo-dir/SKILL.md].

This material establishes the documented procedure and dependencies. Shared workflow templates, detection functions, supporting configuration generators and execution receipts are absent. No generation command, installation, CI job or release was run, so runtime behavior and output correctness remain unassessed.

Access & freshness

Costs

The MIT notice grants software permissions free of charge. The supplied evidence gives no pricing for Claude Code access, model usage, Forgejo hosting, runner compute, storage or optional publishing services. Total operating cost and per-invocation cost are unknown.

The source's claimed setup-time saving is not a measured result in the supplied material.

Rights

The repository-root MIT License permits use, copying, modification, distribution, sublicensing and sale, provided the copyright and permission notice remain in copies or substantial portions. It includes a warranty and liability disclaimer. The notice identifies Copyright (c) 2025 Sylvain.

The captured notice is available at [https://raw.githubusercontent.com/sgaunet/claude-plugins/8b8182cfc8dcdb5f84d185e0e88d038f56d1c5f1/LICENSE]. License terms for external actions and tools are not established by this notice.

Freshness

The supplied snapshot was captured at 2026-11-16T12:08:45.157Z from revision 8b8182cfc8dcdb5f84d185e0e88d038f56d1c5f1. Its capture date does not establish the last maintenance date or the current contents of the main branch.

When creating mise.toml, the instructions attempt version discovery and provide fallbacks of Go 1.25, golangci-lint 2.2.2 and GoReleaser v2.12.0. These are documented fallback values, not evidence of current releases or verified compatibility. Existing mise.toml versions are preserved.

Suggested next steps

Start with --dry-run and inspect the proposed files and customization comments. Confirm the shared plugin assets and supporting configuration exist, then compare the proposed runner label with registered runners and verify that the instance can resolve the referenced actions.

Before publishing releases, inspect gitea_urls, the API and download destinations, and the token's permissions. Review existing mise.toml contents and the coverage filter. Preserve existing workflows before considering --force.

After reviewing and committing the configuration, inspect actual Forgejo Actions results for the intended jobs and release destination. Successful file creation alone does not establish a working CI pipeline.

Evidence for this report

LICENSEnotice · checked 2026-11-16