mirror of
https://github.com/adobe/skills.git
synced 2026-09-19 08:06:09 +08:00
9535e37989
The `ensure-agents-md` skill declares it must run before other AEM skills, but the dependency was one-directional — skills like `create-component` or `dispatcher` had no reference back to it. If a customer installed only a single skill without `ensure-agents-md`, the AGENTS.md bootstrap would never trigger. This adds a self-contained "AEM Project Bootstrap Check" section to all 42 AEM skills under cloud-service/ and 6.5-lts/ (excluding ensure-agents-md itself). The section instructs the agent to: 1. Check if AGENTS.md exists at the workspace root 2. Run ensure-agents-md first if available 3. Advise the user to install ensure-agents-md if not available A new `bootstrap-check` CI job in validate.yml fails the build if any AEM skill is missing this section or has an incomplete version (heading without AGENTS.md / ensure-agents-md references), preventing the check from being accidentally omitted when new skills are added. Includes scripts/add-bootstrap-check.sh for bulk-adding the section to new skills (idempotent). Made-with: Cursor