MR
Mayur Rathi
@mayurrathi
⭐ 6 GitHub stars

Document Skills

Document Skills is an code AI skill with a core value of Specialized scripts and logic for file manipulation. It helps developers solve real-world problems in the code domain, boosting efficiency, automating repetitive tasks, and optimizing workflows.

Specialized scripts and logic for file manipulation. Generating professional reports or slide decks directly from text prompts.

Last verified on: 2026-07-07

Quick Facts

Category code
Works With Claude
Source mayurrathi/awesome-agent-skills
Stars ⭐ 6
Last Verified 2026-07-07
Risk Level Low
mkdir -p ./skills/document-skills && curl -sfL https://raw.githubusercontent.com/mayurrathi/awesome-agent-skills/main/skills/document-skills/SKILL.md -o ./skills/document-skills/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

# 4.1.1 Document Skills


Use these specialized methods when the user requests the generation of professional file formats from raw text or data.


1. PDF Generation

- **HTML to PDF:** For structured reports, first generate a well-formatted HTML document with print-specific CSS (`@media print`), then convert it using headless browsers (e.g., Puppeteer) or specialized libraries.

- **Direct PDF Writing:** For simple text/image reports, use libraries like `pdf-lib` or `jsPDF`. Ensure typography and margins maintain a professional appearance.


2. DOCX Generation

- **Programmatic Assembly:** Use libraries like `docx` (Node.js) or `python-docx` (Python) to scaffold document structures.

- **Styles:** Always apply systematic Word styles (Heading 1, Normal, etc.) rather than manual formatting, so the user can easily switch themes globally.


3. PPTX (Slide Deck) Generation

- **Slide Architecture:** Map content to standard presentation flows: Title slide, Agenda, Content slides (Key points + graphic), Conclusion.

- **Libraries:** Use `pptxgenjs` (Node.js) or `python-pptx` (Python).

- **Automated Layouts:** Ensure bullet points are concise. Leave ample whitespace. Don't crowd slides with walls of text.

🎯 Best For

  • Technical writers
  • API documentation teams
  • Claude users
  • Software engineers
  • Development teams

💡 Use Cases

  • Generating JSDoc/TSDoc comments
  • Writing README files for new projects
  • Code quality improvement
  • Best practice enforcement

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply Document Skills to Your Work

    Open your project in the AI assistant and ask it to apply the skill. Start with a small module to verify the output quality.

  4. 4

    Review and Refine

    Review AI suggestions before committing. Run tests, check for regressions, and iterate on the skill output.

❓ Frequently Asked Questions

Does it follow my documentation style?

Most documentation skills respect existing style. Provide a style guide or example in your prompt.

Is Document Skills compatible with Cursor and VS Code?

Yes — this skill works with any AI coding assistant including Cursor, VS Code with Copilot, and JetBrains IDEs.

Do I need specific dependencies for Document Skills?

Check the install command and Works With section. Most code skills only require the AI assistant and your codebase.

How do I install Document Skills?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/document-skills/SKILL.md, ready to use.

Can I customize this skill for my team?

Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.

⚠️ Common Mistakes to Avoid

Auto-generating without reviewing

AI documentation can contain inaccuracies. Always verify technical accuracy.

Skipping validation

Always test AI-generated code changes, even for simple refactors.

Missing dependency updates

Check if the skill requires updated dependencies or new packages.

🔗 Related Skills