DO

Document Management

Tool to scan and transform local document files into embedded blog content.

Install

mkdir -p .claude/skills/document-management && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15806" && unzip -o skill.zip -d .claude/skills/document-management && rm skill.zip

Installs to .claude/skills/document-management

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

自动管理资产目录中的文件(如 PDF),将其转换为带有嵌入查看器的博客文章。
38 charsno explicit “when” trigger
Beginner

Key capabilities

  • Scan `assets/files` for new static files
  • Convert static files into blog posts
  • Generate Markdown files with embedded viewers
  • Ensure correct Frontmatter in generated files
  • Verify Markdown files exist before generation

How it works

The skill automatically scans a specified directory for new static files, then runs a Python script to convert them into Markdown blog posts with embedded viewers.

Inputs & outputs

You give it
new static files in `assets/files` (e.g., PDF)
You get back
a new Markdown file in `blogs/tech/YYYY/` with the document embedded

When to use Document Management

  • Publish PDF files to blog
  • Manage document assets
  • Automate blog post creation
  • Generate doc embeds

About this skill

Document Management Skill

当你发现 assets/files 目录下有新的静态文件,或者用户询问如何发布这些文件时,请使用此技能。

核心流程

  1. 自动扫描:
    • 检查 assets/files 目录中的文件(如 PDF)。
  2. 博客转换:
    • 运行脚本 python3 scripts/generate-doc-md/generate_doc.py
    • 脚本将:
      1. 验证 blogs/tech/YYYY/ 下是否存在对应的 Markdown。
      2. 若不存在,生成一个新的 Markdown 文件,通过 iframe 或专用组件嵌入该文件。

注意事项

  • 生成的文件应包含正确的 Frontmatter(如标题、日期、类别)。
  • 确保文件的路径在 Markdown 中是正确的相对路径或 URL。

When not to use it

  • When the task is not related to managing documents in `assets/files`
  • When the user does not want to publish files as blog posts
  • When the files are not static documents like PDFs

Limitations

  • It only processes files in the `assets/files` directory
  • It requires a specific Python script for conversion
  • Generated files must contain correct Frontmatter

How it compares

This skill automates the conversion and publication of static documents to a blog with embedded viewers, eliminating manual steps of creating Markdown and embedding content.

Compared to similar skills

Document Management side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
Document Management (this skill)03moNo flagsBeginner
write-docs63moNo flagsBeginner
docs-changelog44moNo flagsBeginner
docs-writer44moNo flagsBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry