AGENT SKILL

Apache Struts 版本发布

releasing-struts

在任何维护线(6.x、7.x)上运行或规划 Apache Struts 发布时使用——包括打标签、暂存制品、发起投票、晋升、更新网站和发布公告——或被问及发布流程的下一步是什么时使用。

License 许可
Apache-2.0
所属仓库
apache/struts
最近更新
2026-11-14
Stars
★ 1.4k
Forks
876

01 前言 Front Matter

name
pnpm-format
description
Format the codebase with pnpm and recover from common formatting failures.

02 资源文件 3

03 SKILL.md 正文

Format code with pnpm

Use this skill any time formatting is required in the TypeSpec repo. Do not assume formatting happens automatically; always run pnpm format following this guidance.

Preconditions

  • Command must run from the repository root (where package.json and pnpm-workspace.yaml live).
  • Dependencies must be installed.

Steps

  1. Confirm you are at the repo root.
  2. If node_modules are missing or pnpm complains about missing packages, run:
    pnpm install
    
  3. Run the formatter:
    pnpm format
    
  4. If the command fails with ERR_PNPM_NO_IMPORTER_MANIFEST_FOUND, you are not at the repo root. cd to the root and retry.
  5. If pnpm format exits with a non-zero code but prints a list of changed files, re-run pnpm format once to ensure a clean exit.

Notes

  • Do not cancel the command; formatting may take about a minute.

04 同仓库更多 Skills

apache
apache/struts

Apache Struts PR 代码审查

code-review

Apache Struts 拉取请求审查指南。在本仓库中审查拉取请求时使用,用于检查测试约定、安全敏感的框架代码、PR 和提交规范,以及 Struts 特定的实现模式。

软件开发工程师代码仓库协作管理
★ 1.4k
apache
apache/struts

安全漏洞报告分类研判

triaging-security-reports

当漏洞或安全报告到达需要分类研判时使用,在评估针对代码的 CVE/RCE/OGNL/注入(injection)声明时,在判定某个发现是框架的责任还是应用的责任时,在起草给安全研究者的回复时,或当某个已公开的声明(Full Disclosure 帖子、博客、扫描器通告)需要项目方为用户和扫描器厂商陈述立场时——从源头研究该声明,既不轻信报告者,也不杜撰自己的事实。

安全工程师安全公告与漏洞管理
★ 1.4k
apache
apache/struts

Dependabot PR 分类与合并

merging-dependabot-prs

在本仓库中分类、归类或合并 Dependabot 拉取请求时使用——包括清理待处理的 Dependabot 队列、决定某次依赖升级(bump)是否需要 WW Jira 工单,或检查某次升级的构建是否确实通过了。

软件开发工程师代码仓库协作管理
★ 1.4k
apache
apache/struts

Struts 版本说明文档编写

creating-version-notes

在为 Struts 发布或发布候选版本准备、更新或审查发布文档时使用,适用于任何维护线(6.x、7.x)——包括 cwiki 上的 Version Notes 页面、其 Migration Guide 条目、GitHub 发布说明以及测试构建公告邮件。

技术文档工程师技术文档编写
★ 1.4k
apache
apache/struts

Struts 安全公告撰写发布

creating-security-bulletins

在以下场景使用:起草、更新或审查 Struts cwiki 上的 S2-XXX 安全公告;在提交 CVE 申请前准备公告文本;在 ASF CVE 工具(cveprocess.apache.org / Vulnogram)中填写 CVE 记录;决定发布时间;发布公告并向 ASF 邮件列表通告;在公告邮件发送后进行收尾;或决定已修复漏洞可安全公开多少细节。

安全工程师安全公告与漏洞管理
★ 1.4k
apache
apache/struts

Struts 发布投票邮件撰写

creating-release-vote-mail

用于在任一维护分支(6.x、7.x)上为 Struts 发布候选版本发起正式发布投票——在版本说明页面、GitHub 发布和暂存制品发布之后,撰写并起草发送给 dev@ 的 [VOTE] Apache Struts X.Y.Z 邮件。

项目经理部署与发布管理
★ 1.4k