sdaf-bom-selection
Skill145 starsChanged 3 months agoMITView on GitHub
Pick the right SDAF BOM for a target SAP product / release / DB platform / version / kernel / topology. Explains where BOMs live in the samples repo (`SAP/` for whole products, `BOM/` for components), decodes the `ms`, `v####`, and `latest` suffix conventions, points at the compatibility guardrails (`supportedPlatforms`, `supportedDBVersions`, `supportedKernels`), and reminds the operator that the download flow needs four explicit BOM keys in `sap-parameters.yaml`. Use when a user says "which BOM do I use", "product BOM vs component BOM", "SAP samples BOM catalog", "BOM_CATALOG", "S4/2023 BOM", "HANA BOM", or "how do I pick a BOM for HANA/Oracle/DB2/ASE". Do NOT use to author a new BOM, to acquire media (`sdaf-media-acquisition`), or to troubleshoot a checksum / 404 (`sdaf-media-diagnostics`).
In this repository21 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- Webapp/.github/copilot-instructions.mdCopilot instructions
- code-reviewSkill
- sdaf-control-plane-bootstrapSkill
- sdaf-failure-triageSkill
- sdaf-ha-diagnosticsSkill
- sdaf-ha-topologySkill
- sdaf-media-acquisitionSkill
- sdaf-media-diagnosticsSkill
- sdaf-orientation-and-surfaceSkill
- sdaf-plan-and-test-semanticsSkill
- sdaf-quality-assuranceSkill
- sdaf-readiness-checkSkill
- sdaf-safe-removalSkill
- sdaf-sap-installationSkill
- sdaf-sap-systemSkill
- sdaf-sovereign-cloudSkill
- sdaf-state-managementSkill
- sdaf-workload-zoneSkill
- sdaf-workspace-and-tfvarsSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 37
Do NOT trigger on: authoring a new BOM, running download_menu.sh, media 404 / checksum troubleshooting, or install-time BOM failures.
- Distinctive: line 105
Do not select a BOM whose guardrails do not match the target topology.
- Very specific: line 138
Do not add credentials or downloaded media to the samples repo (sap-automation-samples/docs/02-00-bom-samples.md § Before you begin).
- Very specific: line 140
Do not point BOM_CATALOG at a single BOM directory.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SDAF BOM Selection
Context-primer. Helps a user choose an existing BOM from the samples
catalog. Grounded in docs/local/06-00-software-and-installation.md § Inputs
and BOM ownership and the samples-repo BOM docs
(sap-automation-samples/docs/02-00-bom-samples.md).
For an ordered 5-step end-to-end walkthrough (identify target → product vs
component BOM → compatibility fields → prefer pinned name → pin samples
commit), see references/bom-selection.md;
this body carries the topic-by-topic facts.
When to invoke
Trigger on: "pick a BOM", "which BOM", "product BOM vs component BOM", "BOM_CATALOG", "SAP samples", "S4 2023 BOM", "HANA BOM", "Oracle BOM", "DB2 BOM", "compatibility guardrails".
Do NOT trigger on: authoring a new BOM, running download_menu.sh, media
404 / checksum troubleshooting, or install-time BOM failures.
Where BOMs live
Docs
(sap-automation-samples/docs/02-00-bom-samples.md § Understand SAP and BOM;
docs/local/06-00-software-and-installation.md § Inputs and BOM ownership):
sap-automation-samples/SAP/<name>/<name>.yaml— product BOM (whole product); pick this when the documented flow accepts a single complete definition.sap-automation-samples/BOM/<name>/<name>.yaml— component BOM (app / db / kernel); pick these when the flow supports dynamic assembly driven by the foursap-parameters.yamlkeys documented below. Anchor:sap-automation-samples/docs/02-00-bom-samples.md § Understand SAP and BOM.sap-automation-samples/SAP/archives/— legacy only; do not use without explicit release guidance.
Filename rule (docs; samples): the directory name and the YAML basename must match exactly, case-sensitive. A rename that breaks the pair breaks selection.
BOM_CATALOG must point at the samples root
docs/local/06-00-software-and-installation.md § Inputs and BOM ownership:
- Set
BOM_CATALOGto the root of a reviewed samples checkout that contains bothSAP/andBOM/. - Do not set
BOM_CATALOGto an individual BOM directory. download_menu.shpasses this value to Ansible asBOM_directory.
The four BOM keys (download flow)
docs/local/06-00-software-and-installation.md § Inputs and BOM ownership
is explicit: the SAP-system-generated sap-parameters.yaml contains
bom_base_name, but the wrapper overrides it and requires four keys:
application_bom_name: <APPLICATION_BOM>
database_bom_name: <DATABASE_BOM>
sap_kernel_bom_name: <KERNEL_BOM>
save_bom_as: <COMBINED_BOM_NAME>
bom_base_name: <COMBINED_BOM_NAME>Without the four downloader keys, the wrapper substitutes an empty value and
the download fails. Also require bom_base_name to equal save_bom_as;
installation reloads bom_base_name and must find the combined BOM written by
the downloader. Surface both constraints whenever the operator picks component
BOMs.
Compatibility guardrails
BOM YAML fields to check before picking (documented in
sap-automation-samples/docs/02-00-bom-samples.md § Select and run a BOM /
§ Review before execution; the same fields are present in every shipped
BOM at sap-automation-samples/{SAP,BOM}/<name>/<name>.yaml — open the
current candidate rather than a versioned example):
supportedPlatformssupportedDBVersionssupportedKernelsproduct_ids(role-to-SAP-product-ID map)materials.dependencies(prerequisite BOMs)
For the current allowed values on any of these keys, read the target BOM YAML itself and the samples-repo doc anchor above — those own the strings. Do not select a BOM whose guardrails do not match the target topology.
Suffix decoding
sap-automation-samples/SAP/readme.md § BOM Name / BOM File and
§ 02-00-bom-samples.md § Select and run a BOM:
mssuffix — Microsoft-supplied BOM.v####suffix — serial version number.latestin a name — moving target; the docs warn that names containinglatestcan change later. Prefer a pinnedv####name, and pin the samples-repo checkout commit, so a BOM selected today matches the media downloaded tomorrow (sap-automation-samples/docs/02-00-bom-samples.md § Select and run a BOM).
Hand-off
- To validate a BOM:
check_bom.sh(runsyamllint,ansible-lint, andcheck_bom.yml). Referenced insap-automation-samples/docs/02-00-bom-samples.md § Validate. BOM authoring is outside the shipped 18-skill hub. - To acquire media once a BOM is selected: route to
sdaf-media-acquisition. - To diagnose archive / checksum / extractor failures after selection:
route to
sdaf-media-diagnostics. - To route BOM failures during a run:
docs/local/troubleshooting.md § BOM files are not found→ confirmBOM_CATALOGroot, names, and files.
Hard rules
- Documented behaviour only (D19). If asked about air-gapped / offline
media, an undocumented compatibility mapping, or the meaning of
XBOM, say docs are silent and stop. - Do not add credentials or downloaded media to the samples repo
(
sap-automation-samples/docs/02-00-bom-samples.md § Before you begin). - Do not point
BOM_CATALOGat a single BOM directory.
See also
sdaf-sap-system(its generatedsap-parameters.yamlis where the four BOM keys are set).sdaf-workspace-and-tfvars(where the samples checkout is separate from the SDAF checkout).sap-automation-samples/docs/02-00-bom-samples.md,docs/local/06-00-software-and-installation.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

