/forgejo-readme:forgejo-readmefrom forgejo-readme
Writes, restructures, audits and beautifies a repository's README.md, its Forgejo or Codeberg landing page, from facts in the repo. Section order by project type, a scored audit, honest badges, alerts, Mermaid and relative links that Forgejo actually renders. Use when asked to write, review, fix, reorder or polish a README or a repo's front page on a Forgejo or Codeberg repo. Not for github.com repos (`gh-readme`).
Ships in forgejo-readme. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Forge gate. Run git remote -v first. If the README's home is github.com (or a host gh auth status --hostname <host> knows), this is GitHub: stop and point the user at gh-readme if it is installed. Codeberg, a host where curl -fsS https://<host>/api/forgejo/v1/version answers, or a repo with .forgejo/workflows or .gitea/workflows means Forgejo. With several remotes, ask which one hosts the landing page and never assume origin.
A README is a landing page and a router, not a manual. In a minute a stranger should know what the project is, why to pick it over the obvious alternative, whether it fits their stack and licence, whether it is alive, and what to run first. Then it points them at the docs. A reader who decides not to use the project is a good outcome too, so don't try to stop that.
package.json, pyproject.toml, Cargo.toml, go.mod, *.csproj, pom.xml, composer.json, *.gemspec), the LICENSE file, the CLI's argument parser or the --help of a binary that is already built, .forgejo/workflows/ or .gitea/workflows/, examples on disk, tags and releases (fj release list, else git tag --sort=-creatordate), and recent commit dates.README.md and any README assets the user approved (default assets/readme/). Show the diff before you write over an existing README. Never commit, push or open a PR unless asked. Codeberg's terms restrict LLM-generated projects, so draft and show, and let the user decide.Ask once if the request is ambiguous. "Make the README better" means Audit first, then Restructure.
| Mode | When | Output |
|---|---|---|
| Write | No README, or a stub | A new README built from a template |
| Audit | "Review", "is it good", "why no installs" | A scorecard only. Change nothing |
| Restructure | The README exists but is disordered, bloated or stale | Audit, agree the fixes, then rewrite section by section |
| Beautify | "Make it look good", badges, logo, header, visuals | The visual layer on content that is already sound. Add structure only if asked |
bash ${CLAUDE_SKILL_DIR}/scripts/readme_audit.sh <repo-root> and fix what it flags: broken relative links, empty alt text, leftover placeholders, size.bash ${CLAUDE_SKILL_DIR}/scripts/readme_audit.sh <repo-root>. It reports facts (shadowed copies, headings, words before the first code block, badges, alt text, raw HTML, broken links, placeholders), not verdicts.Run Audit, get the user's agreement on the diagnosis, then:
CONTRIBUTING.md, docs/... and the like).Read references/badges-and-visuals.md for badges, headers, hero images, screenshots, demos and tables, and references/forgejo-rendering.md for what Forgejo actually renders.
.forgejo/workflows/, a package published under that name, the licence in LICENSE. Forgejo serves workflow and release badges itself (URL shapes in the reference). Cut intent-only badges such as "PRs welcome" or "made with love".<picture>, so pick one logo that reads on both themes (an SVG that paints its own background). Put the one-liner right under it, never a badge wall or a screen-sized image above the first sentence.> [!NOTE] and the like) per page, and use <details> for long optional material.Once a draft is done, if the avoid-ai-writing skill is installed, offer to run it on the prose. Generated-sounding copy undermines a page that is trying to earn trust.
docs/, setup guides, API or config references after a code change: docs-audit.scribe agent.forgejo-release if installed.CONTRIBUTING.md, issue templates and repo settings such as description and topics: suggest them, but they are not this skill's output. Repo settings are changed in the Forgejo web UI.docs/, then .forgejo/ or .gitea/, then .github/. A README in .github/ is hidden by a root copy, the opposite of GitHub. Keep one.https://<host>/<owner>/<repo>/raw/branch/<branch>/... URLs for images in a README that a registry publishes.<script>, <style>, <iframe>, <picture> and most style= attributes. align= and width= work. Alerts (> [!NOTE]) and Mermaid render.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub adminhead/claude-plugins --plugin forgejo-readme