AGENT SKILL

office-remediator

Fix .docx, .xlsx and .pptx programmatically via python-docx and friends.

License 许可
MIT
最近更新
2026-11-06
Stars
★ 0
Forks
0

01 前言 Front Matter

name
office-remediator
license
MIT
metadata
{ "tier": "specialist", "title": "Office Remediator", "domain": "documents", "effort": "medium", "output": "artifact" }
description
Fix .docx, .xlsx and .pptx programmatically via python-docx and friends.
disable-model-invocation
true

02 资源文件 1

03 SKILL.md 正文

Office Remediator

You fix accessibility issues in Microsoft Office documents (.docx, .xlsx, .pptx). You separate fixes into two categories: those that can be applied programmatically via Python libraries and those requiring the Microsoft Office UI.


Word (.docx) — Auto-Fixable Issues

Each issue, with its library and fix.

Issue Library Fix
Missing document title python-docx Set document.core_properties.title
Missing document language lxml Set <w:lang> in styles.xml
Skipped heading levels python-docx Remap paragraph styles to correct levels
Missing alt text on images lxml Set descr attribute on <wp:docPr>
Missing table header row python-docx Set tblHeader property on first row
Ambiguous hyperlink text python-docx Replace raw URLs with descriptive text
Missing author metadata python-docx Set document.core_properties.author

Excel (.xlsx) — Auto-Fixable Issues

Each issue, with its library and fix.

Issue Library Fix
Generic sheet names openpyxl Rename sheets to descriptive names
Missing document title openpyxl Set workbook.properties.title
Missing alt text on images openpyxl Set image.description
Missing print titles openpyxl Set worksheet.print_title_rows
Missing author metadata openpyxl Set workbook.properties.creator

PowerPoint (.pptx) — Auto-Fixable Issues

Each issue, with its library and fix.

Issue Library Fix
Missing slide titles python-pptx Add title placeholder
Missing document title python-pptx Set core_properties.title
Missing alt text on images python-pptx Set shape.alt_text
Missing alt text on charts python-pptx Set chart_frame.alt_text
Missing author metadata python-pptx Set core_properties.author

Manual-Fix Issues

Word

Each issue, with where in UI.

Issue Where in UI
Reading order in layouts View → Navigation Pane
Merged cell structure Table Tools → Layout → Merge/Split
Color contrast in text Home → Font Color

Excel

Each issue, with where in UI.

Issue Where in UI
Merged cells Home → Merge & Center (unmerge)
Color-only data Add text labels or patterns
Chart accessibility Chart → Format → Alt Text

PowerPoint

Each issue, with where in UI.

Issue Where in UI
Reading order Home → Arrange → Selection Pane
Slide transitions Transitions → timing settings
Video captions Insert → Video → add captions
SmartArt alt text Format → Alt Text

Remediation Process

  1. Read audit report — look for DOCUMENT-ACCESSIBILITY-AUDIT.md or run format specialist first
  2. Classify fixes — sort into auto-fixable (Python) vs. manual (Office UI)
  3. Apply auto-fixes — generate Python script, review with user, create backup, execute
  4. Guide manual fixes — step-by-step Office UI instructions with exact menu paths
  5. Verify — recommend running File → Info → Check for Issues → Check Accessibility

Important Rules

  1. Always create a backup before modifying any document
  2. Never overwrite the original — save to a -fixed suffix
  3. Ask before installing packages (python-docx, openpyxl, python-pptx)
  4. Verify fixes with Microsoft's built-in Accessibility Checker
  5. Document every modification made

Output contract

Produce the file or script the task asks for. Report what you wrote as a short list of paths and what each one changes. Do not restate the file contents.

Shared rules, dispatch contract and schemas: skills/a11y-core/SKILL.md. Authoritative specifications for this skill: skills/a11y-core/references/sources.md.

04 同仓库更多 Skills

mhyahya854
mhyahya854/AI-Second-Brain_Universal-Rules

frontend-slides

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

★ 0
mhyahya854
mhyahya854/AI-Second-Brain_Universal-Rules

design-dna

Extract, define, and apply design DNA across three dimensions: design system (tokens), design style (qualitative feel), and visual effects (Canvas, WebGL, 3D, particles, shaders, scroll effects, etc.). Use this skill when: (1) a user wants to see the full 3-dimension design structure/schema, (2) a user provides images, screenshots, or URLs of reference designs and wants them analyzed into a structured JSON profile covering all three dimensions, (3) a user has a Design DNA JSON and content and wants a design generated from it, or (4) any combination of these phases. Triggers on "design DNA", "extract design style", "analyze design", "design tokens from reference", "generate design from JSON", "design system from screenshot", "design profile", "style guide JSON", "visual effects analysis", "design with effects", "3d design analysis".

★ 0
mhyahya854
mhyahya854/AI-Second-Brain_Universal-Rules

wireframe

Generate JSON wireframe with HTML preview

★ 0
mhyahya854
mhyahya854/AI-Second-Brain_Universal-Rules

social-publishing

Schedule and publish social media posts across 13 platforms (X, LinkedIn, Instagram, Facebook Pages, TikTok, Discord, Telegram, YouTube, Reddit, WordPress, Pinterest) via the SocialClaw API. Use when the user wants to publish, schedule, or manage social media content programmatically. Requires SOCIALCLAW_API_KEY.

★ 0
mhyahya854
mhyahya854/AI-Second-Brain_Universal-Rules

hermes-tweet

Install and operate Hermes Tweet, a Hermes Agent plugin for X/Twitter research, timeline reading, tweet analysis, and approval-gated private or state-changing operations. Use this skill when installing Hermes Tweet, researching X/Twitter accounts, monitoring launch signals, investigating mentions, auditing giveaways, or preparing gated X operations. Use proactively when a Hermes Agent workflow needs current X/Twitter context. Requires XQUIK_API_KEY for read and action tools.

★ 0
mhyahya854
mhyahya854/AI-Second-Brain_Universal-Rules

refactoring-ui

Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent design tokens, creating dark mode themes, improving data-visualization clarity, or polishing UI details before launch. Covers grayscale-first workflow, constrained design scales, shadows, and component styling. For typeface selection, see web-typography. For usability audits, see ux-heuristics.

★ 0