Token导航 LogoToken导航

Agent Skill · 前端设计

documents(documents 文档)

documents 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 Codex、Claude、Cursor、Gemini CLI 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

documents 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证为 MIT,第三方扫描有未通过项,按安装量在前端设计类的 10,216 个 Skill 里排第 2,174。

总安装 2,721周安装 109GitHub Stars 11,876下载 881核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:documents(documents 文档)
来源仓库:https://github.com/danielmiessler/personal_ai_infrastructure
仓库路径:skills/documents
安装命令:
npx skills add https://github.com/danielmiessler/personal_ai_infrastructure --skill Documents
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/danielmiessler/personal_ai_infrastructure --skill Documents

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

用于记录任务执行中的错误、用户纠正和经验总结,帮助 Agent 持续优化工作流程。适合在开发过程中需要沉淀问题、修正实践和提升能力的场景。支持 DOCX、PDF、PPTX、XLSX 等多种文档类型的处理和分析。通过 GitHub 仓库安装,支持 Codex、Claude、Cursor 等主流宿主环境。

使用前需确认权限范围,注意是否会触发文件读写或网络操作。

来源仓库内路径:skills/documents

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/danielmiessler/personal_ai_infrastructure --sk…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

documents 怎么安装?

在终端执行 npx skills add https://github.com/danielmiessler/personal_ai_infrastructure --skill Docume…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

documents 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

documents 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

documents 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

documents 用的人多吗?

公开数据是累计安装 2,721 次,近一周安装 109 次,下载 881 次,GitHub 11,876 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

documents 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 来源仓库有 11,876 星,维护活跃度相对可查。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
documents

documents 文档 · 本页

2,72111,876操作浏览器MIT未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Customization

Before executing, check for user customizations at: ~/.claude/PAI/USER/SKILLCUSTOMIZATIONS/Documents/

If this directory exists, load and apply any PREFERENCES.md, configurations, or resources found there. These override default behavior. If the directory does not exist, proceed with skill defaults.

🚨 MANDATORY: Voice Notification (REQUIRED BEFORE ANY ACTION)

You MUST send this notification BEFORE doing anything else when this skill is invoked.

  1. Send voice notification: curl -s -X POST http://localhost:8888/notify \ -H "Content-Type: application/json" \ -d '{"message": "Running the WORKFLOWNAME workflow in the Documents skill to ACTION"}' \ > /dev/null 2>&1 &
  2. Output text notification: Running the **WorkflowName** workflow in the **Documents** skill to ACTION...

This is not optional. Execute this curl command immediately upon skill invocation.

Documents Skill

🎯 Load Full PAI Context

Before starting any task with this skill, load complete PAI context:

read ~/.claude/PAI/SKILL.md

When to Activate This Skill

Word Documents (DOCX)

  • User wants to create, edit, or analyze Word documents
  • User mentions "tracked changes", "redlining", "document review"
  • User needs to convert documents to other formats
  • User wants to work with document structure, comments, or formatting

PDF Files

  • User wants to create, merge, split, or manipulate PDFs
  • User mentions "extract text from PDF", "PDF tables", "fill PDF form"
  • User needs to convert PDFs to/from other formats
  • User wants to add watermarks, passwords, or extract images

PowerPoint Presentations (PPTX)

  • User wants to create or edit presentations
  • User mentions "slides", "presentation template", "speaker notes"
  • User needs to convert presentations to other formats
  • User wants to work with slide layouts or design elements

Excel Spreadsheets (XLSX)

  • User wants to create or edit spreadsheets
  • User mentions "formulas", "financial model", "data analysis"
  • User needs to work with Excel tables, charts, or pivot tables
  • User wants to convert spreadsheets to/from other formats

Workflow Routing

