releasing-struts
Use when running or planning an Apache Struts release on any maintenance line (6.x, 7.x) - cutting the tag, staging artifacts, opening the vote, promoting, updating the site and announcing - or when asked what the next step in a release is.
- 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
- 参考文档release-runbook.md5.4 KB
- 脚本scripts/promote-dist.sh1.2 KB
- 脚本scripts/stage-assemblies.sh3.1 KB
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.jsonandpnpm-workspace.yamllive). - Dependencies must be installed.
Steps
- Confirm you are at the repo root.
- If
node_modulesare missing orpnpmcomplains about missing packages, run:pnpm install - Run the formatter:
pnpm format - If the command fails with
ERR_PNPM_NO_IMPORTER_MANIFEST_FOUND, you are not at the repo root.cdto the root and retry. - If
pnpm formatexits with a non-zero code but prints a list of changed files, re-runpnpm formatonce to ensure a clean exit.
Notes
- Do not cancel the command; formatting may take about a minute.
04 同仓库更多 Skills
code-review
Apache Struts pull request review guide. Use when reviewing pull requests in this repository to check test conventions, security-sensitive framework code, PR and commit hygiene, and Struts-specific implementation patterns.
triaging-security-reports
Use when a vulnerability or security report arrives for triage, when assessing a CVE/RCE/OGNL/injection claim against the code, when deciding whether a finding is the framework's fault or the application's, when drafting a reply to a security researcher, or when a claim that is already public (a Full Disclosure post, a blog, a scanner advisory) needs the project's position stated for users and scanner vendors — to research the claim from source without trusting the reporter and without fabricating your own facts.
merging-dependabot-prs
Use when triaging, classifying or landing Dependabot pull requests in this repo — clearing the open Dependabot queue, deciding whether a bump needs a WW Jira ticket, or checking whether a bump's build actually passed.
creating-version-notes
Use when preparing, updating, or reviewing the release documentation for a Struts release or release candidate on any maintenance line (6.x, 7.x) - the Version Notes page on the cwiki, its Migration Guide entry, the GitHub release notes, and the test-build announcement mail.
creating-security-bulletins
Use when drafting, updating, or reviewing an S2-XXX security bulletin on the Struts cwiki, when preparing bulletin text ahead of a CVE request, when filling a CVE record in the ASF CVE tool (cveprocess.apache.org / Vulnogram), when deciding when to publish, when publishing a bulletin and announcing it to the ASF lists, when wrapping up after the advisory mails, or when deciding how much detail about a fixed vulnerability is safe to publish.
creating-release-vote-mail
Use when opening the formal release vote for a Struts release candidate on any maintenance line (6.x, 7.x) - composing and drafting the [VOTE] Apache Struts X.Y.Z mail to dev@ once the Version Notes page, GitHub release and staged artifacts are published.