Communitygithub.com

Jamie-BitFlight/enterprise-installanywhere

Modèles de requêtes Dasel v3 pour les définitions de programme d'installation InstallAnywhere .iap_xml — à utiliser pour interroger les séquences d'actions, découvrir les variables, résoudre les conditions de plateforme, naviguer dans les panneaux ou comparer les variantes de l'installateur. Fichiers de 2,5 Mo et plus, 65 000+ lignes — trop volumineux pour être lus en contexte, nécessitent des requêtes Dasel structurelles.

Qu'est-ce que enterprise-installanywhere ?

Cette compétence fournit un ensemble de modèles de requêtes prêtes à l'emploi pour l'outil en ligne de commande Dasel v3, spécifiquement conçus pour analyser les fichiers .iap_xml d'InstallAnywhere. Ces fichiers, très volumineux (2,5-2,6 Mo, 65 000+ lignes), ne peuvent pas être chargés directement dans le contexte d'un assistant IA. La compétence guide l'utilisateur sur l'utilisation de Dasel avec l'option `-i xml` (la détection automatique échoue), l'écriture des résultats intermédiaires dans /tmp/, et l'emploi de requêtes structurelles comme `..action`, `..panel`, `..variable`, ainsi que `search(has("-attribute"))`. Elle montre comment extraire et comparer les noms d'actions, les types, les variables, les conditions de plateforme, les opérations de copie de fichiers et la navigation entre panneaux. Elle inclut également des techniques de comparaison entre variantes d'installateur (par exemple, RA vs NON_RA) à l'aide de diff. Cette compétence fonctionne sur n'importe quel système Unix où Dasel est installé, et ne dépend pas d'un IDE ou d'un agent IA spécifique.

Compatible avec~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Jamie-BitFlight/claude_skills/tree/main/plugins/dasel/skills/enterprise-installanywhere

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Modèles de requêtes pour .iap_xml d'InstallAnywhere

<when_to_use>

Chargez cette compétence lorsque vous travaillez avec un fichier .iap_xml — pour auditer les actions d'installation, lister les opérations de copie de fichiers, découvrir les variables, trouver les branches spécifiques à une plateforme ou comparer deux variantes d'installateur (par exemple, les versions RA vs NON_RA).

</when_to_use>

Contraintes opérationnelles

  • Passez toujours -i xml explicitement — la détection automatique échoue sur les extensions .iap_xml
  • Écrivez tous les résultats intermédiaires dans /tmp/ — jamais dans l'arborescence source
  • Les fichiers font 2,5–2,6 Mo, 65 000+ lignes — utilisez des requêtes Dasel structurelles, ne lisez jamais le fichier dans le contexte

Structure racine

Les fichiers .iap_xml d'InstallAnywhere ont un chemin racine fixe : InstallAnywhere.project.

# Noms des éléments de premier niveau à la racine du document
cat installateur.iap_xml | dasel -i xml 'keys($this)'

# Naviguer vers la séquence d'actions d'installation
cat installateur.iap_xml | dasel -i xml 'InstallAnywhere.project.installSequence'

# Enfants du nœud projet
cat installateur.iap_xml | dasel -i xml 'InstallAnywhere.project.keys($this)'

Descente récursive — trouve les éléments à n'importe quelle profondeur sans connaître le chemin complet :

# Tous les éléments nommés "action" à n'importe quelle profondeur
cat installateur.iap_xml | dasel -i xml '..action'

# Tous les éléments nommés "panel" à n'importe quelle profondeur
cat installateur.iap_xml | dasel -i xml '..panel'

# Tout nœud à n'importe quelle profondeur où un attribut spécifique existe
cat installateur.iap_xml | dasel -i xml 'search(has("-name"))'

..elementName descend récursivement. search(prédicat) trouve les nœuds à n'importe quelle profondeur.

Analyse de la séquence d'actions

# Tous les noms d'actions dans l'ordre d'exécution
cat installateur.iap_xml | dasel -i xml '..action.map("-name")'

# Tous les types d'actions
cat installateur.iap_xml | dasel -i xml '..action.map("-type")'

# Compter tous les éléments d'action
cat installateur.iap_xml | dasel -i xml 'len(..action)'