Request PatternRoute To
Consulting report, McKinsey report, assessment report, professional PDFWorkflows/ConsultingReport.md
Large PDF, process big PDF, Gemini PDFWorkflows/ProcessLargePdfGemini3.md
Word document, DOCX, create docx, edit docx, tracked changes, redliningDocx/SKILL.md
PDF, create PDF, merge PDF, split PDF, extract text from PDF, fill formPdf/SKILL.md
Presentation, PPTX, slides, PowerPoint, speaker notesPptx/SKILL.md
Spreadsheet, XLSX, Excel, formulas, financial model, data analysisXlsx/SKILL.md

Document Type Details

This skill organizes document processing across 4 document types plus specialized workflows:

Consulting Reports (HTML + Playwright PDF)

Reference Documentation:

  • Workflows/ConsultingReport.md - Complete consulting report generation workflow

Routing Logic:

  • "Create consulting report", "generate report PDF" → ConsultingReport workflow
  • "Build assessment report", "strategic assessment" → ConsultingReport workflow
  • "McKinsey-style report", "professional report PDF" → ConsultingReport workflow

Pipeline: Report Artifacts → Structured HTML → Playwright PDF

Key Capabilities:

  • Parse report directories with mixed content (markdown, TypeScript data, images)
  • Professional CSS typography (Georgia serif body, Inter sans headings)
  • Color-coded callout boxes (red/amber/green) and severity badges
  • Auto-generated linked Table of Contents
  • Cover page with classification marking
  • Headers/footers with CONFIDENTIAL and page numbers
  • Image compression pipeline (PNG → JPEG, max 1200px)
  • A4 format with Playwright for pixel-perfect PDF output

Reference Implementation: Quorum Cyber assessment at /path/to/reference/generate-pdf.mjs

Word Documents (DOCX)

Reference Documentation:

  • docx/SKILL.md - Complete DOCX processing guide
  • docx/docx-js.md - Creating new documents with JavaScript
  • docx/ooxml.md - Editing existing documents with OOXML

Routing Logic:

  • "Create Word document", "new docx" → Create workflow (docx-js)
  • "Edit Word document", "tracked changes", "redlining" → Edit workflow (OOXML)
  • "Read Word document", "extract text from docx" → Read workflow (pandoc)
  • "Document review", "track changes" → Redlining workflow

Supporting Resources:

  • Scripts: ~/.claude/skills/Utilities/Documents/Docx/Scripts/
  • OOXML tools: ~/.claude/skills/Utilities/Documents/Docx/ooxml/
  • License: ~/.claude/skills/Utilities/Documents/Docx/LICENSE.txt

Key Capabilities:

  • Create professional documents with docx-js
  • Edit with tracked changes (redlining workflow)
  • Extract text/comments with pandoc
  • Convert to images for visual inspection
  • Work with raw OOXML for advanced features

PDF Processing

Reference Documentation:

  • pdf/SKILL.md - Complete PDF processing guide
  • pdf/forms.md - Filling PDF forms
  • pdf/reference.md - Advanced features and troubleshooting

Routing Logic:

  • "Create PDF" → Creation workflow (reportlab)
  • "Merge PDFs", "split PDF" → Manipulation workflow (pypdf)
  • "Extract text from PDF" → Extraction workflow (pdfplumber)
  • "Fill PDF form" → Forms workflow (pdf-lib or pypdf)
  • "Extract tables from PDF" → Table extraction (pdfplumber + pandas)

Supporting Resources:

  • Scripts: ~/.claude/skills/Utilities/Documents/Pdf/Scripts/
  • License: ~/.claude/skills/Utilities/Documents/Pdf/LICENSE.txt

Key Capabilities:

  • Create PDFs with reportlab
  • Extract text/tables with pdfplumber
  • Merge/split with pypdf or qpdf
  • Fill forms programmatically
  • Add watermarks and password protection
  • Extract images from PDFs

PowerPoint Presentations (PPTX)

Reference Documentation:

  • pptx/SKILL.md - Complete PPTX processing guide
  • pptx/html2pptx.md - Creating presentations from HTML
  • pptx/ooxml.md - Editing existing presentations

