file-converter
Convert files between formats
También disponible en: Joseph OBrien
Converting files between formats requires knowledge of specific libraries and their parameters. This skill provides ready-to-use Python code for converting documents, data files, and images between common formats with proper error handling.
Descargar el ZIP de la skill
Subir en Claude
Ve a Configuración → Capacidades → Skills → Subir skill
Activa y empieza a usar
Pruébalo
Usando "file-converter". Convert my config.json to YAML format
Resultado esperado:
- Generated YAML with proper indentation
- Unicode characters preserved
- Output written to config.yaml
Usando "file-converter". Convert my report.pdf to plain text
Resultado esperado:
- Extracted text from all PDF pages
- Preserved page structure in output
- Handled encoding automatically
Usando "file-converter". Convert all PNG images to WebP for web use
Resultado esperado:
- Converted images with quality 80
- Transparency preserved where applicable
- Files saved to output directory
Auditoría de seguridad
SeguroThis is a documentation-only skill containing code examples and guidance for generating file conversion scripts. All 139 static findings are FALSE POSITIVES because the skill contains no executable code, no file system operations, no network calls, and no credential access. The scanner flagged code examples in documentation as if they were executable, including CLI tool references (libreoffice) and MD5 checksums (for file integrity verification) which are legitimate documentation patterns.
Factores de riesgo
⚙️ Comandos externos (116)
📁 Acceso al sistema de archivos (8)
🌐 Acceso a red (1)
Puntuación de calidad
Lo que puedes crear
Convert data between formats
Transform JSON to YAML, CSV to JSON, or handle XML conversions for data pipelines
Export documents to PDF
Convert Markdown or DOCX files to PDF with proper formatting and styling
Optimize images for web
Convert images to WebP or PNG with quality settings and transparency handling
Prueba estos prompts
Convert a JSON file to YAML format using Python with proper Unicode handling
Extract all text from a PDF file using pypdf with page-by-page processing
Convert PNG images to WebP with quality 80 and maintain transparency
Convert all CSV files in a directory to JSON with type inference for numeric and boolean values
Mejores prácticas
- Specify encoding explicitly when reading text files to avoid errors
- Use proper libraries for each format pair (e.g., mammoth for DOCX to Markdown)
- Handle edge cases like transparency for images and nested structures for JSON/CSV conversion
Evitar
- Using the wrong library for a format pair (e.g., wrong XML converter)
- Ignoring encoding issues that cause UnicodeDecodeError on special characters
- Attempting to convert complex nested JSON directly to CSV without flattening