nop-file-converter

Converts between document model formats and handles attachments for specified workflows.

690|99|Updated Aug 18, 2022
One-click install
npx skills add https://github.com/entropy-cloud/nop-entropy --skill nop-file-converter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nop-file-converter
Source: https://github.com/entropy-cloud/nop-entropy/tree/main/.opencode/skills/nop-file-converter
Command: npx skills add https://github.com/entropy-cloud/nop-entropy --skill nop-file-converter

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables fast, reliable conversion of XLang model files between XML, JSON, YAML and XLSX formats using the NOP CLI, reducing manual reformatting and data loss risks.

Core Features & Use Cases

  • Format conversion: Convert ORM and API model files across XML, JSON, YAML, and XLSX formats.
  • Docx attachment extraction: Extract attachments (e.g., images) from Word documents to a specified directory.
  • Use Case: Example: convert a vendor API spec from XLSX to YAML for easier versioning and automation.

Quick Start

Use the nop-file-converter to transform an input model file, for example: nop-cli convert input.orm.xml -o output.orm.json

Frequently Asked Questions about nop-file-converter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert an XLang model file from XML to JSON?

To convert an XLang model file from XML to JSON, use the nop-cli tool to transform the input file with a specified output path. This skill handles conversions among XML, JSON, YAML, and XLSX formats.

What is the best way to convert an API model from XLSX to YAML?

The best way to convert an API model from XLSX to YAML is using the nop-file-converter skill. It leverages nop-cli to reliably transform model files across these formats, reducing manual reformatting and data loss risks.

How do I extract images from a Word document using nop-cli?

To extract images from a Word document, this skill uses nop-cli to extract docx attachments to a specified directory. It identifies file types using the fileType concept to process composite files correctly.

Do I need to install nop-cli separately to convert XLang models?

Yes, you need the nop-cli tool installed to convert XLang models. This skill depends on the nop-cli command-line interface to execute format conversions between XML, JSON, YAML, and XLSX.

Can I convert ORM model files between YAML and XML formats?

Yes, you can convert ORM model files between YAML and XML formats. This skill supports bi-directional conversion for ORM and API models across XML, JSON, YAML, and XLSX using the nop-cli tool.

How does the converter identify composite file types versus simple files?

The converter identifies composite versus simple file types using the fileType concept within the nop-cli framework. This mechanism ensures correct processing logic when transforming XLang models or extracting docx attachments.