Routing Logic:

  • "Create presentation", "new slides" → Creation workflow (html2pptx)
  • "Edit presentation", "modify slides" → Edit workflow (OOXML)
  • "Use presentation template" → Template workflow
  • "Extract slide text" → Read workflow (markitdown)
  • "Create thumbnail grid" → Thumbnail workflow

Supporting Resources:

  • Scripts: ~/.claude/skills/Utilities/Documents/Pptx/Scripts/
  • OOXML tools: ~/.claude/skills/Utilities/Documents/Pptx/ooxml/
  • License: ~/.claude/skills/Utilities/Documents/Pptx/LICENSE.txt

Key Capabilities:

  • Create presentations with html2pptx (HTML → PPTX)
  • Professional design with color palettes and layouts
  • Edit with OOXML for advanced features
  • Work with templates (rearrange, inventory, replace)
  • Generate thumbnail grids for visual analysis
  • Convert to images for inspection

Excel Spreadsheets (XLSX)

Reference Documentation:

  • xlsx/SKILL.md - Complete XLSX processing guide
  • xlsx/recalc.py - Formula recalculation script

Routing Logic:

  • "Create spreadsheet", "new Excel file" → Creation workflow (openpyxl)
  • "Edit spreadsheet", "modify Excel" → Edit workflow (openpyxl)
  • "Analyze data", "read Excel" → Analysis workflow (pandas)
  • "Financial model", "formulas" → Financial modeling workflow
  • "Recalculate formulas" → Recalculation workflow (recalc.py)

Supporting Resources:

  • Recalc script: ~/.claude/skills/Utilities/Documents/Xlsx/recalc.py
  • License: ~/.claude/skills/Utilities/Documents/Xlsx/LICENSE.txt

Key Capabilities:

  • Create spreadsheets with formulas (openpyxl)
  • Data analysis with pandas
  • Financial modeling with color coding standards
  • Formula recalculation with LibreOffice
  • Error detection and validation
  • Preserve formatting and formulas when editing

📋 Document Processing Principles

DOCX Best Practices

  1. Tracked Changes - Use redlining workflow for professional document review
  2. Minimal Edits - Only mark text that actually changes, preserve original RSIDs
  3. Batch Changes - Group related edits (3-10 changes) for efficient processing
  4. Verification - Always convert to markdown to verify changes applied correctly

PDF Best Practices

  1. Library Selection - pypdf for basic ops, pdfplumber for text/tables, reportlab for creation
  2. OCR for Scanned - Use pytesseract + pdf2image for scanned documents
  3. Form Filling - Follow forms.md for programmatic form completion
  4. Command Line - Use qpdf/pdftotext for simple operations

PPTX Best Practices

  1. Design First - Analyze content and choose appropriate colors/layouts before coding
  2. Web-Safe Fonts - Only use web-safe fonts (Arial, Helvetica, Times, etc.)
  3. Visual Verification - Always generate thumbnails to inspect layout issues
  4. Template Analysis - Create inventory before using templates to understand structure