# Écrire pour analyse
cat installateur.iap_xml | dasel -i xml '..action.map("-name")' > /tmp/noms_actions.txt
cat installateur.iap_xml | dasel -i xml '..action.map("-type")' > /tmp/types_actions.txt

Découverte des variables

# Toutes les définitions de variables
cat installateur.iap_xml | dasel -i xml '..variable.map("-name")' > /tmp/variables_installateur.txt

Conditions de plateforme

# Toutes les conditions de plateforme (branches Windows vs Linux)
cat installateur.iap_xml | dasel -i xml 'search(has("-platform")).map("-platform")' > /tmp/platformes.txt

Comparaison entre variantes

Lors de la comparaison de deux versions du même installateur (par exemple, RA vs NON_RA, variante Windows vs Linux) :

# Comparer les ensembles d'actions entre deux fichiers d'installateur
cat installateur_a.iap_xml | dasel -i xml '..action.map("-name")' | sort > /tmp/actions_a.txt
cat installateur_b.iap_xml | dasel -i xml '..action.map("-name")' | sort > /tmp/actions_b.txt
diff /tmp/actions_a.txt /tmp/actions_b.txt > /tmp/diff_installateur.txt

# Comparer les ensembles de panneaux
cat installateur_a.iap_xml | dasel -i xml '..panel.map("-name")' | sort > /tmp/panneaux_a.txt
cat installateur_b.iap_xml | dasel -i xml '..panel.map("-name")' | sort > /tmp/panneaux_b.txt
diff /tmp/panneaux_a.txt /tmp/panneaux_b.txt

Opérations de copie de fichiers

# Toutes les sources de copie de fichiers
cat installateur.iap_xml | dasel -i xml '..installFile.map("-source")' > /tmp/copies_fichiers.txt

Navigation dans les panneaux

# Noms et nombre de panneaux
cat installateur.iap_xml | dasel -i xml '..panel.map("-name")'
cat installateur.iap_xml | dasel -i xml 'len(..panel)'

Référence de syntaxe des attributs

Les attributs XML utilisent le préfixe - en mode amical de dasel :

# Accéder à un attribut spécifique sur la première correspondance
cat installateur.iap_xml | dasel -i xml '..action[0].-name'

# Découvrir les attributs et les enfants d'un nœud
cat installateur.iap_xml | dasel -i xml '..action[0].keys($this)'

# Extraire les valeurs d'attribut sur tous les nœuds correspondants
cat installateur.iap_xml | dasel -i xml '..elementName.map("-attributeName")'

# Compter les éléments correspondants
cat installateur.iap_xml | dasel -i xml 'len(..elementName)'

# Recherche avec prédicat d'attribut à n'importe quelle profondeur
cat installateur.iap_xml | dasel -i xml 'search(has("-attributeName"))'

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

Jamie-BitFlight/agentskill-kaizen-meta-docs

Agentskill kaizen plugin documentation index. Load when needing to read about cross-platform notes, improvement plans, or DuckDB integration.

Jamie-BitFlight/bash-51-features

Bash 5.1 release features and improvements with practical examples. Use when working with Bash 5.1 features, epoch time variables, redirection enhancements, or when user asks about Bash 5.1 changes, new features, or version-specific capabilities.

Jamie-BitFlight/bash-52-features

Bash 5.2 release features and improvements with practical examples. Use when working with Bash 5.2 features, variable handling enhancements, readline improvements, or when user asks about Bash 5.2 changes, new features, or version-specific capabilities.

Jamie-BitFlight/bash-53-features

Bash 5.3 release features and improvements with practical examples. Use when working with Bash 5.3 features, new command substitution, GLOBSORT, loadable builtins, or when user asks about Bash 5.3 changes, new features, or version-specific capabilities.

Jamie-BitFlight/bash-development

This skill should be used when the user asks to "write a bash script", "create a shell script", "implement bash function", "parse arguments in bash", "handle errors in bash", or mentions bash development, shell scripting, script templates, or modern bash patterns.

Jamie-BitFlight/bash-lint

This skill should be used when the user asks to "lint bash script", "run shellcheck", "format shell script", "use shfmt", "fix shellcheck errors", or mentions shell script linting, formatting, code quality, or pre-commit hooks for bash.

