fm-generate-script

Generate FileMaker script snippets as fmxmlsnippet XML using a DuckDB catalog.

17|5|Updated Apr 28, 2026
One-click install
npx skills add https://github.com/marcel-more/fm-lab --skill fm-generate-script
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fm-generate-script
Source: https://github.com/marcel-more/fm-lab/tree/main/.claude/skills/fm-generate-script
Command: npx skills add https://github.com/marcel-more/fm-lab --skill fm-generate-script

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill solves the challenge of generating reliable, error-free FileMaker script snippets by replacing manual, error-prone XML authoring with a deterministic, reference-driven pipeline.

Core Features & Use Cases

  • Reference-Driven Generation: Uses a DuckDB-backed catalog to resolve real object IDs and ensure script validity.
  • Multi-Stage Validation: Employs a three-layer gate to verify XML structure, save-compatibility, and runtime logic before delivery.
  • Use Case: When building complex automation, use this Skill to draft a script in canonical text form and automatically emit a paste-ready fmxmlsnippet that is guaranteed to be structurally sound and contextually accurate.

Quick Start

Use the fm-generate-script skill to create a FileMaker script for the target file by providing a canonical text draft.

Frequently Asked Questions about fm-generate-script

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

FAQPage Schema
How do I generate FileMaker scripts automatically without writing XML manually?

Generating FileMaker scripts automatically requires drafting a canonical text input that a deterministic pipeline converts into paste-ready fmxmlsnippet XML. This replaces manual XML authoring by resolving object references against a DuckDB catalog to ensure structural integrity.

What is fmxmlsnippet format used for in FileMaker development?

fmxmlsnippet is an XML format used to represent FileMaker scripts so they can be copied and pasted directly into the FileMaker application. Generating these snippets programmatically ensures error-free script imports and complex automation authoring.

Do I need a DuckDB database to generate FileMaker script snippets?

Yes, you need a valid DuckDB reference database and catalog to generate FileMaker script snippets. The DuckDB catalog is required to resolve real object IDs accurately and ensure the contextual validity of the generated fmxmlsnippet XML.

How do I validate FileMaker script XML before applying it to my database?

Validating FileMaker script XML is handled through a three-layer gate that verifies XML structure, save-compatibility, and runtime logic. This multi-stage validation occurs before delivery to guarantee the generated script is production-grade and structurally sound.

What is the best way to automate complex FileMaker script authoring?

The best way to automate complex FileMaker script authoring is using a reference-driven generation pipeline that outputs fmxmlsnippet XML. By resolving object IDs against a DuckDB catalog, it eliminates manual errors and guarantees contextually accurate scripts for production environments.

Why does my FileMaker script generation fail when object references are missing?

FileMaker script generation fails without proper object references because the pipeline relies on a DuckDB catalog to resolve real object IDs. Without a valid reference database, the system cannot guarantee accurate ID resolution or the structural integrity of the output XML.