crear-modelo

Generate PHP class and XML table files for FacturaScripts models.

7|2|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/FacturaScripts/fs-claude-plugin --skill crear-modelo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: crear-modelo
Source: https://github.com/FacturaScripts/fs-claude-plugin/tree/main/fs-dev/skills/crear-modelo
Command: npx skills add https://github.com/FacturaScripts/fs-claude-plugin --skill crear-modelo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of FacturaScripts models, including their PHP class and XML table files, saving developers time and reducing errors in the setup process.

Core Features & Use Cases

  • Automated Model Creation: Generates PHP class and XML table files based on user input.
  • Customization: Allows the user to specify the model name, table name, and columns.
  • Use Case: Ideal for quickly setting up new models in FacturaScripts without manually writing the PHP class and XML table files.

Quick Start

Use the crear-modelo skill to generate a new model named 'Project' with the table name 'projects'.

Frequently Asked Questions about crear-modelo

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

FAQPage Schema
How do I create a FacturaScripts model with PHP class and XML table files?

FacturaScripts models require a PHP class and an XML table file defining the database structure. Automation tools generate these files by handling model naming, table naming, and column definition based on your specified input parameters.

What is the best way to automate FacturaScripts model creation?

Automating FacturaScripts model creation involves using a script to generate the PHP class and XML table files simultaneously. This approach saves development time and reduces manual setup errors by processing user input for model and table definitions.

Do I need PHP to generate FacturaScripts models?

Yes, PHP is required for executing the model generation script and for using the created models within the FacturaScripts environment. The automation process outputs PHP class files that rely on the core FacturaScripts framework.

Can I customize table names and columns when generating FacturaScripts models?

Yes, you can customize the model name, table name, and column definitions during the generation process. This allows you to tailor the output PHP and XML files to match your specific database schema requirements in FacturaScripts.

Why does my FacturaScripts model setup require an XML table file?

The XML table file is required by FacturaScripts to define the database table structure for the model. It works alongside the PHP class file to map the data, ensuring the application correctly interprets the columns and table relationships.