Jamie-BitFlight/bash-logging

This skill should be used when the user asks to "add logging to bash script", "colorize output", "implement log levels", "CI/CD sections", "terminal colors in bash", or mentions logging functions, emoji output, collapsible CI sections, or shlocksmith.

Jamie-BitFlight/bash-portability

This skill should be used when the user asks about "POSIX compatibility", "portable shell scripts", "cross-shell compatibility", "bashisms", "shebang selection", or mentions writing scripts that work on different shells (bash, sh, dash, zsh) or different systems.

Jamie-BitFlight/bash-testing

This skill should be used when the user asks to "test bash script", "write shell tests", "use shunit2", "use shellspec", "create test suite for bash", or mentions unit testing, test frameworks, mocking, or test-driven development for shell scripts.

Jamie-BitFlight/brainstorming-skill

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or when users request help with ideation, marketing, and strategic planning. Explores user intent, requirements, and design before implementation using research-validated prompt patterns.

Jamie-BitFlight/clang-format

Configure clang-format code formatting. Use when: user mentions clang-format or .clang-format, analyzing code style/patterns, creating/modifying formatting config, troubleshooting formatting, brace styles/indentation/spacing/alignment/pointer alignment, or codifying conventions.

Jamie-BitFlight/commitlint

When setting up commit message validation for a project. When project has commitlint.config.js or .commitlintrc files. When configuring CI/CD to enforce commit format. When extracting commit rules for LLM prompt generation. When debugging commit message rejection errors.

Jamie-BitFlight/conventional-commits

When writing a git commit message. When task completes and changes need committing. When project uses semantic-release, commitizen, git-cliff. When choosing between feat/fix/chore/docs types. When indicating breaking changes. When generating changelogs from commit history.

Jamie-BitFlight/dasel-reference

Use when querying, modifying, or converting JSON, YAML, TOML, XML, CSV, HCL, or INI with dasel v3. Complete reference for selectors, functions, conditionals, variables, spread operator, type casting, and format-specific patterns.

Jamie-BitFlight/data-exploration

Use when exploring unknown structured data files with dasel v3 — discover schema, list keys, find nested values, sample arrays, identify data types across JSON, YAML, TOML, XML, CSV, HCL, INI formats

Jamie-BitFlight/data-transformation

Use when modifying, converting, or transforming structured data with dasel v3 — in-place mutations, format conversion, batch operations, array manipulation, object construction, and merge patterns across JSON, YAML, TOML, XML, CSV, HCL, INI

Jamie-BitFlight/delegate

Decompose substantive work into phases, dispatch each phase to a sub-agent, and adjudicate what comes back. Use whenever a request asks for implementation, investigation, a fix, a review, or any change to files — including small ones — and whenever you are about to read source or run a diagnostic yourself instead of handing it off. Also use when a report from a sub-agent needs judging, when a phase needs re-dispatching, or when a user names one instance of a pattern. Does not apply when your own prompt begins "Your ROLE_TYPE is sub-agent." — then follow references/sub-agent-contract.md instead.

Jamie-BitFlight/enterprise-hibernate-hbm

Dasel v3 query patterns for Hibernate .hbm.xml mapping files — entity-table binding, Java property-to-column extraction, one-to-many set/list/bag relationship tracing, many-to-one foreign key discovery, batch scanning across 60+ HBM files. Use when querying Hibernate ORM class mappings, extracting schema metadata from Java persistence layer, or auditing entity-column relationships in enterprise legacy codebases.

Jamie-BitFlight/enterprise-maven-pom

Dasel v3 selector patterns for Maven POM XML files — use when querying dependency versions, filtering by groupId or scope, extracting module hierarchy from parent POMs, or detecting version conflicts across enterprise multi-module Java projects. Load this skill when working with pom.xml files using dasel.

Jamie-BitFlight/enterprise-spring-xml

Dasel v3 selectors for Spring bean factory XML — use when querying any Spring ApplicationContext XML for bean discovery, dependency wiring, JMS destination mapping, property injection extraction, or cross-bean reference tracing. Load this skill before writing dasel selectors against Spring bean XML files (applicationContext.xml, *_beans.xml, spring-*.xml).

Skills associés