mirror of
https://github.com/apache/struts.git
synced 2026-09-13 09:35:05 +00:00
GitHub Copilot code review reads agent skills from .github/skills, but this repository had none, so its pull request reviews ran without any of the project's conventions: the JUnit 4 only rule, the WW-XXXX title format, and the framework's security-sensitive patterns. Add .github/skills/code-review/SKILL.md covering test conventions and the three vacuous-test traps, security-sensitive code paths, PR and commit hygiene, and Struts implementation patterns. The security section deliberately constrains what the reviewer may write: a pull request is public, so a comment naming a weakness or its impact would itself be a disclosure. It asks only for a neutral pointer to SECURITY.md and the private process.