@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,245 +0,0 @@
|
|
|
1
|
-
# FastAPI app structure
|
|
2
|
-
|
|
3
|
-
<!-- toc -->
|
|
4
|
-
- [Contents](#contents)
|
|
5
|
-
- [Settings](#settings)
|
|
6
|
-
- [App factory and lifespan](#app-factory-and-lifespan)
|
|
7
|
-
- [Database session per request](#database-session-per-request)
|
|
8
|
-
- [Schemas: separate in from out](#schemas-separate-in-from-out)
|
|
9
|
-
- [Dependencies](#dependencies)
|
|
10
|
-
- [Errors](#errors)
|
|
11
|
-
<!-- /toc -->
|
|
12
|
-
|
|
13
|
-
Worked code for the settings, app factory, per-request session, schemas, dependencies and error handlers summarised in SKILL.md.
|
|
14
|
-
|
|
15
|
-
## Contents
|
|
16
|
-
|
|
17
|
-
- Settings
|
|
18
|
-
- App factory and lifespan
|
|
19
|
-
- Database session per request
|
|
20
|
-
- Schemas: separate in from out
|
|
21
|
-
- Dependencies
|
|
22
|
-
- Errors
|
|
23
|
-
|
|
24
|
-
## Settings
|
|
25
|
-
|
|
26
|
-
```python
|
|
27
|
-
# app/settings.py
|
|
28
|
-
from functools import lru_cache
|
|
29
|
-
from pydantic import PostgresDsn, SecretStr
|
|
30
|
-
from pydantic_settings import BaseSettings, SettingsConfigDict
|
|
31
|
-
|
|
32
|
-
class Settings(BaseSettings):
|
|
33
|
-
model_config = SettingsConfigDict(env_file=".env", env_prefix="APP_", extra="ignore")
|
|
34
|
-
|
|
35
|
-
environment: str = "development"
|
|
36
|
-
database_url: PostgresDsn
|
|
37
|
-
jwt_audience: str = "notes-api"
|
|
38
|
-
signing_key: SecretStr
|
|
39
|
-
db_pool_size: int = 10
|
|
40
|
-
|
|
41
|
-
@lru_cache
|
|
42
|
-
def get_settings() -> Settings:
|
|
43
|
-
return Settings()
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
`SecretStr` keeps secrets out of `repr` and logs. Because `get_settings` is a
|
|
47
|
-
dependency, tests override it instead of patching environment variables.
|
|
48
|
-
|
|
49
|
-
## App factory and lifespan
|
|
50
|
-
|
|
51
|
-
Create shared resources once per process in the lifespan and close them on
|
|
52
|
-
shutdown. Module-level engines and clients make tests and workers awkward.
|
|
53
|
-
|
|
54
|
-
```python
|
|
55
|
-
# app/main.py
|
|
56
|
-
from contextlib import asynccontextmanager
|
|
57
|
-
import httpx
|
|
58
|
-
from fastapi import FastAPI
|
|
59
|
-
from sqlalchemy.ext.asyncio import async_sessionmaker, create_async_engine
|
|
60
|
-
|
|
61
|
-
from app.settings import get_settings
|
|
62
|
-
from app.errors import register_error_handlers
|
|
63
|
-
from app.notes.router import router as notes_router
|
|
64
|
-
|
|
65
|
-
@asynccontextmanager
|
|
66
|
-
async def lifespan(app: FastAPI):
|
|
67
|
-
settings = get_settings()
|
|
68
|
-
engine = create_async_engine(
|
|
69
|
-
str(settings.database_url), pool_size=settings.db_pool_size, pool_pre_ping=True
|
|
70
|
-
)
|
|
71
|
-
app.state.sessionmaker = async_sessionmaker(engine, expire_on_commit=False)
|
|
72
|
-
app.state.http = httpx.AsyncClient(timeout=httpx.Timeout(5.0))
|
|
73
|
-
try:
|
|
74
|
-
yield
|
|
75
|
-
finally:
|
|
76
|
-
await app.state.http.aclose()
|
|
77
|
-
await engine.dispose()
|
|
78
|
-
|
|
79
|
-
def create_app() -> FastAPI:
|
|
80
|
-
app = FastAPI(title="Notes API", lifespan=lifespan)
|
|
81
|
-
register_error_handlers(app)
|
|
82
|
-
app.include_router(notes_router, prefix="/notes", tags=["notes"])
|
|
83
|
-
return app
|
|
84
|
-
|
|
85
|
-
app = create_app()
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
The old `@app.on_event("startup")` hooks are deprecated; use `lifespan`.
|
|
89
|
-
|
|
90
|
-
## Database session per request
|
|
91
|
-
|
|
92
|
-
```python
|
|
93
|
-
# app/db.py
|
|
94
|
-
from collections.abc import AsyncIterator
|
|
95
|
-
from typing import Annotated
|
|
96
|
-
from fastapi import Depends, Request
|
|
97
|
-
from sqlalchemy.ext.asyncio import AsyncSession
|
|
98
|
-
|
|
99
|
-
async def get_session(request: Request) -> AsyncIterator[AsyncSession]:
|
|
100
|
-
async with request.app.state.sessionmaker() as session:
|
|
101
|
-
async with session.begin():
|
|
102
|
-
yield session
|
|
103
|
-
|
|
104
|
-
SessionDep = Annotated[AsyncSession, Depends(get_session)]
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
- `session.begin()` commits when the request succeeds and rolls back when any
|
|
108
|
-
exception escapes, so handlers never call `commit()` themselves.
|
|
109
|
-
- `expire_on_commit=False` lets you return ORM objects after commit without
|
|
110
|
-
triggering lazy loads, which fail in async code.
|
|
111
|
-
- Lazy loading of relationships raises in async; load what you need explicitly
|
|
112
|
-
with `selectinload` or `joinedload`, or declare `lazy="raise"` to catch it in
|
|
113
|
-
tests.
|
|
114
|
-
|
|
115
|
-
Models with SQLAlchemy 2.0 typing:
|
|
116
|
-
|
|
117
|
-
```python
|
|
118
|
-
# app/notes/models.py
|
|
119
|
-
from datetime import datetime
|
|
120
|
-
from sqlalchemy import ForeignKey, String, func
|
|
121
|
-
from sqlalchemy.orm import DeclarativeBase, Mapped, mapped_column
|
|
122
|
-
|
|
123
|
-
class Base(DeclarativeBase):
|
|
124
|
-
pass
|
|
125
|
-
|
|
126
|
-
class Note(Base):
|
|
127
|
-
__tablename__ = "notes"
|
|
128
|
-
id: Mapped[int] = mapped_column(primary_key=True)
|
|
129
|
-
owner_id: Mapped[int] = mapped_column(ForeignKey("users.id"), index=True)
|
|
130
|
-
title: Mapped[str] = mapped_column(String(200))
|
|
131
|
-
body: Mapped[str]
|
|
132
|
-
created_at: Mapped[datetime] = mapped_column(server_default=func.now())
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
Migrations: Alembic with the async template (`alembic init -t async`), run as a
|
|
136
|
-
deploy step, never from the app's lifespan.
|
|
137
|
-
|
|
138
|
-
## Schemas: separate in from out
|
|
139
|
-
|
|
140
|
-
```python
|
|
141
|
-
# app/notes/schemas.py
|
|
142
|
-
from datetime import datetime
|
|
143
|
-
from pydantic import BaseModel, ConfigDict, Field
|
|
144
|
-
|
|
145
|
-
class NoteCreate(BaseModel):
|
|
146
|
-
model_config = ConfigDict(extra="forbid", str_strip_whitespace=True)
|
|
147
|
-
title: str = Field(min_length=1, max_length=200)
|
|
148
|
-
body: str = Field(max_length=20_000)
|
|
149
|
-
|
|
150
|
-
class NoteUpdate(BaseModel):
|
|
151
|
-
model_config = ConfigDict(extra="forbid")
|
|
152
|
-
title: str | None = Field(default=None, min_length=1, max_length=200)
|
|
153
|
-
body: str | None = Field(default=None, max_length=20_000)
|
|
154
|
-
|
|
155
|
-
class NoteRead(BaseModel):
|
|
156
|
-
model_config = ConfigDict(from_attributes=True)
|
|
157
|
-
id: int
|
|
158
|
-
title: str
|
|
159
|
-
body: str
|
|
160
|
-
created_at: datetime
|
|
161
|
-
```
|
|
162
|
-
|
|
163
|
-
- Input models forbid unknown fields and never include `id` or `owner_id`.
|
|
164
|
-
- Output models are what the client may see; set `response_model` (or the return
|
|
165
|
-
annotation) so FastAPI filters the ORM object through it.
|
|
166
|
-
- For PATCH, apply only fields the client sent: `data.model_dump(exclude_unset=True)`.
|
|
167
|
-
|
|
168
|
-
## Dependencies
|
|
169
|
-
|
|
170
|
-
Dependencies are FastAPI's composition tool: authentication, sessions, settings,
|
|
171
|
-
pagination, feature flags.
|
|
172
|
-
|
|
173
|
-
```python
|
|
174
|
-
# app/notes/router.py
|
|
175
|
-
from typing import Annotated
|
|
176
|
-
from fastapi import APIRouter, Depends, Query, status
|
|
177
|
-
|
|
178
|
-
from app.db import SessionDep
|
|
179
|
-
from app.auth import CurrentUser
|
|
180
|
-
from app.notes import service
|
|
181
|
-
from app.notes.schemas import NoteCreate, NoteRead
|
|
182
|
-
|
|
183
|
-
router = APIRouter()
|
|
184
|
-
|
|
185
|
-
class Page:
|
|
186
|
-
def __init__(self, limit: Annotated[int, Query(ge=1, le=100)] = 20, after: int | None = None):
|
|
187
|
-
self.limit, self.after = limit, after
|
|
188
|
-
|
|
189
|
-
@router.get("", response_model=list[NoteRead])
|
|
190
|
-
async def list_notes(user: CurrentUser, session: SessionDep, page: Annotated[Page, Depends()]):
|
|
191
|
-
return await service.list_for_owner(session, user.id, page.limit, page.after)
|
|
192
|
-
|
|
193
|
-
@router.post("", response_model=NoteRead, status_code=status.HTTP_201_CREATED)
|
|
194
|
-
async def create_note(data: NoteCreate, user: CurrentUser, session: SessionDep):
|
|
195
|
-
return await service.create(session, owner_id=user.id, data=data)
|
|
196
|
-
```
|
|
197
|
-
|
|
198
|
-
- Declare reusable aliases with `Annotated[..., Depends(...)]` (`SessionDep`,
|
|
199
|
-
`CurrentUser`) instead of repeating `Depends` in every signature.
|
|
200
|
-
- Dependencies are cached per request: two dependencies that both need the
|
|
201
|
-
session get the same one.
|
|
202
|
-
- Dependencies with `yield` run their cleanup after the response is produced; use
|
|
203
|
-
them for anything that must be released.
|
|
204
|
-
- Router-level `dependencies=[Depends(require_scope("notes:write"))]` applies
|
|
205
|
-
authorization to a whole group of routes.
|
|
206
|
-
|
|
207
|
-
Scope every query by the current user (`WHERE owner_id = :user_id`); see
|
|
208
|
-
`api-security-best-practices` for object-level authorization.
|
|
209
|
-
|
|
210
|
-
## Errors
|
|
211
|
-
|
|
212
|
-
Raise domain exceptions from services and translate them once.
|
|
213
|
-
|
|
214
|
-
```python
|
|
215
|
-
# app/errors.py
|
|
216
|
-
from fastapi import FastAPI, Request
|
|
217
|
-
from fastapi.exceptions import RequestValidationError
|
|
218
|
-
from fastapi.responses import JSONResponse
|
|
219
|
-
|
|
220
|
-
class DomainError(Exception):
|
|
221
|
-
status = 400
|
|
222
|
-
code = "bad-request"
|
|
223
|
-
def __init__(self, detail: str):
|
|
224
|
-
self.detail = detail
|
|
225
|
-
|
|
226
|
-
class NotFound(DomainError):
|
|
227
|
-
status, code = 404, "not-found"
|
|
228
|
-
|
|
229
|
-
def _problem(status: int, code: str, title: str, request: Request, **extra) -> JSONResponse:
|
|
230
|
-
body = {"type": f"https://api.example.com/problems/{code}", "title": title,
|
|
231
|
-
"status": status, "instance": str(request.url.path), **extra}
|
|
232
|
-
return JSONResponse(body, status_code=status, media_type="application/problem+json")
|
|
233
|
-
|
|
234
|
-
def register_error_handlers(app: FastAPI) -> None:
|
|
235
|
-
@app.exception_handler(DomainError)
|
|
236
|
-
async def domain(request: Request, exc: DomainError):
|
|
237
|
-
return _problem(exc.status, exc.code, exc.detail, request)
|
|
238
|
-
|
|
239
|
-
@app.exception_handler(RequestValidationError)
|
|
240
|
-
async def validation(request: Request, exc: RequestValidationError):
|
|
241
|
-
errors = [{"loc": e["loc"], "detail": e["msg"]} for e in exc.errors()]
|
|
242
|
-
return _problem(422, "validation", "Request is invalid", request, errors=errors)
|
|
243
|
-
```
|
|
244
|
-
|
|
245
|
-
Services then stay free of HTTP: `raise NotFound("note not found")`.
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
# Testing, Deployment and Streaming
|
|
2
|
-
|
|
3
|
-
Companion to the FastAPI skill: testing an app built with `create_app()` and a lifespan, and running it in production.
|
|
4
|
-
|
|
5
|
-
## Testing
|
|
6
|
-
|
|
7
|
-
```python
|
|
8
|
-
# tests/conftest.py
|
|
9
|
-
import pytest
|
|
10
|
-
from asgi_lifespan import LifespanManager
|
|
11
|
-
from httpx import ASGITransport, AsyncClient
|
|
12
|
-
|
|
13
|
-
from app.main import create_app
|
|
14
|
-
from app.auth import get_current_user
|
|
15
|
-
|
|
16
|
-
@pytest.fixture
|
|
17
|
-
async def client(test_user):
|
|
18
|
-
app = create_app()
|
|
19
|
-
app.dependency_overrides[get_current_user] = lambda: test_user
|
|
20
|
-
async with LifespanManager(app):
|
|
21
|
-
transport = ASGITransport(app=app)
|
|
22
|
-
async with AsyncClient(transport=transport, base_url="http://test") as c:
|
|
23
|
-
yield c
|
|
24
|
-
app.dependency_overrides.clear()
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
```python
|
|
28
|
-
# tests/test_notes.py
|
|
29
|
-
async def test_create_rejects_unknown_fields(client):
|
|
30
|
-
res = await client.post("/notes", json={"title": "a", "body": "b", "owner_id": 9})
|
|
31
|
-
assert res.status_code == 422
|
|
32
|
-
|
|
33
|
-
async def test_create_then_read(client):
|
|
34
|
-
created = await client.post("/notes", json={"title": "Shopping", "body": "milk"})
|
|
35
|
-
assert created.status_code == 201
|
|
36
|
-
note_id = created.json()["id"]
|
|
37
|
-
fetched = await client.get(f"/notes/{note_id}")
|
|
38
|
-
assert fetched.json()["title"] == "Shopping"
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
- `ASGITransport` does not run the lifespan; wrap the app in
|
|
42
|
-
`asgi_lifespan.LifespanManager` (or use the sync `TestClient` as a context
|
|
43
|
-
manager) so resources exist.
|
|
44
|
-
- Run async tests with `pytest-asyncio` (`asyncio_mode = "auto"`) or AnyIO's
|
|
45
|
-
pytest plugin.
|
|
46
|
-
- Override dependencies (`get_settings`, `get_current_user`, `get_session`)
|
|
47
|
-
rather than monkeypatching modules.
|
|
48
|
-
- For database tests, run Postgres in Testcontainers and wrap each test in a
|
|
49
|
-
transaction that is rolled back, or truncate between tests.
|
|
50
|
-
|
|
51
|
-
## Running in production
|
|
52
|
-
|
|
53
|
-
- `fastapi run` (Uvicorn under the hood) or Uvicorn directly behind a reverse
|
|
54
|
-
proxy; one process per container and scale horizontally, or use
|
|
55
|
-
`--workers` on a single VM.
|
|
56
|
-
- Set `--proxy-headers` and `--forwarded-allow-ips` to your load balancer so
|
|
57
|
-
client IPs and schemes are correct.
|
|
58
|
-
- Disable or protect `/docs` and `/openapi.json` on internal-only APIs if
|
|
59
|
-
exposure is a concern.
|
|
60
|
-
- Instrument with OpenTelemetry (`opentelemetry-instrumentation-fastapi`,
|
|
61
|
-
`-sqlalchemy`, `-httpx`) and emit structured JSON logs.
|
|
62
|
-
|
|
63
|
-
## Streaming and WebSockets
|
|
64
|
-
|
|
65
|
-
- `StreamingResponse` with an async generator for large exports; server-sent
|
|
66
|
-
events for one-way live updates.
|
|
67
|
-
- WebSockets: authenticate during the handshake (token in a query parameter or
|
|
68
|
-
subprotocol, since browsers cannot set headers), handle `WebSocketDisconnect`,
|
|
69
|
-
and use a broker (Redis pub/sub) when more than one process must broadcast.
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: firebase-integration
|
|
3
|
-
description: "Firebase build and review guidance: security rules, Auth and claims, Firestore modelling and read costs, Functions, Storage and the traps behind leaks and runaway bills. Use when integrating Firebase or reviewing its rules, data model, cost or security."
|
|
4
|
-
metadata:
|
|
5
|
-
risk: unknown
|
|
6
|
-
source: multi-agent-pipeline
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
# Firebase
|
|
10
|
-
|
|
11
|
-
Firebase gets an app running quickly, and the same defaults that make it quick
|
|
12
|
-
are the ones that cause the expensive failures later. Three failures repeat
|
|
13
|
-
across projects:
|
|
14
|
-
|
|
15
|
-
- **Rules left open.** A database without real security rules is readable and
|
|
16
|
-
writable by anyone holding the public config, which ships inside every
|
|
17
|
-
client. Projects that postponed rules have been breached.
|
|
18
|
-
- **Firestore modelled like SQL.** Normalised tables plus joins do not exist
|
|
19
|
-
here. A model built that way ends up unable to answer the queries the
|
|
20
|
-
screens need.
|
|
21
|
-
- **Listeners on large collections.** A realtime listener bills a read for
|
|
22
|
-
every document it delivers. Attaching one to a big, unfiltered collection
|
|
23
|
-
has produced bills in the ten-thousand-dollar range.
|
|
24
|
-
|
|
25
|
-
Firebase is a strong choice when it is used on its own terms. The rest of this
|
|
26
|
-
skill describes those terms.
|
|
27
|
-
|
|
28
|
-
## Scope
|
|
29
|
-
|
|
30
|
-
Products covered: Firebase Auth, Cloud Firestore, Realtime Database, Cloud
|
|
31
|
-
Functions, Cloud Storage, Hosting, Security Rules, the Admin SDK and the
|
|
32
|
-
Emulator Suite.
|
|
33
|
-
|
|
34
|
-
## Rules of thumb
|
|
35
|
-
|
|
36
|
-
1. Write security rules on day one, before the first real document.
|
|
37
|
-
2. Design Firestore collections from the list of queries, not from an entity
|
|
38
|
-
diagram.
|
|
39
|
-
3. Every listener and every `get` on a collection has a `limit` and a filter.
|
|
40
|
-
4. Privileged work (role changes, payments, cross-user writes) runs on the
|
|
41
|
-
server through the Admin SDK, never in the client.
|
|
42
|
-
5. Import the modular SDK per product so bundles stay small.
|
|
43
|
-
6. Develop and test against the Emulator Suite, rules included.
|
|
44
|
-
|
|
45
|
-
## Security rules
|
|
46
|
-
|
|
47
|
-
The client config is public by design; rules are the only barrier between it
|
|
48
|
-
and the data. Start from deny-all and open each path deliberately. Tie access
|
|
49
|
-
to ownership, membership or custom claims (signed-in alone is not enough),
|
|
50
|
-
validate every write including which keys may change, remember that rules are
|
|
51
|
-
not filters, and keep `get()` calls in rules rare because each one is a billed
|
|
52
|
-
read. A worked rules file and the full review list are in
|
|
53
|
-
[references/security-rules.md](references/security-rules.md).
|
|
54
|
-
|
|
55
|
-
## Auth
|
|
56
|
-
|
|
57
|
-
- Use the hosted providers (email link, Apple, Google and others) rather than
|
|
58
|
-
hand-rolled password storage. Apps offering third-party login on iOS also
|
|
59
|
-
need Sign in with Apple.
|
|
60
|
-
- Store roles as custom claims set from the Admin SDK, then read them in rules
|
|
61
|
-
as `request.auth.token.role`. Claims reach the client only after the ID
|
|
62
|
-
token refreshes, so force a refresh (`getIdToken(true)`) after changing
|
|
63
|
-
them.
|
|
64
|
-
- Never accept a uid or role from the request body on the server. Verify the
|
|
65
|
-
ID token with the Admin SDK and use the uid inside it.
|
|
66
|
-
- Enable App Check to stop scripted clients that reuse the public config.
|
|
67
|
-
- Account deletion has to remove the user's Firestore and Storage data as
|
|
68
|
-
well; an Auth trigger or a callable function does the cleanup.
|
|
69
|
-
|
|
70
|
-
## Firestore data modelling
|
|
71
|
-
|
|
72
|
-
Start from the screens. Write down every query the app runs, then shape
|
|
73
|
-
documents so each query is a single indexed read.
|
|
74
|
-
|
|
75
|
-
- **Denormalise on purpose.** Copy the few fields a list needs (author name,
|
|
76
|
-
avatar URL) into the listed document instead of fetching each author. Keep
|
|
77
|
-
the copies in sync with a Function trigger.
|
|
78
|
-
- **Subcollections for unbounded children.** Messages, comments and events go
|
|
79
|
-
in subcollections, not in an array inside the parent. Arrays are for small,
|
|
80
|
-
bounded sets such as `memberIds` used in `array-contains` queries.
|
|
81
|
-
- **Mind the document limit.** A document caps at 1 MiB; a growing array or
|
|
82
|
-
map will hit it.
|
|
83
|
-
- **Hot documents.** One document sustains roughly one write per second. Use
|
|
84
|
-
distributed counters (sharded subdocuments) for likes, views and similar
|
|
85
|
-
tallies.
|
|
86
|
-
- **Indexes.** Compound queries need composite indexes declared in
|
|
87
|
-
`firestore.indexes.json` and deployed with the project, not created ad hoc
|
|
88
|
-
from console links.
|
|
89
|
-
- **Sequential IDs hurt.** Monotonic document IDs or timestamp-only indexed
|
|
90
|
-
fields create write hotspots; auto-IDs avoid them.
|
|
91
|
-
- **Pagination.** Use cursors (`startAfter` on the last snapshot) with
|
|
92
|
-
`limit`. Offsets still bill every skipped document.
|
|
93
|
-
|
|
94
|
-
## Cost traps
|
|
95
|
-
|
|
96
|
-
Firestore bills per document read, write and delete, and network egress on
|
|
97
|
-
top. The usual surprises:
|
|
98
|
-
|
|
99
|
-
| Trap | Why it costs | Fix |
|
|
100
|
-
| --- | --- | --- |
|
|
101
|
-
| Listener on a whole collection | Initial load reads every document; each change is another read per listener | Filter plus `limit`, listen to the narrow slice the screen shows |
|
|
102
|
-
| Listener re-attached on every render | Each attach re-reads the full result set | Attach once, detach on unmount or disappear |
|
|
103
|
-
| Counting by fetching | Reading N documents to show a number | `count()` aggregation or a maintained counter |
|
|
104
|
-
| `get()` calls in rules | Every evaluation is a billed read | Put the needed facts into custom claims or the document itself |
|
|
105
|
-
| Function that writes to the collection it triggers on | Infinite trigger loop | Guard on changed fields, or write elsewhere |
|
|
106
|
-
| Admin scripts scanning collections | Full-collection reads | Batch with cursors, run against the emulator first |
|
|
107
|
-
|
|
108
|
-
Set a budget alert in Google Cloud billing before launch. It does not cap
|
|
109
|
-
spend, it only warns, so watch usage after every release.
|
|
110
|
-
|
|
111
|
-
## Client-side admin work
|
|
112
|
-
|
|
113
|
-
Anything that must be trusted belongs on the server: granting roles, writing
|
|
114
|
-
to another user's data, payment state, quota enforcement, bulk deletes. Do it
|
|
115
|
-
in a callable function or an HTTPS endpoint that verifies the caller's ID
|
|
116
|
-
token and uses the Admin SDK. Never ship service-account credentials or the
|
|
117
|
-
Admin SDK in a client app.
|
|
118
|
-
|
|
119
|
-
## Functions, SDK imports and other products
|
|
120
|
-
|
|
121
|
-
Second-generation Functions settings, idempotent triggers, secrets, modular
|
|
122
|
-
SDK imports with a filtered listener example, and notes on Realtime Database,
|
|
123
|
-
Storage, Hosting and the Emulator Suite are in
|
|
124
|
-
[references/functions-and-products.md](references/functions-and-products.md).
|
|
125
|
-
|
|
126
|
-
## Review checklist
|
|
127
|
-
|
|
128
|
-
- [ ] Default-deny rules for Firestore and Storage, with write validation.
|
|
129
|
-
- [ ] Rules unit tests run in CI against the emulator.
|
|
130
|
-
- [ ] Every query and listener is filtered and limited; listeners detach.
|
|
131
|
-
- [ ] Data model shaped from the actual query list; composite indexes in source control.
|
|
132
|
-
- [ ] Roles in custom claims set server-side; App Check enabled.
|
|
133
|
-
- [ ] Privileged operations in Functions with token verification.
|
|
134
|
-
- [ ] Triggers idempotent and free of self-trigger loops.
|
|
135
|
-
- [ ] Billing budget alerts configured.
|
|
136
|
-
|
|
137
|
-
## Related skills
|
|
138
|
-
|
|
139
|
-
Pairs well with `nextjs-routing`, `react-patterns`, `authentication-oauth`
|
|
140
|
-
and `stripe` when those are installed.
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"skill_name": "firebase-integration",
|
|
3
|
-
"evals": [
|
|
4
|
-
{
|
|
5
|
-
"id": 0,
|
|
6
|
-
"prompt": "Review our Firestore rules before launch: `match /{document=**} { allow read, write: if request.auth != null; }`. Users each have a profile doc with a `role` field the admin panel checks.",
|
|
7
|
-
"expected_output": "Flags that any signed-in user can read and write everything, including setting their own role to admin; proposes default-deny rules with per-path ownership or membership checks, write validation with affectedKeys().hasOnly, and moving roles into custom claims set from the Admin SDK; recommends rules unit tests against the emulator.",
|
|
8
|
-
"files": [],
|
|
9
|
-
"expectations": [
|
|
10
|
-
"Explains that request.auth != null is authentication, not authorization",
|
|
11
|
-
"Points out a user could write role: admin on their own profile",
|
|
12
|
-
"Proposes default-deny rules scoped by ownership or membership",
|
|
13
|
-
"Recommends custom claims set server-side for roles",
|
|
14
|
-
"Recommends testing rules with the Emulator Suite"
|
|
15
|
-
]
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"id": 1,
|
|
19
|
-
"prompt": "Our Firebase bill jumped from $40 to $6,000 this month. The web app shows a dashboard with an onSnapshot listener on the `events` collection (about 2 million docs) and a badge that counts unread events by fetching them all. What happened and how do we fix it?",
|
|
20
|
-
"expected_output": "Explains per-document read billing, that an unfiltered listener reads every document on attach and re-reads on each change for every client, and that counting by fetching reads all documents; fixes with filtered and limited queries, attach-once and detach listeners, count() aggregation or a maintained counter, cursor pagination, and billing budget alerts.",
|
|
21
|
-
"files": [],
|
|
22
|
-
"expectations": [
|
|
23
|
-
"Identifies the unfiltered listener on a large collection as the main cost driver",
|
|
24
|
-
"Recommends adding filters and limit to the listener and detaching it when not shown",
|
|
25
|
-
"Replaces fetch-to-count with a count() aggregation or a maintained counter",
|
|
26
|
-
"Mentions setting up billing budget alerts and notes they warn rather than cap"
|
|
27
|
-
]
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"id": 2,
|
|
31
|
-
"prompt": "We are designing Firestore for a chat app. Plan: a `users` table, a `rooms` table, and each room document holds a `messages` array with every message. The client grants moderator status by writing to the user doc. Thoughts?",
|
|
32
|
-
"expected_output": "Recommends modelling from queries, moving messages into a subcollection because arrays grow unbounded toward the 1 MiB document limit, denormalising the sender fields lists need, using memberIds arrays with array-contains for room lists, cursor pagination, and moving moderator grants into a callable Cloud Function that verifies the ID token and sets a custom claim via the Admin SDK.",
|
|
33
|
-
"files": [],
|
|
34
|
-
"expectations": [
|
|
35
|
-
"Rejects the unbounded messages array and cites the 1 MiB document limit",
|
|
36
|
-
"Recommends a messages subcollection with cursor-based pagination",
|
|
37
|
-
"Suggests designing the model from the app's query list rather than SQL-style tables",
|
|
38
|
-
"Moves moderator role changes server-side using the Admin SDK and custom claims"
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
]
|
|
42
|
-
}
|
package/pipeline/skills/shared/external/firebase-integration/references/functions-and-products.md
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# Functions, SDK and Other Products
|
|
2
|
-
|
|
3
|
-
## Cloud Functions
|
|
4
|
-
|
|
5
|
-
- Prefer the second-generation functions API and set `region`, `memory` and
|
|
6
|
-
`timeoutSeconds` explicitly. Add `minInstances` only where cold starts
|
|
7
|
-
matter, because warm instances bill continuously.
|
|
8
|
-
- Background triggers can fire more than once. Make handlers idempotent, for
|
|
9
|
-
example by recording the event ID before acting.
|
|
10
|
-
- Keep heavy imports lazy and initialise the Admin SDK once at module scope.
|
|
11
|
-
- Read secrets through Secret Manager parameters, never from source.
|
|
12
|
-
- Callable functions get auth context automatically; HTTP functions must
|
|
13
|
-
verify the bearer token themselves.
|
|
14
|
-
|
|
15
|
-
## Modular SDK imports
|
|
16
|
-
|
|
17
|
-
Import per product and per function so bundlers can drop what the app never
|
|
18
|
-
uses:
|
|
19
|
-
|
|
20
|
-
```ts
|
|
21
|
-
import { initializeApp } from "firebase/app";
|
|
22
|
-
import { getFirestore, collection, query, where, orderBy, limit, onSnapshot } from "firebase/firestore";
|
|
23
|
-
|
|
24
|
-
const app = initializeApp(config);
|
|
25
|
-
const db = getFirestore(app);
|
|
26
|
-
|
|
27
|
-
const recentNotes = query(
|
|
28
|
-
collection(db, "workspaces", workspaceId, "notes"),
|
|
29
|
-
where("archived", "==", false),
|
|
30
|
-
orderBy("updatedAt", "desc"),
|
|
31
|
-
limit(25)
|
|
32
|
-
);
|
|
33
|
-
|
|
34
|
-
const stop = onSnapshot(recentNotes, (snap) => render(snap.docs));
|
|
35
|
-
// call stop() when the view goes away
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
Avoid the `compat` packages in new code; they pull in the whole namespaced
|
|
39
|
-
SDK.
|
|
40
|
-
|
|
41
|
-
## Other products
|
|
42
|
-
|
|
43
|
-
- **Realtime Database:** cheap for small, very frequent updates such as
|
|
44
|
-
presence, but rules and queries are weaker than Firestore's. Model it flat
|
|
45
|
-
and validate with `.validate` rules.
|
|
46
|
-
- **Storage:** keep files under user- or resource-scoped paths so rules can
|
|
47
|
-
match them, and store only the path or URL in Firestore.
|
|
48
|
-
- **Hosting:** use rewrites to route API paths to Functions, and preview
|
|
49
|
-
channels for review builds.
|
|
50
|
-
- **Emulator Suite:** run Auth, Firestore, Functions and Storage locally;
|
|
51
|
-
seed data with export and import so tests start from a known state.
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
# Firestore and Storage Security Rules
|
|
2
|
-
|
|
3
|
-
The client config is public by design; rules are the only thing standing
|
|
4
|
-
between it and the data. Default to deny and open paths one by one.
|
|
5
|
-
|
|
6
|
-
## Example
|
|
7
|
-
|
|
8
|
-
```
|
|
9
|
-
rules_version = '2';
|
|
10
|
-
service cloud.firestore {
|
|
11
|
-
match /databases/{db}/documents {
|
|
12
|
-
match /{document=**} {
|
|
13
|
-
allow read, write: if false;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
match /workspaces/{workspaceId} {
|
|
17
|
-
allow read: if isMember(workspaceId);
|
|
18
|
-
allow update: if isOwner(workspaceId)
|
|
19
|
-
&& request.resource.data.diff(resource.data).affectedKeys()
|
|
20
|
-
.hasOnly(['name', 'updatedAt']);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
match /workspaces/{workspaceId}/notes/{noteId} {
|
|
24
|
-
allow read: if isMember(workspaceId);
|
|
25
|
-
allow create: if isMember(workspaceId)
|
|
26
|
-
&& request.resource.data.authorId == request.auth.uid
|
|
27
|
-
&& request.resource.data.body is string
|
|
28
|
-
&& request.resource.data.body.size() <= 10000;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
function isMember(id) {
|
|
32
|
-
return request.auth != null
|
|
33
|
-
&& request.auth.uid in get(/databases/$(db)/documents/workspaces/$(id)).data.memberIds;
|
|
34
|
-
}
|
|
35
|
-
function isOwner(id) {
|
|
36
|
-
return request.auth != null
|
|
37
|
-
&& get(/databases/$(db)/documents/workspaces/$(id)).data.ownerId == request.auth.uid;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
## Review points
|
|
44
|
-
|
|
45
|
-
- No `allow read, write: if true` and no test-mode rule with an expiry date
|
|
46
|
-
left in production.
|
|
47
|
-
- `request.auth != null` alone is not authorization; any signed-in user
|
|
48
|
-
passes. Tie access to ownership, membership or a custom claim.
|
|
49
|
-
- Validate writes: field types, sizes and which keys may change
|
|
50
|
-
(`affectedKeys().hasOnly(...)`). Without that, a client can set its own
|
|
51
|
-
`role: "admin"`.
|
|
52
|
-
- Rules are not filters. A query must be constrained so every possible result
|
|
53
|
-
passes the rule, otherwise the whole query is denied.
|
|
54
|
-
- Each `get()` or `exists()` inside a rule is a billed document read and
|
|
55
|
-
counts toward a per-request limit; keep them few.
|
|
56
|
-
- Storage has its own rules file. Lock it down the same way, including
|
|
57
|
-
`request.resource.size` and `contentType` checks for uploads.
|
|
58
|
-
- Unit-test rules with the Emulator Suite and `@firebase/rules-unit-testing`
|
|
59
|
-
in CI.
|