Problem
The builtin OfficeCLI DOCX skills still instruct agents to apply both an explicit pagebreak and pageBreakBefore=true at the same logical boundary. In Word and WPS this can produce an extra blank page.
OfficeCLI tracked and fixed this behavior in iOfficeAI/OfficeCLI#191 and iOfficeAI/OfficeCLI#193, but the corresponding builtin assets in AionCore have not picked up that fix.
Current behavior
Verified on current AionCore main (6e04e741c42425072a8296fdacd95e5d1261d4d7) and release v0.1.65:
crates/aionui-app/assets/builtin-skills/officecli-docx/SKILL.md says Apply BOTH and provides a two-mechanism example.
crates/aionui-app/assets/builtin-skills/officecli-academic-paper/SKILL.md inherits the stale belt-and-suspenders rule.
- The DOCX skill also retains the static TOC fallback removed by the same upstream fix.
A deterministic check is:
rg -n "Apply BOTH|belt-and-suspenders|Static TOC fallback" \
crates/aionui-app/assets/builtin-skills/officecli-docx/SKILL.md \
crates/aionui-app/assets/builtin-skills/officecli-academic-paper/SKILL.md
Expected behavior
Mirror the focused changes from iOfficeAI/OfficeCLI#193:
- use exactly one page-break mechanism per logical boundary;
- remove examples that set
pageBreakBefore on a newly inserted page-break paragraph;
- retain a live TOC with
updateFields=true rather than guessed static page numbers;
- update the academic-paper references to the corrected base rules.
Scope
Builtin Skill documentation only. No Rust behavior or user-visible UI changes.
Problem
The builtin OfficeCLI DOCX skills still instruct agents to apply both an explicit
pagebreakandpageBreakBefore=trueat the same logical boundary. In Word and WPS this can produce an extra blank page.OfficeCLI tracked and fixed this behavior in iOfficeAI/OfficeCLI#191 and iOfficeAI/OfficeCLI#193, but the corresponding builtin assets in AionCore have not picked up that fix.
Current behavior
Verified on current AionCore
main(6e04e741c42425072a8296fdacd95e5d1261d4d7) and releasev0.1.65:crates/aionui-app/assets/builtin-skills/officecli-docx/SKILL.mdsaysApply BOTHand provides a two-mechanism example.crates/aionui-app/assets/builtin-skills/officecli-academic-paper/SKILL.mdinherits the stale belt-and-suspenders rule.A deterministic check is:
rg -n "Apply BOTH|belt-and-suspenders|Static TOC fallback" \ crates/aionui-app/assets/builtin-skills/officecli-docx/SKILL.md \ crates/aionui-app/assets/builtin-skills/officecli-academic-paper/SKILL.mdExpected behavior
Mirror the focused changes from iOfficeAI/OfficeCLI#193:
pageBreakBeforeon a newly inserted page-break paragraph;updateFields=truerather than guessed static page numbers;Scope
Builtin Skill documentation only. No Rust behavior or user-visible UI changes.