Agent Skills
› trailhq/Trail-Code
› rotate-pages
rotate-pages
GitHub提供PDF页面旋转处理规范,强调使用page.Rotation()读取旋转角度而非原始/Rotate键,确保页面方向与边框位置准确。
Trigger Scenarios
需要调整或检查PDF页面旋转方向
处理PDF页面内容定位与布局
Install
npx skills add trailhq/Trail-Code --skill rotate-pages -g -y
SKILL.md
Frontmatter
{
"name": "rotate-pages",
"metadata": {
"trail": "s-9246d0",
"version": "2"
},
"description": "Rotating PDF pages: which way is up, and where boxes land"
}
rotate-pages
Rotating PDF pages: which way is up, and where boxes land.
Rotation
- Read rotation with page.Rotation(), never from the raw /Rotate key. (Sam, Oct 7)
Version History
- a44da3d Current 2026-11-02 10:38


