@mmerterden/multi-agent-pipeline 20.37.0 → 20.38.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 +123 -49
- package/README.md +12 -10
- package/README.tr.md +12 -10
- package/docs/adr/0006-skills-core-external-split.md +5 -5
- package/docs/adr/0010-own-code-graph.md +6 -7
- package/docs/adr/0013-lsp-code-intelligence.md +6 -8
- package/docs/adr/0017-change-impact-from-the-graph.md +4 -5
- package/docs/adr/0018-cross-repo-links-not-a-global-graph.md +1 -1
- package/docs/adr/README.md +1 -1
- package/docs/ecosystem.md +53 -41
- package/docs/facts.json +15 -13
- package/docs/features.md +2 -2
- package/docs/recovery-guide.md +1 -1
- package/install/_dev-only-files.mjs +3 -0
- package/install/_platform-filter.mjs +1 -23
- package/install/catalog-history.json +1 -1
- package/install/claude.mjs +8 -1
- package/install/codex.mjs +0 -2
- package/install/copilot.mjs +0 -2
- package/install/templates/claude-hooks.json +47 -1
- package/manifest.json +455 -332
- package/package.json +5 -2
- package/pipeline/agents/security-auditor.md +58 -6
- package/pipeline/commands/multi-agent/build-optimize/SKILL.md +1 -2
- package/pipeline/commands/multi-agent/complaint-analysis/SKILL.md +1 -1
- package/pipeline/commands/multi-agent/design-check/SKILL.md +1 -1
- package/pipeline/commands/multi-agent/graph/SKILL.md +12 -3
- package/pipeline/commands/multi-agent/manual-test/SKILL.md +12 -7
- package/pipeline/commands/multi-agent/research/SKILL.md +2 -2
- package/pipeline/commands/multi-agent/search/SKILL.md +10 -1
- package/pipeline/commands/multi-agent/security-review/SKILL.md +4 -0
- package/pipeline/commands/multi-agent/setup/SKILL.md +1 -0
- package/pipeline/commands/multi-agent/stack/SKILL.md +8 -0
- package/pipeline/commands/multi-agent/store-ready/SKILL.md +1 -1
- package/pipeline/commands/sim-test.md +34 -1
- package/pipeline/lib/context-budget.mjs +103 -0
- package/pipeline/lib/credential-inventory.sh +2 -3
- package/pipeline/lib/identifier-scan.mjs +145 -0
- package/pipeline/lib/outbound-gate.mjs +28 -1
- package/pipeline/lib/unattended-profile-check.mjs +13 -4
- package/pipeline/multi-agent-refs/analysis/locked.md +1 -1
- package/pipeline/multi-agent-refs/analysis/redesign.md +17 -3
- package/pipeline/multi-agent-refs/analysis-template-corporate.md +8 -4
- package/pipeline/multi-agent-refs/analysis-template.md +7 -5
- package/pipeline/multi-agent-refs/audit-guide.md +20 -0
- package/pipeline/multi-agent-refs/complaint-analysis/phases.md +1 -0
- package/pipeline/multi-agent-refs/features/autopilot-circuit-breaker.md +1 -1
- package/pipeline/multi-agent-refs/features/code-graph.md +25 -0
- package/pipeline/multi-agent-refs/features/commit-multi-repo.md +63 -0
- package/pipeline/multi-agent-refs/features/design-conformance.md +20 -4
- package/pipeline/multi-agent-refs/features/dev-multi-repo.md +51 -0
- package/pipeline/multi-agent-refs/features/free-models.md +10 -3
- package/pipeline/multi-agent-refs/features/research.md +4 -3
- package/pipeline/multi-agent-refs/features/security-audit.md +25 -3
- package/pipeline/multi-agent-refs/features/test-gap.md +40 -0
- package/pipeline/multi-agent-refs/features/unattended-security.md +20 -0
- package/pipeline/multi-agent-refs/features/worktree-finalize.md +1 -1
- package/pipeline/multi-agent-refs/help/en.md +15 -9
- package/pipeline/multi-agent-refs/help/tr.md +15 -9
- package/pipeline/multi-agent-refs/knowledge.md +17 -0
- package/pipeline/multi-agent-refs/orchestrator/phase-3-user-test.md +12 -9
- package/pipeline/multi-agent-refs/outside-the-pipeline.md +9 -0
- package/pipeline/multi-agent-refs/phases/log-format.md +5 -0
- package/pipeline/multi-agent-refs/phases/operations.md +3 -5
- package/pipeline/multi-agent-refs/phases/phase-1-plan.md +4 -4
- package/pipeline/multi-agent-refs/phases/phase-2-dev.md +8 -47
- package/pipeline/multi-agent-refs/phases/phase-3-review.md +21 -65
- package/pipeline/multi-agent-refs/phases/phase-4-commit.md +9 -59
- package/pipeline/multi-agent-refs/phases/phase-5-report.md +0 -31
- package/pipeline/multi-agent-refs/picker-contract.md +1 -1
- package/pipeline/multi-agent-refs/research/engine.md +2 -1
- package/pipeline/multi-agent-refs/rules.md +1 -1
- package/pipeline/multi-agent-refs/setup/free-models.md +10 -0
- package/pipeline/multi-agent-refs/store-ready/gate-3-policy.md +15 -0
- package/pipeline/multi-agent-refs/web-guide.md +2 -1
- package/pipeline/office/index.html +8 -9
- package/pipeline/office/toolkit.json +1 -1
- package/pipeline/rules/figma-pipeline.md +6 -3
- package/pipeline/rules/outside-the-pipeline.md +1 -1
- package/pipeline/schemas/learnings-ledger.schema.json +7 -2
- package/pipeline/schemas/prefs.schema.json +17 -4
- package/pipeline/schemas/reviewer-output.schema.json +113 -5
- package/pipeline/schemas/secret-patterns.json +49 -0
- package/pipeline/schemas/security-finding.schema.json +49 -5
- package/pipeline/scripts/_code-graph.mjs +3 -3
- package/pipeline/scripts/_graph-analysis.mjs +51 -0
- package/pipeline/scripts/_memory-policy.mjs +37 -7
- package/pipeline/scripts/_secret-scan.mjs +1 -1
- package/pipeline/scripts/_skill-practices.mjs +178 -0
- package/pipeline/scripts/_stack-routing.mjs +1 -0
- package/pipeline/scripts/autopilot-runner.mjs +8 -3
- package/pipeline/scripts/build-stack-plugins.mjs +8 -44
- package/pipeline/scripts/capture-resume.sh +19 -0
- package/pipeline/scripts/checkpoint-fold.sh +59 -0
- package/pipeline/scripts/file-context.mjs +306 -70
- package/pipeline/scripts/gate-ledger.mjs +1 -1
- package/pipeline/scripts/gen-skills-index.mjs +1 -1
- package/pipeline/scripts/graph-hint.mjs +197 -0
- package/pipeline/scripts/graph-hint.sh +20 -0
- package/pipeline/scripts/graph-query.mjs +306 -11
- package/pipeline/scripts/graph-report.mjs +29 -1
- package/pipeline/scripts/learnings-ledger.mjs +71 -15
- package/pipeline/scripts/note-agent-event.mjs +160 -0
- package/pipeline/scripts/note-agent-event.sh +19 -0
- package/pipeline/scripts/office-control.mjs +41 -15
- package/pipeline/scripts/offload-ref.sh +1 -1
- package/pipeline/scripts/parity-score.mjs +139 -0
- package/pipeline/scripts/pre-commit-check.sh +25 -4
- package/pipeline/scripts/pre-push-check.sh +3 -0
- package/pipeline/scripts/repo-recommend.mjs +321 -0
- package/pipeline/scripts/rework-rulings.mjs +5 -3
- package/pipeline/scripts/scan-agent-config.sh +1 -2
- package/pipeline/scripts/scope-check-gate.mjs +15 -2
- package/pipeline/scripts/security-evidence-gate.mjs +282 -0
- package/pipeline/scripts/unattended_policy.py +3 -2
- package/pipeline/scripts/user-test-handoff.sh +203 -0
- package/pipeline/scripts/validate-analysis-doc.mjs +17 -1
- package/pipeline/scripts/validate-planning.mjs +5 -3
- package/pipeline/scripts/validate-triage.mjs +2 -1
- package/pipeline/scripts/write-state.mjs +13 -4
- package/pipeline/skills/.skill-manifest.json +73 -69
- package/pipeline/skills/shared/README.md +41 -40
- package/pipeline/skills/shared/core/apple-archive-compliance/SKILL.md +6 -6
- package/pipeline/skills/shared/core/apple-archive-compliance/references/examples.md +1 -1
- package/pipeline/skills/shared/core/apple-archive-compliance/references/version-history.md +1 -1
- package/pipeline/skills/shared/core/google-play-compliance/SKILL.md +1 -1
- package/pipeline/skills/shared/core/google-play-compliance/references/notes.md +1 -1
- package/pipeline/skills/shared/core/multi-agent/SKILL.md +1 -1
- package/pipeline/skills/shared/core/multi-agent-build-optimize/SKILL.md +0 -1
- package/pipeline/skills/shared/core/multi-agent-complaint-analysis/SKILL.md +1 -1
- package/pipeline/skills/shared/core/multi-agent-design-check/SKILL.md +5 -5
- package/pipeline/skills/shared/core/multi-agent-graph/SKILL.md +10 -0
- package/pipeline/skills/shared/core/multi-agent-manual-test/SKILL.md +12 -7
- package/pipeline/skills/shared/core/multi-agent-research/SKILL.md +2 -2
- package/pipeline/skills/shared/core/multi-agent-search/SKILL.md +9 -0
- package/pipeline/skills/shared/core/multi-agent-security-review/SKILL.md +3 -2
- package/pipeline/skills/shared/core/multi-agent-setup/SKILL.md +1 -0
- package/pipeline/skills/shared/core/multi-agent-stack/SKILL.md +8 -0
- package/pipeline/skills/shared/core/multi-agent-store-ready/SKILL.md +4 -3
- package/pipeline/skills/shared/core/multi-agent-test/SKILL.md +1 -1
- package/pipeline/skills/shared/core/multi-agent-test-accessibility/SKILL.md +1 -1
- package/pipeline/skills/shared/core/multi-agent-test-dark-mode/SKILL.md +1 -1
- package/pipeline/skills/shared/core/multi-agent-test-dynamic-type/SKILL.md +1 -1
- package/pipeline/skills/shared/core/multi-agent-test-gen/SKILL.md +1 -1
- package/pipeline/skills/shared/core/multi-agent-test-screenshots/SKILL.md +1 -1
- package/pipeline/skills/shared/core/multi-agent-testflight-validation/SKILL.md +2 -2
- package/pipeline/skills/shared/external/accessibility-compliance-accessibility-audit/evals/evals.json +44 -0
- package/pipeline/skills/shared/external/agent-introspection-debugging/evals/evals.json +42 -0
- package/pipeline/skills/shared/external/android-architecture/SKILL.md +1 -1
- package/pipeline/skills/shared/external/android-architecture/evals/evals.json +45 -0
- package/pipeline/skills/shared/external/android-build-quality-gates/evals/evals.json +45 -0
- package/pipeline/skills/shared/external/android-datastore/evals/evals.json +45 -0
- package/pipeline/skills/shared/external/android-design-tokens-codegen/evals/evals.json +43 -0
- package/pipeline/skills/shared/external/android-jetpack-compose-expert/evals/evals.json +43 -0
- package/pipeline/skills/shared/external/android-mvi-viewmodel/evals/evals.json +45 -0
- package/pipeline/skills/shared/external/android-performance/SKILL.md +1 -1
- package/pipeline/skills/shared/external/android-performance/evals/evals.json +44 -0
- package/pipeline/skills/shared/external/android-security/SKILL.md +1 -1
- package/pipeline/skills/shared/external/android-security/evals/evals.json +45 -0
- package/pipeline/skills/shared/external/api-patterns/evals/evals.json +43 -0
- package/pipeline/skills/shared/external/api-security-best-practices/evals/evals.json +44 -0
- package/pipeline/skills/shared/external/app-store-changelog/SKILL.md +65 -49
- package/pipeline/skills/shared/external/app-store-changelog/evals/evals.json +40 -0
- package/pipeline/skills/shared/external/app-store-changelog/references/release-notes-guidelines.md +64 -34
- package/pipeline/skills/shared/external/app-store-changelog/scripts/collect_release_changes.sh +21 -23
- package/pipeline/skills/shared/external/app-store-optimization/SKILL.md +4 -1
- package/pipeline/skills/shared/external/app-store-review/SKILL.md +6 -0
- package/pipeline/skills/shared/external/architecture/evals/evals.json +42 -0
- package/pipeline/skills/shared/external/backlog/evals/evals.json +42 -0
- package/pipeline/skills/shared/external/ci-cd-pipelines/evals/evals.json +44 -0
- package/pipeline/skills/shared/external/clean-code/evals/evals.json +45 -0
- package/pipeline/skills/shared/external/compose-components/SKILL.md +1 -1
- package/pipeline/skills/shared/external/compose-components/evals/evals.json +44 -0
- package/pipeline/skills/shared/external/compose-navigation/SKILL.md +1 -1
- package/pipeline/skills/shared/external/compose-navigation/evals/evals.json +43 -0
- package/pipeline/skills/shared/external/compose-testing/SKILL.md +1 -1
- package/pipeline/skills/shared/external/compose-testing/evals/evals.json +44 -0
- package/pipeline/skills/shared/external/context-compression/evals/evals.json +43 -0
- package/pipeline/skills/shared/external/core-data/SKILL.md +1 -1
- package/pipeline/skills/shared/external/council/evals/evals.json +41 -0
- package/pipeline/skills/shared/external/css-modern/evals/evals.json +44 -0
- package/pipeline/skills/shared/external/css-modern/references/code-examples.md +5 -0
- package/pipeline/skills/shared/external/database-patterns/evals/evals.json +46 -0
- package/pipeline/skills/shared/external/database-patterns/references/orm-examples.md +5 -0
- package/pipeline/skills/shared/external/debugging-strategies/evals/evals.json +43 -0
- package/pipeline/skills/shared/external/docker-expert/evals/evals.json +45 -0
- package/pipeline/skills/shared/external/e2e-testing/SKILL.md +21 -21
- package/pipeline/skills/shared/external/e2e-testing/evals/evals.json +44 -0
- package/pipeline/skills/shared/external/e2e-testing/references/document-fixtures.md +5 -5
- package/pipeline/skills/shared/external/evidence-github/evals/evals.json +41 -0
- package/pipeline/skills/shared/external/evidence-registry/SKILL.md +1 -1
- package/pipeline/skills/shared/external/evidence-registry/evals/evals.json +41 -0
- package/pipeline/skills/shared/external/fastapi-pro/evals/evals.json +57 -0
- package/pipeline/skills/shared/external/firebase/SKILL.md +132 -54
- package/pipeline/skills/shared/external/firebase/evals/evals.json +42 -0
- package/pipeline/skills/shared/external/firebase/references/functions-and-products.md +51 -0
- package/pipeline/skills/shared/external/firebase/references/security-rules.md +59 -0
- package/pipeline/skills/shared/external/fix-review-verdicts/evals/evals.json +57 -0
- package/pipeline/skills/shared/external/free-llm-apis/SKILL.md +70 -0
- package/pipeline/skills/shared/external/free-llm-apis/evals/evals.json +44 -0
- package/pipeline/skills/shared/external/free-llm-apis/references/providers.md +33 -0
- package/pipeline/skills/shared/external/github-actions-templates/evals/evals.json +44 -0
- package/pipeline/skills/shared/external/gradle-kotlin-dsl/SKILL.md +1 -1
- package/pipeline/skills/shared/external/gradle-kotlin-dsl/evals/evals.json +58 -0
- package/pipeline/skills/shared/external/handle-request/SKILL.md +2 -2
- package/pipeline/skills/shared/external/handle-request/evals/evals.json +44 -0
- package/pipeline/skills/shared/external/hig-app-icons/SKILL.md +2 -2
- package/pipeline/skills/shared/external/hig-app-icons/references/icon-workflow.md +1 -1
- package/pipeline/skills/shared/external/hig-components-content/evals/evals.json +43 -0
- package/pipeline/skills/shared/external/hig-components-status/evals/evals.json +43 -0
- package/pipeline/skills/shared/external/hig-components-system/evals/evals.json +43 -0
- package/pipeline/skills/shared/external/hig-inputs/evals/evals.json +44 -0
- package/pipeline/skills/shared/external/hig-patterns/evals/evals.json +46 -0
- package/pipeline/skills/shared/external/hig-platforms/evals/evals.json +45 -0
- package/pipeline/skills/shared/external/hig-technologies/evals/evals.json +44 -0
- package/pipeline/skills/shared/external/html-semantic/evals/evals.json +46 -0
- package/pipeline/skills/shared/external/humanizer/evals/evals.json +46 -0
- package/pipeline/skills/shared/external/ios-coding-standard/evals/evals.json +44 -0
- package/pipeline/skills/shared/external/ios-debugger-agent/SKILL.md +91 -52
- package/pipeline/skills/shared/external/ios-debugger-agent/evals/evals.json +41 -0
- package/pipeline/skills/shared/external/ios-design-review/SKILL.md +12 -12
- package/pipeline/skills/shared/external/ios-design-review/references/appearance-matrix.md +16 -16
- package/pipeline/skills/shared/external/ios-design-review/references/checklist.md +1 -1
- package/pipeline/skills/shared/external/ios-iphone-duo/SKILL.md +0 -1
- package/pipeline/skills/shared/external/ios-module-structure/evals/evals.json +42 -0
- package/pipeline/skills/shared/external/ios-security/SKILL.md +1 -1
- package/pipeline/skills/shared/external/ios-security/evals/evals.json +45 -0
- package/pipeline/skills/shared/external/kotlin-coroutines-expert/evals/evals.json +43 -0
- package/pipeline/skills/shared/external/localization-reuse-map/evals/evals.json +45 -0
- package/pipeline/skills/shared/external/macos-menubar-tuist-app/SKILL.md +170 -74
- package/pipeline/skills/shared/external/macos-menubar-tuist-app/evals/evals.json +52 -0
- package/pipeline/skills/shared/external/macos-spm-app-packaging/SKILL.md +119 -77
- package/pipeline/skills/shared/external/macos-spm-app-packaging/assets/templates/bootstrap/Package.swift +5 -5
- package/pipeline/skills/shared/external/macos-spm-app-packaging/assets/templates/bootstrap/Sources/MyApp/MyApp.swift +24 -0
- package/pipeline/skills/shared/external/macos-spm-app-packaging/assets/templates/bootstrap/version.env +2 -0
- package/pipeline/skills/shared/external/macos-spm-app-packaging/assets/templates/build_icon.sh +46 -39
- package/pipeline/skills/shared/external/macos-spm-app-packaging/assets/templates/compile_and_run.sh +70 -49
- package/pipeline/skills/shared/external/macos-spm-app-packaging/assets/templates/launch.sh +24 -17
- package/pipeline/skills/shared/external/macos-spm-app-packaging/assets/templates/make_appcast.sh +74 -59
- package/pipeline/skills/shared/external/macos-spm-app-packaging/assets/templates/package_app.sh +201 -170
- package/pipeline/skills/shared/external/macos-spm-app-packaging/assets/templates/setup_dev_signing.sh +50 -42
- package/pipeline/skills/shared/external/macos-spm-app-packaging/assets/templates/sign-and-notarize.sh +65 -35
- package/pipeline/skills/shared/external/macos-spm-app-packaging/assets/templates/version.env +2 -0
- package/pipeline/skills/shared/external/macos-spm-app-packaging/evals/evals.json +45 -0
- package/pipeline/skills/shared/external/macos-spm-app-packaging/references/packaging.md +49 -17
- package/pipeline/skills/shared/external/macos-spm-app-packaging/references/release.md +48 -23
- package/pipeline/skills/shared/external/macos-spm-app-packaging/references/scaffold.md +74 -44
- package/pipeline/skills/shared/external/monorepo-architect/evals/evals.json +45 -0
- package/pipeline/skills/shared/external/nextjs-app-router/SKILL.md +14 -3
- package/pipeline/skills/shared/external/nextjs-app-router/evals/evals.json +43 -0
- package/pipeline/skills/shared/external/nextjs-app-router/references/app-router-examples.md +3 -0
- package/pipeline/skills/shared/external/nodejs-backend-patterns/evals/evals.json +45 -0
- package/pipeline/skills/shared/external/observability-engineer/evals/evals.json +45 -0
- package/pipeline/skills/shared/external/passkit-wallet/SKILL.md +10 -0
- package/pipeline/skills/shared/external/photos-camera-media/evals/evals.json +45 -0
- package/pipeline/skills/shared/external/play-store-review/evals/evals.json +45 -0
- package/pipeline/skills/shared/external/python-patterns/evals/evals.json +46 -0
- package/pipeline/skills/shared/external/react-best-practices/evals/evals.json +43 -0
- package/pipeline/skills/shared/external/rest-api-design/evals/evals.json +46 -0
- package/pipeline/skills/shared/external/retrofit-networking/SKILL.md +1 -1
- package/pipeline/skills/shared/external/retrofit-networking/evals/evals.json +43 -0
- package/pipeline/skills/shared/external/room-database/SKILL.md +1 -1
- package/pipeline/skills/shared/external/room-database/evals/evals.json +43 -0
- package/pipeline/skills/shared/external/scenario-gap-analysis/SKILL.md +1 -1
- package/pipeline/skills/shared/external/scenario-gap-analysis/evals/evals.json +43 -0
- package/pipeline/skills/shared/external/search-first/evals/evals.json +42 -0
- package/pipeline/skills/shared/external/security-review/SKILL.md +14 -3
- package/pipeline/skills/shared/external/security-review/evals/evals.json +48 -0
- package/pipeline/skills/shared/external/security-review/references/agentic-systems.md +93 -0
- package/pipeline/skills/shared/external/security-review/references/firebase-rules.md +100 -0
- package/pipeline/skills/shared/external/security-review/references/graphql.md +82 -0
- package/pipeline/skills/shared/external/security-review/references/llm-prompt-injection.md +93 -0
- package/pipeline/skills/shared/external/security-review/references/oauth-oidc.md +100 -0
- package/pipeline/skills/shared/external/security-review/references/owasp-mobile-top10-2024.md +1 -1
- package/pipeline/skills/shared/external/security-review/references/owasp-web-api-top10-2021.md +1 -1
- package/pipeline/skills/shared/external/security-review/references/supabase.md +73 -0
- package/pipeline/skills/shared/external/signal-community/SKILL.md +29 -10
- package/pipeline/skills/shared/external/signal-community/evals/evals.json +42 -0
- package/pipeline/skills/shared/external/skill-creator/evals/evals.json +43 -0
- package/pipeline/skills/shared/external/skill-creator/template.md +1 -3
- package/pipeline/skills/shared/external/spm-build-analysis/SKILL.md +80 -61
- package/pipeline/skills/shared/external/spm-build-analysis/evals/evals.json +56 -0
- package/pipeline/skills/shared/external/spm-build-analysis/references/build-optimization-sources.md +83 -133
- package/pipeline/skills/shared/external/spm-build-analysis/references/recommendation-format.md +41 -40
- package/pipeline/skills/shared/external/spm-build-analysis/references/spm-analysis-checks.md +89 -87
- package/pipeline/skills/shared/external/spm-build-analysis/scripts/check_spm_pins.py +90 -85
- package/pipeline/skills/shared/external/swift-concurrency-expert/SKILL.md +78 -69
- package/pipeline/skills/shared/external/swift-concurrency-expert/evals/evals.json +54 -0
- package/pipeline/skills/shared/external/swift-concurrency-expert/references/approachable-concurrency.md +52 -48
- package/pipeline/skills/shared/external/swift-concurrency-expert/references/swift-6-2-concurrency.md +118 -184
- package/pipeline/skills/shared/external/swift-concurrency-expert/references/swiftui-concurrency-tour-wwdc.md +68 -22
- package/pipeline/skills/shared/external/swift-concurrency-pro/SKILL.md +117 -94
- package/pipeline/skills/shared/external/swift-concurrency-pro/evals/evals.json +57 -0
- package/pipeline/skills/shared/external/swift-concurrency-pro/references/actors.md +102 -97
- package/pipeline/skills/shared/external/swift-concurrency-pro/references/async-streams.md +36 -37
- package/pipeline/skills/shared/external/swift-concurrency-pro/references/bridging.md +82 -34
- package/pipeline/skills/shared/external/swift-concurrency-pro/references/bug-patterns.md +90 -52
- package/pipeline/skills/shared/external/swift-concurrency-pro/references/cancellation.md +55 -55
- package/pipeline/skills/shared/external/swift-concurrency-pro/references/diagnostics.md +66 -43
- package/pipeline/skills/shared/external/swift-concurrency-pro/references/hotspots.md +39 -23
- package/pipeline/skills/shared/external/swift-concurrency-pro/references/interop.md +66 -68
- package/pipeline/skills/shared/external/swift-concurrency-pro/references/new-features.md +152 -131
- package/pipeline/skills/shared/external/swift-concurrency-pro/references/structured.md +60 -57
- package/pipeline/skills/shared/external/swift-concurrency-pro/references/testing.md +131 -118
- package/pipeline/skills/shared/external/swift-concurrency-pro/references/unstructured.md +37 -29
- package/pipeline/skills/shared/external/swift-formatstyle/evals/evals.json +43 -0
- package/pipeline/skills/shared/external/swift-testing-pro/SKILL.md +77 -58
- package/pipeline/skills/shared/external/swift-testing-pro/evals/evals.json +59 -0
- package/pipeline/skills/shared/external/swift-testing-pro/references/async-tests.md +139 -144
- package/pipeline/skills/shared/external/swift-testing-pro/references/core-rules.md +90 -28
- package/pipeline/skills/shared/external/swift-testing-pro/references/migrating-from-xctest.md +38 -21
- package/pipeline/skills/shared/external/swift-testing-pro/references/new-features.md +139 -156
- package/pipeline/skills/shared/external/swift-testing-pro/references/writing-better-tests.md +173 -147
- package/pipeline/skills/shared/external/swiftdata-pro/SKILL.md +75 -59
- package/pipeline/skills/shared/external/swiftdata-pro/evals/evals.json +50 -0
- package/pipeline/skills/shared/external/swiftdata-pro/references/cloudkit.md +34 -7
- package/pipeline/skills/shared/external/swiftdata-pro/references/indexing.md +20 -14
- package/pipeline/skills/shared/external/swiftdata-pro/references/inheritance.md +127 -0
- package/pipeline/skills/shared/external/swiftdata-pro/references/model-rules.md +141 -0
- package/pipeline/skills/shared/external/swiftdata-pro/references/predicates.md +37 -44
- package/pipeline/skills/shared/external/swiftlint/evals/evals.json +44 -0
- package/pipeline/skills/shared/external/swiftui-expert-skill/SKILL.md +89 -88
- package/pipeline/skills/shared/external/swiftui-expert-skill/evals/evals.json +55 -0
- package/pipeline/skills/shared/external/swiftui-expert-skill/references/accessibility-patterns.md +104 -122
- package/pipeline/skills/shared/external/swiftui-expert-skill/references/animation-advanced.md +73 -93
- package/pipeline/skills/shared/external/swiftui-expert-skill/references/animation-basics.md +144 -169
- package/pipeline/skills/shared/external/swiftui-expert-skill/references/animation-transitions.md +122 -133
- package/pipeline/skills/shared/external/swiftui-expert-skill/references/charts-accessibility.md +141 -99
- package/pipeline/skills/shared/external/swiftui-expert-skill/references/charts.md +273 -333
- package/pipeline/skills/shared/external/swiftui-expert-skill/references/image-optimization.md +105 -128
- package/pipeline/skills/shared/external/swiftui-expert-skill/references/latest-apis.md +199 -312
- package/pipeline/skills/shared/external/swiftui-expert-skill/references/layout-best-practices.md +129 -169
- package/pipeline/skills/shared/external/swiftui-expert-skill/references/liquid-glass.md +17 -30
- package/pipeline/skills/shared/external/swiftui-expert-skill/references/list-patterns.md +198 -258
- package/pipeline/skills/shared/external/swiftui-expert-skill/references/macos-scenes.md +145 -218
- package/pipeline/skills/shared/external/swiftui-expert-skill/references/macos-views.md +150 -249
- package/pipeline/skills/shared/external/swiftui-expert-skill/references/macos-window-styling.md +109 -208
- package/pipeline/skills/shared/external/swiftui-expert-skill/references/performance-patterns.md +225 -271
- package/pipeline/skills/shared/external/swiftui-expert-skill/references/scroll-patterns.md +117 -210
- package/pipeline/skills/shared/external/swiftui-expert-skill/references/sheet-navigation-patterns.md +171 -237
- package/pipeline/skills/shared/external/swiftui-expert-skill/references/state-management.md +196 -260
- package/pipeline/skills/shared/external/swiftui-expert-skill/references/view-structure.md +167 -230
- package/pipeline/skills/shared/external/swiftui-gestures/evals/evals.json +43 -0
- package/pipeline/skills/shared/external/swiftui-layout-components/evals/evals.json +43 -0
- package/pipeline/skills/shared/external/swiftui-navigation/evals/evals.json +44 -0
- package/pipeline/skills/shared/external/swiftui-navigation/references/navigationstack.md +1 -2
- package/pipeline/skills/shared/external/swiftui-patterns/evals/evals.json +43 -0
- package/pipeline/skills/shared/external/swiftui-performance/evals/evals.json +44 -0
- package/pipeline/skills/shared/external/swiftui-performance-audit/SKILL.md +71 -79
- package/pipeline/skills/shared/external/swiftui-performance-audit/evals/evals.json +55 -0
- package/pipeline/skills/shared/external/swiftui-performance-audit/references/audit-layout.md +50 -0
- package/pipeline/skills/shared/external/swiftui-performance-audit/references/capture-checklist.md +51 -0
- package/pipeline/skills/shared/external/swiftui-performance-audit/references/hangs.md +34 -0
- package/pipeline/skills/shared/external/swiftui-performance-audit/references/instruments-guide.md +68 -0
- package/pipeline/skills/shared/external/swiftui-performance-audit/references/smell-catalog.md +191 -0
- package/pipeline/skills/shared/external/swiftui-performance-audit/references/update-model.md +69 -0
- package/pipeline/skills/shared/external/swiftui-pro/SKILL.md +65 -63
- package/pipeline/skills/shared/external/swiftui-pro/evals/evals.json +45 -0
- package/pipeline/skills/shared/external/swiftui-pro/references/accessibility.md +40 -13
- package/pipeline/skills/shared/external/swiftui-pro/references/api.md +74 -29
- package/pipeline/skills/shared/external/swiftui-pro/references/data.md +44 -24
- package/pipeline/skills/shared/external/swiftui-pro/references/design.md +45 -31
- package/pipeline/skills/shared/external/swiftui-pro/references/hygiene.md +17 -8
- package/pipeline/skills/shared/external/swiftui-pro/references/navigation.md +19 -9
- package/pipeline/skills/shared/external/swiftui-pro/references/performance.md +50 -34
- package/pipeline/skills/shared/external/swiftui-pro/references/swift.md +73 -45
- package/pipeline/skills/shared/external/swiftui-pro/references/views.md +48 -23
- package/pipeline/skills/shared/external/swiftui-ui-patterns/SKILL.md +89 -83
- package/pipeline/skills/shared/external/swiftui-ui-patterns/evals/evals.json +44 -0
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/app-wiring.md +119 -114
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/async-state.md +76 -61
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/components-index.md +63 -46
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/controls.md +32 -31
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/deeplinks.md +49 -38
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/focus.md +77 -49
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/form.md +61 -44
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/grids.md +40 -42
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/input-toolbar.md +44 -31
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/lightweight-clients.md +90 -64
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/list.md +48 -49
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/loading-placeholders.md +36 -25
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/macos-settings.md +30 -30
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/matched-transitions.md +49 -32
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/media.md +49 -41
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/menu-bar.md +52 -48
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/navigationstack.md +119 -104
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/overlay.md +30 -27
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/performance.md +33 -31
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/previews.md +27 -27
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/scroll-reveal.md +79 -86
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/scrollview.md +47 -40
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/searchable.md +55 -40
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/sheets.md +113 -84
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/split-views.md +37 -34
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/tabview.md +75 -75
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/theming.md +37 -32
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/title-menus.md +41 -51
- package/pipeline/skills/shared/external/swiftui-ui-patterns/references/top-bar.md +46 -30
- package/pipeline/skills/shared/external/swiftui-uikit-interop/evals/evals.json +44 -0
- package/pipeline/skills/shared/external/swiftui-view-refactor/SKILL.md +152 -121
- package/pipeline/skills/shared/external/swiftui-view-refactor/evals/evals.json +56 -0
- package/pipeline/skills/shared/external/swiftui-view-refactor/references/mv-patterns.md +107 -98
- package/pipeline/skills/shared/external/swiftui-webkit/evals/evals.json +44 -0
- package/pipeline/skills/shared/external/tailwind-css/evals/evals.json +43 -0
- package/pipeline/skills/shared/external/test-result-triage/SKILL.md +2 -2
- package/pipeline/skills/shared/external/test-result-triage/evals/evals.json +44 -0
- package/pipeline/skills/shared/external/testing-backend/evals/evals.json +42 -0
- package/pipeline/skills/shared/external/tipkit/evals/evals.json +44 -0
- package/pipeline/skills/shared/external/typescript-patterns/evals/evals.json +42 -0
- package/pipeline/skills/shared/external/valven-rules/evals/evals.json +44 -0
- package/pipeline/skills/shared/external/vision-framework/evals/evals.json +44 -0
- package/pipeline/skills/shared/external/vue-composition/evals/evals.json +42 -0
- package/pipeline/skills/shared/external/weatherkit/evals/evals.json +42 -0
- package/pipeline/skills/shared/external/web-accessibility/evals/evals.json +43 -0
- package/pipeline/skills/shared/external/web-performance/evals/evals.json +44 -0
- package/pipeline/skills/shared/external/web-testing/SKILL.md +2 -2
- package/pipeline/skills/shared/external/web-testing/evals/evals.json +43 -0
- package/pipeline/skills/shared/external/web-testing/references/testing-examples.md +2 -2
- package/pipeline/skills/shared/external/widgetkit/evals/evals.json +44 -0
- package/pipeline/skills/shared/external/xcode-build-benchmark/SKILL.md +61 -55
- package/pipeline/skills/shared/external/xcode-build-benchmark/evals/evals.json +42 -0
- package/pipeline/skills/shared/external/xcode-build-benchmark/references/benchmark-artifacts.md +69 -67
- package/pipeline/skills/shared/external/xcode-build-benchmark/references/benchmarking-workflow.md +39 -47
- package/pipeline/skills/shared/external/xcode-build-benchmark/schemas/build-benchmark.schema.json +72 -154
- package/pipeline/skills/shared/external/xcode-build-benchmark/scripts/benchmark_builds.py +207 -245
- package/pipeline/skills/shared/external/xcode-build-fixer/SKILL.md +145 -139
- package/pipeline/skills/shared/external/xcode-build-fixer/evals/evals.json +54 -0
- package/pipeline/skills/shared/external/xcode-build-fixer/references/build-settings-best-practices.md +81 -175
- package/pipeline/skills/shared/external/xcode-build-fixer/references/fix-patterns.md +188 -143
- package/pipeline/skills/shared/external/xcode-build-fixer/references/recommendation-format.md +41 -40
- package/pipeline/skills/shared/external/xcode-build-fixer/scripts/benchmark_builds.py +207 -245
- package/pipeline/skills/shared/external/xcode-build-orchestrator/SKILL.md +107 -98
- package/pipeline/skills/shared/external/xcode-build-orchestrator/evals/evals.json +54 -0
- package/pipeline/skills/shared/external/xcode-build-orchestrator/references/benchmark-artifacts.md +69 -67
- package/pipeline/skills/shared/external/xcode-build-orchestrator/references/build-settings-best-practices.md +81 -175
- package/pipeline/skills/shared/external/xcode-build-orchestrator/references/orchestration-report-template.md +81 -69
- package/pipeline/skills/shared/external/xcode-build-orchestrator/references/recommendation-format.md +41 -40
- package/pipeline/skills/shared/external/xcode-build-orchestrator/scripts/benchmark_builds.py +207 -245
- package/pipeline/skills/shared/external/xcode-build-orchestrator/scripts/diagnose_compilation.py +155 -210
- package/pipeline/skills/shared/external/xcode-build-orchestrator/scripts/generate_optimization_report.py +355 -480
- package/pipeline/skills/shared/external/xcode-compilation-analyzer/SKILL.md +70 -69
- package/pipeline/skills/shared/external/xcode-compilation-analyzer/evals/evals.json +54 -0
- package/pipeline/skills/shared/external/xcode-compilation-analyzer/references/build-optimization-sources.md +83 -133
- package/pipeline/skills/shared/external/xcode-compilation-analyzer/references/code-compilation-checks.md +85 -73
- package/pipeline/skills/shared/external/xcode-compilation-analyzer/references/recommendation-format.md +41 -40
- package/pipeline/skills/shared/external/xcode-compilation-analyzer/scripts/diagnose_compilation.py +155 -210
- package/pipeline/skills/shared/external/xcode-project-analyzer/SKILL.md +54 -52
- package/pipeline/skills/shared/external/xcode-project-analyzer/evals/evals.json +54 -0
- package/pipeline/skills/shared/external/xcode-project-analyzer/references/build-optimization-sources.md +83 -133
- package/pipeline/skills/shared/external/xcode-project-analyzer/references/build-settings-best-practices.md +81 -175
- package/pipeline/skills/shared/external/xcode-project-analyzer/references/project-audit-checks.md +115 -83
- package/pipeline/skills/shared/external/xcode-project-analyzer/references/recommendation-format.md +41 -40
- package/pipeline/scripts/_notices.mjs +0 -171
- package/pipeline/skills/shared/external/NOTICE-avdlee-swiftui-agent-skill.md +0 -48
- package/pipeline/skills/shared/external/NOTICE-dimillian-skills.md +0 -63
- package/pipeline/skills/shared/external/NOTICE-paul-hudson-skills.md +0 -54
- package/pipeline/skills/shared/external/NOTICE-vibeship-spawner-skills.md +0 -203
- package/pipeline/skills/shared/external/NOTICE-xcode-build-skills.md +0 -60
- package/pipeline/skills/shared/external/ios-iphone-duo/NOTICE.md +0 -53
- package/pipeline/skills/shared/external/macos-spm-app-packaging/assets/templates/bootstrap/Sources/MyApp/main.swift +0 -11
- package/pipeline/skills/shared/external/swiftdata-pro/references/class-inheritance.md +0 -104
- package/pipeline/skills/shared/external/swiftdata-pro/references/core-rules.md +0 -20
- package/pipeline/skills/shared/external/swiftui-performance-audit/references/code-smells.md +0 -158
- package/pipeline/skills/shared/external/swiftui-performance-audit/references/demystify-swiftui-performance-wwdc23.md +0 -46
- package/pipeline/skills/shared/external/swiftui-performance-audit/references/optimizing-swiftui-performance-instruments.md +0 -29
- package/pipeline/skills/shared/external/swiftui-performance-audit/references/profiling-intake.md +0 -44
- package/pipeline/skills/shared/external/swiftui-performance-audit/references/report-template.md +0 -47
- package/pipeline/skills/shared/external/swiftui-performance-audit/references/understanding-hangs-in-your-app.md +0 -33
- package/pipeline/skills/shared/external/swiftui-performance-audit/references/understanding-improving-swiftui-performance.md +0 -52
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skill_name": "compose-components",
|
|
3
|
+
"evals": [
|
|
4
|
+
{
|
|
5
|
+
"id": 0,
|
|
6
|
+
"prompt": "Review this Material 3 card: Box(Modifier.fillMaxWidth().padding(16.dp).clickable { onOpen() }.background(Color(0xFFFFFBFE)).clip(RoundedCornerShape(12.dp))) { Text(title, fontSize = 14.sp); Icon(Icons.Default.Delete, contentDescription = null, Modifier.clickable { onDelete() }) }. The component takes no modifier parameter.",
|
|
7
|
+
"expected_output": "Reorders modifiers to layout, clip, background, clickable, padding so the tap area includes padding and the background is clipped, replaces hardcoded color, sp and radius with MaterialTheme colorScheme, typography and shapes tokens, adds modifier: Modifier = Modifier as the first parameter, and gives the interactive delete icon a contentDescription.",
|
|
8
|
+
"files": [],
|
|
9
|
+
"expectations": [
|
|
10
|
+
"Reorders modifiers to fillMaxWidth, clip, background, clickable, then padding",
|
|
11
|
+
"Explains padding before clickable creates a dead tap zone",
|
|
12
|
+
"Replaces Color(0xFF...), fontSize = 14.sp and RoundedCornerShape(12.dp) with MaterialTheme.colorScheme, typography and shapes tokens",
|
|
13
|
+
"Adds modifier: Modifier = Modifier as the first parameter of the custom composable",
|
|
14
|
+
"Requires a contentDescription on the interactive delete icon"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"id": 1,
|
|
19
|
+
"prompt": "Set up an AppTheme for our Compose app (minSdk 26) that uses Material You wallpaper colors where available, our brand fonts, and our own semantic tokens (e.g. surfaceElevated, textBrand) that Material's colorScheme cannot express. Raw token values are generated from a JSON file.",
|
|
20
|
+
"expected_output": "Uses dynamicLight or dynamicDarkColorScheme guarded by Build.VERSION.SDK_INT >= S with static light and dark fallbacks, defines Typography and Shapes tokens, wraps generated raw tokens in hand-authored @Immutable semantic classes with light() and dark(), bridges them to an M3 colorScheme for stock components, and exposes the rich set via staticCompositionLocalOf read through a @ReadOnlyComposable Theme accessor.",
|
|
21
|
+
"files": [],
|
|
22
|
+
"expectations": [
|
|
23
|
+
"Guards dynamic color with Build.VERSION.SDK_INT >= Build.VERSION_CODES.S and provides static fallback schemes below API 31",
|
|
24
|
+
"Keeps the generated raw-token layer unedited and builds @Immutable semantic color and typography classes referencing raw tokens by name with light() and dark() variants",
|
|
25
|
+
"Derives an M3 light or dark colorScheme from the tokens so stock Material components inherit brand colors",
|
|
26
|
+
"Exposes the rich token set via CompositionLocalProvider with staticCompositionLocalOf",
|
|
27
|
+
"Reads the rich tokens through a Theme.colors or Theme.typography accessor marked @ReadOnlyComposable"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": 2,
|
|
32
|
+
"prompt": "Our details screen uses a LargeTopAppBar with exitUntilCollapsedScrollBehavior but it never collapses. The snackbar never appears, and the SnackbarHostState is created with SnackbarHostState() directly in the composable. The content also renders under the top bar. One developer imports androidx.compose.material.Scaffold while the rest of the screen is material3. Fix it.",
|
|
33
|
+
"expected_output": "Adds Modifier.nestedScroll(scrollBehavior.nestedScrollConnection) to the Scaffold, remembers the SnackbarHostState and passes it via snackbarHost = { SnackbarHost(state) }, applies Scaffold innerPadding to content, and replaces M2 imports with material3 so the two are not mixed.",
|
|
34
|
+
"files": [],
|
|
35
|
+
"expectations": [
|
|
36
|
+
"Adds Modifier.nestedScroll(scrollBehavior.nestedScrollConnection) so the collapsible bar works",
|
|
37
|
+
"Wraps SnackbarHostState in remember",
|
|
38
|
+
"Passes snackbarHost = { SnackbarHost(snackbarHostState) } to Scaffold",
|
|
39
|
+
"Applies the Scaffold innerPadding to the content",
|
|
40
|
+
"Says not to mix material (M2) and material3 in the same screen"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: compose-navigation
|
|
3
|
-
description: "
|
|
3
|
+
description: "Implements type-safe navigation in Jetpack Compose using Navigation 2.8+ with @Serializable routes, NavHost, typed composable routes, nested navigation graphs, deep links, BackHandler, type-safe argument passing, and bottom navigation with NavigationBar integration. Use when building Compose navigation, adding new screens, handling deep links, or implementing bottom nav patterns."
|
|
4
4
|
metadata:
|
|
5
5
|
source: multi-agent-pipeline
|
|
6
6
|
---
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skill_name": "compose-navigation",
|
|
3
|
+
"evals": [
|
|
4
|
+
{
|
|
5
|
+
"id": 0,
|
|
6
|
+
"prompt": "We are migrating our Compose app to Navigation 2.8. Today routes are strings like \"detail/{orderJson}\" where we pass the whole Order object as JSON, and each screen receives the NavController as a parameter. Show the new setup for Home and Detail.",
|
|
7
|
+
"expected_output": "Defines @Serializable route objects and data classes, uses composable<DetailRoute> with backStackEntry.toRoute<DetailRoute>(), passes a primitive id and fetches the Order in the destination ViewModel, and keeps NavController at the NavHost while screens receive navigation lambdas.",
|
|
8
|
+
"files": [],
|
|
9
|
+
"expectations": [
|
|
10
|
+
"Defines routes as @Serializable objects or data classes instead of strings",
|
|
11
|
+
"Reads arguments with backStackEntry.toRoute<DetailRoute>()",
|
|
12
|
+
"Passes a primitive order id and loads the full object in the destination ViewModel instead of serializing the Order into the route",
|
|
13
|
+
"Keeps NavController at NavHost level and passes navigation lambdas to screens",
|
|
14
|
+
"Mentions applying the kotlinx-serialization Gradle plugin"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"id": 1,
|
|
19
|
+
"prompt": "Our bottom navigation with Home, Search and Profile tabs loses each tab's back stack when switching, re-tapping a tab stacks duplicate screens, and pressing back from a nested settings screen exits the app. Fix the navigate call for tab clicks.",
|
|
20
|
+
"expected_output": "Navigates tabs with popUpTo the graph start destination with saveState = true, plus launchSingleTop = true and restoreState = true, so tab stacks are preserved, duplicates avoided and back pops to the start destination instead of exiting.",
|
|
21
|
+
"files": [],
|
|
22
|
+
"expectations": [
|
|
23
|
+
"Uses popUpTo the graph start destination rather than the root",
|
|
24
|
+
"Sets saveState = true inside popUpTo and restoreState = true",
|
|
25
|
+
"Sets launchSingleTop = true to avoid duplicate destinations",
|
|
26
|
+
"Explains wrong popUpTo target causes back to exit the app from a nested screen"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"id": 2,
|
|
31
|
+
"prompt": "Our HomeViewModel holds a NavHostController reference and calls navigate() directly; elsewhere a composable calls navController.navigate(DetailRoute(id)) in its body when state.selectedId != null, and rapid double taps crash with IllegalStateException. The search route now needs a SearchFilter object. Recommend the right structure.",
|
|
32
|
+
"expected_output": "Removes navigation types from the ViewModel by emitting sealed NavEvents on a one-shot Channel collected in a LaunchedEffect by the owning composable, never calls navigate in a composable body, wraps the controller in a SafeNavController with runCatching provided by CompositionLocal, and passes SearchFilter through a custom NavType in a shared typeMap used by both composable<> and every toRoute.",
|
|
33
|
+
"files": [],
|
|
34
|
+
"expectations": [
|
|
35
|
+
"Keeps NavController out of the ViewModel; the ViewModel emits sealed navigation events on a one-shot Channel",
|
|
36
|
+
"Collects those events in a LaunchedEffect in the composable that owns the NavController",
|
|
37
|
+
"Says not to call navigate() in a composable body",
|
|
38
|
+
"Wraps the controller in a SafeNavController whose methods use runCatching, provided via a CompositionLocal",
|
|
39
|
+
"Uses a custom NavType registered in one shared typeMap passed to both composable<SearchRoute>() and toRoute, including savedStateHandle.toRoute"
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: compose-testing
|
|
3
|
-
description: "
|
|
3
|
+
description: "Tests Jetpack Compose UI with createComposeRule, semantic matchers (onNodeWithText, onNodeWithTag, onNodeWithContentDescription), actions (performClick, performTextInput, performScrollTo), assertions (assertIsDisplayed, assertExists, assertTextEquals), screenshot testing with Roborazzi or Paparazzi, ViewModel testing with Turbine, TestDispatcher, and runTest patterns. Use when writing Compose UI tests, ViewModel tests, or screenshot tests."
|
|
4
4
|
metadata:
|
|
5
5
|
source: multi-agent-pipeline
|
|
6
6
|
---
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skill_name": "compose-testing",
|
|
3
|
+
"evals": [
|
|
4
|
+
{
|
|
5
|
+
"id": 0,
|
|
6
|
+
"prompt": "Write a Compose UI test for our OrderList screen: type a query into the search field, wait for the filtered results to load from a fake repository, and check that the first order card is visible. Our current draft uses Thread.sleep(2000), finds the card by onNodeWithTag(\"order_card\") with the same literal in production, and calls setContent twice to reset state.",
|
|
7
|
+
"expected_output": "Uses createComposeRule with a single setContent, finds nodes by semantics, drives testTag and onNodeWithTag from one generated TestTags constant instead of literals, uses performTextInput, replaces Thread.sleep with waitUntil, and asserts via assertIsDisplayed.",
|
|
8
|
+
"files": [],
|
|
9
|
+
"expectations": [
|
|
10
|
+
"Uses createComposeRule() for a pure composable test and calls setContent only once per test",
|
|
11
|
+
"Replaces Thread.sleep with composeTestRule.waitUntil on fetched semantics nodes",
|
|
12
|
+
"Uses a generated TestTags constant for both Modifier.testTag and onNodeWithTag instead of string literals",
|
|
13
|
+
"Uses performTextInput for the query and assertIsDisplayed for the result",
|
|
14
|
+
"Backs the screen with a fake repository rather than a mocking framework"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"id": 1,
|
|
19
|
+
"prompt": "Write unit tests for HomeViewModel, which exposes uiState: StateFlow<HomeUiState> going Loading then Success after loadOrders(). Our tests crash with 'Module with the Main dispatcher is missing', and on JDK 21 MockK mockkStatic fails with an opaque initialization error. One test mixes StandardTestDispatcher and UnconfinedTestDispatcher.",
|
|
20
|
+
"expected_output": "Creates a base class that sets Dispatchers.setMain in @Before and resetMain plus unmockkAll in @After, uses runTest with one dispatcher per test, asserts emissions with Turbine test { awaitItem() } ending in cancelAndIgnoreRemainingEvents, and attaches the Byte Buddy agent via -javaagent on the Test task for JDK 21+.",
|
|
21
|
+
"files": [],
|
|
22
|
+
"expectations": [
|
|
23
|
+
"Uses a base class with Dispatchers.setMain in @Before and Dispatchers.resetMain() plus unmockkAll() in @After",
|
|
24
|
+
"Uses Turbine test { } with awaitItem() for Loading then Success",
|
|
25
|
+
"Ends the Turbine block with cancelAndIgnoreRemainingEvents()",
|
|
26
|
+
"Picks one test dispatcher per test and does not mix StandardTestDispatcher with UnconfinedTestDispatcher",
|
|
27
|
+
"Fixes the JDK 21 MockK failure by attaching the agent with a -javaagent JVM arg on the Test task instead of self-attach"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": 2,
|
|
32
|
+
"prompt": "We want screenshot tests for our PrimaryButton and OrderCard composables in CI without an emulator, and we also want to reuse our existing @Preview functions. Images keep differing between local and CI runs. Set this up.",
|
|
33
|
+
"expected_output": "Uses Roborazzi (captureRoboImage) or Paparazzi on the JVM covering light and dark themes with committed baselines and record versus verify tasks, optionally adds the alpha AGP com.android.compose.screenshot plugin with a pinned version, enableScreenshotTest flag and @PreviewTest in the screenshotTest source set, and pins the JDK and SDK in CI to stop rendering differences.",
|
|
34
|
+
"files": [],
|
|
35
|
+
"expectations": [
|
|
36
|
+
"Uses Roborazzi or Paparazzi which render on the JVM without a device",
|
|
37
|
+
"Covers both light and dark themes and commits the baselines",
|
|
38
|
+
"Separates recording (recordRoborazziDebug or recordPaparazziDebug) from verification (verify...Debug)",
|
|
39
|
+
"For previews, uses the com.android.compose.screenshot plugin with android.experimental.enableScreenshotTest=true and @PreviewTest under the screenshotTest source set, noting it is alpha and its version should be pinned",
|
|
40
|
+
"Pins the JDK version and SDK in CI to fix local versus CI image differences"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skill_name": "context-compression",
|
|
3
|
+
"evals": [
|
|
4
|
+
{
|
|
5
|
+
"id": 0,
|
|
6
|
+
"prompt": "I am building a coding agent that summarizes its history every time the context hits 95 percent, with the prompt 'Summarize the conversation so far in a short paragraph.' After a few cycles it re-creates files it already made and retries approaches we rejected. Redesign the summarization.",
|
|
7
|
+
"expected_output": "Replaces the free-form prompt with a fixed template (goal, acceptance criteria, decisions with reasons, files created/modified/read, open errors verbatim, ruled out, next steps, environment), merges only the dropped span into the existing summary instead of regenerating, keeps literals verbatim, and triggers compression earlier at natural boundaries.",
|
|
8
|
+
"files": [],
|
|
9
|
+
"expectations": [
|
|
10
|
+
"Uses a fixed template with named sections including goal, decisions with reasons, a file trail, verbatim open errors, ruled-out approaches, next steps and environment",
|
|
11
|
+
"Summarises only the span being dropped and merges it into the existing summary rather than regenerating each time",
|
|
12
|
+
"Keeps identifiers, paths, commands and error strings verbatim instead of paraphrasing",
|
|
13
|
+
"Compresses before the window is full and at natural boundaries such as after a subtask, not mid-edit",
|
|
14
|
+
"Links the re-created files to a missing file trail and the retries to a missing ruled-out list"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"id": 1,
|
|
19
|
+
"prompt": "For each case, should the agent compact, restart or delegate? (a) It finished the CSV export task and the next request is an unrelated logging change. (b) It needs to find every caller of a deprecated API across a 2M-line monorepo but only needs the list. (c) After 40 turns of contradictory instructions and repeated test failures, it is going in circles.",
|
|
20
|
+
"expected_output": "(a) Restart because old context only adds noise, (b) delegate to a subagent with a self-contained brief asking for conclusions with file and line references, (c) restart with a hand-written brief carrying the lessons rather than summarizing the confusion.",
|
|
21
|
+
"files": [],
|
|
22
|
+
"expectations": [
|
|
23
|
+
"Chooses restart for the unrelated next task",
|
|
24
|
+
"Chooses delegation to a subagent for the read-heavy, short-answer search",
|
|
25
|
+
"Gives the subagent a self-contained brief (goal, constraints, where to look, answer shape) and asks for file and line references, not dumps",
|
|
26
|
+
"Chooses restart with a hand-written brief for the derailed session rather than compacting it"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"id": 2,
|
|
31
|
+
"prompt": "We changed our agent's compression strategy and the summaries read much better now. How do we know it is actually not losing information, and what can we do to make compression less risky in the first place?",
|
|
32
|
+
"expected_output": "Measures by what the agent can still do: probe questions about the dropped span, task completion and total tokens with and without the strategy, and re-work signals such as re-reads and repeated commands; reduces risk by externalising state to a progress file, git commits, and output files referenced by path.",
|
|
33
|
+
"files": [],
|
|
34
|
+
"expectations": [
|
|
35
|
+
"Says readability of the summary is not the measure; capability after compression is",
|
|
36
|
+
"Uses probe questions whose answers were in the dropped span (files modified, exact error, why X was rejected)",
|
|
37
|
+
"Compares task success rate and total tokens with and without the strategy",
|
|
38
|
+
"Tracks re-work signals such as re-reads of files, repeated commands and retried ruled-out approaches",
|
|
39
|
+
"Recommends externalising state to a NOTES.md or task file, git commits, and test output written to files"
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: core-data
|
|
3
|
-
description: "
|
|
3
|
+
description: "Creates, audits or refines Core Data persistence for apps still on Core Data rather than SwiftData: stack setup, NSManagedObject subclasses, NSFetchedResultsController for list UIs, NSBatchInsertRequest, NSBatchDeleteRequest and NSBatchUpdateRequest bulk work, NSPersistentHistoryChangeRequest history tracking across app and extension targets, NSStagedMigrationManager staged migrations and NSCompositeAttributeDescription composite attributes (iOS 17+), and making Core Data contexts work with Swift Concurrency. Use when working on an existing Core Data store. Not for Core Data and SwiftData coexistence or migration; use the swiftdata skill."
|
|
4
4
|
metadata:
|
|
5
5
|
source: multi-agent-pipeline
|
|
6
6
|
---
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skill_name": "council",
|
|
3
|
+
"evals": [
|
|
4
|
+
{
|
|
5
|
+
"id": 0,
|
|
6
|
+
"prompt": "We are three weeks from a conference demo. Should we ship the new offline sync behind a feature flag to 10 percent of users now, or hold the whole release for two more weeks of polish? I need a second opinion before I decide.",
|
|
7
|
+
"expected_output": "Runs a bounded council: states the decision in one sentence with options, gets one crisp position and strongest argument each from a Skeptic, Pragmatist and Critic, builds a tradeoff table, then decides and records the losing option's best argument and a revisit condition.",
|
|
8
|
+
"files": [],
|
|
9
|
+
"expectations": [
|
|
10
|
+
"States the decision in one sentence and lists the candidate options",
|
|
11
|
+
"Uses distinct Skeptic, Pragmatist and Critic voices, each giving one position and its strongest argument",
|
|
12
|
+
"Presents disagreements as a tradeoff table of options against axes",
|
|
13
|
+
"Ends with an actual decision rather than a hedge",
|
|
14
|
+
"Writes down the losing option's best argument and the condition for revisiting"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"id": 1,
|
|
19
|
+
"prompt": "Convene a council on whether our function calculateTax returns the right value for a 0.5 percent rate. Here is the code and the failing unit test.",
|
|
20
|
+
"expected_output": "Declines to use a council because correctness has a single answer discoverable from the code and test, and does the verification directly instead.",
|
|
21
|
+
"files": [],
|
|
22
|
+
"expectations": [
|
|
23
|
+
"Says council is not the right tool for checking whether output is correct",
|
|
24
|
+
"Routes the question to direct verification or tests",
|
|
25
|
+
"Does not run Skeptic, Pragmatist and Critic voices on a correctness question"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": 2,
|
|
30
|
+
"prompt": "Monorepo vs polyrepo for our 6 services and 2 mobile apps. Please give me every perspective you can think of: security, cost, DX, hiring, compliance, UX, ops, and have them debate for a few rounds until they agree.",
|
|
31
|
+
"expected_output": "Keeps the council bounded to three voices and one round on one page, adds a fourth domain voice only if the decision truly hinges on that axis, avoids consensus-seeking, and still makes a decision.",
|
|
32
|
+
"files": [],
|
|
33
|
+
"expectations": [
|
|
34
|
+
"Keeps it to three core voices, adding at most one domain voice only when the decision hinges on that axis",
|
|
35
|
+
"Runs one round rather than multiple debate rounds",
|
|
36
|
+
"Does not seek consensus among voices at the position-gathering stage",
|
|
37
|
+
"Produces a decision with the losing option's best argument recorded"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skill_name": "css-modern",
|
|
3
|
+
"evals": [
|
|
4
|
+
{
|
|
5
|
+
"id": 0,
|
|
6
|
+
"prompt": "Our product card is used in a narrow sidebar and a wide main column on the same page, but our media queries switch it to a two-column layout based on viewport width, so it breaks in the sidebar. Rewrite the CSS so the card adapts to where it is placed.",
|
|
7
|
+
"expected_output": "Declares container-type: inline-size (with a container-name) on the wrapping element, switches layout with @container rules at min-width breakpoints, and optionally scales type with cqi units via clamp.",
|
|
8
|
+
"files": [],
|
|
9
|
+
"expectations": [
|
|
10
|
+
"Uses container queries rather than viewport media queries for the component",
|
|
11
|
+
"Sets container-type: inline-size on the parent, noting the query does not work without it",
|
|
12
|
+
"Uses @container (min-width: ...) rules to switch the card to a grid layout",
|
|
13
|
+
"Optionally uses container query units such as cqi inside clamp() for font sizing"
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"id": 1,
|
|
18
|
+
"prompt": "Review this CSS for a mobile-first site: .hero { height: 100vh; } .menu { float: left; } .btn:hover { width: 120px; left: 4px; transition: all 300ms; } .title { font-size: 18px; -webkit-box-shadow: ...; } and a utilities file full of !important overrides fighting our components. Suggest fixes.",
|
|
19
|
+
"expected_output": "Replaces 100vh with 100dvh, float layout with Grid or Flexbox, animates transform and opacity instead of width and left, uses rem for font sizes, drops manual vendor prefixes for Autoprefixer or Lightning CSS, and manages specificity with @layer instead of !important, while respecting prefers-reduced-motion.",
|
|
20
|
+
"files": [],
|
|
21
|
+
"expectations": [
|
|
22
|
+
"Uses 100dvh (or svh or lvh) instead of 100vh on mobile",
|
|
23
|
+
"Replaces float layout with Grid or Flexbox",
|
|
24
|
+
"Animates transform and opacity rather than width, height, top or left",
|
|
25
|
+
"Uses rem or em for scalable font sizes instead of px",
|
|
26
|
+
"Removes manual vendor prefixes in favour of Autoprefixer or Lightning CSS",
|
|
27
|
+
"Uses @layer ordering (for example reset, base, components, utilities) instead of !important to control precedence"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": 2,
|
|
32
|
+
"prompt": "We are importing a third-party date picker stylesheet with @import and its rules keep overriding our components. We also use Sass only for nesting, and one block nests five levels deep. How should we structure our CSS with native features?",
|
|
33
|
+
"expected_output": "Declares an explicit @layer order where first declared is lowest priority, imports the vendor CSS into a layer with @import url(...) layer(vendor), replaces Sass nesting with native nesting using &, and flattens the five-level block so nesting stays shallow (around three levels or fewer).",
|
|
34
|
+
"files": [],
|
|
35
|
+
"expectations": [
|
|
36
|
+
"Declares an explicit @layer order and explains the first declared layer has the lowest priority",
|
|
37
|
+
"Imports the vendor stylesheet into a layer with @import url('...') layer(vendor)",
|
|
38
|
+
"Says not to use @import without @layer",
|
|
39
|
+
"Uses native CSS nesting with & instead of a preprocessor",
|
|
40
|
+
"Flattens the five-level nesting into a shallower structure (around three levels or fewer, or an equivalent flat selector)"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Modern CSS Code Examples
|
|
2
2
|
|
|
3
|
+
<!-- toc -->
|
|
4
|
+
- [CSS Custom Properties (Variables)](#css-custom-properties-variables)
|
|
5
|
+
- [Animations and Transitions](#animations-and-transitions)
|
|
6
|
+
<!-- /toc -->
|
|
7
|
+
|
|
3
8
|
Full code samples for the SKILL.md sections that link here. The rules and the decision guidance stay in SKILL.md; each heading below matches the SKILL.md section the code belongs to.
|
|
4
9
|
|
|
5
10
|
## CSS Custom Properties (Variables)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skill_name": "database-patterns",
|
|
3
|
+
"evals": [
|
|
4
|
+
{
|
|
5
|
+
"id": 0,
|
|
6
|
+
"prompt": "Our PostgreSQL post listing endpoint is slow: SELECT * FROM post WHERE status = 'published' ORDER BY published_at DESC LIMIT 20 OFFSET 40000. We have an index on status alone. Users also hit WHERE status = 'published' queries without an author filter on our composite index (author_id, status). How do we diagnose and fix this?",
|
|
7
|
+
"expected_output": "Runs EXPLAIN (ANALYZE, BUFFERS), replaces OFFSET with cursor-based pagination on published_at, adds an index matching the filter and ORDER BY (partial or covering, for example on (status, published_at DESC) INCLUDE listing columns), explains the composite index cannot serve status-only queries because of the leftmost prefix rule, and selects explicit columns instead of SELECT *.",
|
|
8
|
+
"files": [],
|
|
9
|
+
"expectations": [
|
|
10
|
+
"Uses EXPLAIN ANALYZE (with BUFFERS) to check the plan, looking for Seq Scan and costly Sort",
|
|
11
|
+
"Replaces deep OFFSET with cursor-based pagination using the last item's published_at",
|
|
12
|
+
"Adds an index matching the WHERE and ORDER BY, such as a partial or covering index on (status, published_at DESC)",
|
|
13
|
+
"Explains the (author_id, status) index does not support WHERE status = ... alone because of the leftmost prefix",
|
|
14
|
+
"Replaces SELECT * with explicit columns"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"id": 1,
|
|
19
|
+
"prompt": "We need to add an index on post(author_id) and rename user.fullname to user.name on a 50M-row PostgreSQL table in production, and backfill a new column from existing data. Our plan is to edit last month's already-released migration and do everything in one transaction. Review it.",
|
|
20
|
+
"expected_output": "Never modifies a released migration and writes a new reversible one, uses CREATE INDEX CONCURRENTLY, does the rename additively (add column, backfill, then drop old), backfills in batches outside the schema migration transaction, and tests against a copy of production data.",
|
|
21
|
+
"files": [],
|
|
22
|
+
"expectations": [
|
|
23
|
+
"Says never to modify a released migration; create a new one",
|
|
24
|
+
"Makes each migration reversible with an UP and DOWN",
|
|
25
|
+
"Uses CREATE INDEX CONCURRENTLY to avoid locking the large table",
|
|
26
|
+
"Performs the rename additively: add the new column, backfill, then drop the old one",
|
|
27
|
+
"Backfills in batches and keeps data migrations out of schema migration transactions",
|
|
28
|
+
"Tests the migration against a copy of production data or staging first"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"id": 2,
|
|
33
|
+
"prompt": "Design a PostgreSQL schema for users, posts and tags for a multi-region app. A teammate proposes SERIAL ids, TIMESTAMP columns, storing uploaded post images as BYTEA, and skipping foreign keys for performance. Also, our API loads each user's posts in a loop.",
|
|
34
|
+
"expected_output": "Uses UUID or ULID keys, TIMESTAMPTZ created_at and updated_at with an update trigger, foreign keys with deliberate ON DELETE behaviour, a junction table with a composite primary key for tags, CHECK constraints for enums, object storage for images, and a single batched query (ANY or JOIN) instead of N+1.",
|
|
35
|
+
"files": [],
|
|
36
|
+
"expectations": [
|
|
37
|
+
"Uses UUID or ULID primary keys instead of auto-increment for a distributed system",
|
|
38
|
+
"Uses TIMESTAMPTZ and includes created_at and updated_at",
|
|
39
|
+
"Keeps foreign key constraints and chooses ON DELETE behaviour deliberately rather than skipping them",
|
|
40
|
+
"Models post tags with a junction table whose primary key is (post_id, tag_id)",
|
|
41
|
+
"Stores images in object storage rather than in the database",
|
|
42
|
+
"Replaces the per-user loop with one batched query using ANY($1) or a JOIN"
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# ORM examples
|
|
2
2
|
|
|
3
|
+
<!-- toc -->
|
|
4
|
+
- [Prisma ORM (TypeScript)](#prisma-orm-typescript)
|
|
5
|
+
- [Drizzle ORM (TypeScript)](#drizzle-orm-typescript)
|
|
6
|
+
<!-- /toc -->
|
|
7
|
+
|
|
3
8
|
Schema and query code for Prisma and Drizzle. SKILL.md keeps schema design, indexing, query optimization and migration rules.
|
|
4
9
|
|
|
5
10
|
## Prisma ORM (TypeScript)
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skill_name": "debugging-strategies",
|
|
3
|
+
"evals": [
|
|
4
|
+
{
|
|
5
|
+
"id": 0,
|
|
6
|
+
"prompt": "A customer reports 'the order total is wrong sometimes' on our checkout service. I have a 200-line order JSON from their support ticket. Where do I start, step by step?",
|
|
7
|
+
"expected_output": "Pins the symptom precisely (exact values, build, environment, whether it ever worked), replays the exact input locally to reproduce, turns the reproduction into an automated test, shrinks the input by halving, and then writes two or three falsifiable hypotheses tested one variable at a time with predicted outcomes.",
|
|
8
|
+
"files": [],
|
|
9
|
+
"expectations": [
|
|
10
|
+
"Turns the complaint into a precise symptom: expected versus actual values, version or commit, environment, and whether it ever worked",
|
|
11
|
+
"Replays the exact input locally and removes differences one at a time if it does not reproduce",
|
|
12
|
+
"Turns the reproduction into an automated test that later serves as the regression test",
|
|
13
|
+
"Shrinks the input by halving and keeping the failing half",
|
|
14
|
+
"Writes two or three falsifiable hypotheses, predicts the outcome, and changes one variable per experiment"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"id": 1,
|
|
19
|
+
"prompt": "A test in our suite passes when run alone but fails when the whole suite runs, maybe 1 in 20 times. It was green until about two weeks ago, roughly 150 commits back. How do I approach this efficiently?",
|
|
20
|
+
"expected_output": "Loops the test many times to get a failure rate as a comparable observation, treats pass-alone/fail-in-suite as pollution from an earlier test and bisects the test list (for example with find-polluter.mjs and a reset command) rather than reading every test, and bisects commits since it last worked.",
|
|
21
|
+
"files": [],
|
|
22
|
+
"expectations": [
|
|
23
|
+
"Runs the test in a loop hundreds of times to measure a failure rate before and after changes",
|
|
24
|
+
"Identifies pass-alone, fail-in-suite as test pollution from an earlier test",
|
|
25
|
+
"Bisects the test list instead of reading every test, for example with find-polluter.mjs and a --reset command",
|
|
26
|
+
"Uses git bisect across the commits since it last worked"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"id": 2,
|
|
31
|
+
"prompt": "I added a null check and the crash stopped, so I'm opening the PR as 'Fix crash in invoice export'. I don't really know why it was null. Anything else I should do before merging?",
|
|
32
|
+
"expected_output": "Says this is a symptom suppression, not a fix, until the mechanism can be explained including why it did not fail before; requires a reproduction test that fails without the change and passes with it at the level closest to the defect, a check for siblings of the same pattern, and saying so in the PR if the mechanism remains unknown.",
|
|
33
|
+
"files": [],
|
|
34
|
+
"expectations": [
|
|
35
|
+
"States that without an explanation of the mechanism it is a change that hides the symptom, not a fix",
|
|
36
|
+
"Requires explaining why it did not fail before",
|
|
37
|
+
"Requires a reproduction test that fails without the fix and passes with it, placed at the level closest to the defect",
|
|
38
|
+
"Checks for sibling occurrences of the same pattern elsewhere",
|
|
39
|
+
"Says to state the unknown mechanism in the pull request if it cannot be explained"
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skill_name": "docker-expert",
|
|
3
|
+
"evals": [
|
|
4
|
+
{
|
|
5
|
+
"id": 0,
|
|
6
|
+
"prompt": "Review this Dockerfile for our Node 22 API: FROM node:22 / WORKDIR /app / ARG NPM_TOKEN / COPY . . / RUN echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > .npmrc && npm install / EXPOSE 80 / CMD npm start. There is no .dockerignore. Every build reinstalls all dependencies.",
|
|
7
|
+
"expected_output": "Adds a .dockerignore (including .env and .git), copies package.json and the lockfile before installing with a BuildKit cache mount and npm ci, replaces ARG for the token with a --mount=type=secret, uses a slim multi-stage final image, runs as a non-root numeric user on a port above 1024, and uses exec-form CMD so the app receives SIGTERM.",
|
|
8
|
+
"files": [],
|
|
9
|
+
"expectations": [
|
|
10
|
+
"Adds a .dockerignore that excludes .git, node_modules and .env files",
|
|
11
|
+
"Copies package.json and package-lock.json and installs before COPY of the source so the dependency layer is cached",
|
|
12
|
+
"Uses RUN --mount=type=cache,target=/root/.npm with npm ci",
|
|
13
|
+
"Replaces ARG NPM_TOKEN with RUN --mount=type=secret because ARG and ENV are visible in docker history",
|
|
14
|
+
"Runs as a non-root user (numeric USER) and listens on a port above 1024",
|
|
15
|
+
"Uses exec-form CMD [\"node\", ...] instead of shell form so the process is PID 1 and receives SIGTERM"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"id": 1,
|
|
20
|
+
"prompt": "Our Python container on Kubernetes ignores stop requests and gets killed after the grace period, and our Dockerfile HEALTHCHECK curls /health which also checks the database. We switched to a distroless base and the healthcheck now fails because curl is missing. What should we change?",
|
|
21
|
+
"expected_output": "Uses exec-form CMD and handles SIGTERM (adding --init or tini if children are spawned), explains Kubernetes ignores HEALTHCHECK and uses its own probes, keeps liveness cheap and dependency-free with dependency checks only in readiness, and notes distroless has no curl so ship a small health binary or rely on orchestrator probes.",
|
|
22
|
+
"files": [],
|
|
23
|
+
"expectations": [
|
|
24
|
+
"Switches to exec-form CMD so signals reach the app, and handles SIGTERM by finishing in-flight work within the grace period",
|
|
25
|
+
"Suggests --init or tini when the app spawns children it does not reap",
|
|
26
|
+
"States Kubernetes ignores the Dockerfile HEALTHCHECK and uses its own probes",
|
|
27
|
+
"Keeps the liveness endpoint cheap and dependency-free and checks the database only in readiness",
|
|
28
|
+
"Notes distroless images lack curl and suggests a tiny health binary or orchestrator probes"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"id": 2,
|
|
33
|
+
"prompt": "Before we ship our release images, security wants them reproducible, scanned and traceable back to a commit. Our Dockerfiles use FROM python:3.13-slim with no digest. Describe the release hardening steps.",
|
|
34
|
+
"expected_output": "Pins base images by digest with an automated update tool (Renovate, Dependabot or an equivalent) bumping them, scans in CI and fails on fixable critical findings (docker scout, trivy or grype), emits SBOM and provenance with buildx --sbom=true --provenance=mode=max, and adds OCI labels for source, revision and version.",
|
|
35
|
+
"files": [],
|
|
36
|
+
"expectations": [
|
|
37
|
+
"Pins base images by digest (FROM ...@sha256:...) in release images",
|
|
38
|
+
"Keeps the pinned digest current with an automated update tool (Renovate, Dependabot or an equivalent)",
|
|
39
|
+
"Scans in CI with docker scout cves, trivy image or grype and fails on fixable critical vulnerabilities",
|
|
40
|
+
"Emits an SBOM and provenance attestation with docker buildx build --sbom=true --provenance=mode=max",
|
|
41
|
+
"Adds OCI labels such as org.opencontainers.image.source and .revision"
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
@@ -31,9 +31,9 @@ the contract.
|
|
|
31
31
|
|
|
32
32
|
| Platform | Locate | Act |
|
|
33
33
|
|---|---|---|
|
|
34
|
-
| iOS | `ui_locate` | `ios_tap_element`, `ios_type_text` |
|
|
35
|
-
| Android | `ui_locate` | `android_tap_element`, `android_type_text` |
|
|
36
|
-
| Web | `web_find` / `web_snapshot` / `ui_locate` | `web_click`, `web_type`, `web_fill_form`, `web_select_option` |
|
|
34
|
+
| iOS | `multi-agent-toolkit:ui_locate` | `multi-agent-toolkit:ios_tap_element`, `multi-agent-toolkit:ios_type_text` |
|
|
35
|
+
| Android | `multi-agent-toolkit:ui_locate` | `multi-agent-toolkit:android_tap_element`, `multi-agent-toolkit:android_type_text` |
|
|
36
|
+
| Web | `multi-agent-toolkit:web_find` / `multi-agent-toolkit:web_snapshot` / `multi-agent-toolkit:ui_locate` | `multi-agent-toolkit:web_click`, `multi-agent-toolkit:web_type`, `multi-agent-toolkit:web_fill_form`, `multi-agent-toolkit:web_select_option` |
|
|
37
37
|
|
|
38
38
|
Locator order: accessibility identifier, then role plus label, then visible
|
|
39
39
|
text. Text is last because it changes with locale and copy edits.
|
|
@@ -46,24 +46,24 @@ text. Text is last because it changes with locale and copy edits.
|
|
|
46
46
|
Both are automation failures, not product bugs. Fix the locator and retry once;
|
|
47
47
|
still failing, record the step as blocked (automation).
|
|
48
48
|
|
|
49
|
-
On the web, `web_find` returns only the snapshot nodes that match a text or
|
|
49
|
+
On the web, `multi-agent-toolkit:web_find` returns only the snapshot nodes that match a text or
|
|
50
50
|
regex, with live refs, which is cheaper than reading the whole snapshot.
|
|
51
|
-
`web_click` and `web_type` also take the `ui_locate` locator object directly.
|
|
52
|
-
`web_generate_locator` turns a ref into a stable `getByRole` / `getByTestId`
|
|
51
|
+
`multi-agent-toolkit:web_click` and `multi-agent-toolkit:web_type` also take the `multi-agent-toolkit:ui_locate` locator object directly.
|
|
52
|
+
`multi-agent-toolkit:web_generate_locator` turns a ref into a stable `getByRole` / `getByTestId`
|
|
53
53
|
locator with its match count: use that one in a saved step or a generated
|
|
54
54
|
test, never the ref.
|
|
55
55
|
|
|
56
|
-
Coordinates (`ios_tap`, `android_tap`) are for what has no element: a canvas, a
|
|
56
|
+
Coordinates (`multi-agent-toolkit:ios_tap`, `multi-agent-toolkit:android_tap`) are for what has no element: a canvas, a
|
|
57
57
|
map, a chart point.
|
|
58
58
|
|
|
59
59
|
## 2. Assert with expect steps
|
|
60
60
|
|
|
61
|
-
Inside `agent_run_steps`, an `expect_text`, `expect_element`, `expect_url` or
|
|
61
|
+
Inside `multi-agent-toolkit:agent_run_steps`, an `expect_text`, `expect_element`, `expect_url` or
|
|
62
62
|
`expect_aria` step checks one exact claim and the run returns a verdict.
|
|
63
63
|
`expect_aria` (web) matches the page against an ARIA snapshot template such as
|
|
64
64
|
`- heading "Orders" [level=1]` plus `- button /Save|Kaydet/`: `contain` lets the
|
|
65
65
|
template list a subset in order, `equal` requires the same children.
|
|
66
|
-
`web_assert_aria` is the same check as a single call.
|
|
66
|
+
`multi-agent-toolkit:web_assert_aria` is the same check as a single call.
|
|
67
67
|
|
|
68
68
|
| Verdict | Code | Meaning |
|
|
69
69
|
|---|---|---|
|
|
@@ -92,7 +92,7 @@ A finding names the account (`secret_ref:checkout-user`), not its password.
|
|
|
92
92
|
|
|
93
93
|
## 4. Traces, save and replay
|
|
94
94
|
|
|
95
|
-
- A failed `agent_run_steps` writes a `trace.md`: the steps, the failing step,
|
|
95
|
+
- A failed `multi-agent-toolkit:agent_run_steps` writes a `trace.md`: the steps, the failing step,
|
|
96
96
|
the screen at failure. Attach its path to the bug, not a paraphrase of it.
|
|
97
97
|
- `save_as: "<name>"` stores a sequence that reached a state; `replay` runs it
|
|
98
98
|
again. A replay ending in an expect step is a repro: it fails with
|
|
@@ -113,16 +113,16 @@ The toolkit makes each one a step:
|
|
|
113
113
|
|
|
114
114
|
| State | Tool |
|
|
115
115
|
|---|---|
|
|
116
|
-
| API error or empty list | `web_route` add, `response: fulfill` with `status` and `body` |
|
|
117
|
-
| Request that never answers or fails | `web_route` with `response: abort` or `block`, or `delay_ms` for slow |
|
|
118
|
-
| Offline and reconnect | `web_network_state` |
|
|
119
|
-
| Session expiry, countdowns, dates | `web_clock` (`install`, `set_fixed_time`, `fast_forward`) |
|
|
120
|
-
| alert / confirm / prompt | `web_dialog` before the click that opens it |
|
|
121
|
-
| File picker, drag and drop, hover menus | `web_upload`, `web_drag`, `web_hover` |
|
|
122
|
-
| What was actually sent | `web_network` then `request_id` for headers and bodies |
|
|
123
|
-
|
|
124
|
-
Remove routes with `web_route` `clear` when the state is done, or the next step
|
|
125
|
-
tests the mock. For a failing run worth a deeper look, `web_trace` start/stop
|
|
116
|
+
| API error or empty list | `multi-agent-toolkit:web_route` add, `response: fulfill` with `status` and `body` |
|
|
117
|
+
| Request that never answers or fails | `multi-agent-toolkit:web_route` with `response: abort` or `block`, or `delay_ms` for slow |
|
|
118
|
+
| Offline and reconnect | `multi-agent-toolkit:web_network_state` |
|
|
119
|
+
| Session expiry, countdowns, dates | `multi-agent-toolkit:web_clock` (`install`, `set_fixed_time`, `fast_forward`) |
|
|
120
|
+
| alert / confirm / prompt | `multi-agent-toolkit:web_dialog` before the click that opens it |
|
|
121
|
+
| File picker, drag and drop, hover menus | `multi-agent-toolkit:web_upload`, `multi-agent-toolkit:web_drag`, `multi-agent-toolkit:web_hover` |
|
|
122
|
+
| What was actually sent | `multi-agent-toolkit:web_network` then `request_id` for headers and bodies |
|
|
123
|
+
|
|
124
|
+
Remove routes with `multi-agent-toolkit:web_route` `clear` when the state is done, or the next step
|
|
125
|
+
tests the mock. For a failing run worth a deeper look, `multi-agent-toolkit:web_trace` start/stop
|
|
126
126
|
writes a `trace.zip` for `npx playwright show-trace`; attach it next to
|
|
127
127
|
`trace.md`.
|
|
128
128
|
|
|
@@ -143,7 +143,7 @@ JUnit / Compose assertion or Playwright `expect` on the encoding line is
|
|
|
143
143
|
|
|
144
144
|
## 8. MRZ and document-scan features
|
|
145
145
|
|
|
146
|
-
`document_mrz_build` and `document_generate` produce synthetic passport (TD3),
|
|
146
|
+
`multi-agent-toolkit:document_mrz_build` and `multi-agent-toolkit:document_generate` produce synthetic passport (TD3),
|
|
147
147
|
residence permit (TD1) and visa (MRV-A / MRV-B) fixtures labelled TEST
|
|
148
148
|
SPECIMEN, with every ICAO 9303 check digit computed. Recipes, edge cases and
|
|
149
149
|
how to get the image into a simulator: `references/document-fixtures.md`.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skill_name": "e2e-testing",
|
|
3
|
+
"evals": [
|
|
4
|
+
{
|
|
5
|
+
"id": 0,
|
|
6
|
+
"prompt": "Using the multi-agent-toolkit MCP server, write a repro for bug DEV-221: on the iOS simulator, after signing in as our checkout test user and adding two items, the cart total shows 0.00 instead of 59.80. Explain the steps and how we know the repro is valid.",
|
|
7
|
+
"expected_output": "Locates elements with ui_locate (accessibility identifier, then role plus label, then text) and acts with ios_tap_element and ios_type_text, types the password via secret_ref, ends with an expect_text step on the total inside agent_run_steps, and treats the repro as valid only if it fails with ASSERTION_FAILED on that assertion.",
|
|
8
|
+
"files": [],
|
|
9
|
+
"expectations": [
|
|
10
|
+
"Uses ui_locate with ios_tap_element and ios_type_text rather than ios_tap coordinates",
|
|
11
|
+
"Prefers accessibility identifier, then role plus label, then visible text as locators",
|
|
12
|
+
"Types the credential with secret_ref and never writes the password value",
|
|
13
|
+
"Ends the sequence with an expect_text (or expect_element) step on the total inside agent_run_steps",
|
|
14
|
+
"States the repro proves the bug only when it fails with ASSERTION_FAILED on that assertion; any other failure means the test is wrong and a pass means it did not reproduce"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"id": 1,
|
|
19
|
+
"prompt": "Our nightly toolkit run produced: login flow blocked with CREDENTIAL_MISSING, search flow failed with ASSERTION_FAILED, and the settings flow hit LOCATOR_AMBIGUOUS on the Save button, so the agent tapped the first match and continued. Write the summary for the team.",
|
|
20
|
+
"expected_output": "Reports blocked runs separately from failed ones, treats only the ASSERTION_FAILED as a product failure, and flags that picking the first match on LOCATOR_AMBIGUOUS is wrong: the locator must be narrowed by role or container, retried once, then recorded as blocked (automation).",
|
|
21
|
+
"files": [],
|
|
22
|
+
"expectations": [
|
|
23
|
+
"Separates blocked (CREDENTIAL_MISSING) from failed (ASSERTION_FAILED) and does not report the login as a product bug",
|
|
24
|
+
"Treats LOCATOR_AMBIGUOUS as an automation failure, not a product bug",
|
|
25
|
+
"Says never to pick the first match; narrow by role or container instead",
|
|
26
|
+
"Fix the locator and retry once, then record the step as blocked (automation) if it still fails",
|
|
27
|
+
"Attaches the trace.md path for the failed run rather than paraphrasing it"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": 2,
|
|
32
|
+
"prompt": "On our web dashboard (toolkit v3.20), test that the Orders page shows a proper empty state when the API returns no orders, and that the 'session expired' banner appears after 30 minutes idle. Two testers will run this in parallel with different accounts.",
|
|
33
|
+
"expected_output": "Uses web_route to fulfill the orders API with an empty body, web_clock to fast-forward time, clears the route after the state, gives each tester its own session name, and keeps visual or semantic judgements out of expect steps.",
|
|
34
|
+
"files": [],
|
|
35
|
+
"expectations": [
|
|
36
|
+
"Uses web_route add with response fulfill, status and an empty body for the empty state",
|
|
37
|
+
"Uses web_clock (install, then fast_forward or set_fixed_time) for the 30-minute session expiry",
|
|
38
|
+
"Clears the route with web_route clear after the state is tested",
|
|
39
|
+
"Passes a distinct session name per tester or account to the web tools",
|
|
40
|
+
"Uses expect_text, expect_element or expect_aria for exact claims and hands visual or semantic claims to a separate judge"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|