propertylist-xml
БесплатноБез исполняемых скриптовНе проверенProvides usage details for PropertyList XML files, including property storage, expressions, conditions, and more.
от container32581 установка в других каталогахОб этом скилле
Components of the Property Tree
- Nodes: A node can hold a typed value as well as child nodes, and both can coexist at the same time.
- Indices: Sibling nodes sharing an identical identifier are organized as an indexed array using zero-based numerical offsets. Omitting brackets defaults to index
0(e.g.,/sim/view=/sim/view[0]). Deleting an indexed node does not re-index or shift subsequent elements, leaving the vacated slot available for reuse. - Aliases: Allows a node to dynamically mirror another target node path, routing all read and write operations directly to the destination.
- Node attributes: Flags defining internal engine behaviors, including read/write permissions, runtime state preservation, logging triggers, and persistent serialization.
The PropertyList format
The root element of each file is always named <PropertyList>. Tags are almost always found in pairs, with the closing tag having a slash prefixing the tag name, i.e </PropertyList>, just like in any other XML dialect.
Minimal example
A minimal example of a complete property list encoded XML file, looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
</PropertyList>
Property node tags and attributes
Each node in a tree is specified using a single tag that can take attributes describing various things about it:
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<welcome type="string">Welcome to FlightGear! This is a string as a property</welcome>
</PropertyList>
Property type attributes
Property typing is optional, all properties are by default string/unspecified and are transparently converted by the property tree, but it never hurts, especially when including spaces around numbers:
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<foo type="string">Hello</foo>
<pi type="float"> 3.14 </pi>
<boo type="bool">true</boo>
</PropertyList>
Indexed nodes
Indexing happens implicitly for identically named properties:
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<foo>Hello</foo>
<foo>Hello</foo>
<foo>Hello</foo>
</PropertyList>
so that the three foo tags become foo[0], foo[1], foo[2] in the property tree, but you can also use explicit indexing by setting the n attribute of each tag:
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<foo n="0">Hello</foo>
<foo n="1">Hello</foo>
<foo n="2">Hello</foo>
</PropertyList>
Though the above two examples are equivalent, we tend often to include "n" anyway, just to help people keep track of where they are. That's most important when there are a lot of subproperties, not in a simple list like the above.
Archived properties
To make property settings persistent in between FlightGear sessions, use the userarchive attribute:
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<foo userarchive="y">Hello</foo>
</PropertyList>
Including external PropertyList files
We can also create new PropertyList files by subtyping existing ones using the include attribute. For example, if someone made a DC-3 model for JSBSim, we could subclass from the YASim config file like this:
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList include="dc3-yasim-set.xml">
<sim>
<description>DC-3 (JSBSim).</description>
<flight-model archive="y">jsb</flight-model>
</sim>
</PropertyList>
Aliased properties
Properties can alias other properties, in a similar way to symbolic links in Unix. When one of them changes the other one changes as well.
For example, this
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<foo>46</foo>
<bar alias="/foo"/>
</PropertyList>
will be functionally identical to
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<foo>46</foo>
<bar>46</bar>
</PropertyList>
except that bar and foo will always be identical.
A PropertyList file can begin with a property subtree that are aliased later in the file.
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<params>
<comm-freq-prop>/radios/comm1/frequencies/selected</comm-freq-prop>
<nav-freq-prop>/radios/nav1/frequencies/selected</nav-freq-prop>
</params>
<chunk>
<type>number-value</type>
<property alias="/params/nav-freq-prop"/>
</chunk>
</PropertyList>
Aliasing combined with inclusion
The combination of aliasing and inclusion allows for parameterization, which can be of great help both for debugging and maintenance. The above example could for example instead be split up into
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<params>
<comm-freq-prop>/radios/comm1/frequencies/selected</comm-freq-prop>
<nav-freq-prop>/radios/nav1/frequencies/selected</nav-freq-prop>
</params>
</PropertyList>
and
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<params include="MyParams.xml"/>
<chunk>
<type>number-value</type>
<property alias="/params/n
Установить propertylist-xml в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл propertylist-xml?
Provides usage details for PropertyList XML files, including property storage, expressions, conditions, and more.
Как установить скилл propertylist-xml?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл propertylist-xml запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic