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.zipInstalls 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),将其转换为带有嵌入查看器的博客文章。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
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 目录下有新的静态文件,或者用户询问如何发布这些文件时,请使用此技能。
核心流程
- 自动扫描:
- 检查
assets/files目录中的文件(如 PDF)。
- 检查
- 博客转换:
- 运行脚本
python3 scripts/generate-doc-md/generate_doc.py。 - 脚本将:
- 验证
blogs/tech/YYYY/下是否存在对应的 Markdown。 - 若不存在,生成一个新的 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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| Document Management (this skill) | 0 | 3mo | No flags | Beginner |
| write-docs | 6 | 3mo | No flags | Beginner |
| docs-changelog | 4 | 4mo | No flags | Beginner |
| docs-writer | 4 | 4mo | No flags | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
write-docs
tldraw
Writing SDK documentation for tldraw. Use when creating new documentation articles, updating existing docs, or when documentation writing guidance is needed. Applies to docs in apps/docs/content/.
docs-changelog
google-gemini
Provides a step-by-step procedure for generating Gemini CLI changelog files based on github release information.
docs-writer
google-gemini
Always use this skill when the task involves writing, reviewing, or editing files in the `/docs` directory or any `.md` files in the repository.
technical-docs
getsentry
Write and review technical documentation for Sentry SDK docs. Use when creating, editing, or reviewing documentation pages, especially MDX files in docs/platforms/.
vuepress-plume-markdown
pengzhanbo
Help users write markdown files with VuePress Plume theme extensions, charts, and embeds.
repo-website-guide-create
open-circle
Create conceptual documentation and tutorial pages for the Valibot website at website/src/routes/guides/. Use when adding guides about schemas, pipelines, async validation, migration, or other topics. Covers directory structure, MDX templates, frontmatter, and content guidelines.