Skills 2026-10-07 07:03 UTC
iphone-duo-skills
Committed by mirzaaghazadeh. Update Category: New Features & Capability Expansion. Commit details: Add CI: validation, Apple docs watcher, npm publish. This update introduces new capabilities and expands supported use cases.
CommitRaw commit message
Add CI: validation, Apple docs watcher, npm publish Three times Apple published something new — the HIG page, the API reference, then the Prepare checklist — and each was found by accident. The API reference turned out to correct three claims in this repo. These workflows make that a scheduled check rather than luck, and add the PR validation the repo now needs given it has outside contributors. validate.yml (push + PR) Runs scripts/validate-skills.py: every SKILL.md has frontmatter with a non-empty name and description, name matches its directory, names are unique and lowercase-hyphen, descriptions are long enough to route on. Also resolves relative references — including the backtick-wrapped `../skill/SKILL.md` form this repo actually uses, which is what breaks on a rename — and verifies npm pack still succeeds. On push it also checks `npx skills add` can resolve the repo, since that is the install path the README advertises. watch-apple-docs.yml (Fridays 06:00 UTC) Runs scripts/check-sources.py against 16 Apple URLs. Hashes extracted content rather than raw HTML so analytics tokens don't trigger false positives — verified stable across consecutive runs. Reports NEW when a 404 starts resolving, CHANGED on a content move, GONE on disappearance, then commits refreshed state and opens or comments on an issue labelled apple-docs. Tracks the two still-404 preparing-your-app pages so their arrival is reported rather than missed. publish.yml (on release) Validates, asserts the release tag matches package.json, publishes with provenance. Needs an NPM_TOKEN granular access token with bypass-2FA, since this account requires 2FA to publish. Baseline state committed in .github/sources-state.json. Claude-Session: https://claude.ai/code/session_01PFVWRF5aKsAwBfco2sx8GL