用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/tomes --skill groovy-website命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
> Use when this capability is needed.
Use when writing kernel, account, or note MASM code that reads from or writes to the advice provider (advice stack / advice map) — validate advice data.
Use when writing a Rust test that exercises a failure path or a MASM test that expects a `panic` / `assert` — assert on the specific expected error variant or error code.
基于 SOC 职业分类
正在显示 SKILL.md
| name | groovy-website |
| description | This skill is the working surface; that document is the map. Use when this capability is needed. |
| metadata | {"author":"apache"} |
Use this skill when drafting or updating a release notes page at
site/src/site/releasenotes/groovy-X.Y.adoc. The release notes are
the most-read page on the website around release time and the most
quoted in third-party coverage, so accuracy and tone matter more here
than on most pages.
Use it for:
groovy-X.Y.adoc release notes page.Don't use it for:
site/src/site/blog/ and site/src/site/pages/.generator/, site/src/main/site/) —
those are generator-side concerns; this skill is content-only.RELEASE_NOTES_GUIDE.adoc —
the editorial source of truth for release notes structure, the
highlights / modules / topical / breaking-changes / JDK / addendum
layout, the dual-audience drafting principle (humans + AI; gapi:
on first class mention), enhanced-vs-new framing, and process tips.
This skill is the working surface; that document is the map.AGENTS.md — overall AI-contributor guidance,
ASF provenance rules, and content conventions.README.adoc — site structure, build, and the
asf-site branch warning.site/src/site/releasenotes/groovy-5.0.adoc) — copy its structure,
attribute block, and link style. New release notes derive from the
previous file, not from a blank template.These are the recurring mistakes when working on release notes:
GROOVY-NNNN reference
must resolve on https://issues.apache.org/jira/browse/GROOVY.
Verify before writing — a wrong number embarrasses publicly.apache/groovy for the release branch.link:https://issues.apache.org/jira/browse/GROOVY-NNNN[GROOVY-NNNN].
Bare URLs and inconsistent formatting break the visual flow of the
page and the rendered footnotes.groovy-lang.org/gapi/... URLs. Use the gapi:
macro instead — it is processed by generator/src/main/groovy/generator/LinkMacroProcessor.groovy
and keeps links consistent across the site. (Same for any other
custom link macros the generator defines.)gapi: so both
human and AI readers get the fully-qualified name. Subsequent
mentions can use the short name. This is the dual-audience
drafting rule — see RELEASE_NOTES_GUIDE.adoc.labels = breaking AND fixVersion = X.Y.Z — start
there rather than git log or memory. Major breaking changes get
their own subsection; the rest are bullets with issue links.Start from the previous release. Copy
site/src/site/releasenotes/groovy-<previous>.adoc as the
structural template. Adjust attribute block, version numbers, and
anchor IDs ([[GroovyX.Y-...]]) before editing content.
Source the issue list from JIRA, not from memory. The JIRA
filter / changelog for the release version is the authoritative
list of what's in. Pull from there; don't infer from git log
alone (commits without GROOVY-NNNN exist; issues without commits
on the branch also exist).
Group by user-facing theme, not by issue number. Bullets covering the same area cluster under one section heading (e.g. "Extension method additions and improvements", "AST transform additions and improvements"). Order sections from most-impactful to least; "Breaking changes" goes near the end.
Write each bullet in user-facing terms. State the change, then the user impact, then the issue link. Use code samples for anything non-obvious — copy the existing AsciiDoc source-block style:
[source,groovy]
----
def x = ...
assert x == ...
----
Use macros, not hand-coded URLs. gapi: for API references;
link:https://issues.apache.org/jira/browse/GROOVY-NNNN[GROOVY-NNNN]
for issues. Match the form already used in the file.
Update the JDK requirements section. State the build JDK floor, the runtime JDK floor, and the tested JDK range. Match what the release branch's CI actually exercises.
Update the "More information" link. Confirm the
changelog-X.Y.Z-...html filename matches what the changelog
generator will produce.
Build the user site and check deadlinks.
./gradlew :site-user:webzip
Inspect site-user/build/reports/ for deadlinks. Eyeball the
rendered page under site-user/build/site/releasenotes/ for
broken includes, mis-rendered tables, or wrapped code blocks.
Before declaring the change ready:
GROOVY-NNNN reference resolves on JIRA.apache/groovy.link:https://issues.apache.org/jira/browse/GROOVY-NNNN[GROOVY-NNNN]
form; no bare URLs, no mismatched display text.gapi: macro, not hand-coded
groovy-lang.org/gapi/... URLs.-unreleased vs released suffix as appropriate).build/, *.cache) staged for commit../gradlew :site-user:webzip succeeds; deadlinks report is clean
for new/changed links.GROOVY-NNNNN where applicable; AI
provenance trailer added if AI tooling assisted.The standing editorial guidance for Groovy release notes lives in
RELEASE_NOTES_GUIDE.adoc at the
repository root. That document is the source of truth for:
gapi: on first
class mention.Addendum for X.0.N sections to the same
groovy-X.Y.adoc file rather than getting their own file.Read that guide before drafting; this skill's failure modes and procedure are the AI-side guardrails on top of it.
RELEASE_NOTES_GUIDE.adoc —
editorial source of truth (structure, dual-audience drafting,
enhanced-vs-new framing, addendum convention).README.adoc — site structure and build.AGENTS.md — overall AI-contributor guidance.site/src/site/releasenotes/ — all prior release notes; the most
recent shipped file is the structural template for the next one.generator/src/main/groovy/generator/LinkMacroProcessor.groovy —
defines gapi: and related link macros.generator/src/main/groovy/generator/AsciidoctorFactory.groovy —
AsciiDoctor extension wiring for the site.Source: apache/groovy-website — distributed by TomeVault.
../changelogs/changelog-X.Y.Z-unreleased.html (or the released
variant). Mismatched filenames produce a deadlink at publish time.-alpha / -beta / -rc page as final. Pre-release
pages are iterated on; preserve -unreleased markers and
placeholder sections rather than deleting them prematurely.X.0.1
or later ships, its notes are added as an Addendum for X.0.1
section at the end of the same groovy-X.Y.adoc page, not given
their own file. Same for X.0.2, X.0.3, ...