@mmerterden/multi-agent-pipeline 24.3.2 → 24.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +119 -0
- package/README.md +9 -2
- package/README.tr.md +9 -2
- package/docs/architecture.md +1 -1
- package/docs/ecosystem.md +7 -1
- package/docs/facts.json +3 -2
- package/install/_common.mjs +21 -1
- package/install/_dev-only-files.mjs +3 -0
- package/install/_external-source.mjs +174 -0
- package/install/_platform-filter.mjs +18 -17
- package/install/_plugin-skills.mjs +8 -21
- package/install/_rewrite-tree.mjs +5 -1
- package/install/claude.mjs +18 -15
- package/install/codex.mjs +96 -37
- package/install/copilot.mjs +35 -13
- package/install/index.mjs +82 -14
- package/manifest.json +40 -826
- package/package.json +4 -2
- package/pipeline/commands/multi-agent/update/SKILL.md +20 -13
- package/pipeline/lib/low-disk.mjs +33 -1
- package/pipeline/lib/plugins-source.mjs +206 -0
- package/pipeline/multi-agent-refs/cross-cli-contract.md +12 -5
- package/pipeline/multi-agent-refs/sync/repo.md +1 -1
- package/pipeline/multi-agent-refs/sync/stack-plugins.md +12 -0
- package/pipeline/office/index.html +5076 -793
- package/pipeline/schemas/plugins-pin.json +204 -0
- package/pipeline/schemas/plugins-pin.schema.json +38 -0
- package/pipeline/schemas/prefs.schema.json +134 -48
- package/pipeline/scripts/_active-run.mjs +31 -14
- package/pipeline/scripts/disk-cleaner.mjs +1 -1
- package/pipeline/scripts/gen-facts.mjs +9 -4
- package/pipeline/scripts/gen-plugins-pin.mjs +172 -0
- package/pipeline/scripts/office-build.mjs +14 -1
- package/pipeline/scripts/pre-push-check.sh +6 -5
- package/pipeline/scripts/smoke-cross-cli-behavior.sh +9 -0
- package/pipeline/scripts/task-mirror.mjs +16 -2
- package/pipeline/skills/.skill-manifest.json +2 -2
- package/pipeline/skills/shared/external/accessibility-compliance-accessibility-audit/SKILL.md +0 -147
- package/pipeline/skills/shared/external/accessibility-compliance-accessibility-audit/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/agent-introspection-debugging/SKILL.md +0 -66
- package/pipeline/skills/shared/external/agent-introspection-debugging/evals/evals.json +0 -42
- package/pipeline/skills/shared/external/alarmkit/SKILL.md +0 -341
- package/pipeline/skills/shared/external/alarmkit/evals/evals.json +0 -46
- package/pipeline/skills/shared/external/alarmkit/references/alarmkit-code.md +0 -257
- package/pipeline/skills/shared/external/alarmkit/references/alarmkit-patterns.md +0 -555
- package/pipeline/skills/shared/external/android-architecture/SKILL.md +0 -438
- package/pipeline/skills/shared/external/android-architecture/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/android-architecture/references/code-examples.md +0 -68
- package/pipeline/skills/shared/external/android-architecture/references/patterns.md +0 -148
- package/pipeline/skills/shared/external/android-build-quality-gates/SKILL.md +0 -362
- package/pipeline/skills/shared/external/android-build-quality-gates/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/android-build-quality-gates/references/patterns.md +0 -451
- package/pipeline/skills/shared/external/android-datastore/SKILL.md +0 -237
- package/pipeline/skills/shared/external/android-datastore/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/android-datastore/references/patterns.md +0 -308
- package/pipeline/skills/shared/external/android-design-tokens-codegen/SKILL.md +0 -250
- package/pipeline/skills/shared/external/android-design-tokens-codegen/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/android-design-tokens-codegen/references/patterns.md +0 -278
- package/pipeline/skills/shared/external/android-jetpack-compose-expert/SKILL.md +0 -140
- package/pipeline/skills/shared/external/android-jetpack-compose-expert/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/android-jetpack-compose-expert/references/patterns.md +0 -153
- package/pipeline/skills/shared/external/android-mvi-viewmodel/SKILL.md +0 -296
- package/pipeline/skills/shared/external/android-mvi-viewmodel/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/android-mvi-viewmodel/references/patterns.md +0 -267
- package/pipeline/skills/shared/external/android-performance/SKILL.md +0 -247
- package/pipeline/skills/shared/external/android-performance/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/android-performance/references/patterns.md +0 -672
- package/pipeline/skills/shared/external/android-security/SKILL.md +0 -266
- package/pipeline/skills/shared/external/android-security/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/android-security/references/patterns.md +0 -706
- package/pipeline/skills/shared/external/api-patterns/SKILL.md +0 -117
- package/pipeline/skills/shared/external/api-patterns/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/api-patterns/references/contract-details.md +0 -137
- package/pipeline/skills/shared/external/api-security-best-practices/SKILL.md +0 -162
- package/pipeline/skills/shared/external/api-security-best-practices/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/api-security-best-practices/references/abuse-controls.md +0 -152
- package/pipeline/skills/shared/external/api-security-best-practices/references/identity-and-access.md +0 -220
- package/pipeline/skills/shared/external/api-security-best-practices/references/operations.md +0 -66
- package/pipeline/skills/shared/external/api-security-best-practices/references/request-handling.md +0 -187
- package/pipeline/skills/shared/external/app-clips/SKILL.md +0 -269
- package/pipeline/skills/shared/external/app-clips/evals/evals.json +0 -50
- package/pipeline/skills/shared/external/app-clips/references/data-handoff-notifications-location.md +0 -211
- package/pipeline/skills/shared/external/app-clips/references/routing-and-experiences.md +0 -185
- package/pipeline/skills/shared/external/app-clips/references/size-capabilities-and-promotion.md +0 -181
- package/pipeline/skills/shared/external/app-intents/SKILL.md +0 -405
- package/pipeline/skills/shared/external/app-intents/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/app-intents/references/appintents-advanced.md +0 -1018
- package/pipeline/skills/shared/external/app-intents/references/code-examples.md +0 -54
- package/pipeline/skills/shared/external/app-store-optimization/SKILL.md +0 -317
- package/pipeline/skills/shared/external/app-store-optimization/evals/evals.json +0 -63
- package/pipeline/skills/shared/external/app-store-optimization/references/engagement-and-localization.md +0 -96
- package/pipeline/skills/shared/external/app-store-optimization/references/keyword-research-methodology.md +0 -169
- package/pipeline/skills/shared/external/app-store-optimization/references/product-page-variants.md +0 -178
- package/pipeline/skills/shared/external/app-store-release-notes/SKILL.md +0 -92
- package/pipeline/skills/shared/external/app-store-release-notes/evals/evals.json +0 -40
- package/pipeline/skills/shared/external/app-store-release-notes/evals/trigger-eval.json +0 -11
- package/pipeline/skills/shared/external/app-store-release-notes/references/release-notes-guidelines.md +0 -64
- package/pipeline/skills/shared/external/app-store-release-notes/scripts/collect_release_changes.sh +0 -31
- package/pipeline/skills/shared/external/app-store-review/SKILL.md +0 -311
- package/pipeline/skills/shared/external/app-store-review/evals/evals.json +0 -56
- package/pipeline/skills/shared/external/app-store-review/references/monetization-and-submission.md +0 -138
- package/pipeline/skills/shared/external/app-store-review/references/privacy-manifest.md +0 -161
- package/pipeline/skills/shared/external/app-store-review/references/review-checklists.md +0 -151
- package/pipeline/skills/shared/external/apple-on-device-ai/SKILL.md +0 -361
- package/pipeline/skills/shared/external/apple-on-device-ai/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/apple-on-device-ai/references/coreml-conversion.md +0 -346
- package/pipeline/skills/shared/external/apple-on-device-ai/references/coreml-optimization.md +0 -269
- package/pipeline/skills/shared/external/apple-on-device-ai/references/foundation-models-code.md +0 -186
- package/pipeline/skills/shared/external/apple-on-device-ai/references/foundation-models.md +0 -440
- package/pipeline/skills/shared/external/apple-on-device-ai/references/mlx-swift.md +0 -292
- package/pipeline/skills/shared/external/architecture/SKILL.md +0 -125
- package/pipeline/skills/shared/external/architecture/evals/evals.json +0 -42
- package/pipeline/skills/shared/external/architecture/references/adr-and-review.md +0 -76
- package/pipeline/skills/shared/external/authentication/SKILL.md +0 -343
- package/pipeline/skills/shared/external/authentication/evals/evals.json +0 -48
- package/pipeline/skills/shared/external/authentication/references/code-examples.md +0 -59
- package/pipeline/skills/shared/external/authentication/references/keychain-biometric.md +0 -204
- package/pipeline/skills/shared/external/authentication/references/passkeys.md +0 -158
- package/pipeline/skills/shared/external/avkit/SKILL.md +0 -402
- package/pipeline/skills/shared/external/avkit/evals/evals.json +0 -55
- package/pipeline/skills/shared/external/avkit/references/avkit-patterns.md +0 -563
- package/pipeline/skills/shared/external/background-processing/SKILL.md +0 -390
- package/pipeline/skills/shared/external/background-processing/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/background-processing/references/background-task-patterns.md +0 -276
- package/pipeline/skills/shared/external/backlog/BACKLOG.md +0 -32
- package/pipeline/skills/shared/external/backlog/SKILL.md +0 -77
- package/pipeline/skills/shared/external/backlog/evals/evals.json +0 -42
- package/pipeline/skills/shared/external/build-settings-audit/SKILL.md +0 -81
- package/pipeline/skills/shared/external/build-settings-audit/evals/evals.json +0 -54
- package/pipeline/skills/shared/external/build-settings-audit/references/build-optimization-sources.md +0 -119
- package/pipeline/skills/shared/external/build-settings-audit/references/build-settings-best-practices.md +0 -131
- package/pipeline/skills/shared/external/build-settings-audit/references/project-audit-checks.md +0 -146
- package/pipeline/skills/shared/external/build-settings-audit/references/recommendation-format.md +0 -95
- package/pipeline/skills/shared/external/build-time-benchmark/SKILL.md +0 -97
- package/pipeline/skills/shared/external/build-time-benchmark/evals/evals.json +0 -42
- package/pipeline/skills/shared/external/build-time-benchmark/references/benchmark-artifacts.md +0 -96
- package/pipeline/skills/shared/external/build-time-benchmark/references/benchmarking-workflow.md +0 -59
- package/pipeline/skills/shared/external/build-time-benchmark/schemas/build-benchmark.schema.json +0 -123
- package/pipeline/skills/shared/external/build-time-benchmark/scripts/benchmark_builds.py +0 -334
- package/pipeline/skills/shared/external/build-time-fixes/SKILL.md +0 -227
- package/pipeline/skills/shared/external/build-time-fixes/evals/evals.json +0 -54
- package/pipeline/skills/shared/external/build-time-fixes/references/build-settings-best-practices.md +0 -131
- package/pipeline/skills/shared/external/build-time-fixes/references/fix-patterns.md +0 -342
- package/pipeline/skills/shared/external/build-time-fixes/references/recommendation-format.md +0 -95
- package/pipeline/skills/shared/external/build-time-fixes/scripts/benchmark_builds.py +0 -334
- package/pipeline/skills/shared/external/build-time-optimizer/SKILL.md +0 -168
- package/pipeline/skills/shared/external/build-time-optimizer/evals/evals.json +0 -54
- package/pipeline/skills/shared/external/build-time-optimizer/references/benchmark-artifacts.md +0 -96
- package/pipeline/skills/shared/external/build-time-optimizer/references/build-settings-best-practices.md +0 -131
- package/pipeline/skills/shared/external/build-time-optimizer/references/orchestration-report-template.md +0 -193
- package/pipeline/skills/shared/external/build-time-optimizer/references/recommendation-format.md +0 -95
- package/pipeline/skills/shared/external/build-time-optimizer/scripts/benchmark_builds.py +0 -334
- package/pipeline/skills/shared/external/build-time-optimizer/scripts/diagnose_compilation.py +0 -266
- package/pipeline/skills/shared/external/build-time-optimizer/scripts/generate_optimization_report.py +0 -408
- package/pipeline/skills/shared/external/callkit-voip/SKILL.md +0 -341
- package/pipeline/skills/shared/external/callkit-voip/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/callkit-voip/references/callkit-patterns.md +0 -286
- package/pipeline/skills/shared/external/callkit-voip/references/code-examples.md +0 -93
- package/pipeline/skills/shared/external/ci-cd-pipelines/SKILL.md +0 -209
- package/pipeline/skills/shared/external/ci-cd-pipelines/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/ci-cd-pipelines/references/pipeline-examples.md +0 -261
- package/pipeline/skills/shared/external/clean-code/SKILL.md +0 -163
- package/pipeline/skills/shared/external/clean-code/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/clean-code/references/code-examples.md +0 -56
- package/pipeline/skills/shared/external/cloudkit-sync/SKILL.md +0 -316
- package/pipeline/skills/shared/external/cloudkit-sync/evals/evals.json +0 -50
- package/pipeline/skills/shared/external/cloudkit-sync/references/cloudkit-code.md +0 -214
- package/pipeline/skills/shared/external/cloudkit-sync/references/cloudkit-patterns.md +0 -351
- package/pipeline/skills/shared/external/compose-components/SKILL.md +0 -417
- package/pipeline/skills/shared/external/compose-components/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/compose-components/references/code-examples.md +0 -89
- package/pipeline/skills/shared/external/compose-components/references/patterns.md +0 -207
- package/pipeline/skills/shared/external/compose-navigation/SKILL.md +0 -441
- package/pipeline/skills/shared/external/compose-navigation/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/compose-navigation/references/code-examples.md +0 -70
- package/pipeline/skills/shared/external/compose-navigation/references/patterns.md +0 -198
- package/pipeline/skills/shared/external/compose-testing/SKILL.md +0 -246
- package/pipeline/skills/shared/external/compose-testing/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/compose-testing/references/patterns.md +0 -646
- package/pipeline/skills/shared/external/contacts-framework/SKILL.md +0 -298
- package/pipeline/skills/shared/external/contacts-framework/evals/evals.json +0 -39
- package/pipeline/skills/shared/external/contacts-framework/references/contacts-patterns.md +0 -279
- package/pipeline/skills/shared/external/context-compression/SKILL.md +0 -134
- package/pipeline/skills/shared/external/context-compression/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/core-bluetooth/SKILL.md +0 -350
- package/pipeline/skills/shared/external/core-bluetooth/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/core-bluetooth/references/ble-patterns.md +0 -390
- package/pipeline/skills/shared/external/core-data/SKILL.md +0 -284
- package/pipeline/skills/shared/external/core-data/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/core-data/references/core-data-code.md +0 -221
- package/pipeline/skills/shared/external/core-motion/SKILL.md +0 -334
- package/pipeline/skills/shared/external/core-motion/evals/evals.json +0 -53
- package/pipeline/skills/shared/external/core-motion/references/motion-patterns.md +0 -346
- package/pipeline/skills/shared/external/core-nfc/SKILL.md +0 -357
- package/pipeline/skills/shared/external/core-nfc/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/core-nfc/references/code-examples.md +0 -98
- package/pipeline/skills/shared/external/core-nfc/references/nfc-patterns.md +0 -367
- package/pipeline/skills/shared/external/coreml/SKILL.md +0 -340
- package/pipeline/skills/shared/external/coreml/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/coreml/references/coreml-code.md +0 -208
- package/pipeline/skills/shared/external/coreml/references/coreml-swift-integration.md +0 -827
- package/pipeline/skills/shared/external/council/SKILL.md +0 -66
- package/pipeline/skills/shared/external/council/evals/evals.json +0 -41
- package/pipeline/skills/shared/external/cryptokit/SKILL.md +0 -354
- package/pipeline/skills/shared/external/cryptokit/evals/evals.json +0 -46
- package/pipeline/skills/shared/external/cryptokit/references/cryptokit-patterns.md +0 -429
- package/pipeline/skills/shared/external/css-modern/SKILL.md +0 -347
- package/pipeline/skills/shared/external/css-modern/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/css-modern/references/code-examples.md +0 -149
- package/pipeline/skills/shared/external/database-patterns/SKILL.md +0 -241
- package/pipeline/skills/shared/external/database-patterns/evals/evals.json +0 -46
- package/pipeline/skills/shared/external/database-patterns/references/orm-examples.md +0 -152
- package/pipeline/skills/shared/external/debugging-instruments/SKILL.md +0 -401
- package/pipeline/skills/shared/external/debugging-instruments/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/debugging-instruments/references/instruments-guide.md +0 -263
- package/pipeline/skills/shared/external/debugging-instruments/references/lldb-patterns.md +0 -259
- package/pipeline/skills/shared/external/debugging-strategies/SKILL.md +0 -151
- package/pipeline/skills/shared/external/debugging-strategies/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/debugging-strategies/references/hard-cases.md +0 -54
- package/pipeline/skills/shared/external/device-integrity/SKILL.md +0 -322
- package/pipeline/skills/shared/external/device-integrity/evals/evals.json +0 -49
- package/pipeline/skills/shared/external/device-integrity/references/device-integrity-patterns.md +0 -215
- package/pipeline/skills/shared/external/disk-cleaner/SKILL.md +0 -124
- package/pipeline/skills/shared/external/disk-cleaner/evals/evals.json +0 -62
- package/pipeline/skills/shared/external/disk-cleaner/scripts/disk-cleaner.mjs +0 -2018
- package/pipeline/skills/shared/external/docker-expert/SKILL.md +0 -169
- package/pipeline/skills/shared/external/docker-expert/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/docker-expert/references/patterns.md +0 -98
- package/pipeline/skills/shared/external/e2e-testing/SKILL.md +0 -148
- package/pipeline/skills/shared/external/e2e-testing/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/e2e-testing/references/document-fixtures.md +0 -65
- package/pipeline/skills/shared/external/energykit/SKILL.md +0 -333
- package/pipeline/skills/shared/external/energykit/evals/evals.json +0 -46
- package/pipeline/skills/shared/external/energykit/references/energykit-patterns.md +0 -297
- package/pipeline/skills/shared/external/eventkit-calendar/SKILL.md +0 -377
- package/pipeline/skills/shared/external/eventkit-calendar/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/eventkit-calendar/references/eventkit-patterns.md +0 -283
- package/pipeline/skills/shared/external/evidence-github/SKILL.md +0 -47
- package/pipeline/skills/shared/external/evidence-github/evals/evals.json +0 -41
- package/pipeline/skills/shared/external/evidence-registry/SKILL.md +0 -35
- package/pipeline/skills/shared/external/evidence-registry/evals/evals.json +0 -41
- package/pipeline/skills/shared/external/fastapi-pro/SKILL.md +0 -120
- package/pipeline/skills/shared/external/fastapi-pro/evals/evals.json +0 -57
- package/pipeline/skills/shared/external/fastapi-pro/references/app-structure.md +0 -245
- package/pipeline/skills/shared/external/fastapi-pro/references/testing-and-deployment.md +0 -69
- package/pipeline/skills/shared/external/firebase-integration/SKILL.md +0 -140
- package/pipeline/skills/shared/external/firebase-integration/evals/evals.json +0 -42
- package/pipeline/skills/shared/external/firebase-integration/references/functions-and-products.md +0 -51
- package/pipeline/skills/shared/external/firebase-integration/references/security-rules.md +0 -59
- package/pipeline/skills/shared/external/fix-review-verdicts/SKILL.md +0 -136
- package/pipeline/skills/shared/external/fix-review-verdicts/evals/evals.json +0 -57
- package/pipeline/skills/shared/external/free-llm-apis/SKILL.md +0 -70
- package/pipeline/skills/shared/external/free-llm-apis/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/free-llm-apis/references/providers.md +0 -34
- package/pipeline/skills/shared/external/github-actions-templates/SKILL.md +0 -192
- package/pipeline/skills/shared/external/github-actions-templates/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/github-actions-templates/references/patterns.md +0 -96
- package/pipeline/skills/shared/external/gradle-kotlin-dsl/SKILL.md +0 -226
- package/pipeline/skills/shared/external/gradle-kotlin-dsl/evals/evals.json +0 -58
- package/pipeline/skills/shared/external/gradle-kotlin-dsl/references/patterns.md +0 -732
- package/pipeline/skills/shared/external/handle-request/SKILL.md +0 -97
- package/pipeline/skills/shared/external/handle-request/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/healthkit/SKILL.md +0 -382
- package/pipeline/skills/shared/external/healthkit/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/healthkit/references/healthkit-patterns.md +0 -541
- package/pipeline/skills/shared/external/hig-app-icons/SKILL.md +0 -159
- package/pipeline/skills/shared/external/hig-app-icons/evals/evals.json +0 -48
- package/pipeline/skills/shared/external/hig-app-icons/evals/trigger-eval.json +0 -22
- package/pipeline/skills/shared/external/hig-app-icons/references/icon-workflow.md +0 -125
- package/pipeline/skills/shared/external/hig-components-content/SKILL.md +0 -78
- package/pipeline/skills/shared/external/hig-components-content/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/hig-components-content/references/content-views.md +0 -121
- package/pipeline/skills/shared/external/hig-components-layout/SKILL.md +0 -114
- package/pipeline/skills/shared/external/hig-components-layout/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/hig-components-layout/evals/trigger-eval.json +0 -22
- package/pipeline/skills/shared/external/hig-components-layout/references/bars-and-tabs.md +0 -242
- package/pipeline/skills/shared/external/hig-components-layout/references/containers.md +0 -73
- package/pipeline/skills/shared/external/hig-components-status/SKILL.md +0 -154
- package/pipeline/skills/shared/external/hig-components-status/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/hig-components-system/SKILL.md +0 -80
- package/pipeline/skills/shared/external/hig-components-system/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/hig-components-system/references/surfaces.md +0 -98
- package/pipeline/skills/shared/external/hig-foundations/SKILL.md +0 -85
- package/pipeline/skills/shared/external/hig-foundations/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/hig-foundations/evals/trigger-eval.json +0 -21
- package/pipeline/skills/shared/external/hig-foundations/references/foundations-detail.md +0 -153
- package/pipeline/skills/shared/external/hig-foundations/references/type-color-spacing.md +0 -232
- package/pipeline/skills/shared/external/hig-inputs/SKILL.md +0 -152
- package/pipeline/skills/shared/external/hig-inputs/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/hig-patterns/SKILL.md +0 -99
- package/pipeline/skills/shared/external/hig-patterns/evals/evals.json +0 -46
- package/pipeline/skills/shared/external/hig-patterns/references/onboarding-and-states.md +0 -199
- package/pipeline/skills/shared/external/hig-patterns/references/patterns.md +0 -86
- package/pipeline/skills/shared/external/hig-platforms/SKILL.md +0 -163
- package/pipeline/skills/shared/external/hig-platforms/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/hig-platforms/references/ipad-layout.md +0 -230
- package/pipeline/skills/shared/external/hig-technologies/SKILL.md +0 -65
- package/pipeline/skills/shared/external/hig-technologies/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/hig-technologies/references/technologies.md +0 -124
- package/pipeline/skills/shared/external/homekit-matter/SKILL.md +0 -385
- package/pipeline/skills/shared/external/homekit-matter/evals/evals.json +0 -50
- package/pipeline/skills/shared/external/homekit-matter/references/matter-commissioning.md +0 -363
- package/pipeline/skills/shared/external/html-semantic/SKILL.md +0 -263
- package/pipeline/skills/shared/external/html-semantic/evals/evals.json +0 -46
- package/pipeline/skills/shared/external/html-semantic/references/code-examples.md +0 -54
- package/pipeline/skills/shared/external/humanizer/SKILL.md +0 -204
- package/pipeline/skills/shared/external/humanizer/evals/evals.json +0 -59
- package/pipeline/skills/shared/external/humanizer/references/turkish.md +0 -88
- package/pipeline/skills/shared/external/humanizer/references/voice.md +0 -24
- package/pipeline/skills/shared/external/ink-animation/SKILL.md +0 -230
- package/pipeline/skills/shared/external/ink-animation/evals/evals.json +0 -41
- package/pipeline/skills/shared/external/ios-accessibility/SKILL.md +0 -333
- package/pipeline/skills/shared/external/ios-accessibility/evals/evals.json +0 -50
- package/pipeline/skills/shared/external/ios-accessibility/references/a11y-patterns.md +0 -470
- package/pipeline/skills/shared/external/ios-accessibility/references/assistive-tech-review.md +0 -224
- package/pipeline/skills/shared/external/ios-accessibility/references/large-content-and-appearance.md +0 -144
- package/pipeline/skills/shared/external/ios-accessibility/references/media-accessibility.md +0 -156
- package/pipeline/skills/shared/external/ios-accessibility/references/nutrition-labels.md +0 -212
- package/pipeline/skills/shared/external/ios-coding-standard/SKILL.md +0 -119
- package/pipeline/skills/shared/external/ios-coding-standard/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/ios-coding-standard/modules/_TEMPLATE.yml +0 -82
- package/pipeline/skills/shared/external/ios-coding-standard/references/STANDARD.md +0 -629
- package/pipeline/skills/shared/external/ios-coding-standard/references/lint-local.sh +0 -172
- package/pipeline/skills/shared/external/ios-coding-standard/references/rules.yml +0 -1959
- package/pipeline/skills/shared/external/ios-coding-standard/references/swiftlint.draft.yml +0 -370
- package/pipeline/skills/shared/external/ios-design-review/SKILL.md +0 -146
- package/pipeline/skills/shared/external/ios-design-review/evals/evals.json +0 -48
- package/pipeline/skills/shared/external/ios-design-review/evals/trigger-eval.json +0 -22
- package/pipeline/skills/shared/external/ios-design-review/references/appearance-matrix.md +0 -144
- package/pipeline/skills/shared/external/ios-design-review/references/checklist.md +0 -208
- package/pipeline/skills/shared/external/ios-haptics/SKILL.md +0 -191
- package/pipeline/skills/shared/external/ios-haptics/evals/evals.json +0 -49
- package/pipeline/skills/shared/external/ios-haptics/evals/trigger-eval.json +0 -22
- package/pipeline/skills/shared/external/ios-haptics/references/core-haptics.md +0 -226
- package/pipeline/skills/shared/external/ios-iphone-duo/SKILL.md +0 -178
- package/pipeline/skills/shared/external/ios-iphone-duo/evals/evals.json +0 -65
- package/pipeline/skills/shared/external/ios-iphone-duo/evals/trigger-eval.json +0 -22
- package/pipeline/skills/shared/external/ios-iphone-duo/references/api-map.md +0 -223
- package/pipeline/skills/shared/external/ios-iphone-duo/references/fixed-assumptions.md +0 -217
- package/pipeline/skills/shared/external/ios-iphone-duo/references/poses-and-panes.md +0 -133
- package/pipeline/skills/shared/external/ios-localization/SKILL.md +0 -343
- package/pipeline/skills/shared/external/ios-localization/evals/evals.json +0 -49
- package/pipeline/skills/shared/external/ios-localization/references/code-examples.md +0 -30
- package/pipeline/skills/shared/external/ios-localization/references/formatstyle-locale.md +0 -454
- package/pipeline/skills/shared/external/ios-localization/references/string-catalogs.md +0 -463
- package/pipeline/skills/shared/external/ios-module-structure/SKILL.md +0 -102
- package/pipeline/skills/shared/external/ios-module-structure/evals/evals.json +0 -42
- package/pipeline/skills/shared/external/ios-module-structure/modules/_TEMPLATE.yml +0 -152
- package/pipeline/skills/shared/external/ios-module-structure/references/rules.yml +0 -673
- package/pipeline/skills/shared/external/ios-module-structure/scripts/check_structure.py +0 -827
- package/pipeline/skills/shared/external/ios-networking/SKILL.md +0 -359
- package/pipeline/skills/shared/external/ios-networking/evals/evals.json +0 -50
- package/pipeline/skills/shared/external/ios-networking/references/background-websocket.md +0 -662
- package/pipeline/skills/shared/external/ios-networking/references/code-examples.md +0 -67
- package/pipeline/skills/shared/external/ios-networking/references/file-storage-patterns.md +0 -219
- package/pipeline/skills/shared/external/ios-networking/references/lightweight-clients.md +0 -141
- package/pipeline/skills/shared/external/ios-networking/references/network-framework.md +0 -375
- package/pipeline/skills/shared/external/ios-networking/references/urlsession-patterns.md +0 -832
- package/pipeline/skills/shared/external/ios-security/SKILL.md +0 -438
- package/pipeline/skills/shared/external/ios-security/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/ios-security/references/app-review-guidelines.md +0 -182
- package/pipeline/skills/shared/external/ios-security/references/code-examples.md +0 -84
- package/pipeline/skills/shared/external/ios-security/references/cryptokit-advanced.md +0 -311
- package/pipeline/skills/shared/external/ios-security/references/file-storage-patterns.md +0 -362
- package/pipeline/skills/shared/external/ios-security/references/privacy-manifest.md +0 -126
- package/pipeline/skills/shared/external/ios-sf-symbols/SKILL.md +0 -177
- package/pipeline/skills/shared/external/ios-sf-symbols/evals/evals.json +0 -49
- package/pipeline/skills/shared/external/ios-sf-symbols/evals/trigger-eval.json +0 -22
- package/pipeline/skills/shared/external/ios-sf-symbols/references/effects-and-custom-symbols.md +0 -144
- package/pipeline/skills/shared/external/ios-simulator/SKILL.md +0 -359
- package/pipeline/skills/shared/external/ios-simulator/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/ios-simulator/references/simctl-commands.md +0 -236
- package/pipeline/skills/shared/external/ios-simulator-debugging/SKILL.md +0 -99
- package/pipeline/skills/shared/external/ios-simulator-debugging/evals/evals.json +0 -41
- package/pipeline/skills/shared/external/kotlin-coroutines-expert/SKILL.md +0 -153
- package/pipeline/skills/shared/external/kotlin-coroutines-expert/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/kotlin-coroutines-expert/references/patterns.md +0 -111
- package/pipeline/skills/shared/external/live-activities/SKILL.md +0 -363
- package/pipeline/skills/shared/external/live-activities/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/live-activities/references/activitykit-patterns.md +0 -742
- package/pipeline/skills/shared/external/live-activities/references/code-examples.md +0 -108
- package/pipeline/skills/shared/external/localization-reuse-map/SKILL.md +0 -88
- package/pipeline/skills/shared/external/localization-reuse-map/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/localization-reuse-map/example-mapping.json +0 -188
- package/pipeline/skills/shared/external/localization-reuse-map/references/format-and-output.md +0 -135
- package/pipeline/skills/shared/external/localization-reuse-map/references/project-settings.md +0 -22
- package/pipeline/skills/shared/external/localization-reuse-map/references/publish-and-snapshot.md +0 -78
- package/pipeline/skills/shared/external/localization-reuse-map/references/sources-and-recipes.md +0 -154
- package/pipeline/skills/shared/external/localization-reuse-map/scripts/_shared.py +0 -201
- package/pipeline/skills/shared/external/localization-reuse-map/scripts/build-artifact.py +0 -838
- package/pipeline/skills/shared/external/localization-reuse-map/scripts/build-spreadsheet.py +0 -298
- package/pipeline/skills/shared/external/localization-reuse-map/scripts/fetch-annotations.py +0 -291
- package/pipeline/skills/shared/external/localization-reuse-map/scripts/fetch-legacy-labels.py +0 -114
- package/pipeline/skills/shared/external/localization-reuse-map/scripts/publish-confluence.py +0 -224
- package/pipeline/skills/shared/external/localization-reuse-map/scripts/render-key-shots.py +0 -234
- package/pipeline/skills/shared/external/localization-reuse-map/scripts/render-overlay.py +0 -551
- package/pipeline/skills/shared/external/localization-reuse-map/scripts/resolve-legacy-values.py +0 -191
- package/pipeline/skills/shared/external/localization-reuse-map/scripts/resolve-new-values.py +0 -160
- package/pipeline/skills/shared/external/localization-reuse-map/scripts/scan-screen-keys.py +0 -166
- package/pipeline/skills/shared/external/localization-reuse-map/scripts/snapshot-resources.sh +0 -29
- package/pipeline/skills/shared/external/localization-reuse-map/scripts/verify-map.py +0 -163
- package/pipeline/skills/shared/external/macos-app-distribution/SKILL.md +0 -149
- package/pipeline/skills/shared/external/macos-app-distribution/assets/templates/bootstrap/Package.swift +0 -17
- package/pipeline/skills/shared/external/macos-app-distribution/assets/templates/bootstrap/Sources/MyApp/MyApp.swift +0 -24
- package/pipeline/skills/shared/external/macos-app-distribution/assets/templates/bootstrap/Sources/MyApp/Resources/.keep +0 -0
- package/pipeline/skills/shared/external/macos-app-distribution/assets/templates/bootstrap/version.env +0 -4
- package/pipeline/skills/shared/external/macos-app-distribution/assets/templates/build_icon.sh +0 -56
- package/pipeline/skills/shared/external/macos-app-distribution/assets/templates/compile_and_run.sh +0 -84
- package/pipeline/skills/shared/external/macos-app-distribution/assets/templates/launch.sh +0 -35
- package/pipeline/skills/shared/external/macos-app-distribution/assets/templates/make_appcast.sh +0 -97
- package/pipeline/skills/shared/external/macos-app-distribution/assets/templates/package_app.sh +0 -265
- package/pipeline/skills/shared/external/macos-app-distribution/assets/templates/setup_dev_signing.sh +0 -63
- package/pipeline/skills/shared/external/macos-app-distribution/assets/templates/sign-and-notarize.sh +0 -83
- package/pipeline/skills/shared/external/macos-app-distribution/assets/templates/version.env +0 -4
- package/pipeline/skills/shared/external/macos-app-distribution/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/macos-app-distribution/evals/trigger-eval.json +0 -10
- package/pipeline/skills/shared/external/macos-app-distribution/references/packaging.md +0 -49
- package/pipeline/skills/shared/external/macos-app-distribution/references/release.md +0 -57
- package/pipeline/skills/shared/external/macos-app-distribution/references/scaffold.md +0 -109
- package/pipeline/skills/shared/external/macos-menubar-utility/SKILL.md +0 -206
- package/pipeline/skills/shared/external/macos-menubar-utility/evals/evals.json +0 -52
- package/pipeline/skills/shared/external/macos-menubar-utility/evals/trigger-eval.json +0 -10
- package/pipeline/skills/shared/external/mapkit-location/SKILL.md +0 -371
- package/pipeline/skills/shared/external/mapkit-location/evals/evals.json +0 -51
- package/pipeline/skills/shared/external/mapkit-location/references/code-examples.md +0 -117
- package/pipeline/skills/shared/external/mapkit-location/references/mapkit-corelocation-patterns.md +0 -639
- package/pipeline/skills/shared/external/mapkit-location/references/mapkit-patterns.md +0 -712
- package/pipeline/skills/shared/external/metrickit-diagnostics/SKILL.md +0 -255
- package/pipeline/skills/shared/external/metrickit-diagnostics/evals/evals.json +0 -49
- package/pipeline/skills/shared/external/metrickit-diagnostics/references/metrickit-patterns.md +0 -183
- package/pipeline/skills/shared/external/monorepo-architect/SKILL.md +0 -166
- package/pipeline/skills/shared/external/monorepo-architect/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/monorepo-architect/references/patterns.md +0 -70
- package/pipeline/skills/shared/external/musickit-audio/SKILL.md +0 -298
- package/pipeline/skills/shared/external/musickit-audio/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/musickit-audio/references/musickit-patterns.md +0 -303
- package/pipeline/skills/shared/external/natural-language/SKILL.md +0 -292
- package/pipeline/skills/shared/external/natural-language/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/natural-language/references/translation-patterns.md +0 -282
- package/pipeline/skills/shared/external/nextjs-routing/SKILL.md +0 -333
- package/pipeline/skills/shared/external/nextjs-routing/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/nextjs-routing/references/app-router-examples.md +0 -127
- package/pipeline/skills/shared/external/nodejs-backend-patterns/SKILL.md +0 -104
- package/pipeline/skills/shared/external/nodejs-backend-patterns/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/nodejs-backend-patterns/references/runtime-patterns.md +0 -258
- package/pipeline/skills/shared/external/nodejs-backend-patterns/references/testing-and-frameworks.md +0 -57
- package/pipeline/skills/shared/external/observability-engineer/SKILL.md +0 -158
- package/pipeline/skills/shared/external/observability-engineer/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/observability-engineer/references/patterns.md +0 -75
- package/pipeline/skills/shared/external/package-build-audit/SKILL.md +0 -114
- package/pipeline/skills/shared/external/package-build-audit/evals/evals.json +0 -56
- package/pipeline/skills/shared/external/package-build-audit/references/build-optimization-sources.md +0 -119
- package/pipeline/skills/shared/external/package-build-audit/references/recommendation-format.md +0 -95
- package/pipeline/skills/shared/external/package-build-audit/references/spm-analysis-checks.md +0 -126
- package/pipeline/skills/shared/external/package-build-audit/scripts/check_spm_pins.py +0 -123
- package/pipeline/skills/shared/external/passkit-wallet/SKILL.md +0 -367
- package/pipeline/skills/shared/external/passkit-wallet/evals/evals.json +0 -52
- package/pipeline/skills/shared/external/passkit-wallet/references/wallet-passes.md +0 -249
- package/pipeline/skills/shared/external/pdfkit/SKILL.md +0 -468
- package/pipeline/skills/shared/external/pdfkit/evals/evals.json +0 -42
- package/pipeline/skills/shared/external/pdfkit/references/pdfkit-patterns.md +0 -651
- package/pipeline/skills/shared/external/pencilkit-drawing/SKILL.md +0 -367
- package/pipeline/skills/shared/external/pencilkit-drawing/evals/evals.json +0 -48
- package/pipeline/skills/shared/external/pencilkit-drawing/references/pencilkit-patterns.md +0 -279
- package/pipeline/skills/shared/external/permissionkit/SKILL.md +0 -359
- package/pipeline/skills/shared/external/permissionkit/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/permissionkit/references/code-examples.md +0 -37
- package/pipeline/skills/shared/external/permissionkit/references/permissionkit-patterns.md +0 -374
- package/pipeline/skills/shared/external/photos-camera-media/SKILL.md +0 -451
- package/pipeline/skills/shared/external/photos-camera-media/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/photos-camera-media/references/av-playback.md +0 -470
- package/pipeline/skills/shared/external/photos-camera-media/references/camera-capture.md +0 -544
- package/pipeline/skills/shared/external/photos-camera-media/references/image-loading-caching.md +0 -539
- package/pipeline/skills/shared/external/photos-camera-media/references/photokit-patterns.md +0 -465
- package/pipeline/skills/shared/external/play-store-review/SKILL.md +0 -284
- package/pipeline/skills/shared/external/play-store-review/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/play-store-review/references/signing-and-policies.md +0 -83
- package/pipeline/skills/shared/external/push-notifications/SKILL.md +0 -359
- package/pipeline/skills/shared/external/push-notifications/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/push-notifications/references/notification-code.md +0 -176
- package/pipeline/skills/shared/external/push-notifications/references/notification-patterns.md +0 -523
- package/pipeline/skills/shared/external/push-notifications/references/rich-notifications.md +0 -541
- package/pipeline/skills/shared/external/python-patterns/SKILL.md +0 -235
- package/pipeline/skills/shared/external/python-patterns/evals/evals.json +0 -46
- package/pipeline/skills/shared/external/python-patterns/references/python-examples.md +0 -176
- package/pipeline/skills/shared/external/react-best-practices/SKILL.md +0 -293
- package/pipeline/skills/shared/external/react-best-practices/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/realitykit-ar/SKILL.md +0 -327
- package/pipeline/skills/shared/external/realitykit-ar/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/realitykit-ar/references/realitykit-patterns.md +0 -365
- package/pipeline/skills/shared/external/release-video/SKILL.md +0 -147
- package/pipeline/skills/shared/external/release-video/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/rest-api-design/SKILL.md +0 -239
- package/pipeline/skills/shared/external/rest-api-design/evals/evals.json +0 -46
- package/pipeline/skills/shared/external/rest-api-design/references/api-examples.md +0 -233
- package/pipeline/skills/shared/external/retrofit-networking/SKILL.md +0 -219
- package/pipeline/skills/shared/external/retrofit-networking/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/retrofit-networking/references/patterns.md +0 -654
- package/pipeline/skills/shared/external/reverse-engineer-own-app/SKILL.md +0 -230
- package/pipeline/skills/shared/external/reverse-engineer-own-app/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/room-database/SKILL.md +0 -227
- package/pipeline/skills/shared/external/room-database/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/room-database/references/patterns.md +0 -630
- package/pipeline/skills/shared/external/scenario-gap-analysis/SKILL.md +0 -129
- package/pipeline/skills/shared/external/scenario-gap-analysis/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/scenario-gap-analysis/references/scenario-schema.md +0 -60
- package/pipeline/skills/shared/external/search-first/SKILL.md +0 -73
- package/pipeline/skills/shared/external/search-first/evals/evals.json +0 -42
- package/pipeline/skills/shared/external/security-review/SKILL.md +0 -76
- package/pipeline/skills/shared/external/security-review/evals/evals.json +0 -48
- package/pipeline/skills/shared/external/security-review/references/agentic-systems.md +0 -93
- package/pipeline/skills/shared/external/security-review/references/firebase-rules.md +0 -100
- package/pipeline/skills/shared/external/security-review/references/graphql.md +0 -82
- package/pipeline/skills/shared/external/security-review/references/llm-prompt-injection.md +0 -93
- package/pipeline/skills/shared/external/security-review/references/oauth-oidc.md +0 -100
- package/pipeline/skills/shared/external/security-review/references/owasp-mobile-top10-2024.md +0 -53
- package/pipeline/skills/shared/external/security-review/references/owasp-web-api-top10-2021.md +0 -56
- package/pipeline/skills/shared/external/security-review/references/supabase.md +0 -73
- package/pipeline/skills/shared/external/shareplay-activities/SKILL.md +0 -329
- package/pipeline/skills/shared/external/shareplay-activities/evals/evals.json +0 -46
- package/pipeline/skills/shared/external/shareplay-activities/references/shareplay-patterns.md +0 -453
- package/pipeline/skills/shared/external/short-video-craft/SKILL.md +0 -177
- package/pipeline/skills/shared/external/short-video-craft/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/short-video-craft/references/generated-defaults.md +0 -24
- package/pipeline/skills/shared/external/signal-community/SKILL.md +0 -78
- package/pipeline/skills/shared/external/signal-community/evals/evals.json +0 -42
- package/pipeline/skills/shared/external/skill-creator/SKILL.md +0 -88
- package/pipeline/skills/shared/external/skill-creator/audit.md +0 -63
- package/pipeline/skills/shared/external/skill-creator/checklist.md +0 -40
- package/pipeline/skills/shared/external/skill-creator/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/skill-creator/examples.md +0 -65
- package/pipeline/skills/shared/external/skill-creator/label-check.md +0 -55
- package/pipeline/skills/shared/external/skill-creator/scripts/audit-panel.js +0 -110
- package/pipeline/skills/shared/external/skill-creator/template.md +0 -83
- package/pipeline/skills/shared/external/spec-persona-walk/SKILL.md +0 -118
- package/pipeline/skills/shared/external/spec-persona-walk/evals/evals.json +0 -50
- package/pipeline/skills/shared/external/spec-persona-walk/scripts/persona-walk-anchors.mjs +0 -443
- package/pipeline/skills/shared/external/speech-recognition/SKILL.md +0 -296
- package/pipeline/skills/shared/external/speech-recognition/evals/evals.json +0 -46
- package/pipeline/skills/shared/external/speech-recognition/references/speechanalyzer-patterns.md +0 -189
- package/pipeline/skills/shared/external/store-screenshots/SKILL.md +0 -441
- package/pipeline/skills/shared/external/store-screenshots/evals/evals.json +0 -115
- package/pipeline/skills/shared/external/store-screenshots/references/frames.md +0 -141
- package/pipeline/skills/shared/external/storekit/SKILL.md +0 -296
- package/pipeline/skills/shared/external/storekit/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/storekit/references/app-review-guidelines.md +0 -98
- package/pipeline/skills/shared/external/storekit/references/core-patterns.md +0 -445
- package/pipeline/skills/shared/external/storekit/references/storekit-advanced.md +0 -542
- package/pipeline/skills/shared/external/swift-api-design-guidelines/SKILL.md +0 -326
- package/pipeline/skills/shared/external/swift-api-design-guidelines/evals/evals.json +0 -48
- package/pipeline/skills/shared/external/swift-api-design-guidelines/references/argument-labels-and-parameters.md +0 -171
- package/pipeline/skills/shared/external/swift-api-design-guidelines/references/conventions-and-special-rules.md +0 -156
- package/pipeline/skills/shared/external/swift-api-design-guidelines/references/naming-and-clarity.md +0 -156
- package/pipeline/skills/shared/external/swift-api-design-guidelines/references/side-effects-and-mutating-pairs.md +0 -123
- package/pipeline/skills/shared/external/swift-architecture/SKILL.md +0 -269
- package/pipeline/skills/shared/external/swift-architecture/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/swift-architecture/references/pattern-examples.md +0 -295
- package/pipeline/skills/shared/external/swift-charts/SKILL.md +0 -314
- package/pipeline/skills/shared/external/swift-charts/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/swift-charts/references/charts-patterns.md +0 -589
- package/pipeline/skills/shared/external/swift-codable/SKILL.md +0 -360
- package/pipeline/skills/shared/external/swift-codable/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/swift-codable/references/codable-recipes.md +0 -207
- package/pipeline/skills/shared/external/swift-compile-hotspots/SKILL.md +0 -93
- package/pipeline/skills/shared/external/swift-compile-hotspots/evals/evals.json +0 -54
- package/pipeline/skills/shared/external/swift-compile-hotspots/references/build-optimization-sources.md +0 -119
- package/pipeline/skills/shared/external/swift-compile-hotspots/references/code-compilation-checks.md +0 -126
- package/pipeline/skills/shared/external/swift-compile-hotspots/references/recommendation-format.md +0 -95
- package/pipeline/skills/shared/external/swift-compile-hotspots/scripts/diagnose_compilation.py +0 -266
- package/pipeline/skills/shared/external/swift-concurrency/SKILL.md +0 -296
- package/pipeline/skills/shared/external/swift-concurrency/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/swift-concurrency/references/approachable-concurrency.md +0 -72
- package/pipeline/skills/shared/external/swift-concurrency/references/async-algorithms.md +0 -77
- package/pipeline/skills/shared/external/swift-concurrency/references/bridging-interop.md +0 -213
- package/pipeline/skills/shared/external/swift-concurrency/references/code-examples.md +0 -100
- package/pipeline/skills/shared/external/swift-concurrency/references/concurrency-patterns.md +0 -236
- package/pipeline/skills/shared/external/swift-concurrency/references/diagnostics.md +0 -64
- package/pipeline/skills/shared/external/swift-concurrency/references/swift-6-2-additions.md +0 -18
- package/pipeline/skills/shared/external/swift-concurrency/references/swiftui-concurrency.md +0 -170
- package/pipeline/skills/shared/external/swift-concurrency/references/synchronization-primitives.md +0 -293
- package/pipeline/skills/shared/external/swift-concurrency-fix/SKILL.md +0 -123
- package/pipeline/skills/shared/external/swift-concurrency-fix/evals/evals.json +0 -54
- package/pipeline/skills/shared/external/swift-concurrency-fix/evals/trigger-eval.json +0 -11
- package/pipeline/skills/shared/external/swift-concurrency-fix/references/approachable-concurrency.md +0 -67
- package/pipeline/skills/shared/external/swift-concurrency-fix/references/swift-6-2-concurrency.md +0 -214
- package/pipeline/skills/shared/external/swift-concurrency-fix/references/swiftui-concurrency-tour-wwdc.md +0 -79
- package/pipeline/skills/shared/external/swift-concurrency-review/SKILL.md +0 -148
- package/pipeline/skills/shared/external/swift-concurrency-review/evals/evals.json +0 -57
- package/pipeline/skills/shared/external/swift-concurrency-review/references/actors.md +0 -170
- package/pipeline/skills/shared/external/swift-concurrency-review/references/async-streams.md +0 -66
- package/pipeline/skills/shared/external/swift-concurrency-review/references/bridging.md +0 -100
- package/pipeline/skills/shared/external/swift-concurrency-review/references/bug-patterns.md +0 -138
- package/pipeline/skills/shared/external/swift-concurrency-review/references/cancellation.md +0 -114
- package/pipeline/skills/shared/external/swift-concurrency-review/references/diagnostics.md +0 -93
- package/pipeline/skills/shared/external/swift-concurrency-review/references/hotspots.md +0 -63
- package/pipeline/skills/shared/external/swift-concurrency-review/references/interop.md +0 -146
- package/pipeline/skills/shared/external/swift-concurrency-review/references/new-features.md +0 -256
- package/pipeline/skills/shared/external/swift-concurrency-review/references/structured.md +0 -113
- package/pipeline/skills/shared/external/swift-concurrency-review/references/testing.md +0 -244
- package/pipeline/skills/shared/external/swift-concurrency-review/references/unstructured.md +0 -69
- package/pipeline/skills/shared/external/swift-formatstyle/SKILL.md +0 -296
- package/pipeline/skills/shared/external/swift-formatstyle/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/swift-formatstyle/references/formatstyle-examples.md +0 -113
- package/pipeline/skills/shared/external/swift-language/SKILL.md +0 -406
- package/pipeline/skills/shared/external/swift-language/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/swift-language/references/code-examples.md +0 -65
- package/pipeline/skills/shared/external/swift-language/references/swift-attributes-interop.md +0 -127
- package/pipeline/skills/shared/external/swift-language/references/swift-patterns-extended.md +0 -489
- package/pipeline/skills/shared/external/swift-security/SKILL.md +0 -217
- package/pipeline/skills/shared/external/swift-security/evals/evals.json +0 -48
- package/pipeline/skills/shared/external/swift-security/references/biometric-authentication.md +0 -456
- package/pipeline/skills/shared/external/swift-security/references/certificate-trust.md +0 -563
- package/pipeline/skills/shared/external/swift-security/references/common-anti-patterns.md +0 -457
- package/pipeline/skills/shared/external/swift-security/references/compliance-owasp-mapping.md +0 -382
- package/pipeline/skills/shared/external/swift-security/references/credential-storage-patterns.md +0 -773
- package/pipeline/skills/shared/external/swift-security/references/cryptokit-public-key.md +0 -485
- package/pipeline/skills/shared/external/swift-security/references/cryptokit-symmetric.md +0 -445
- package/pipeline/skills/shared/external/swift-security/references/keychain-access-control.md +0 -438
- package/pipeline/skills/shared/external/swift-security/references/keychain-fundamentals.md +0 -521
- package/pipeline/skills/shared/external/swift-security/references/keychain-item-classes.md +0 -531
- package/pipeline/skills/shared/external/swift-security/references/keychain-sharing.md +0 -417
- package/pipeline/skills/shared/external/swift-security/references/migration-legacy-stores.md +0 -530
- package/pipeline/skills/shared/external/swift-security/references/secure-enclave.md +0 -522
- package/pipeline/skills/shared/external/swift-security/references/testing-security-code.md +0 -569
- package/pipeline/skills/shared/external/swift-testing/SKILL.md +0 -280
- package/pipeline/skills/shared/external/swift-testing/evals/evals.json +0 -46
- package/pipeline/skills/shared/external/swift-testing/references/testing-advanced.md +0 -129
- package/pipeline/skills/shared/external/swift-testing/references/testing-patterns.md +0 -540
- package/pipeline/skills/shared/external/swift-testing-review/SKILL.md +0 -118
- package/pipeline/skills/shared/external/swift-testing-review/evals/evals.json +0 -59
- package/pipeline/skills/shared/external/swift-testing-review/evals/trigger-eval.json +0 -11
- package/pipeline/skills/shared/external/swift-testing-review/references/async-tests.md +0 -256
- package/pipeline/skills/shared/external/swift-testing-review/references/core-rules.md +0 -114
- package/pipeline/skills/shared/external/swift-testing-review/references/migrating-from-xctest.md +0 -51
- package/pipeline/skills/shared/external/swift-testing-review/references/new-features.md +0 -322
- package/pipeline/skills/shared/external/swift-testing-review/references/writing-better-tests.md +0 -293
- package/pipeline/skills/shared/external/swiftdata/SKILL.md +0 -379
- package/pipeline/skills/shared/external/swiftdata/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/swiftdata/references/code-examples.md +0 -140
- package/pipeline/skills/shared/external/swiftdata/references/core-data-coexistence.md +0 -316
- package/pipeline/skills/shared/external/swiftdata/references/indexing.md +0 -82
- package/pipeline/skills/shared/external/swiftdata/references/predicate-pitfalls.md +0 -78
- package/pipeline/skills/shared/external/swiftdata/references/swiftdata-advanced.md +0 -603
- package/pipeline/skills/shared/external/swiftdata/references/swiftdata-queries.md +0 -479
- package/pipeline/skills/shared/external/swiftdata-review/SKILL.md +0 -119
- package/pipeline/skills/shared/external/swiftdata-review/evals/evals.json +0 -50
- package/pipeline/skills/shared/external/swiftdata-review/evals/trigger-eval.json +0 -11
- package/pipeline/skills/shared/external/swiftdata-review/references/cloudkit.md +0 -37
- package/pipeline/skills/shared/external/swiftdata-review/references/indexing.md +0 -33
- package/pipeline/skills/shared/external/swiftdata-review/references/inheritance.md +0 -127
- package/pipeline/skills/shared/external/swiftdata-review/references/model-rules.md +0 -141
- package/pipeline/skills/shared/external/swiftdata-review/references/predicates.md +0 -67
- package/pipeline/skills/shared/external/swiftlint/SKILL.md +0 -288
- package/pipeline/skills/shared/external/swiftlint/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/swiftlint/references/adoption-and-configuration.md +0 -241
- package/pipeline/skills/shared/external/swiftlint/references/custom-rules-and-analyze.md +0 -168
- package/pipeline/skills/shared/external/swiftlint/references/plugins-run-scripts-and-integrations.md +0 -300
- package/pipeline/skills/shared/external/swiftlint/references/rule-reference.md +0 -424
- package/pipeline/skills/shared/external/swiftlint/references/rules-suppressions-and-baselines.md +0 -232
- package/pipeline/skills/shared/external/swiftui-animation/SKILL.md +0 -401
- package/pipeline/skills/shared/external/swiftui-animation/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/swiftui-animation/evals/trigger-eval.json +0 -22
- package/pipeline/skills/shared/external/swiftui-animation/references/animation-advanced.md +0 -562
- package/pipeline/skills/shared/external/swiftui-animation/references/core-animation-bridge.md +0 -519
- package/pipeline/skills/shared/external/swiftui-animation/references/scroll-effects.md +0 -197
- package/pipeline/skills/shared/external/swiftui-feature-builder/SKILL.md +0 -105
- package/pipeline/skills/shared/external/swiftui-feature-builder/evals/evals.json +0 -55
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/accessibility-patterns.md +0 -208
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/animation-advanced.md +0 -140
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/animation-basics.md +0 -229
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/animation-transitions.md +0 -216
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/charts-accessibility.md +0 -186
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/charts.md +0 -559
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/image-optimization.md +0 -189
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/latest-apis.md +0 -361
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/layout-best-practices.md +0 -238
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/liquid-glass.md +0 -33
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/list-patterns.md +0 -346
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/macos-scenes.md +0 -258
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/macos-views.md +0 -270
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/macos-window-styling.md +0 -216
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/performance-patterns.md +0 -364
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/scroll-patterns.md +0 -209
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/sheet-navigation-patterns.md +0 -307
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/state-management.md +0 -371
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/view-structure.md +0 -342
- package/pipeline/skills/shared/external/swiftui-flow-recipes/SKILL.md +0 -110
- package/pipeline/skills/shared/external/swiftui-flow-recipes/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/app-wiring.md +0 -218
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/async-state.md +0 -111
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/components-index.md +0 -63
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/controls.md +0 -58
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/deeplinks.md +0 -77
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/focus.md +0 -118
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/form.md +0 -114
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/grids.md +0 -69
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/haptics.md +0 -9
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/input-toolbar.md +0 -64
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/lightweight-clients.md +0 -119
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/list.md +0 -85
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/loading-placeholders.md +0 -49
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/macos-settings.md +0 -71
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/matched-transitions.md +0 -76
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/media.md +0 -81
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/menu-bar.md +0 -115
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/navigationstack.md +0 -185
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/overlay.md +0 -48
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/performance.md +0 -64
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/previews.md +0 -48
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/scroll-reveal.md +0 -138
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/scrollview.md +0 -94
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/searchable.md +0 -86
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/sheets.md +0 -198
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/split-views.md +0 -75
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/tabview.md +0 -124
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/theming.md +0 -76
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/title-menus.md +0 -83
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/top-bar.md +0 -65
- package/pipeline/skills/shared/external/swiftui-gestures/SKILL.md +0 -364
- package/pipeline/skills/shared/external/swiftui-gestures/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/swiftui-gestures/references/gesture-patterns.md +0 -364
- package/pipeline/skills/shared/external/swiftui-glass-effects/SKILL.md +0 -247
- package/pipeline/skills/shared/external/swiftui-glass-effects/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/swiftui-glass-effects/evals/trigger-eval.json +0 -22
- package/pipeline/skills/shared/external/swiftui-glass-effects/references/liquid-glass.md +0 -468
- package/pipeline/skills/shared/external/swiftui-glass-effects/references/uikit-glass.md +0 -241
- package/pipeline/skills/shared/external/swiftui-layout-components/SKILL.md +0 -353
- package/pipeline/skills/shared/external/swiftui-layout-components/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/swiftui-layout-components/references/form.md +0 -123
- package/pipeline/skills/shared/external/swiftui-layout-components/references/grids.md +0 -179
- package/pipeline/skills/shared/external/swiftui-layout-components/references/list.md +0 -87
- package/pipeline/skills/shared/external/swiftui-layout-components/references/scrollview.md +0 -161
- package/pipeline/skills/shared/external/swiftui-navigation/SKILL.md +0 -297
- package/pipeline/skills/shared/external/swiftui-navigation/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/swiftui-navigation/references/deeplinks.md +0 -206
- package/pipeline/skills/shared/external/swiftui-navigation/references/navigationstack.md +0 -187
- package/pipeline/skills/shared/external/swiftui-navigation/references/sheets.md +0 -217
- package/pipeline/skills/shared/external/swiftui-navigation/references/tabview.md +0 -161
- package/pipeline/skills/shared/external/swiftui-patterns/SKILL.md +0 -460
- package/pipeline/skills/shared/external/swiftui-patterns/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/swiftui-patterns/references/architecture-patterns.md +0 -581
- package/pipeline/skills/shared/external/swiftui-patterns/references/deprecated-migration.md +0 -965
- package/pipeline/skills/shared/external/swiftui-patterns/references/platform-and-sharing.md +0 -634
- package/pipeline/skills/shared/external/swiftui-performance/SKILL.md +0 -314
- package/pipeline/skills/shared/external/swiftui-performance/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/swiftui-performance/references/demystify-swiftui-performance-wwdc23.md +0 -142
- package/pipeline/skills/shared/external/swiftui-performance/references/optimizing-swiftui-performance-instruments.md +0 -139
- package/pipeline/skills/shared/external/swiftui-performance/references/understanding-hangs-in-your-app.md +0 -156
- package/pipeline/skills/shared/external/swiftui-performance/references/understanding-improving-swiftui-performance.md +0 -99
- package/pipeline/skills/shared/external/swiftui-performance/references/wwdc-session-sources.md +0 -21
- package/pipeline/skills/shared/external/swiftui-performance-triage/SKILL.md +0 -107
- package/pipeline/skills/shared/external/swiftui-performance-triage/evals/evals.json +0 -55
- package/pipeline/skills/shared/external/swiftui-performance-triage/references/audit-layout.md +0 -50
- package/pipeline/skills/shared/external/swiftui-performance-triage/references/capture-checklist.md +0 -51
- package/pipeline/skills/shared/external/swiftui-performance-triage/references/hangs.md +0 -34
- package/pipeline/skills/shared/external/swiftui-performance-triage/references/instruments-guide.md +0 -68
- package/pipeline/skills/shared/external/swiftui-performance-triage/references/smell-catalog.md +0 -191
- package/pipeline/skills/shared/external/swiftui-performance-triage/references/update-model.md +0 -69
- package/pipeline/skills/shared/external/swiftui-review/SKILL.md +0 -111
- package/pipeline/skills/shared/external/swiftui-review/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/swiftui-review/references/accessibility.md +0 -40
- package/pipeline/skills/shared/external/swiftui-review/references/api.md +0 -84
- package/pipeline/skills/shared/external/swiftui-review/references/data.md +0 -63
- package/pipeline/skills/shared/external/swiftui-review/references/design.md +0 -45
- package/pipeline/skills/shared/external/swiftui-review/references/hygiene.md +0 -18
- package/pipeline/skills/shared/external/swiftui-review/references/navigation.md +0 -24
- package/pipeline/skills/shared/external/swiftui-review/references/performance.md +0 -62
- package/pipeline/skills/shared/external/swiftui-review/references/swift.md +0 -84
- package/pipeline/skills/shared/external/swiftui-review/references/views.md +0 -60
- package/pipeline/skills/shared/external/swiftui-uikit-interop/SKILL.md +0 -311
- package/pipeline/skills/shared/external/swiftui-uikit-interop/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/swiftui-uikit-interop/references/hosting-migration.md +0 -361
- package/pipeline/skills/shared/external/swiftui-uikit-interop/references/interop-code.md +0 -198
- package/pipeline/skills/shared/external/swiftui-uikit-interop/references/representable-recipes.md +0 -747
- package/pipeline/skills/shared/external/swiftui-view-splitting/SKILL.md +0 -242
- package/pipeline/skills/shared/external/swiftui-view-splitting/evals/evals.json +0 -56
- package/pipeline/skills/shared/external/swiftui-view-splitting/references/mv-patterns.md +0 -188
- package/pipeline/skills/shared/external/swiftui-webkit/SKILL.md +0 -229
- package/pipeline/skills/shared/external/swiftui-webkit/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/swiftui-webkit/references/loading-and-observation.md +0 -148
- package/pipeline/skills/shared/external/swiftui-webkit/references/local-content-and-custom-schemes.md +0 -98
- package/pipeline/skills/shared/external/swiftui-webkit/references/migration-and-fallbacks.md +0 -97
- package/pipeline/skills/shared/external/swiftui-webkit/references/navigation-and-javascript.md +0 -147
- package/pipeline/skills/shared/external/tailwind-styling/SKILL.md +0 -240
- package/pipeline/skills/shared/external/tailwind-styling/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/tailwind-styling/evals/trigger-eval.json +0 -11
- package/pipeline/skills/shared/external/tailwind-styling/references/code-examples.md +0 -91
- package/pipeline/skills/shared/external/test-result-triage/SKILL.md +0 -160
- package/pipeline/skills/shared/external/test-result-triage/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/testing-backend/SKILL.md +0 -196
- package/pipeline/skills/shared/external/testing-backend/evals/evals.json +0 -42
- package/pipeline/skills/shared/external/testing-backend/references/testing-examples.md +0 -266
- package/pipeline/skills/shared/external/thesis-writing/SKILL.md +0 -140
- package/pipeline/skills/shared/external/thesis-writing/evals/evals.json +0 -40
- package/pipeline/skills/shared/external/thesis-writing/references/review-checklist.md +0 -33
- package/pipeline/skills/shared/external/thesis-writing/references/turkish-thesis-conventions.md +0 -65
- package/pipeline/skills/shared/external/tipkit/SKILL.md +0 -381
- package/pipeline/skills/shared/external/tipkit/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/tipkit/references/tipkit-patterns.md +0 -658
- package/pipeline/skills/shared/external/typescript-patterns/SKILL.md +0 -258
- package/pipeline/skills/shared/external/typescript-patterns/evals/evals.json +0 -42
- package/pipeline/skills/shared/external/typescript-patterns/references/code-examples.md +0 -100
- package/pipeline/skills/shared/external/valven-rules/SKILL.md +0 -93
- package/pipeline/skills/shared/external/valven-rules/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/valven-rules/references/rules.yml +0 -186
- package/pipeline/skills/shared/external/vision-framework/SKILL.md +0 -346
- package/pipeline/skills/shared/external/vision-framework/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/vision-framework/references/code-examples.md +0 -26
- package/pipeline/skills/shared/external/vision-framework/references/vision-requests.md +0 -631
- package/pipeline/skills/shared/external/vision-framework/references/visionkit-scanner.md +0 -573
- package/pipeline/skills/shared/external/vue-composition/SKILL.md +0 -212
- package/pipeline/skills/shared/external/vue-composition/evals/evals.json +0 -42
- package/pipeline/skills/shared/external/vue-composition/references/vue-examples.md +0 -187
- package/pipeline/skills/shared/external/weatherkit/SKILL.md +0 -256
- package/pipeline/skills/shared/external/weatherkit/evals/evals.json +0 -42
- package/pipeline/skills/shared/external/weatherkit/references/weatherkit-patterns.md +0 -459
- package/pipeline/skills/shared/external/web-accessibility/SKILL.md +0 -209
- package/pipeline/skills/shared/external/web-accessibility/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/web-accessibility/references/a11y-examples.md +0 -178
- package/pipeline/skills/shared/external/web-performance/SKILL.md +0 -290
- package/pipeline/skills/shared/external/web-performance/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/web-performance/references/code-examples.md +0 -77
- package/pipeline/skills/shared/external/web-testing/SKILL.md +0 -270
- package/pipeline/skills/shared/external/web-testing/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/web-testing/references/testing-examples.md +0 -213
- package/pipeline/skills/shared/external/widgetkit/SKILL.md +0 -365
- package/pipeline/skills/shared/external/widgetkit/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/widgetkit/references/widgetkit-advanced.md +0 -801
|
@@ -1,212 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: vue-composition
|
|
3
|
-
description: "Vue 3 Composition API: ref, reactive, computed, watch, composables, Pinia state management, Vue Router 4, script setup. Use when building or reviewing Vue 3 work with the Composition API, composables or Pinia."
|
|
4
|
-
metadata:
|
|
5
|
-
source: multi-agent-pipeline
|
|
6
|
-
tags: [vue, composition-api, pinia, vue-router, frontend, javascript]
|
|
7
|
-
version: "2025.1"
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
# Vue 3 Composition API
|
|
11
|
-
|
|
12
|
-
## Core Concepts
|
|
13
|
-
|
|
14
|
-
Vue 3 Composition API with `<script setup>` is the standard for new Vue projects. It provides
|
|
15
|
-
better TypeScript support, composable logic reuse, and cleaner code organization compared to
|
|
16
|
-
the Options API.
|
|
17
|
-
|
|
18
|
-
## Script Setup Syntax
|
|
19
|
-
|
|
20
|
-
```vue
|
|
21
|
-
<script setup lang="ts">
|
|
22
|
-
import { ref, computed, onMounted } from 'vue';
|
|
23
|
-
import type { User } from '@/types';
|
|
24
|
-
|
|
25
|
-
// Props with defaults
|
|
26
|
-
interface Props {
|
|
27
|
-
title: string;
|
|
28
|
-
count?: number;
|
|
29
|
-
user: User;
|
|
30
|
-
}
|
|
31
|
-
const props = withDefaults(defineProps<Props>(), {
|
|
32
|
-
count: 0,
|
|
33
|
-
});
|
|
34
|
-
|
|
35
|
-
// Emits with typed payload
|
|
36
|
-
const emit = defineEmits<{
|
|
37
|
-
update: [value: string];
|
|
38
|
-
delete: [id: string];
|
|
39
|
-
submit: [];
|
|
40
|
-
}>();
|
|
41
|
-
|
|
42
|
-
// Expose public methods to parent via template ref
|
|
43
|
-
defineExpose({
|
|
44
|
-
reset: () => { /* ... */ },
|
|
45
|
-
});
|
|
46
|
-
|
|
47
|
-
// Model (v-model two-way binding)
|
|
48
|
-
const modelValue = defineModel<string>({ required: true });
|
|
49
|
-
|
|
50
|
-
// Reactive state
|
|
51
|
-
const isLoading = ref(false);
|
|
52
|
-
const searchQuery = ref('');
|
|
53
|
-
const items = ref<User[]>([]);
|
|
54
|
-
|
|
55
|
-
// Computed
|
|
56
|
-
const filteredItems = computed(() =>
|
|
57
|
-
items.value.filter((item) =>
|
|
58
|
-
item.name.toLowerCase().includes(searchQuery.value.toLowerCase())
|
|
59
|
-
)
|
|
60
|
-
);
|
|
61
|
-
|
|
62
|
-
// Methods
|
|
63
|
-
async function fetchItems() {
|
|
64
|
-
isLoading.value = true;
|
|
65
|
-
try {
|
|
66
|
-
items.value = await api.getUsers();
|
|
67
|
-
} finally {
|
|
68
|
-
isLoading.value = false;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
// Lifecycle
|
|
73
|
-
onMounted(() => {
|
|
74
|
-
fetchItems();
|
|
75
|
-
});
|
|
76
|
-
</script>
|
|
77
|
-
|
|
78
|
-
<template>
|
|
79
|
-
<div>
|
|
80
|
-
<h1>{{ title }} ({{ filteredItems.length }})</h1>
|
|
81
|
-
<input v-model="searchQuery" placeholder="Search..." />
|
|
82
|
-
<div v-if="isLoading">Loading...</div>
|
|
83
|
-
<ul v-else>
|
|
84
|
-
<li v-for="item in filteredItems" :key="item.id">
|
|
85
|
-
{{ item.name }}
|
|
86
|
-
<button @click="emit('delete', item.id)">Delete</button>
|
|
87
|
-
</li>
|
|
88
|
-
</ul>
|
|
89
|
-
</div>
|
|
90
|
-
</template>
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
## Reactivity: ref vs reactive
|
|
94
|
-
|
|
95
|
-
```typescript
|
|
96
|
-
import { ref, reactive, toRefs } from 'vue';
|
|
97
|
-
|
|
98
|
-
// ref - for primitives and single values (unwraps in template)
|
|
99
|
-
const count = ref(0);
|
|
100
|
-
count.value++; // need .value in script
|
|
101
|
-
// <template>{{ count }}</template> - no .value needed
|
|
102
|
-
|
|
103
|
-
// reactive - for objects (deep reactive, no .value needed)
|
|
104
|
-
const state = reactive({
|
|
105
|
-
name: '',
|
|
106
|
-
email: '',
|
|
107
|
-
preferences: { theme: 'light', language: 'en' },
|
|
108
|
-
});
|
|
109
|
-
state.name = 'John'; // direct property access
|
|
110
|
-
|
|
111
|
-
// toRefs - destructure reactive object without losing reactivity
|
|
112
|
-
const { name, email } = toRefs(state);
|
|
113
|
-
// name is Ref<string>, tracks state.name
|
|
114
|
-
|
|
115
|
-
// RULE: Use ref for everything. Use reactive only for local form state.
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
## Watchers
|
|
119
|
-
|
|
120
|
-
```typescript
|
|
121
|
-
import { ref, watch, watchEffect } from 'vue';
|
|
122
|
-
|
|
123
|
-
const searchQuery = ref('');
|
|
124
|
-
const selectedCategory = ref('all');
|
|
125
|
-
const results = ref([]);
|
|
126
|
-
|
|
127
|
-
// watch - explicit source, access old/new values
|
|
128
|
-
watch(searchQuery, async (newQuery, oldQuery) => {
|
|
129
|
-
if (newQuery.length >= 3) {
|
|
130
|
-
results.value = await search(newQuery);
|
|
131
|
-
}
|
|
132
|
-
}, { debounce: 300 }); // Vue 3.5+ debounce option
|
|
133
|
-
|
|
134
|
-
// Watch multiple sources
|
|
135
|
-
watch(
|
|
136
|
-
[searchQuery, selectedCategory],
|
|
137
|
-
([query, category], [prevQuery, prevCategory]) => {
|
|
138
|
-
fetchResults(query, category);
|
|
139
|
-
}
|
|
140
|
-
);
|
|
141
|
-
|
|
142
|
-
// watchEffect - auto-tracks dependencies, runs immediately
|
|
143
|
-
watchEffect(async () => {
|
|
144
|
-
// Automatically re-runs when searchQuery.value or selectedCategory.value changes
|
|
145
|
-
if (searchQuery.value.length >= 3) {
|
|
146
|
-
results.value = await search(searchQuery.value, selectedCategory.value);
|
|
147
|
-
}
|
|
148
|
-
});
|
|
149
|
-
|
|
150
|
-
// Cleanup side effects
|
|
151
|
-
watchEffect((onCleanup) => {
|
|
152
|
-
const controller = new AbortController();
|
|
153
|
-
fetchData(searchQuery.value, { signal: controller.signal });
|
|
154
|
-
onCleanup(() => controller.abort());
|
|
155
|
-
});
|
|
156
|
-
|
|
157
|
-
// watch with immediate + deep
|
|
158
|
-
watch(
|
|
159
|
-
() => props.config,
|
|
160
|
-
(newConfig) => { applyConfig(newConfig); },
|
|
161
|
-
{ immediate: true, deep: true }
|
|
162
|
-
);
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
## Composables (useXxx Pattern)
|
|
166
|
-
|
|
167
|
-
Code for this section: [Vue examples](references/vue-examples.md).
|
|
168
|
-
|
|
169
|
-
## Pinia State Management
|
|
170
|
-
|
|
171
|
-
Code for this section: [Vue examples](references/vue-examples.md).
|
|
172
|
-
|
|
173
|
-
## Vue Router 4
|
|
174
|
-
|
|
175
|
-
Code for this section: [Vue examples](references/vue-examples.md).
|
|
176
|
-
|
|
177
|
-
## Do's
|
|
178
|
-
|
|
179
|
-
- Use `<script setup lang="ts">` for all new components
|
|
180
|
-
- Use `ref()` as the default reactive primitive
|
|
181
|
-
- Extract reusable logic into composables (useXxx)
|
|
182
|
-
- Use Pinia with Composition API syntax (`defineStore` with setup function)
|
|
183
|
-
- Use `defineModel` for two-way binding in custom components
|
|
184
|
-
- Type props and emits with TypeScript generics
|
|
185
|
-
- Use `watchEffect` when you want automatic dependency tracking
|
|
186
|
-
- Lazy-load routes with dynamic imports
|
|
187
|
-
|
|
188
|
-
## Don'ts
|
|
189
|
-
|
|
190
|
-
- Do not use Options API for new code (Composition API is the standard)
|
|
191
|
-
- Do not mutate props directly; emit events to parent
|
|
192
|
-
- Do not use `reactive()` for primitives; use `ref()`
|
|
193
|
-
- Do not destructure `reactive()` objects without `toRefs()`
|
|
194
|
-
- Do not forget `.value` in script when using `ref()`
|
|
195
|
-
- Do not use Vuex for new projects; use Pinia
|
|
196
|
-
- Do not put business logic in components; extract to composables
|
|
197
|
-
- Do not use `this` in `<script setup>` (there is no `this`)
|
|
198
|
-
|
|
199
|
-
## Troubleshooting
|
|
200
|
-
|
|
201
|
-
| Problem | Cause | Solution |
|
|
202
|
-
|---------|-------|----------|
|
|
203
|
-
| Reactivity lost after destructure | Destructured reactive object | Use `toRefs()` or keep using the reactive object directly |
|
|
204
|
-
| Component not updating | Replacing reactive object reference | Mutate properties instead, or use `ref()` |
|
|
205
|
-
| Watch not triggering | Watching wrong source | Watch `() => state.prop` for reactive properties |
|
|
206
|
-
| Prop mutation warning | Modifying prop directly | Use `defineModel` or emit event with new value |
|
|
207
|
-
| Template ref is null | Accessed before mount | Use `onMounted` hook or optional chaining |
|
|
208
|
-
| Pinia state lost on refresh | No persistence plugin | Add `pinia-plugin-persistedstate` |
|
|
209
|
-
|
|
210
|
-
## References
|
|
211
|
-
|
|
212
|
-
- [Vue examples](references/vue-examples.md): open when writing a composable, a Pinia store or router configuration and guards.
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"skill_name": "vue-composition",
|
|
3
|
-
"evals": [
|
|
4
|
-
{
|
|
5
|
-
"id": 0,
|
|
6
|
-
"prompt": "Convert this Vue component to modern Vue 3: it uses the Options API with `data() { return { count: 0, user: { name: '' } } }`, mutates `this.modelValue` (a prop) directly in a method, and reads global state from a Vuex store. We use TypeScript.",
|
|
7
|
-
"expected_output": "Rewrites with <script setup lang=\"ts\">, uses ref() for state, replaces direct prop mutation with defineModel or an emitted event, types props and emits with generics, and moves global state to a Pinia store defined with the setup-function syntax.",
|
|
8
|
-
"files": [],
|
|
9
|
-
"expectations": [
|
|
10
|
-
"Uses <script setup lang=\"ts\"> instead of the Options API",
|
|
11
|
-
"Uses ref() as the default reactive primitive and remembers .value in script",
|
|
12
|
-
"Stops mutating the prop directly and uses defineModel or emits an event",
|
|
13
|
-
"Replaces Vuex with Pinia using defineStore with a setup function",
|
|
14
|
-
"Does not use this inside <script setup>"
|
|
15
|
-
]
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"id": 1,
|
|
19
|
-
"prompt": "In our Vue 3 app, `const state = reactive({ query: '', results: [] }); const { query, results } = state;` loses reactivity in the template, `const loading = reactive(false)` throws a warning, and `watch(state.query, fetchResults)` never fires. Fix these.",
|
|
20
|
-
"expected_output": "Explains destructuring reactive loses reactivity and uses toRefs(), replaces reactive(false) with ref(false) since reactive is not for primitives, and watches a getter () => state.query instead of the raw value.",
|
|
21
|
-
"files": [],
|
|
22
|
-
"expectations": [
|
|
23
|
-
"Uses toRefs() when destructuring a reactive object (or keeps using the object directly)",
|
|
24
|
-
"Replaces reactive(false) with ref(false) because reactive() is not for primitives",
|
|
25
|
-
"Watches the getter () => state.query instead of state.query",
|
|
26
|
-
"Explains why each original version loses or never had reactivity"
|
|
27
|
-
]
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"id": 2,
|
|
31
|
-
"prompt": "Our Vue 3 product page component has 300 lines of fetching, pagination and filtering logic inline, the same logic is copy-pasted in the search page, and all routes are imported eagerly at the top of router.ts. Refactor.",
|
|
32
|
-
"expected_output": "Extracts the shared fetch, pagination and filter logic into a useXxx composable reused by both pages, keeps business logic out of components, and lazy-loads routes with dynamic imports in Vue Router 4.",
|
|
33
|
-
"files": [],
|
|
34
|
-
"expectations": [
|
|
35
|
-
"Extracts the shared logic into a composable named in the useXxx pattern",
|
|
36
|
-
"Reuses that composable in both product and search pages",
|
|
37
|
-
"Keeps business logic out of components",
|
|
38
|
-
"Lazy-loads routes with dynamic imports (() => import(...)) in Vue Router 4"
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
]
|
|
42
|
-
}
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
# Vue examples
|
|
2
|
-
|
|
3
|
-
<!-- toc -->
|
|
4
|
-
- [Composables (useXxx Pattern)](#composables-usexxx-pattern)
|
|
5
|
-
- [Pinia State Management](#pinia-state-management)
|
|
6
|
-
- [Vue Router 4](#vue-router-4)
|
|
7
|
-
<!-- /toc -->
|
|
8
|
-
|
|
9
|
-
Code for composables, Pinia stores and Vue Router 4. SKILL.md keeps the core concepts, script setup, reactivity and watcher rules.
|
|
10
|
-
|
|
11
|
-
## Composables (useXxx Pattern)
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
// composables/useFetch.ts
|
|
15
|
-
import { ref, type Ref } from 'vue';
|
|
16
|
-
|
|
17
|
-
interface UseFetchReturn<T> {
|
|
18
|
-
data: Ref<T | null>;
|
|
19
|
-
error: Ref<string | null>;
|
|
20
|
-
isLoading: Ref<boolean>;
|
|
21
|
-
execute: () => Promise<void>;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export function useFetch<T>(url: string | Ref<string>): UseFetchReturn<T> {
|
|
25
|
-
const data = ref<T | null>(null) as Ref<T | null>;
|
|
26
|
-
const error = ref<string | null>(null);
|
|
27
|
-
const isLoading = ref(false);
|
|
28
|
-
|
|
29
|
-
async function execute() {
|
|
30
|
-
isLoading.value = true;
|
|
31
|
-
error.value = null;
|
|
32
|
-
try {
|
|
33
|
-
const resolvedUrl = typeof url === 'string' ? url : url.value;
|
|
34
|
-
const response = await fetch(resolvedUrl);
|
|
35
|
-
if (!response.ok) throw new Error(`HTTP ${response.status}`);
|
|
36
|
-
data.value = await response.json();
|
|
37
|
-
} catch (e) {
|
|
38
|
-
error.value = e instanceof Error ? e.message : 'Unknown error';
|
|
39
|
-
} finally {
|
|
40
|
-
isLoading.value = false;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
return { data, error, isLoading, execute };
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// composables/useLocalStorage.ts
|
|
48
|
-
import { ref, watch, type Ref } from 'vue';
|
|
49
|
-
|
|
50
|
-
export function useLocalStorage<T>(key: string, defaultValue: T): Ref<T> {
|
|
51
|
-
const stored = localStorage.getItem(key);
|
|
52
|
-
const data = ref<T>(stored ? JSON.parse(stored) : defaultValue) as Ref<T>;
|
|
53
|
-
|
|
54
|
-
watch(data, (newValue) => {
|
|
55
|
-
localStorage.setItem(key, JSON.stringify(newValue));
|
|
56
|
-
}, { deep: true });
|
|
57
|
-
|
|
58
|
-
return data;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
// composables/useDebounce.ts
|
|
62
|
-
import { ref, watch, type Ref } from 'vue';
|
|
63
|
-
|
|
64
|
-
export function useDebounce<T>(source: Ref<T>, delay = 300): Ref<T> {
|
|
65
|
-
const debounced = ref(source.value) as Ref<T>;
|
|
66
|
-
let timeout: ReturnType<typeof setTimeout>;
|
|
67
|
-
|
|
68
|
-
watch(source, (newValue) => {
|
|
69
|
-
clearTimeout(timeout);
|
|
70
|
-
timeout = setTimeout(() => {
|
|
71
|
-
debounced.value = newValue;
|
|
72
|
-
}, delay);
|
|
73
|
-
});
|
|
74
|
-
|
|
75
|
-
return debounced;
|
|
76
|
-
}
|
|
77
|
-
```
|
|
78
|
-
|
|
79
|
-
## Pinia State Management
|
|
80
|
-
|
|
81
|
-
```typescript
|
|
82
|
-
// stores/auth.ts
|
|
83
|
-
import { defineStore } from 'pinia';
|
|
84
|
-
import { ref, computed } from 'vue';
|
|
85
|
-
|
|
86
|
-
export const useAuthStore = defineStore('auth', () => {
|
|
87
|
-
// State
|
|
88
|
-
const user = ref<User | null>(null);
|
|
89
|
-
const token = ref<string | null>(null);
|
|
90
|
-
|
|
91
|
-
// Getters
|
|
92
|
-
const isAuthenticated = computed(() => !!token.value);
|
|
93
|
-
const displayName = computed(() => user.value?.name ?? 'Guest');
|
|
94
|
-
|
|
95
|
-
// Actions
|
|
96
|
-
async function login(credentials: { email: string; password: string }) {
|
|
97
|
-
const response = await api.post('/auth/login', credentials);
|
|
98
|
-
user.value = response.user;
|
|
99
|
-
token.value = response.token;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
function logout() {
|
|
103
|
-
user.value = null;
|
|
104
|
-
token.value = null;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
return { user, token, isAuthenticated, displayName, login, logout };
|
|
108
|
-
}, {
|
|
109
|
-
persist: true, // pinia-plugin-persistedstate
|
|
110
|
-
});
|
|
111
|
-
|
|
112
|
-
// stores/cart.ts
|
|
113
|
-
export const useCartStore = defineStore('cart', () => {
|
|
114
|
-
const items = ref<CartItem[]>([]);
|
|
115
|
-
|
|
116
|
-
const totalItems = computed(() =>
|
|
117
|
-
items.value.reduce((sum, item) => sum + item.quantity, 0)
|
|
118
|
-
);
|
|
119
|
-
|
|
120
|
-
const totalPrice = computed(() =>
|
|
121
|
-
items.value.reduce((sum, item) => sum + item.price * item.quantity, 0)
|
|
122
|
-
);
|
|
123
|
-
|
|
124
|
-
function addItem(product: Product) {
|
|
125
|
-
const existing = items.value.find((i) => i.productId === product.id);
|
|
126
|
-
if (existing) {
|
|
127
|
-
existing.quantity++;
|
|
128
|
-
} else {
|
|
129
|
-
items.value.push({ productId: product.id, name: product.name, price: product.price, quantity: 1 });
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
function removeItem(productId: string) {
|
|
134
|
-
items.value = items.value.filter((i) => i.productId !== productId);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
return { items, totalItems, totalPrice, addItem, removeItem };
|
|
138
|
-
});
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
## Vue Router 4
|
|
142
|
-
|
|
143
|
-
```typescript
|
|
144
|
-
// router/index.ts
|
|
145
|
-
import { createRouter, createWebHistory } from 'vue-router';
|
|
146
|
-
import type { RouteRecordRaw } from 'vue-router';
|
|
147
|
-
|
|
148
|
-
const routes: RouteRecordRaw[] = [
|
|
149
|
-
{
|
|
150
|
-
path: '/',
|
|
151
|
-
component: () => import('@/layouts/DefaultLayout.vue'),
|
|
152
|
-
children: [
|
|
153
|
-
{ path: '', name: 'home', component: () => import('@/pages/HomePage.vue') },
|
|
154
|
-
{ path: 'about', name: 'about', component: () => import('@/pages/AboutPage.vue') },
|
|
155
|
-
],
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
path: '/dashboard',
|
|
159
|
-
component: () => import('@/layouts/DashboardLayout.vue'),
|
|
160
|
-
meta: { requiresAuth: true },
|
|
161
|
-
children: [
|
|
162
|
-
{ path: '', name: 'dashboard', component: () => import('@/pages/DashboardPage.vue') },
|
|
163
|
-
{ path: 'settings', name: 'settings', component: () => import('@/pages/SettingsPage.vue') },
|
|
164
|
-
{ path: 'users/:id', name: 'user-detail', component: () => import('@/pages/UserDetailPage.vue'), props: true },
|
|
165
|
-
],
|
|
166
|
-
},
|
|
167
|
-
{ path: '/:pathMatch(.*)*', name: 'not-found', component: () => import('@/pages/NotFoundPage.vue') },
|
|
168
|
-
];
|
|
169
|
-
|
|
170
|
-
const router = createRouter({
|
|
171
|
-
history: createWebHistory(),
|
|
172
|
-
routes,
|
|
173
|
-
scrollBehavior(to, from, savedPosition) {
|
|
174
|
-
return savedPosition ?? { top: 0 };
|
|
175
|
-
},
|
|
176
|
-
});
|
|
177
|
-
|
|
178
|
-
// Navigation guard
|
|
179
|
-
router.beforeEach((to, from) => {
|
|
180
|
-
const auth = useAuthStore();
|
|
181
|
-
if (to.meta.requiresAuth && !auth.isAuthenticated) {
|
|
182
|
-
return { name: 'login', query: { redirect: to.fullPath } };
|
|
183
|
-
}
|
|
184
|
-
});
|
|
185
|
-
|
|
186
|
-
export default router;
|
|
187
|
-
```
|
|
@@ -1,256 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: weatherkit
|
|
3
|
-
description: "WeatherKit on iOS: current, hourly, daily and minute forecasts, alerts, historical statistics, dataset selection, caching. Use when integrating weather data, showing forecasts, handling severe alerts or displaying the required Apple Weather attribution and legal link."
|
|
4
|
-
metadata:
|
|
5
|
-
source: multi-agent-pipeline
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# WeatherKit
|
|
9
|
-
|
|
10
|
-
WeatherKit gives an app the same forecast data the system Weather app uses,
|
|
11
|
-
through one async service. The rules that matter most are legal and economic:
|
|
12
|
-
attribution is required wherever the data shows, and every dataset you request
|
|
13
|
-
counts against the app's quota. Code targets Swift 6.3 and iOS 26.
|
|
14
|
-
|
|
15
|
-
Dashboard, charts, historical statistics, condition mapping, caching and
|
|
16
|
-
location plumbing are in
|
|
17
|
-
[references/weatherkit-patterns.md](references/weatherkit-patterns.md).
|
|
18
|
-
|
|
19
|
-
## Setup
|
|
20
|
-
|
|
21
|
-
### Project configuration
|
|
22
|
-
|
|
23
|
-
1. In Xcode, add the **WeatherKit** capability. This writes the entitlement.
|
|
24
|
-
2. In the developer portal, enable WeatherKit for the same App ID (both the
|
|
25
|
-
capability and the service checkbox are needed).
|
|
26
|
-
3. The account must be a paid, currently active developer program membership.
|
|
27
|
-
4. If the app sends the device's own position, add
|
|
28
|
-
`NSLocationWhenInUseUsageDescription` and get location permission first.
|
|
29
|
-
|
|
30
|
-
### Imports and the service
|
|
31
|
-
|
|
32
|
-
```swift
|
|
33
|
-
import WeatherKit
|
|
34
|
-
import CoreLocation
|
|
35
|
-
|
|
36
|
-
let forecaster = WeatherService.shared // or WeatherService()
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
`WeatherService` is `Sendable`, so one instance can be used from any task or
|
|
40
|
-
actor.
|
|
41
|
-
|
|
42
|
-
## Fetching current weather
|
|
43
|
-
|
|
44
|
-
The plain call returns every dataset in a `Weather` value:
|
|
45
|
-
|
|
46
|
-
```swift
|
|
47
|
-
let site = CLLocation(latitude: 38.42, longitude: 27.14)
|
|
48
|
-
let report = try await forecaster.weather(for: site)
|
|
49
|
-
let now = report.currentWeather
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
`CurrentWeather` fields you will use most:
|
|
53
|
-
|
|
54
|
-
| Property | Type | Note |
|
|
55
|
-
| --- | --- | --- |
|
|
56
|
-
| `temperature` | `Measurement<UnitTemperature>` | Format with `.formatted()` |
|
|
57
|
-
| `condition` | `WeatherCondition` | Enum with a readable `description` |
|
|
58
|
-
| `symbolName` | `String` | An SF Symbol name |
|
|
59
|
-
| `humidity` | `Double` | Fraction from 0 to 1 |
|
|
60
|
-
| `wind` | `Wind` | `speed`, `direction`, `gust` |
|
|
61
|
-
| `uvIndex` | `UVIndex` | `value` and `category` |
|
|
62
|
-
|
|
63
|
-
```swift
|
|
64
|
-
headline = "\(now.temperature.formatted()), \(now.condition.description)"
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
## Forecasts
|
|
68
|
-
|
|
69
|
-
### Hourly
|
|
70
|
-
|
|
71
|
-
Apple's documentation describes the default hourly forecast as 25 consecutive
|
|
72
|
-
hours starting with the current hour; read the count from the result rather
|
|
73
|
-
than hard-coding it. `hourlyForecast` is a `Forecast<HourWeather>`:
|
|
74
|
-
|
|
75
|
-
```swift
|
|
76
|
-
let timeline = report.hourlyForecast.map { slot in
|
|
77
|
-
(slot.date.formatted(.dateTime.hour()), slot.temperature.formatted(), slot.condition.description)
|
|
78
|
-
}
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
### Daily
|
|
82
|
-
|
|
83
|
-
Apple's documentation describes the default daily forecast as 10 consecutive
|
|
84
|
-
days starting today; again, read the count from the result.
|
|
85
|
-
`dailyForecast` is a `Forecast<DayWeather>`:
|
|
86
|
-
|
|
87
|
-
```swift
|
|
88
|
-
for day in report.dailyForecast {
|
|
89
|
-
let range = "\(day.lowTemperature.formatted()) to \(day.highTemperature.formatted())"
|
|
90
|
-
let rain = day.precipitationChance.formatted(.percent)
|
|
91
|
-
rows.append("\(day.condition.description), \(range), rain \(rain)")
|
|
92
|
-
}
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
### A custom range
|
|
96
|
-
|
|
97
|
-
```swift
|
|
98
|
-
func nextWeek(at site: CLLocation) async throws -> Forecast<DayWeather>? {
|
|
99
|
-
let weekStart = Date.now
|
|
100
|
-
guard let weekEnd = Calendar.current.date(byAdding: DateComponents(day: 7), to: weekStart) else { return nil }
|
|
101
|
-
let service = WeatherService.shared
|
|
102
|
-
return try await service.weather(
|
|
103
|
-
for: site,
|
|
104
|
-
including: .daily(startDate: weekStart, endDate: weekEnd)
|
|
105
|
-
)
|
|
106
|
-
}
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
`.hourly(startDate:endDate:)` works the same way for hours.
|
|
110
|
-
|
|
111
|
-
## Weather alerts
|
|
112
|
-
|
|
113
|
-
`weatherAlerts` is `[WeatherAlert]?`; it is `nil` where alerts are not
|
|
114
|
-
provided.
|
|
115
|
-
|
|
116
|
-
```swift
|
|
117
|
-
if let alerts = report.weatherAlerts {
|
|
118
|
-
for alert in alerts {
|
|
119
|
-
// alert.summary: String, alert.severity: WeatherSeverity,
|
|
120
|
-
// alert.region: String?, alert.detailsURL: URL, alert.source: String
|
|
121
|
-
banners.append(alert.summary)
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
`detailsURL` is not optional; link to it so users can read the full notice
|
|
127
|
-
from the issuing agency.
|
|
128
|
-
|
|
129
|
-
## Selective queries
|
|
130
|
-
|
|
131
|
-
Ask only for what the screen shows. Each `WeatherQuery` maps to one dataset,
|
|
132
|
-
and each dataset is a request against the quota and more bytes over the wire.
|
|
133
|
-
|
|
134
|
-
```swift
|
|
135
|
-
// One dataset: the return type is the dataset itself.
|
|
136
|
-
let nowOnly: CurrentWeather = try await forecaster.weather(for: site, including: .current)
|
|
137
|
-
|
|
138
|
-
// Several datasets: the results come back as a tuple, in the order requested.
|
|
139
|
-
let (now, hours, days) = try await forecaster.weather(for: site, including: .current, .hourly, .daily)
|
|
140
|
-
|
|
141
|
-
// Next-hour precipitation, minute by minute. Only some regions have it.
|
|
142
|
-
if let nextHour = try await forecaster.weather(for: site, including: .minute) {
|
|
143
|
-
rainStartsSoon = nextHour.contains { $0.precipitationChance > 0.5 }
|
|
144
|
-
}
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
| Query | Result type | Notes |
|
|
148
|
-
| --- | --- | --- |
|
|
149
|
-
| `.current` | `CurrentWeather` | |
|
|
150
|
-
| `.hourly` | `Forecast<HourWeather>` | Default span per Apple's docs: 25 hours from now |
|
|
151
|
-
| `.daily` | `Forecast<DayWeather>` | Default span per Apple's docs: 10 days from today |
|
|
152
|
-
| `.minute` | `Forecast<MinuteWeather>?` | `nil` where unsupported |
|
|
153
|
-
| `.alerts` | `[WeatherAlert]?` | `nil` where unsupported |
|
|
154
|
-
| `.availability` | `WeatherAvailability` | Which region-limited datasets exist here |
|
|
155
|
-
|
|
156
|
-
## Attribution
|
|
157
|
-
|
|
158
|
-
Showing Apple Weather attribution is a legal requirement of using WeatherKit,
|
|
159
|
-
not a design choice. Fetch it from the service:
|
|
160
|
-
|
|
161
|
-
```swift
|
|
162
|
-
let credit = try await forecaster.attribution
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
Pick the mark that matches the color scheme and link to the legal page:
|
|
166
|
-
|
|
167
|
-
```swift
|
|
168
|
-
struct WeatherCredit: View {
|
|
169
|
-
let credit: WeatherAttribution
|
|
170
|
-
@Environment(\.colorScheme) private var scheme
|
|
171
|
-
|
|
172
|
-
var body: some View {
|
|
173
|
-
VStack(spacing: 6) {
|
|
174
|
-
AsyncImage(url: scheme == .dark ? credit.combinedMarkDarkURL : credit.combinedMarkLightURL) { mark in
|
|
175
|
-
mark.resizable().scaledToFit()
|
|
176
|
-
} placeholder: {
|
|
177
|
-
Text(credit.serviceName).font(.caption2)
|
|
178
|
-
}
|
|
179
|
-
.frame(height: 14)
|
|
180
|
-
|
|
181
|
-
Link("Other data sources", destination: credit.legalPageURL)
|
|
182
|
-
.font(.caption2)
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
```
|
|
187
|
-
|
|
188
|
-
`WeatherAttribution` provides:
|
|
189
|
-
|
|
190
|
-
| Property | Use |
|
|
191
|
-
| --- | --- |
|
|
192
|
-
| `combinedMarkLightURL` | Mark for light backgrounds |
|
|
193
|
-
| `combinedMarkDarkURL` | Mark for dark backgrounds |
|
|
194
|
-
| `squareMarkURL` | Compact square mark |
|
|
195
|
-
| `legalPageURL` | Page listing data sources; link to it |
|
|
196
|
-
| `legalAttributionText` | Plain-text alternative when showing a web page is not practical |
|
|
197
|
-
| `serviceName` | The provider name, "Apple Weather" |
|
|
198
|
-
|
|
199
|
-
## Availability
|
|
200
|
-
|
|
201
|
-
Minute forecasts and alerts are not offered in every country. Ask before
|
|
202
|
-
building UI around them:
|
|
203
|
-
|
|
204
|
-
```swift
|
|
205
|
-
let coverage = try await forecaster.weather(for: site, including: .availability)
|
|
206
|
-
let offersAlerts = coverage.alertAvailability == .available
|
|
207
|
-
let offersNextHour = coverage.minuteAvailability == .available
|
|
208
|
-
```
|
|
209
|
-
|
|
210
|
-
Each is a `WeatherAvailability.AvailabilityKind`: `.available`,
|
|
211
|
-
`.temporarilyUnavailable`, `.unsupported` or `.unknown`.
|
|
212
|
-
|
|
213
|
-
## Common mistakes
|
|
214
|
-
|
|
215
|
-
1. **No attribution.** Leaving it out breaks the WeatherKit terms and is a
|
|
216
|
-
reason for App Review to reject the app.
|
|
217
|
-
2. **Fetching everything to show one number.** `weather(for:)` returns every
|
|
218
|
-
dataset and each one counts against the quota. Use
|
|
219
|
-
`weather(for:including: .current)` when only current conditions appear.
|
|
220
|
-
3. **Force-unwrapping the minute forecast.** It is `nil` in unsupported
|
|
221
|
-
regions and the app crashes there. Use `if let`.
|
|
222
|
-
4. **Missing capability.** Without the capability and the portal switch,
|
|
223
|
-
`WeatherService` calls throw at runtime.
|
|
224
|
-
5. **Refetching on every appearance.** Weather does not change second to
|
|
225
|
-
second. Cache results with a staleness window, for example an actor that
|
|
226
|
-
keeps entries for 600 seconds (see the reference file).
|
|
227
|
-
|
|
228
|
-
## Review checklist
|
|
229
|
-
|
|
230
|
-
- [ ] WeatherKit capability added in Xcode and enabled in the portal
|
|
231
|
-
- [ ] Active developer program membership
|
|
232
|
-
- [ ] Attribution visible wherever weather data appears
|
|
233
|
-
- [ ] Attribution mark follows light and dark mode
|
|
234
|
-
- [ ] Legal page linked, or `legalAttributionText` shown
|
|
235
|
-
- [ ] Only the datasets the screen needs are requested
|
|
236
|
-
- [ ] Minute forecast treated as optional
|
|
237
|
-
- [ ] Alerts nil-checked
|
|
238
|
-
- [ ] Responses cached for 5 to 15 minutes
|
|
239
|
-
- [ ] `WeatherAvailability` checked before region-limited datasets
|
|
240
|
-
- [ ] Location permission granted before a device `CLLocation` is passed in
|
|
241
|
-
- [ ] Measurements displayed with `formatted()` so units follow the locale
|
|
242
|
-
|
|
243
|
-
## References
|
|
244
|
-
|
|
245
|
-
- [references/weatherkit-patterns.md](references/weatherkit-patterns.md)
|
|
246
|
-
- [WeatherKit](https://developer.apple.com/documentation/weatherkit)
|
|
247
|
-
- [WeatherService](https://developer.apple.com/documentation/weatherkit/weatherservice)
|
|
248
|
-
- [WeatherAttribution](https://developer.apple.com/documentation/weatherkit/weatherattribution)
|
|
249
|
-
- [WeatherQuery](https://developer.apple.com/documentation/weatherkit/weatherquery)
|
|
250
|
-
- [CurrentWeather](https://developer.apple.com/documentation/weatherkit/currentweather)
|
|
251
|
-
- [Forecast](https://developer.apple.com/documentation/weatherkit/forecast)
|
|
252
|
-
- [HourWeather](https://developer.apple.com/documentation/weatherkit/hourweather)
|
|
253
|
-
- [DayWeather](https://developer.apple.com/documentation/weatherkit/dayweather)
|
|
254
|
-
- [WeatherAlert](https://developer.apple.com/documentation/weatherkit/weatheralert)
|
|
255
|
-
- [WeatherAvailability](https://developer.apple.com/documentation/weatherkit/weatheravailability)
|
|
256
|
-
- [Fetching weather forecasts with WeatherKit](https://developer.apple.com/documentation/weatherkit/fetching_weather_forecasts_with_weatherkit)
|