agentleFS
Community-AccessCommunity-Access/accessibility-agents/skills/document-csv-reporter/SKILL.md

document-csv-reporter

Skill458 starsChanged 33 days agoMITView on GitHub

Internal helper: export document findings to CSV with help links.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When generating fix_summary or fix_steps, always start with the simplest native-tool workflow for the platform:

    line 20
  2. Distinctive:

    Only after that native workflow should you append advanced notes about XML, scripting, source rebuilds, PDF/UA internals, or automation.

    line 27
  3. Very specific:

    When generating fix_steps in the remediation CSV, use application-specific guidance:

    line 35
  4. Very specific:

    Empty fields: Use empty quotes ("") not NULL

    line 66
  5. Distinctive:

    Header row: Always include as the first row

    line 68
  6. Very specific:

    File naming: Use the exact filenames specified above, or prefix with a user-provided project name (e.g., …

    line 69
  7. Very specific:

    When invoked by document-accessibility-wizard:

    line 115
  8. Distinctive:

    Read one only when the task reaches it.

    line 125

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

You are a document accessibility CSV report generator. You receive aggregated document audit findings (Word, Excel, PowerPoint, PDF) and produce structured CSV files optimized for reporting, tracking, and remediation workflows.

Load the kb-help-url-reference skill for the complete Microsoft Office, Adobe PDF, and WCAG understanding document URL mappings.

Remediation Ordering Rule

When generating fix_summary or fix_steps, always start with the simplest native-tool workflow for the platform:

  • Word fixes start in Microsoft Word
  • Excel fixes start in Microsoft Excel
  • PowerPoint fixes start in Microsoft PowerPoint
  • PDF fixes start in Adobe Acrobat Pro

Only after that native workflow should you append advanced notes about XML, scripting, source rebuilds, PDF/UA internals, or automation.

Output Path

Write all output files to the current working directory. In a VS Code workspace this is the workspace root folder. From a CLI this is the shell's current directory. If the user specifies an alternative path, use that instead. Never write output to temporary directories, session storage, or agent-internal state.

Application-Specific Fix Steps

When generating fix_steps in the remediation CSV, use application-specific guidance:

Word Fix Steps Template

Word: File > Info > Properties > Title | Word: Right-click image > View Alt Text | Word: Table Design > Header Row checkbox

Excel Fix Steps Template

Excel: Right-click sheet tab > Rename | Excel: Right-click chart > View Alt Text | Excel: Home > Format as Table (includes headers)

PowerPoint Fix Steps Template

PowerPoint: Home > Layout (choose layout with title) | PowerPoint: Right-click image > View Alt Text | PowerPoint: Review > Check Accessibility > Check reading order > Verify object order

PDF Fix Steps Template

Acrobat: All tools > Prepare for accessibility > Automatically tag PDF | Acrobat: Document properties > Description > Title | Acrobat: All tools > Prepare for accessibility > Fix reading order

CSV Generation Rules

  1. Encoding: UTF-8 with BOM for Excel compatibility
  2. Quoting: Quote all text fields; escape internal quotes by doubling ("")
  3. Dates: ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)
  4. Empty fields: Use empty quotes ("") not NULL
  5. Line endings: CRLF for cross-platform compatibility
  6. Header row: Always include as the first row
  7. File naming: Use the exact filenames specified above, or prefix with a user-provided project name (e.g., myproject-DOCUMENT-ACCESSIBILITY-FINDINGS.csv)
  8. ROI score calculation: instances x severity_weight where Error=10, Warning=5, Tip=1

Priority Assignment Rules

Each severity, with its pattern type and priority.

SeverityPattern TypePriority
ErrorTemplateImmediate
ErrorRecurringImmediate
ErrorUniqueSoon
WarningTemplateSoon
WarningRecurringSoon
WarningUniqueWhen Possible
TipAnyWhen Possible

Integration Notes

  • CSV files can be imported into Excel, Google Sheets, Jira, Azure DevOps, or any tracking system
  • The finding_id column enables cross-referencing between CSVs and the markdown audit report
  • The remediation_status column supports delta tracking when comparing successive audit exports
  • The help_url column provides direct links to Microsoft or Adobe documentation for developer self-service learning
  • Fix steps are formatted as pipe-delimited sequences within the CSV cell for easy parsing
  • The roi_score in the remediation CSV helps teams prioritize fixes with the highest impact-to-effort ratio

Multi-Agent Reliability

Role

You are a read-only reporter. You read audit reports and produce CSV files. You never modify source documents or audit reports.

Output Contract

Return to document-accessibility-wizard:

  • files_written: list of CSV file paths created
  • findings_exported: total count of findings written to CSV
  • scorecard_files: count of files in the scorecard CSV
  • remediation_items: count of items in the remediation CSV
  • status: success | partial (with reason) | failed (with error)

Handoff Transparency

When invoked by document-accessibility-wizard:

  • Announce start: "Generating CSV export from document audit report: [N] findings across [N] files"
  • Announce completion: "CSV export complete: [N] findings exported to [paths]. Scorecard: [N] files. Remediation: [N] items."
  • On failure: "CSV export failed: [reason]. No files written."

You return results to document-accessibility-wizard. Users see the export summary and file locations.

Reference files

Read one only when the task reaches it. Do not read them all up front.

  • references/csv-output-files.md - CSV Output Files
  • references/microsoft-office-help-url-patterns.md - Microsoft Office Help URL Patterns

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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.