extension-developer

Create FacturaScripts extensions using hooks and conventions for models, controllers, XMLView, tables, and Twig templates.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the challenge of modifying FacturaScripts core or plugin functionalities without altering source code, enabling efficient extension development.

Core Features & Use Cases

  • Extension Development: Facilitates the creation of extensions for FacturaScripts models, controllers, XMLView, tables, and Twig templates.
  • Hooks Utilization: Offers guidance on using hooks for various extension types, ensuring correct implementation.
  • Use Case: When a user needs to add a new field to a customer form or execute additional logic on a sales document, this Skill provides the necessary tools and expertise.

Quick Start

To extend the 'EditCliente' form, use the 'extension-developer' skill and specify the desired changes.

Frequently Asked Questions about extension-developer

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

FAQPage Schema
How do I modify FacturaScripts core functionality without changing the source code?

To modify FacturaScripts core functionality without changing source code, you can create extensions using hooks. This approach allows you to add fields to forms or execute additional logic while preserving the original files.

What is the best way to add a new field to a FacturaScripts customer form?

The best way to add a new field to a FacturaScripts customer form is by developing an extension for the EditCliente form. By utilizing hooks, you inject the desired changes into the model and XMLView without altering core files.

Can I use hooks to execute additional logic on FacturaScripts sales documents?

Yes, you can use hooks to execute additional logic on FacturaScripts sales documents. Extension development allows you to intercept controller operations and inject custom code, enabling specific actions to run during document processing.

Does FacturaScripts extension development support modifying Twig templates and database tables?

FacturaScripts extension development supports modifying Twig templates and database tables. You can utilize hooks and established conventions to extend views and alter table structures seamlessly within your custom plugin.

What are the limitations of using FacturaScripts hooks for ERP customization?

The limitations of using FacturaScripts hooks for ERP customization depend on the available hook points within models, controllers, and XMLViews. Extensions rely on existing hooks, meaning you cannot inject custom logic where a hook is not already defined.