filemaker-layout-xmllisted
Install: claude install-skill andykear/FileMaker-XMLsnippet-Layout-Claude-Skill
# FileMaker Layout XML Skill
Created by Andrew Kear of Clockwork Creative Technology and shared openly with the FileMaker/Claris community under CC BY 4.0. Attribution required on any reuse, adaptation or redistribution, including any derived or excerpted work.
Deterministic generation and analysis of `fmxmlsnippet type="LayoutObjectList"`, FileMaker's Layout mode clipboard format. Full specification in `references/filemaker_layout_xml_rules.md`.
Most rules below concern silent failures: the XML pastes without error and is wrong on screen or in behaviour, and no structural audit catches it.
## Pre-flight: theme identification (mandatory)
Every object must carry the target layout's `<ThemeName>` verbatim. The wrong identifier causes text doubling and CSS class names rendering as visible text.
1. If the user supplied any layout XML, clipboard export or Save as XML, extract it: `grep -m1 "ThemeName" file.xml`
2. If not, ask before generating. The user gets it by copying any object from the target layout and pasting into a text editor.
3. Never default to `com.filemaker.theme.apex_blue`. It is a placeholder in the examples only.
Ask first. Do not generate and then ask.
## ExtendedAttributes on every TextObj
Two or more Text objects pasted without an `ExtendedAttributes` block on each `TextObj` causes FileMaker to concatenate their text at paste time. Include a standard block mirroring the object's own `CharacterStyle` on every Text, Button, ButtonBar segment, GroupButton