XLSX Best Practices

  1. Use Formulas - ALWAYS use Excel formulas, NEVER hardcode calculated values
  2. Zero Errors - Deliver with zero formula errors (#REF!, #DIV/0!, etc.)
  3. Recalculate - Run recalc.py after creating/editing to update formula values
  4. Financial Standards - Follow color coding (blue inputs, black formulas, green links)

Examples

Example 1: Create proposal with tracked changes

User: "Create a consulting proposal doc with redlining"
→ Routes to DOCX workflows
→ Creates document with docx-js
→ Enables tracked changes for review workflow
→ Outputs professional .docx with revision marks

Example 2: Fill a PDF form programmatically

User: "Fill out this NDA PDF with my info"
→ Routes to PDF workflows
→ Reads form fields from PDF
→ Fills fields programmatically with pdf-lib
→ Outputs completed, flattened PDF

Example 3: Build financial model spreadsheet

User: "Create a revenue projection spreadsheet"
→ Routes to XLSX workflows
→ Creates workbook with openpyxl
→ Adds formulas (never hardcoded values)
→ Runs recalc.py to update calculations

Example 4: Generate professional consulting report PDF

User: "Create a consulting report from the assessment data"
→ Routes to ConsultingReport workflow
→ Parses report directory for data files, markdown, diagrams
→ Compresses images (PNG→JPEG, max 1200px)
→ Generates styled HTML with professional typography
→ Converts to PDF via Playwright with headers/footers
→ Outputs McKinsey-quality A4 PDF with TOC, diagrams, color boxes

🔗 Integration with Other Skills

Feeds Into:

  • writing skill - Creating documents for blog posts and newsletters
  • business skill - Creating consulting proposals and financial models
  • research skill - Extracting data from research documents

Uses:

  • media skill - Creating images for document illustrations
  • development skill - Building document processing automation
  • system skill - Command-line tools and scripting

🎯 Key Principles

Document Creation

  1. Quality First - Professional formatting and structure from the start
  2. Template Reuse - Leverage existing templates when available
  3. Validation - Always verify output (visual inspection, error checking)
  4. Automation - Use scripts for repetitive tasks

Document Editing

  1. Preserve Intent - Maintain original formatting and structure
  2. Track Changes - Use proper workflows for document review
  3. Batch Processing - Group related operations for efficiency
  4. Error Prevention - Validate before finalizing

Document Analysis

  1. Right Tool - Choose appropriate library/tool for the task
  2. Data Integrity - Preserve original data when extracting/converting
  3. Format Awareness - Understand document structure (OOXML, PDF structure, etc.)
  4. Performance - Use efficient methods for large documents

📚 Full Reference Documentation

Word Documents (DOCX):

  • Main Guide: ~/.claude/skills/Utilities/Documents/Docx/SKILL.md
  • Creation Reference: ~/.claude/skills/Utilities/Documents/Docx/docx-js.md
  • Editing Reference: ~/.claude/skills/Utilities/Documents/Docx/ooxml.md

PDF Processing:

  • Main Guide: ~/.claude/skills/Utilities/Documents/Pdf/SKILL.md
  • Forms Guide: ~/.claude/skills/Utilities/Documents/Pdf/forms.md
  • Advanced Reference: ~/.claude/skills/Utilities/Documents/Pdf/reference.md

PowerPoint Presentations (PPTX):

  • Main Guide: ~/.claude/skills/Utilities/Documents/Pptx/SKILL.md
  • Creation Reference: ~/.claude/skills/Utilities/Documents/Pptx/html2pptx.md
  • Editing Reference: ~/.claude/skills/Utilities/Documents/Pptx/ooxml.md

Excel Spreadsheets (XLSX):

  • Main Guide: ~/.claude/skills/Utilities/Documents/Xlsx/SKILL.md
  • Recalc Script: ~/.claude/skills/Utilities/Documents/Xlsx/recalc.py

Summary

The documents skill provides comprehensive document processing:

  • DOCX - Create, edit, analyze Word documents with tracked changes support
  • PDF - Create, manipulate, extract from PDFs with form filling capabilities
  • PPTX - Create, edit presentations with professional design and templates
  • XLSX - Create, edit spreadsheets with formulas and financial modeling

Reference-based organization - Each document type has complete guides and tooling

Routing is automatic - Analyzes user intent and activates appropriate document type workflow

Professional quality - Standards and best practices for production-ready documents

平台分布

Claude Code

30.68%
按下载量换算270

Gemini CLI

23.65%
按下载量换算208

OpenCode

15.84%
按下载量换算140

Codex

12.72%
按下载量换算112

Cursor

7.77%
按下载量换算68

Antigravity

3.42%
按下载量换算30

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills