@rubix0270/arboris 1.0.1 → 1.0.3
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/package.json +8 -19
- package/run.mjs +10 -0
- package/dist/cli.mjs +0 -382
- package/manifest.json +0 -323
- package/prisma/skills/accessibility/SKILL.md +0 -147
- package/prisma/skills/agent-architecture-audit/SKILL.md +0 -257
- package/prisma/skills/agent-eval/SKILL.md +0 -146
- package/prisma/skills/agent-harness-construction/SKILL.md +0 -74
- package/prisma/skills/agent-introspection-debugging/SKILL.md +0 -154
- package/prisma/skills/agent-payment-x402/SKILL.md +0 -225
- package/prisma/skills/agent-self-evaluation/SKILL.md +0 -182
- package/prisma/skills/agent-self-evaluation/examples/high-score-example.md +0 -87
- package/prisma/skills/agent-self-evaluation/examples/low-score-example.md +0 -86
- package/prisma/skills/agent-self-evaluation/references/evaluation-criteria.md +0 -71
- package/prisma/skills/agent-self-evaluation/references/hook-integration.md +0 -64
- package/prisma/skills/agent-self-evaluation/scripts/evaluate.py +0 -408
- package/prisma/skills/agent-self-evaluation/templates/evaluation-report.md +0 -86
- package/prisma/skills/agent-sort/SKILL.md +0 -216
- package/prisma/skills/agentic-engineering/SKILL.md +0 -64
- package/prisma/skills/agentic-os/SKILL.md +0 -388
- package/prisma/skills/ai-first-engineering/SKILL.md +0 -52
- package/prisma/skills/ai-regression-testing/SKILL.md +0 -386
- package/prisma/skills/android-clean-architecture/SKILL.md +0 -340
- package/prisma/skills/angular-developer/SKILL.md +0 -155
- package/prisma/skills/angular-developer/references/angular-animations.md +0 -160
- package/prisma/skills/angular-developer/references/angular-aria.md +0 -410
- package/prisma/skills/angular-developer/references/cli.md +0 -86
- package/prisma/skills/angular-developer/references/component-harnesses.md +0 -59
- package/prisma/skills/angular-developer/references/component-styling.md +0 -91
- package/prisma/skills/angular-developer/references/components.md +0 -117
- package/prisma/skills/angular-developer/references/creating-services.md +0 -97
- package/prisma/skills/angular-developer/references/data-resolvers.md +0 -69
- package/prisma/skills/angular-developer/references/define-routes.md +0 -67
- package/prisma/skills/angular-developer/references/defining-providers.md +0 -72
- package/prisma/skills/angular-developer/references/di-fundamentals.md +0 -120
- package/prisma/skills/angular-developer/references/e2e-testing.md +0 -56
- package/prisma/skills/angular-developer/references/effects.md +0 -83
- package/prisma/skills/angular-developer/references/hierarchical-injectors.md +0 -43
- package/prisma/skills/angular-developer/references/host-elements.md +0 -80
- package/prisma/skills/angular-developer/references/injection-context.md +0 -63
- package/prisma/skills/angular-developer/references/inputs.md +0 -101
- package/prisma/skills/angular-developer/references/linked-signal.md +0 -59
- package/prisma/skills/angular-developer/references/loading-strategies.md +0 -61
- package/prisma/skills/angular-developer/references/mcp.md +0 -108
- package/prisma/skills/angular-developer/references/navigate-to-routes.md +0 -69
- package/prisma/skills/angular-developer/references/outputs.md +0 -86
- package/prisma/skills/angular-developer/references/reactive-forms.md +0 -122
- package/prisma/skills/angular-developer/references/rendering-strategies.md +0 -44
- package/prisma/skills/angular-developer/references/resource.md +0 -77
- package/prisma/skills/angular-developer/references/route-animations.md +0 -56
- package/prisma/skills/angular-developer/references/route-guards.md +0 -52
- package/prisma/skills/angular-developer/references/router-lifecycle.md +0 -45
- package/prisma/skills/angular-developer/references/router-testing.md +0 -87
- package/prisma/skills/angular-developer/references/show-routes-with-outlets.md +0 -68
- package/prisma/skills/angular-developer/references/signal-forms.md +0 -795
- package/prisma/skills/angular-developer/references/signals-overview.md +0 -94
- package/prisma/skills/angular-developer/references/tailwind-css.md +0 -69
- package/prisma/skills/angular-developer/references/template-driven-forms.md +0 -114
- package/prisma/skills/angular-developer/references/testing-fundamentals.md +0 -65
- package/prisma/skills/api-connector-builder/SKILL.md +0 -121
- package/prisma/skills/api-design/SKILL.md +0 -524
- package/prisma/skills/architecture-decision-records/SKILL.md +0 -180
- package/prisma/skills/article-writing/SKILL.md +0 -80
- package/prisma/skills/automation-audit-ops/SKILL.md +0 -143
- package/prisma/skills/autonomous-agent-harness/SKILL.md +0 -274
- package/prisma/skills/autonomous-loops/SKILL.md +0 -611
- package/prisma/skills/backend-patterns/SKILL.md +0 -562
- package/prisma/skills/benchmark/SKILL.md +0 -94
- package/prisma/skills/benchmark-methodology/SKILL.md +0 -190
- package/prisma/skills/benchmark-optimization-loop/SKILL.md +0 -70
- package/prisma/skills/blender-motion-state-inspection/SKILL.md +0 -165
- package/prisma/skills/blueprint/SKILL.md +0 -106
- package/prisma/skills/brand-discovery/SKILL.md +0 -145
- package/prisma/skills/brand-discovery/references/10_purpose-why.md +0 -40
- package/prisma/skills/brand-discovery/references/20_positioning.md +0 -44
- package/prisma/skills/brand-discovery/references/30_audience-niche.md +0 -52
- package/prisma/skills/brand-discovery/references/40_personality-archetype.md +0 -57
- package/prisma/skills/brand-discovery/references/50_voice-tone.md +0 -59
- package/prisma/skills/brand-discovery/references/60_narrative-story.md +0 -50
- package/prisma/skills/brand-discovery/references/70_founder-tension.md +0 -49
- package/prisma/skills/brand-discovery/references/90_SYNTHESIS.md +0 -133
- package/prisma/skills/brand-voice/SKILL.md +0 -98
- package/prisma/skills/brand-voice/references/voice-profile-schema.md +0 -55
- package/prisma/skills/browser-qa/SKILL.md +0 -105
- package/prisma/skills/bun-runtime/SKILL.md +0 -85
- package/prisma/skills/canary-watch/SKILL.md +0 -108
- package/prisma/skills/carrier-relationship-management/SKILL.md +0 -212
- package/prisma/skills/cisco-ios-patterns/SKILL.md +0 -164
- package/prisma/skills/ck/SKILL.md +0 -148
- package/prisma/skills/ck/commands/forget.mjs +0 -44
- package/prisma/skills/ck/commands/info.mjs +0 -24
- package/prisma/skills/ck/commands/init.mjs +0 -143
- package/prisma/skills/ck/commands/list.mjs +0 -40
- package/prisma/skills/ck/commands/migrate.mjs +0 -202
- package/prisma/skills/ck/commands/resume.mjs +0 -36
- package/prisma/skills/ck/commands/save.mjs +0 -210
- package/prisma/skills/ck/commands/shared.mjs +0 -387
- package/prisma/skills/ck/hooks/session-start.mjs +0 -224
- package/prisma/skills/claude-devfleet/SKILL.md +0 -112
- package/prisma/skills/click-path-audit/SKILL.md +0 -245
- package/prisma/skills/clickhouse-io/SKILL.md +0 -440
- package/prisma/skills/code-tour/SKILL.md +0 -254
- package/prisma/skills/codebase-onboarding/SKILL.md +0 -234
- package/prisma/skills/codehealth-mcp/SKILL.md +0 -167
- package/prisma/skills/coding-standards/SKILL.md +0 -551
- package/prisma/skills/competitive-platform-analysis/SKILL.md +0 -214
- package/prisma/skills/competitive-report-structure/SKILL.md +0 -162
- package/prisma/skills/compose-multiplatform-patterns/SKILL.md +0 -300
- package/prisma/skills/config-gc/SKILL.md +0 -120
- package/prisma/skills/configure-ecc/SKILL.md +0 -385
- package/prisma/skills/connections-optimizer/SKILL.md +0 -190
- package/prisma/skills/content-engine/SKILL.md +0 -132
- package/prisma/skills/content-hash-cache-pattern/SKILL.md +0 -162
- package/prisma/skills/context-budget/SKILL.md +0 -136
- package/prisma/skills/continuous-agent-loop/SKILL.md +0 -46
- package/prisma/skills/continuous-learning/SKILL.md +0 -132
- package/prisma/skills/continuous-learning/config.json +0 -18
- package/prisma/skills/continuous-learning/evaluate-session.sh +0 -69
- package/prisma/skills/continuous-learning-v2/SKILL.md +0 -361
- package/prisma/skills/continuous-learning-v2/agents/observer-loop.sh +0 -359
- package/prisma/skills/continuous-learning-v2/agents/observer.md +0 -189
- package/prisma/skills/continuous-learning-v2/agents/session-guardian.sh +0 -150
- package/prisma/skills/continuous-learning-v2/agents/start-observer.sh +0 -248
- package/prisma/skills/continuous-learning-v2/config.json +0 -8
- package/prisma/skills/continuous-learning-v2/hooks/observe.sh +0 -585
- package/prisma/skills/continuous-learning-v2/scripts/detect-project.sh +0 -322
- package/prisma/skills/continuous-learning-v2/scripts/instinct-cli.py +0 -1956
- package/prisma/skills/continuous-learning-v2/scripts/lib/homunculus-dir.sh +0 -31
- package/prisma/skills/continuous-learning-v2/scripts/migrate-homunculus.sh +0 -68
- package/prisma/skills/continuous-learning-v2/scripts/test_parse_instinct.py +0 -1421
- package/prisma/skills/cost-aware-llm-pipeline/SKILL.md +0 -184
- package/prisma/skills/cost-tracking/SKILL.md +0 -97
- package/prisma/skills/council/SKILL.md +0 -204
- package/prisma/skills/cpp-coding-standards/SKILL.md +0 -724
- package/prisma/skills/cpp-testing/SKILL.md +0 -325
- package/prisma/skills/crosspost/SKILL.md +0 -112
- package/prisma/skills/csharp-testing/SKILL.md +0 -322
- package/prisma/skills/customer-billing-ops/SKILL.md +0 -141
- package/prisma/skills/customs-trade-compliance/SKILL.md +0 -263
- package/prisma/skills/dart-flutter-patterns/SKILL.md +0 -564
- package/prisma/skills/dashboard-builder/SKILL.md +0 -109
- package/prisma/skills/data-scraper-agent/SKILL.md +0 -765
- package/prisma/skills/data-throughput-accelerator/SKILL.md +0 -73
- package/prisma/skills/database-migrations/SKILL.md +0 -430
- package/prisma/skills/deep-research/SKILL.md +0 -160
- package/prisma/skills/defi-amm-security/SKILL.md +0 -167
- package/prisma/skills/delivery-gate/SKILL.md +0 -126
- package/prisma/skills/delivery-gate/hooks/quality-gate.py +0 -220
- package/prisma/skills/deployment-patterns/SKILL.md +0 -428
- package/prisma/skills/design-system/SKILL.md +0 -83
- package/prisma/skills/django-celery/SKILL.md +0 -458
- package/prisma/skills/django-patterns/SKILL.md +0 -735
- package/prisma/skills/django-security/SKILL.md +0 -644
- package/prisma/skills/django-tdd/SKILL.md +0 -730
- package/prisma/skills/django-verification/SKILL.md +0 -470
- package/prisma/skills/dmux-workflows/SKILL.md +0 -192
- package/prisma/skills/docker-patterns/SKILL.md +0 -365
- package/prisma/skills/documentation-lookup/SKILL.md +0 -91
- package/prisma/skills/dotnet-patterns/SKILL.md +0 -322
- package/prisma/skills/dynamic-workflow-mode/SKILL.md +0 -124
- package/prisma/skills/e2e-testing/SKILL.md +0 -327
- package/prisma/skills/ecc-guide/SKILL.md +0 -190
- package/prisma/skills/ecc-recipes/SKILL.md +0 -149
- package/prisma/skills/ecc-tools-cost-audit/SKILL.md +0 -161
- package/prisma/skills/email-ops/SKILL.md +0 -122
- package/prisma/skills/energy-procurement/SKILL.md +0 -228
- package/prisma/skills/enterprise-agent-ops/SKILL.md +0 -51
- package/prisma/skills/error-handling/SKILL.md +0 -377
- package/prisma/skills/eval-harness/SKILL.md +0 -271
- package/prisma/skills/evm-token-decimals/SKILL.md +0 -131
- package/prisma/skills/exa-search/SKILL.md +0 -108
- package/prisma/skills/fal-ai-media/SKILL.md +0 -289
- package/prisma/skills/fastapi-patterns/SKILL.md +0 -514
- package/prisma/skills/finance-billing-ops/SKILL.md +0 -128
- package/prisma/skills/flox-environments/SKILL.md +0 -497
- package/prisma/skills/flutter-dart-code-review/SKILL.md +0 -436
- package/prisma/skills/foundation-models-on-device/SKILL.md +0 -243
- package/prisma/skills/frontend-a11y/SKILL.md +0 -446
- package/prisma/skills/frontend-design-direction/SKILL.md +0 -93
- package/prisma/skills/frontend-patterns/SKILL.md +0 -657
- package/prisma/skills/frontend-slides/SKILL.md +0 -185
- package/prisma/skills/frontend-slides/STYLE_PRESETS.md +0 -330
- package/prisma/skills/frontend-slides/animation-patterns.md +0 -122
- package/prisma/skills/frontend-slides/html-template.md +0 -419
- package/prisma/skills/frontend-slides/scripts/export-pdf.sh +0 -418
- package/prisma/skills/frontend-slides/scripts/extract-pptx.py +0 -96
- package/prisma/skills/frontend-slides/viewport-base.css +0 -153
- package/prisma/skills/fsharp-testing/SKILL.md +0 -281
- package/prisma/skills/gan-style-harness/SKILL.md +0 -279
- package/prisma/skills/gateguard/SKILL.md +0 -133
- package/prisma/skills/generating-python-installer/SKILL.md +0 -820
- package/prisma/skills/git-workflow/SKILL.md +0 -716
- package/prisma/skills/github-ops/SKILL.md +0 -145
- package/prisma/skills/golang-patterns/SKILL.md +0 -675
- package/prisma/skills/golang-testing/SKILL.md +0 -721
- package/prisma/skills/google-workspace-ops/SKILL.md +0 -96
- package/prisma/skills/growth-log/SKILL.md +0 -128
- package/prisma/skills/healthcare-cdss-patterns/SKILL.md +0 -246
- package/prisma/skills/healthcare-emr-patterns/SKILL.md +0 -160
- package/prisma/skills/healthcare-eval-harness/SKILL.md +0 -208
- package/prisma/skills/healthcare-phi-compliance/SKILL.md +0 -146
- package/prisma/skills/hermes-imports/SKILL.md +0 -89
- package/prisma/skills/hexagonal-architecture/SKILL.md +0 -277
- package/prisma/skills/hipaa-compliance/SKILL.md +0 -79
- package/prisma/skills/homelab-network-readiness/SKILL.md +0 -170
- package/prisma/skills/homelab-network-setup/SKILL.md +0 -130
- package/prisma/skills/homelab-pihole-dns/SKILL.md +0 -275
- package/prisma/skills/homelab-vlan-segmentation/SKILL.md +0 -312
- package/prisma/skills/homelab-wireguard-vpn/SKILL.md +0 -306
- package/prisma/skills/hookify-rules/SKILL.md +0 -128
- package/prisma/skills/inherit-legacy-style/SKILL.md +0 -157
- package/prisma/skills/intent-driven-development/SKILL.md +0 -360
- package/prisma/skills/inventory-demand-planning/SKILL.md +0 -247
- package/prisma/skills/investor-materials/SKILL.md +0 -97
- package/prisma/skills/investor-outreach/SKILL.md +0 -92
- package/prisma/skills/ios-icon-gen/SKILL.md +0 -158
- package/prisma/skills/ios-icon-gen/scripts/generate_icons.swift +0 -258
- package/prisma/skills/ios-icon-gen/scripts/iconify_gen.sh +0 -235
- package/prisma/skills/iterative-retrieval/SKILL.md +0 -212
- package/prisma/skills/ito-basket-compare/SKILL.md +0 -64
- package/prisma/skills/ito-data-atlas-agent/SKILL.md +0 -64
- package/prisma/skills/ito-market-intelligence/SKILL.md +0 -61
- package/prisma/skills/ito-trade-planner/SKILL.md +0 -68
- package/prisma/skills/java-coding-standards/SKILL.md +0 -384
- package/prisma/skills/jira-integration/SKILL.md +0 -303
- package/prisma/skills/jpa-patterns/SKILL.md +0 -152
- package/prisma/skills/knowledge-ops/SKILL.md +0 -155
- package/prisma/skills/kotlin-coroutines-flows/SKILL.md +0 -285
- package/prisma/skills/kotlin-exposed-patterns/SKILL.md +0 -720
- package/prisma/skills/kotlin-ktor-patterns/SKILL.md +0 -690
- package/prisma/skills/kotlin-patterns/SKILL.md +0 -712
- package/prisma/skills/kotlin-testing/SKILL.md +0 -825
- package/prisma/skills/kubernetes-patterns/SKILL.md +0 -756
- package/prisma/skills/laravel-patterns/SKILL.md +0 -416
- package/prisma/skills/laravel-plugin-discovery/SKILL.md +0 -230
- package/prisma/skills/laravel-security/SKILL.md +0 -948
- package/prisma/skills/laravel-tdd/SKILL.md +0 -675
- package/prisma/skills/laravel-verification/SKILL.md +0 -180
- package/prisma/skills/latency-critical-systems/SKILL.md +0 -74
- package/prisma/skills/lead-intelligence/SKILL.md +0 -322
- package/prisma/skills/lead-intelligence/agents/enrichment-agent.md +0 -85
- package/prisma/skills/lead-intelligence/agents/mutual-mapper.md +0 -75
- package/prisma/skills/lead-intelligence/agents/outreach-drafter.md +0 -98
- package/prisma/skills/lead-intelligence/agents/signal-scorer.md +0 -60
- package/prisma/skills/liquid-glass-design/SKILL.md +0 -279
- package/prisma/skills/llm-trading-agent-security/SKILL.md +0 -147
- package/prisma/skills/logistics-exception-management/SKILL.md +0 -222
- package/prisma/skills/loop-design-check/SKILL.md +0 -143
- package/prisma/skills/mailtrap-email-integration/SKILL.md +0 -77
- package/prisma/skills/make-interfaces-feel-better/SKILL.md +0 -152
- package/prisma/skills/manim-video/SKILL.md +0 -90
- package/prisma/skills/manim-video/assets/network_graph_scene.py +0 -52
- package/prisma/skills/market-research/SKILL.md +0 -76
- package/prisma/skills/marketing-campaign/SKILL.md +0 -114
- package/prisma/skills/mcp-server-patterns/SKILL.md +0 -70
- package/prisma/skills/messages-ops/SKILL.md +0 -105
- package/prisma/skills/ml-adoption-playbook/SKILL.md +0 -57
- package/prisma/skills/mle-workflow/SKILL.md +0 -347
- package/prisma/skills/motion-advanced/SKILL.md +0 -596
- package/prisma/skills/motion-foundations/SKILL.md +0 -299
- package/prisma/skills/motion-patterns/SKILL.md +0 -434
- package/prisma/skills/motion-ui/SKILL.md +0 -576
- package/prisma/skills/mysql-patterns/SKILL.md +0 -413
- package/prisma/skills/nanoclaw-repl/SKILL.md +0 -34
- package/prisma/skills/nestjs-patterns/SKILL.md +0 -231
- package/prisma/skills/netmiko-ssh-automation/SKILL.md +0 -174
- package/prisma/skills/network-bgp-diagnostics/SKILL.md +0 -168
- package/prisma/skills/network-config-validation/SKILL.md +0 -211
- package/prisma/skills/network-interface-health/SKILL.md +0 -153
- package/prisma/skills/nextjs-turbopack/SKILL.md +0 -58
- package/prisma/skills/nodejs-keccak256/SKILL.md +0 -103
- package/prisma/skills/nutrient-document-processing/SKILL.md +0 -168
- package/prisma/skills/nuxt4-patterns/SKILL.md +0 -101
- package/prisma/skills/openclaw-persona-forge/SKILL.md +0 -289
- package/prisma/skills/openclaw-persona-forge/gacha.py +0 -224
- package/prisma/skills/openclaw-persona-forge/gacha.sh +0 -5
- package/prisma/skills/openclaw-persona-forge/references/avatar-style.md +0 -124
- package/prisma/skills/openclaw-persona-forge/references/boundary-rules.md +0 -53
- package/prisma/skills/openclaw-persona-forge/references/error-handling.md +0 -53
- package/prisma/skills/openclaw-persona-forge/references/identity-tension.md +0 -48
- package/prisma/skills/openclaw-persona-forge/references/naming-system.md +0 -39
- package/prisma/skills/openclaw-persona-forge/references/output-template.md +0 -166
- package/prisma/skills/opensource-pipeline/SKILL.md +0 -256
- package/prisma/skills/orch-add-feature/SKILL.md +0 -45
- package/prisma/skills/orch-build-mvp/SKILL.md +0 -49
- package/prisma/skills/orch-change-feature/SKILL.md +0 -43
- package/prisma/skills/orch-fix-defect/SKILL.md +0 -43
- package/prisma/skills/orch-pipeline/SKILL.md +0 -121
- package/prisma/skills/orch-refine-code/SKILL.md +0 -44
- package/prisma/skills/parallel-execution-optimizer/SKILL.md +0 -73
- package/prisma/skills/perl-patterns/SKILL.md +0 -505
- package/prisma/skills/perl-security/SKILL.md +0 -504
- package/prisma/skills/perl-testing/SKILL.md +0 -476
- package/prisma/skills/plan-orchestrate/SKILL.md +0 -263
- package/prisma/skills/plankton-code-quality/SKILL.md +0 -237
- package/prisma/skills/postgres-patterns/SKILL.md +0 -148
- package/prisma/skills/prediction-market-oracle-research/SKILL.md +0 -64
- package/prisma/skills/prediction-market-risk-review/SKILL.md +0 -61
- package/prisma/skills/prisma-patterns/SKILL.md +0 -401
- package/prisma/skills/product-capability/SKILL.md +0 -142
- package/prisma/skills/product-lens/SKILL.md +0 -93
- package/prisma/skills/production-audit/SKILL.md +0 -207
- package/prisma/skills/production-scheduling/SKILL.md +0 -238
- package/prisma/skills/project-flow-ops/SKILL.md +0 -112
- package/prisma/skills/prompt-optimizer/SKILL.md +0 -398
- package/prisma/skills/python-patterns/SKILL.md +0 -751
- package/prisma/skills/python-testing/SKILL.md +0 -817
- package/prisma/skills/pytorch-patterns/SKILL.md +0 -397
- package/prisma/skills/quality-nonconformance/SKILL.md +0 -260
- package/prisma/skills/quarkus-patterns/SKILL.md +0 -723
- package/prisma/skills/quarkus-security/SKILL.md +0 -468
- package/prisma/skills/quarkus-tdd/SKILL.md +0 -812
- package/prisma/skills/quarkus-verification/SKILL.md +0 -480
- package/prisma/skills/ralphinho-rfc-pipeline/SKILL.md +0 -68
- package/prisma/skills/react-native-patterns/SKILL.md +0 -326
- package/prisma/skills/react-patterns/SKILL.md +0 -342
- package/prisma/skills/react-performance/SKILL.md +0 -575
- package/prisma/skills/react-testing/SKILL.md +0 -424
- package/prisma/skills/recsys-pipeline-architect/SKILL.md +0 -115
- package/prisma/skills/recursive-decision-ledger/SKILL.md +0 -80
- package/prisma/skills/redis-patterns/SKILL.md +0 -404
- package/prisma/skills/regex-vs-llm-structured-text/SKILL.md +0 -221
- package/prisma/skills/remotion-video-creation/SKILL.md +0 -43
- package/prisma/skills/remotion-video-creation/rules/3d.md +0 -86
- package/prisma/skills/remotion-video-creation/rules/animations.md +0 -29
- package/prisma/skills/remotion-video-creation/rules/assets/charts-bar-chart.tsx +0 -173
- package/prisma/skills/remotion-video-creation/rules/assets/text-animations-typewriter.tsx +0 -100
- package/prisma/skills/remotion-video-creation/rules/assets/text-animations-word-highlight.tsx +0 -108
- package/prisma/skills/remotion-video-creation/rules/assets.md +0 -78
- package/prisma/skills/remotion-video-creation/rules/audio.md +0 -172
- package/prisma/skills/remotion-video-creation/rules/calculate-metadata.md +0 -104
- package/prisma/skills/remotion-video-creation/rules/can-decode.md +0 -75
- package/prisma/skills/remotion-video-creation/rules/charts.md +0 -58
- package/prisma/skills/remotion-video-creation/rules/compositions.md +0 -146
- package/prisma/skills/remotion-video-creation/rules/display-captions.md +0 -126
- package/prisma/skills/remotion-video-creation/rules/extract-frames.md +0 -229
- package/prisma/skills/remotion-video-creation/rules/fonts.md +0 -152
- package/prisma/skills/remotion-video-creation/rules/get-audio-duration.md +0 -58
- package/prisma/skills/remotion-video-creation/rules/get-video-dimensions.md +0 -68
- package/prisma/skills/remotion-video-creation/rules/get-video-duration.md +0 -58
- package/prisma/skills/remotion-video-creation/rules/gifs.md +0 -138
- package/prisma/skills/remotion-video-creation/rules/images.md +0 -130
- package/prisma/skills/remotion-video-creation/rules/import-srt-captions.md +0 -67
- package/prisma/skills/remotion-video-creation/rules/lottie.md +0 -67
- package/prisma/skills/remotion-video-creation/rules/measuring-dom-nodes.md +0 -34
- package/prisma/skills/remotion-video-creation/rules/measuring-text.md +0 -143
- package/prisma/skills/remotion-video-creation/rules/sequencing.md +0 -106
- package/prisma/skills/remotion-video-creation/rules/tailwind.md +0 -11
- package/prisma/skills/remotion-video-creation/rules/text-animations.md +0 -20
- package/prisma/skills/remotion-video-creation/rules/timing.md +0 -179
- package/prisma/skills/remotion-video-creation/rules/transcribe-captions.md +0 -19
- package/prisma/skills/remotion-video-creation/rules/transitions.md +0 -122
- package/prisma/skills/remotion-video-creation/rules/trimming.md +0 -52
- package/prisma/skills/remotion-video-creation/rules/videos.md +0 -171
- package/prisma/skills/repo-scan/SKILL.md +0 -79
- package/prisma/skills/research-ops/SKILL.md +0 -113
- package/prisma/skills/returns-reverse-logistics/SKILL.md +0 -240
- package/prisma/skills/rules-distill/SKILL.md +0 -265
- package/prisma/skills/rules-distill/scripts/scan-rules.sh +0 -58
- package/prisma/skills/rules-distill/scripts/scan-skills.sh +0 -129
- package/prisma/skills/rust-patterns/SKILL.md +0 -500
- package/prisma/skills/rust-testing/SKILL.md +0 -501
- package/prisma/skills/safety-guard/SKILL.md +0 -76
- package/prisma/skills/santa-method/SKILL.md +0 -307
- package/prisma/skills/scientific-db-pubmed-database/SKILL.md +0 -176
- package/prisma/skills/scientific-db-uspto-database/SKILL.md +0 -178
- package/prisma/skills/scientific-pkg-gget/SKILL.md +0 -167
- package/prisma/skills/scientific-thinking-literature-review/SKILL.md +0 -193
- package/prisma/skills/scientific-thinking-scholar-evaluation/SKILL.md +0 -161
- package/prisma/skills/search-first/SKILL.md +0 -183
- package/prisma/skills/security-bounty-hunter/SKILL.md +0 -100
- package/prisma/skills/security-review/SKILL.md +0 -504
- package/prisma/skills/security-review/cloud-infrastructure-security.md +0 -361
- package/prisma/skills/security-scan/SKILL.md +0 -166
- package/prisma/skills/seo/SKILL.md +0 -155
- package/prisma/skills/skill-comply/SKILL.md +0 -59
- package/prisma/skills/skill-comply/fixtures/compliant_trace.jsonl +0 -5
- package/prisma/skills/skill-comply/fixtures/noncompliant_trace.jsonl +0 -3
- package/prisma/skills/skill-comply/fixtures/tdd_spec.yaml +0 -44
- package/prisma/skills/skill-comply/prompts/classifier.md +0 -24
- package/prisma/skills/skill-comply/prompts/scenario_generator.md +0 -62
- package/prisma/skills/skill-comply/prompts/spec_generator.md +0 -42
- package/prisma/skills/skill-comply/pyproject.toml +0 -15
- package/prisma/skills/skill-comply/scripts/__init__.py +0 -0
- package/prisma/skills/skill-comply/scripts/classifier.py +0 -85
- package/prisma/skills/skill-comply/scripts/grader.py +0 -124
- package/prisma/skills/skill-comply/scripts/parser.py +0 -107
- package/prisma/skills/skill-comply/scripts/report.py +0 -170
- package/prisma/skills/skill-comply/scripts/run.py +0 -127
- package/prisma/skills/skill-comply/scripts/runner.py +0 -194
- package/prisma/skills/skill-comply/scripts/scenario_generator.py +0 -70
- package/prisma/skills/skill-comply/scripts/spec_generator.py +0 -72
- package/prisma/skills/skill-comply/scripts/utils.py +0 -13
- package/prisma/skills/skill-comply/tests/test_grader.py +0 -197
- package/prisma/skills/skill-comply/tests/test_parser.py +0 -90
- package/prisma/skills/skill-comply/tests/test_runner.py +0 -172
- package/prisma/skills/skill-scout/SKILL.md +0 -141
- package/prisma/skills/skill-stocktake/SKILL.md +0 -195
- package/prisma/skills/skill-stocktake/scripts/quick-diff.sh +0 -87
- package/prisma/skills/skill-stocktake/scripts/save-results.sh +0 -56
- package/prisma/skills/skill-stocktake/scripts/scan.sh +0 -170
- package/prisma/skills/social-graph-ranker/SKILL.md +0 -155
- package/prisma/skills/social-publisher/SKILL.md +0 -130
- package/prisma/skills/springboot-patterns/SKILL.md +0 -315
- package/prisma/skills/springboot-security/SKILL.md +0 -273
- package/prisma/skills/springboot-tdd/SKILL.md +0 -159
- package/prisma/skills/springboot-verification/SKILL.md +0 -232
- package/prisma/skills/strategic-compact/SKILL.md +0 -136
- package/prisma/skills/swift-actor-persistence/SKILL.md +0 -144
- package/prisma/skills/swift-concurrency-6-2/SKILL.md +0 -216
- package/prisma/skills/swift-protocol-di-testing/SKILL.md +0 -191
- package/prisma/skills/swiftui-patterns/SKILL.md +0 -259
- package/prisma/skills/taste/SKILL.md +0 -264
- package/prisma/skills/taste/references/genre-taxonomy.md +0 -87
- package/prisma/skills/tdd-workflow/SKILL.md +0 -583
- package/prisma/skills/team-agent-orchestration/SKILL.md +0 -111
- package/prisma/skills/team-builder/SKILL.md +0 -169
- package/prisma/skills/terminal-ops/SKILL.md +0 -110
- package/prisma/skills/tinystruct-patterns/SKILL.md +0 -279
- package/prisma/skills/tinystruct-patterns/references/architecture.md +0 -90
- package/prisma/skills/tinystruct-patterns/references/data-handling.md +0 -60
- package/prisma/skills/tinystruct-patterns/references/database.md +0 -99
- package/prisma/skills/tinystruct-patterns/references/routing.md +0 -64
- package/prisma/skills/tinystruct-patterns/references/system-usage.md +0 -97
- package/prisma/skills/tinystruct-patterns/references/testing.md +0 -72
- package/prisma/skills/token-budget-advisor/SKILL.md +0 -134
- package/prisma/skills/ui-demo/SKILL.md +0 -466
- package/prisma/skills/ui-to-vue/SKILL.md +0 -135
- package/prisma/skills/uncloud/SKILL.md +0 -344
- package/prisma/skills/unified-notifications-ops/SKILL.md +0 -188
- package/prisma/skills/verification-loop/SKILL.md +0 -127
- package/prisma/skills/video-editing/SKILL.md +0 -311
- package/prisma/skills/videodb/SKILL.md +0 -375
- package/prisma/skills/videodb/reference/api-reference.md +0 -550
- package/prisma/skills/videodb/reference/capture-reference.md +0 -407
- package/prisma/skills/videodb/reference/capture.md +0 -101
- package/prisma/skills/videodb/reference/editor.md +0 -443
- package/prisma/skills/videodb/reference/generative.md +0 -331
- package/prisma/skills/videodb/reference/rtstream-reference.md +0 -564
- package/prisma/skills/videodb/reference/rtstream.md +0 -65
- package/prisma/skills/videodb/reference/search.md +0 -230
- package/prisma/skills/videodb/reference/streaming.md +0 -406
- package/prisma/skills/videodb/reference/use-cases.md +0 -118
- package/prisma/skills/videodb/scripts/ws_listener.py +0 -282
- package/prisma/skills/visa-doc-translate/README.md +0 -86
- package/prisma/skills/visa-doc-translate/SKILL.md +0 -117
- package/prisma/skills/vite-patterns/SKILL.md +0 -450
- package/prisma/skills/vue-patterns/SKILL.md +0 -471
- package/prisma/skills/windows-desktop-e2e/SKILL.md +0 -888
- package/prisma/skills/workspace-surface-audit/SKILL.md +0 -126
- package/prisma/skills/x-api/SKILL.md +0 -235
|
@@ -1,222 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: logistics-exception-management
|
|
3
|
-
description: >
|
|
4
|
-
Codified expertise for handling freight exceptions, shipment delays,
|
|
5
|
-
damages, losses, and carrier disputes. Informed by logistics professionals
|
|
6
|
-
with 15+ years operational experience. Includes escalation protocols,
|
|
7
|
-
carrier-specific behaviors, claims procedures, and judgment frameworks.
|
|
8
|
-
Use when handling shipping exceptions, freight claims, delivery issues,
|
|
9
|
-
or carrier disputes.
|
|
10
|
-
license: Apache-2.0
|
|
11
|
-
version: 1.0.0
|
|
12
|
-
homepage: https://github.com/affaan-m/everything-claude-code
|
|
13
|
-
metadata:
|
|
14
|
-
origin: ECC
|
|
15
|
-
author: evos
|
|
16
|
-
clawdbot:
|
|
17
|
-
emoji: ""
|
|
18
|
-
---
|
|
19
|
-
|
|
20
|
-
# Logistics Exception Management
|
|
21
|
-
|
|
22
|
-
## Role and Context
|
|
23
|
-
|
|
24
|
-
You are a senior freight exceptions analyst with 15+ years managing shipment exceptions across all modes — LTL, FTL, parcel, intermodal, ocean, and air. You sit at the intersection of shippers, carriers, consignees, insurance providers, and internal stakeholders. Your systems include TMS (transportation management), WMS (warehouse management), carrier portals, claims management platforms, and ERP order management. Your job is to resolve exceptions quickly while protecting financial interests, preserving carrier relationships, and maintaining customer satisfaction.
|
|
25
|
-
|
|
26
|
-
## When to Use
|
|
27
|
-
|
|
28
|
-
- Shipment is delayed, damaged, lost, or refused at delivery
|
|
29
|
-
- Carrier dispute over liability, accessorial charges, or detention claims
|
|
30
|
-
- Customer escalation due to missed delivery window or incorrect order
|
|
31
|
-
- Filing or managing freight claims with carriers or insurers
|
|
32
|
-
- Building exception handling SOPs or escalation protocols
|
|
33
|
-
|
|
34
|
-
## How It Works
|
|
35
|
-
|
|
36
|
-
1. Classify the exception by type (delay, damage, loss, shortage, refusal) and severity
|
|
37
|
-
2. Apply the appropriate resolution workflow based on classification and financial exposure
|
|
38
|
-
3. Document evidence per carrier-specific requirements and filing deadlines
|
|
39
|
-
4. Escalate through defined tiers based on time elapsed and dollar thresholds
|
|
40
|
-
5. File claims within statute windows, negotiate settlements, and track recovery
|
|
41
|
-
|
|
42
|
-
## Examples
|
|
43
|
-
|
|
44
|
-
- **Damage claim**: 500-unit shipment arrives with 30% salvageable. Carrier claims force majeure. Walk through evidence collection, salvage assessment, liability determination, claim filing, and negotiation strategy.
|
|
45
|
-
- **Detention dispute**: Carrier bills 8 hours detention at a DC. Receiver says driver arrived 2 hours early. Reconcile GPS data, appointment logs, and gate timestamps to resolve.
|
|
46
|
-
- **Lost shipment**: High-value parcel shows "delivered" but consignee denies receipt. Initiate trace, coordinate with carrier investigation, file claim within the 9-month Carmack window.
|
|
47
|
-
|
|
48
|
-
## Core Knowledge
|
|
49
|
-
|
|
50
|
-
### Exception Taxonomy
|
|
51
|
-
|
|
52
|
-
Every exception falls into a classification that determines the resolution workflow, documentation requirements, and urgency:
|
|
53
|
-
|
|
54
|
-
- **Delay (transit):** Shipment not delivered by promised date. Subtypes: weather, mechanical, capacity (no driver), customs hold, consignee reschedule. Most common exception type (~40% of all exceptions). Resolution hinges on whether delay is carrier-fault or force majeure.
|
|
55
|
-
- **Damage (visible):** Noted on POD at delivery. Carrier liability is strong when consignee documents on the delivery receipt. Photograph immediately. Never accept "driver left before we could inspect."
|
|
56
|
-
- **Damage (concealed):** Discovered after delivery, not noted on POD. Must file concealed damage claim within 5 days of delivery (industry standard, not law). Burden of proof shifts to shipper. Carrier will challenge — you need packaging integrity evidence.
|
|
57
|
-
- **Damage (temperature):** Reefer/temperature-controlled failure. Requires continuous temp recorder data (Sensitech, Emerson). Pre-trip inspection records are critical. Carriers will claim "product was loaded warm."
|
|
58
|
-
- **Shortage:** Piece count discrepancy at delivery. Count at the tailgate — never sign clean BOL if count is off. Distinguish driver count vs warehouse count conflicts. OS&D (Over, Short & Damage) report required.
|
|
59
|
-
- **Overage:** More product delivered than on BOL. Often indicates cross-shipment from another consignee. Trace the extra freight — somebody is short.
|
|
60
|
-
- **Refused delivery:** Consignee rejects. Reasons: damaged, late (perishable window), incorrect product, no PO match, dock scheduling conflict. Carrier is entitled to storage charges and return freight if refusal is not carrier-fault.
|
|
61
|
-
- **Misdelivered:** Delivered to wrong address or wrong consignee. Full carrier liability. Time-critical to recover — product deteriorates or gets consumed.
|
|
62
|
-
- **Lost (full shipment):** No delivery, no scan activity. Trigger trace at 24 hours past ETA for FTL, 48 hours for LTL. File formal tracer with carrier OS&D department.
|
|
63
|
-
- **Lost (partial):** Some items missing from shipment. Often happens at LTL terminals during cross-dock handling. Serial number tracking critical for high-value.
|
|
64
|
-
- **Contaminated:** Product exposed to chemicals, odors, or incompatible freight (common in LTL). Regulatory implications for food and pharma.
|
|
65
|
-
|
|
66
|
-
### Carrier Behaviour by Mode
|
|
67
|
-
|
|
68
|
-
Understanding how different carrier types operate changes your resolution strategy:
|
|
69
|
-
|
|
70
|
-
- **LTL carriers** (FedEx Freight, XPO, Estes): Shipments touch 2-4 terminals. Each touch = damage risk. Claims departments are large and process-driven. Expect 30-60 day claim resolution. Terminal managers have authority up to ~$2,500.
|
|
71
|
-
- **FTL/truckload** (asset carriers + brokers): Single-driver, dock-to-dock. Damage is usually loading/unloading. Brokers add a layer — the broker's carrier may go dark. Always get the actual carrier's MC number.
|
|
72
|
-
- **Parcel** (UPS, FedEx, USPS): Automated claims portals. Strict documentation requirements. Declared value matters — default liability is very low ($100 for UPS). Must purchase additional coverage at shipping.
|
|
73
|
-
- **Intermodal** (rail + drayage): Multiple handoffs. Damage often occurs during rail transit (impact events) or chassis swap. Bill of lading chain determines liability allocation between rail and dray.
|
|
74
|
-
- **Ocean** (container shipping): Governed by Hague-Visby or COGSA (US). Carrier liability is per-package ($500 per package under COGSA unless declared). Container seal integrity is everything. Surveyor inspection at destination port.
|
|
75
|
-
- **Air freight:** Governed by Montreal Convention. Strict 14-day notice for damage, 21 days for delay. Weight-based liability limits unless value declared. Fastest claims resolution of all modes.
|
|
76
|
-
|
|
77
|
-
### Claims Process Fundamentals
|
|
78
|
-
|
|
79
|
-
- **Carmack Amendment (US domestic surface):** Carrier is liable for actual loss or damage with limited exceptions (act of God, act of public enemy, act of shipper, public authority, inherent vice). Shipper must prove: goods were in good condition when tendered, goods arrived damaged/short, and the amount of damages.
|
|
80
|
-
- **Filing deadline:** 9 months from delivery date for US domestic (49 USC § 14706). Miss this and the claim is time-barred regardless of merit.
|
|
81
|
-
- **Documentation required:** Original BOL (showing clean tender), delivery receipt (showing exception), commercial invoice (proving value), inspection report, photographs, repair estimates or replacement quotes, packaging specifications.
|
|
82
|
-
- **Carrier response:** Carrier has 30 days to acknowledge, 120 days to pay or decline. If they decline, you have 2 years from the decline date to file suit.
|
|
83
|
-
|
|
84
|
-
### Seasonal and Cyclical Patterns
|
|
85
|
-
|
|
86
|
-
- **Peak season (Oct-Jan):** Exception rates increase 30-50%. Carrier networks are strained. Transit times extend. Claims departments slow down. Build buffer into commitments.
|
|
87
|
-
- **Produce season (Apr-Sep):** Temperature exceptions spike. Reefer availability tightens. Pre-cooling compliance becomes critical.
|
|
88
|
-
- **Hurricane season (Jun-Nov):** Gulf and East Coast disruptions. Force majeure claims increase. Rerouting decisions needed within 4-6 hours of storm track updates.
|
|
89
|
-
- **Month/quarter end:** Shippers rush volume. Carrier tender rejections spike. Double-brokering increases. Quality suffers across the board.
|
|
90
|
-
- **Driver shortage cycles:** Worst in Q4 and after new regulation implementation (ELD mandate, FMCSA drug clearinghouse). Spot rates spike, service drops.
|
|
91
|
-
|
|
92
|
-
### Fraud and Red Flags
|
|
93
|
-
|
|
94
|
-
- **Staged damages:** Damage patterns inconsistent with transit mode. Multiple claims from same consignee location.
|
|
95
|
-
- **Address manipulation:** Redirect requests post-pickup to different addresses. Common in high-value electronics.
|
|
96
|
-
- **Systematic shortages:** Consistent 1-2 unit shortages across multiple shipments — indicates pilferage at a terminal or during transit.
|
|
97
|
-
- **Double-brokering indicators:** Carrier on BOL doesn't match truck that shows up. Driver can't name their dispatcher. Insurance certificate is from a different entity.
|
|
98
|
-
|
|
99
|
-
## Decision Frameworks
|
|
100
|
-
|
|
101
|
-
### Severity Classification
|
|
102
|
-
|
|
103
|
-
Assess every exception on three axes and take the highest severity:
|
|
104
|
-
|
|
105
|
-
**Financial Impact:**
|
|
106
|
-
- Level 1 (Low): < $1,000 product value, no expedite needed
|
|
107
|
-
- Level 2 (Moderate): $1,000 - $5,000 or minor expedite costs
|
|
108
|
-
- Level 3 (Significant): $5,000 - $25,000 or customer penalty risk
|
|
109
|
-
- Level 4 (Major): $25,000 - $100,000 or contract compliance risk
|
|
110
|
-
- Level 5 (Critical): > $100,000 or regulatory/safety implications
|
|
111
|
-
|
|
112
|
-
**Customer Impact:**
|
|
113
|
-
- Standard customer, no SLA at risk → does not elevate
|
|
114
|
-
- Key account with SLA at risk → elevate by 1 level
|
|
115
|
-
- Enterprise customer with penalty clauses → elevate by 2 levels
|
|
116
|
-
- Customer's production line or retail launch at risk → automatic Level 4+
|
|
117
|
-
|
|
118
|
-
**Time Sensitivity:**
|
|
119
|
-
- Standard transit with buffer → does not elevate
|
|
120
|
-
- Delivery needed within 48 hours, no alternative sourced → elevate by 1
|
|
121
|
-
- Same-day or next-day critical (production shutdown, event deadline) → automatic Level 4+
|
|
122
|
-
|
|
123
|
-
### Eat-the-Cost vs Fight-the-Claim
|
|
124
|
-
|
|
125
|
-
This is the most common judgment call. Thresholds:
|
|
126
|
-
|
|
127
|
-
- **< $500 and carrier relationship is strong:** Absorb. The admin cost of claims processing ($150-250 internal) makes it negative-ROI. Log for carrier scorecard.
|
|
128
|
-
- **$500 - $2,500:** File claim but don't escalate aggressively. This is the "standard process" zone. Accept partial settlements above 70% of value.
|
|
129
|
-
- **$2,500 - $10,000:** Full claims process. Escalate at 30-day mark if no resolution. Involve carrier account manager. Reject settlements below 80%.
|
|
130
|
-
- **> $10,000:** VP-level awareness. Dedicated claims handler. Independent inspection if damage. Reject settlements below 90%. Legal review if denied.
|
|
131
|
-
- **Any amount + pattern:** If this is the 3rd+ exception from the same carrier in 30 days, treat it as a carrier performance issue regardless of individual dollar amounts.
|
|
132
|
-
|
|
133
|
-
### Priority Sequencing
|
|
134
|
-
|
|
135
|
-
When multiple exceptions are active simultaneously (common during peak season or weather events), prioritize:
|
|
136
|
-
|
|
137
|
-
1. Safety/regulatory (temperature-controlled pharma, hazmat) — always first
|
|
138
|
-
2. Customer production shutdown risk — financial multiplier is 10-50x product value
|
|
139
|
-
3. Perishable with remaining shelf life < 48 hours
|
|
140
|
-
4. Highest financial impact adjusted for customer tier
|
|
141
|
-
5. Oldest unresolved exception (prevent aging beyond SLA)
|
|
142
|
-
|
|
143
|
-
## Key Edge Cases
|
|
144
|
-
|
|
145
|
-
These are situations where the obvious approach is wrong. Brief summaries are included here so you can expand them into project-specific playbooks if needed.
|
|
146
|
-
|
|
147
|
-
1. **Pharma reefer failure with disputed temps:** Carrier shows correct set-point; your Sensitech data shows excursion. The dispute is about sensor placement and pre-cooling. Never accept carrier's single-point reading — demand continuous data logger download.
|
|
148
|
-
|
|
149
|
-
2. **Consignee claims damage but caused it during unloading:** POD is signed clean, but consignee calls 2 hours later claiming damage. If your driver witnessed their forklift drop the pallet, the driver's contemporaneous notes are your best defense. Without that, concealed damage claim against you is likely.
|
|
150
|
-
|
|
151
|
-
3. **72-hour scan gap on high-value shipment:** No tracking updates doesn't always mean lost. LTL scan gaps happen at busy terminals. Before triggering a loss protocol, call the origin and destination terminals directly. Ask for physical trailer/bay location.
|
|
152
|
-
|
|
153
|
-
4. **Cross-border customs hold:** When a shipment is held at customs, determine quickly if the hold is for documentation (fixable) or compliance (potentially unfixable). Carrier documentation errors (wrong harmonized codes on the carrier's portion) vs shipper errors (incorrect commercial invoice values) require different resolution paths.
|
|
154
|
-
|
|
155
|
-
5. **Partial deliveries against single BOL:** Multiple delivery attempts where quantities don't match. Maintain a running tally. Don't file shortage claim until all partials are reconciled — carriers will use premature claims as evidence of shipper error.
|
|
156
|
-
|
|
157
|
-
6. **Broker insolvency mid-shipment:** Your freight is on a truck, the broker who arranged it goes bankrupt. The actual carrier has a lien right. Determine quickly: is the carrier paid? If not, negotiate directly with the carrier for release.
|
|
158
|
-
|
|
159
|
-
7. **Concealed damage discovered at final customer:** You delivered to distributor, distributor delivered to end customer, end customer finds damage. The chain-of-custody documentation determines who bears the loss.
|
|
160
|
-
|
|
161
|
-
8. **Peak surcharge dispute during weather event:** Carrier applies emergency surcharge retroactively. Contract may or may not allow this — check force majeure and fuel surcharge clauses specifically.
|
|
162
|
-
|
|
163
|
-
## Communication Patterns
|
|
164
|
-
|
|
165
|
-
### Tone Calibration
|
|
166
|
-
|
|
167
|
-
Match communication tone to situation severity and relationship:
|
|
168
|
-
|
|
169
|
-
- **Routine exception, good carrier relationship:** Collaborative. "We've got a delay on PRO# X — can you get me an updated ETA? Customer is asking."
|
|
170
|
-
- **Significant exception, neutral relationship:** Professional and documented. State facts, reference BOL/PRO, specify what you need and by when.
|
|
171
|
-
- **Major exception or pattern, strained relationship:** Formal. CC management. Reference contract terms. Set response deadlines. "Per Section 4.2 of our transportation agreement dated..."
|
|
172
|
-
- **Customer-facing (delay):** Proactive, honest, solution-oriented. Never blame the carrier by name. "Your shipment has experienced a transit delay. Here's what we're doing and your updated timeline."
|
|
173
|
-
- **Customer-facing (damage/loss):** Empathetic, action-oriented. Lead with the resolution, not the problem. "We've identified an issue with your shipment and have already initiated [replacement/credit]."
|
|
174
|
-
|
|
175
|
-
### Key Templates
|
|
176
|
-
|
|
177
|
-
Brief templates appear below. Adapt them to your carrier, customer, and insurance workflows before using them in production.
|
|
178
|
-
|
|
179
|
-
**Initial carrier inquiry:** Subject: `Exception Notice — PRO# {pro} / BOL# {bol}`. State: what happened, what you need (ETA update, inspection, OS&D report), and by when.
|
|
180
|
-
|
|
181
|
-
**Customer proactive update:** Lead with: what you know, what you're doing about it, what the customer's revised timeline is, and your direct contact for questions.
|
|
182
|
-
|
|
183
|
-
**Escalation to carrier management:** Subject: `ESCALATION: Unresolved Exception — {shipment_ref} — {days} Days`. Include timeline of previous communications, financial impact, and what resolution you expect.
|
|
184
|
-
|
|
185
|
-
## Escalation Protocols
|
|
186
|
-
|
|
187
|
-
### Automatic Escalation Triggers
|
|
188
|
-
|
|
189
|
-
| Trigger | Action | Timeline |
|
|
190
|
-
|---|---|---|
|
|
191
|
-
| Exception value > $25,000 | Notify VP Supply Chain immediately | Within 1 hour |
|
|
192
|
-
| Enterprise customer affected | Assign dedicated handler, notify account team | Within 2 hours |
|
|
193
|
-
| Carrier non-response | Escalate to carrier account manager | After 4 hours |
|
|
194
|
-
| Repeated carrier (3+ in 30 days) | Carrier performance review with procurement | Within 1 week |
|
|
195
|
-
| Potential fraud indicators | Notify compliance and halt standard processing | Immediately |
|
|
196
|
-
| Temperature excursion on regulated product | Notify quality/regulatory team | Within 30 minutes |
|
|
197
|
-
| No scan update on high-value (> $50K) | Initiate trace protocol and notify security | After 24 hours |
|
|
198
|
-
| Claims denied > $10,000 | Legal review of denial basis | Within 48 hours |
|
|
199
|
-
|
|
200
|
-
### Escalation Chain
|
|
201
|
-
|
|
202
|
-
Level 1 (Analyst) → Level 2 (Team Lead, 4 hours) → Level 3 (Manager, 24 hours) → Level 4 (Director, 48 hours) → Level 5 (VP, 72+ hours or any Level 5 severity)
|
|
203
|
-
|
|
204
|
-
## Performance Indicators
|
|
205
|
-
|
|
206
|
-
Track these metrics weekly and trend monthly:
|
|
207
|
-
|
|
208
|
-
| Metric | Target | Red Flag |
|
|
209
|
-
|---|---|---|
|
|
210
|
-
| Mean resolution time | < 72 hours | > 120 hours |
|
|
211
|
-
| First-contact resolution rate | > 40% | < 25% |
|
|
212
|
-
| Financial recovery rate (claims) | > 75% | < 50% |
|
|
213
|
-
| Customer satisfaction (post-exception) | > 4.0/5.0 | < 3.5/5.0 |
|
|
214
|
-
| Exception rate (per 1,000 shipments) | < 25 | > 40 |
|
|
215
|
-
| Claims filing timeliness | 100% within 30 days | Any > 60 days |
|
|
216
|
-
| Repeat exceptions (same carrier/lane) | < 10% | > 20% |
|
|
217
|
-
| Aged exceptions (> 30 days open) | < 5% of total | > 15% |
|
|
218
|
-
|
|
219
|
-
## Additional Resources
|
|
220
|
-
|
|
221
|
-
- Pair this skill with your internal claims deadlines, mode-specific escalation matrix, and insurer notice requirements.
|
|
222
|
-
- Keep carrier-specific proof-of-delivery rules and OS&D checklists near the team that will execute the playbooks.
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: loop-design-check
|
|
3
|
-
description: Design a goal-oriented agent loop, and review it for the ways loops go wrong — spinning and burning tokens, Goodhart-gaming the verifier, or running a wrong answer to completion. Two actions: (1) WRITE a loop — gate whether to build it, define a machine-decidable goal, pick the loop type, pick a skeleton; (2) REVIEW a loop — run it past five failure modes plus decidability, boundaries, fallback, judge independence, and keep-judgment-with-the-human red lines. Use when designing an autonomous agent loop, or when you already have one and worry it will spin, cheat, or run a wrong answer to the end. Complements the mechanism-layer loop skills (autonomous-loops, continuous-agent-loop) by covering the judgment layer they don't. 中文触发:写 loop、设计 loop、做一个 loop、检查 loop 对不对、loop 体检、loop 会不会跑飞、可判定目标、五个崩法、plan build judge。English triggers: design an agent loop, write a loop, check a loop, loop review, prevent a runaway loop, goal-oriented loop, decidable goal, plan/build/judge.
|
|
4
|
-
metadata:
|
|
5
|
-
origin: ECC
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Loop Design + Review
|
|
9
|
-
|
|
10
|
-
> **Premise.** An LLM is a feed-forward system: prompt in → tokens out, with no built-in "steer toward the goal" across turns. To make it *behave* like a goal-oriented system, you wrap a feedback loop around it. This skill helps you **write** that loop correctly and **review** it so it won't run away.
|
|
11
|
-
|
|
12
|
-
## When to use / not
|
|
13
|
-
|
|
14
|
-
**Use it when:**
|
|
15
|
-
- You want to hand a repeating task to an agent that runs over and over (write→test, test→fix, fix→verify…).
|
|
16
|
-
- You already have a loop and worry it spins, cheats, or runs a wrong answer to completion.
|
|
17
|
-
|
|
18
|
-
**Don't use it for:**
|
|
19
|
-
- A one-off task → just do it; don't wrap a loop around it.
|
|
20
|
-
- A plain timer / poll → use `/loop`; no design needed.
|
|
21
|
-
- *How to wire the loop architecture* (pipelines → DAGs, long-run recovery) → that's the mechanism layer; see `autonomous-loops` / `continuous-agent-loop`. **This skill only covers "is the goal right, and will it run away" — it does not re-explain mechanism.**
|
|
22
|
-
|
|
23
|
-
## Red-line premise: two levels of feedback
|
|
24
|
-
|
|
25
|
-
| Level | Who owns it | What it does |
|
|
26
|
-
|---|---|---|
|
|
27
|
-
| **Execution** (low) | machine / agent | Measures "how far from the literal goal" and grinds it to zero. The machine is strong here. |
|
|
28
|
-
| **Judgment** (high) | **human** | Decides "is this goal itself right, should it change, should it stop." The machine can't step outside its own loop to question the goal. |
|
|
29
|
-
|
|
30
|
-
> A thermostat can feed back "how far from 26°C," but when you have a fever and want 28°C it can't judge whether 26 is the *right* target — it just grinds toward 26. **"What to set today" is always the human's call.**
|
|
31
|
-
> Handing judgment / sign-off / the last switch to the machine = removing the high-level feedback = it sprints, fast and hard, toward a goal no one questioned → wrong output.
|
|
32
|
-
|
|
33
|
-
---
|
|
34
|
-
|
|
35
|
-
## Action 1 — Write a loop (5 steps)
|
|
36
|
-
|
|
37
|
-
### Step 0 · Subtract first: should you even build it? (4-condition gate, any miss = veto)
|
|
38
|
-
|
|
39
|
-
① the task repeats weekly or more ② verification can be automated ③ the token budget can take it ④ the agent has tools that actually *run and see the result*
|
|
40
|
-
|
|
41
|
-
Miss any one → **don't build a loop**; do it by hand or another way.
|
|
42
|
-
> What stops most people isn't "can I write a loop," it's "does my repo deserve one." A repo that deserves a loop has a reconciliation baseline (golden sample / upstream total) + tests + a lint guard. **A repo that doesn't deserve a loop will only have its errors amplified by one.**
|
|
43
|
-
|
|
44
|
-
### Step 1 · Define a *machine-decidable* goal (the hard part — the loop lives or dies here)
|
|
45
|
-
|
|
46
|
-
The whole loop rides on the comparator's "is it done yet?" **The comparator can only work if your exit condition can be judged yes/no by a machine.**
|
|
47
|
-
|
|
48
|
-
- Bad: Vague ("make it good," "write it sharper") → the comparator can't judge → either it never passes (stuck retrying) or it guesses (passes/blocks at random).
|
|
49
|
-
- Good: Decidable ("all 96 unit tests green AND a change-list is produced," "module-02 fields filled, pytest passes, business logic untouched") → one check settles it; the loop converges cleanly.
|
|
50
|
-
|
|
51
|
-
**Five-point goal framework:**
|
|
52
|
-
1. **Done-criterion is machine-verifiable.**
|
|
53
|
-
2. **Boundary conditions defined alongside the done-criterion** ("what it must NOT do") — anti-Goodhart; missing boundaries = a license to cheat.
|
|
54
|
-
3. **Has a failure fallback** — retry cap N + escalate to a human when exceeded.
|
|
55
|
-
4. **Goal is layered.**
|
|
56
|
-
5. **Prefer reconciliation over assertion for the done-criterion** — anchor to external fact (golden sample / upstream total / financial tie-out / platform back-office numbers) before your own assertions. "All tests pass" can be gamed (loosen asserts, fake mocks, swallow exceptions); "diff vs the reference < 0.01" can't.
|
|
57
|
-
|
|
58
|
-
> **Self-check:** read the goal to someone who doesn't know the domain — can they run one command and tell whether it's done? If not, it isn't decidable enough. Go back.
|
|
59
|
-
|
|
60
|
-
### Step 2 · Pick the loop type
|
|
61
|
-
|
|
62
|
-
| Your task | Loop type (cybernetic) | How it stops |
|
|
63
|
-
|---|---|---|
|
|
64
|
-
| Has a clear "done" test (write to done / a batch of images processed) | **servo** (`/goal`-style closed-loop) | stops on reaching the goal |
|
|
65
|
-
| No endpoint, must keep maintaining a state (inventory alert / scheduled health check) | **regulator** (`/loop`-style thermostat) | never stops; acts only on change (dead-band suppresses noise) |
|
|
66
|
-
| Periodic sampling, stop on a condition (watch a PR until CI is green) | **regulator with an exit** | stops when the exit condition holds |
|
|
67
|
-
| Must "ensure something happens on time" | wrap the above in `/schedule` | cron fires it |
|
|
68
|
-
|
|
69
|
-
> Rule of thumb: clear "done" test → servo; must keep maintaining, no endpoint → regulator; must "happen on time" → wrap a regulator in schedule.
|
|
70
|
-
|
|
71
|
-
### Step 3 · Pick a skeleton
|
|
72
|
-
|
|
73
|
-
**Maintenance type (tend something that exists) → document-driven dispatch.**
|
|
74
|
-
The loop isn't "run a fixed check on a timer," it's **"read a doc on a timer, and dispatch only when the doc changed."** The doc is the task queue + state machine + human interface.
|
|
75
|
-
Three disciplines: ① the problem column is human-write-only, the result column is loop-write-only, **state advances one-way and never rolls back**; ② **the exit code is final** (if the script says exit 1, the script wins); ③ state advances only as far as "awaiting verification" — **the "done" cell is flipped by a human only.** The loop is the worker, not the acceptance officer.
|
|
76
|
-
|
|
77
|
-
**Greenfield type (build from scratch) → plan / build / judge, three roles.**
|
|
78
|
-
|
|
79
|
-
| Role | Does | Key |
|
|
80
|
-
|---|---|---|
|
|
81
|
-
| **Plan** | break the goal into a spec + **decidable acceptance conditions** | acceptance must be script-judgeable |
|
|
82
|
-
| **Build** | write to the spec | **must not change the acceptance conditions** |
|
|
83
|
-
| **Judge** | run acceptance **independently**; pass → stop, fail → return with the failure reason to Build | **independent + deterministic** |
|
|
84
|
-
|
|
85
|
-
Three iron rules (all bet on the judge): ① **the judge must be independent** — not the same agent as Build (grading your own homework always inflates); ② **deterministic rules** — pytest / reconciliation diff / type check / diff, never "looks right"; ③ **Build may not edit the acceptance conditions to pass**. Three failed retries → escalate to a human.
|
|
86
|
-
|
|
87
|
-
### Step 4 · Add damping (against oscillation / runaway)
|
|
88
|
-
|
|
89
|
-
Retry cap, hard stop, human flips the last switch = damping. **Negative feedback with no damping oscillates** (the Ralph-Wiggum loop: spinning in place, burning tokens).
|
|
90
|
-
|
|
91
|
-
### Step 5 · Land in three stages (don't go fully automatic on day one)
|
|
92
|
-
|
|
93
|
-
① **Run it once by hand** (forces you to state exactly "how the judge decides") → ② harden into a skill / Claude Code sub-agents (a main Claude loops, dispatching plan/build/judge) → ③ hang it on cron for full automation.
|
|
94
|
-
|
|
95
|
-
---
|
|
96
|
-
|
|
97
|
-
## Action 2 — Review a loop (checklist = five failure modes)
|
|
98
|
-
|
|
99
|
-
> Run the loop past each row. **Hitting any one = this loop will misfire; send it back.** These five are negative experience (gotchas) — worth more than positive rules.
|
|
100
|
-
|
|
101
|
-
| # | Failure mode (how it breaks) | Review question (a hit = red) | Antibody |
|
|
102
|
-
|---|---|---|---|
|
|
103
|
-
| 1 | Goal is a correct platitude → **spins, burns money** | Can the exit condition be machine-judged yes/no? Or is it "manage it well / make it good"? | Replace with a decidable result condition (Action 1·Step 1) |
|
|
104
|
-
| 2 | "Verification" written as "check if it looks ok" → **agent confidently says fine and stops** | Is the judge the defendant itself? Does verification rest on "looks right" or deterministic rules? | Reconcile + exit code rules + independent judge |
|
|
105
|
-
| 3 | (worst) Only gates on "all tests pass" → **agent deletes the tests** | Is there a boundary ("what it must NOT do")? Or only a done-criterion? | Done-criterion **+ boundary** together (the Goodhart antibody) |
|
|
106
|
-
| 4 | Counts on the agent asking mid-run → **it won't; it runs the wrong answer to the end** | Is there any "clarify only at runtime" point? | **Front-load every clarification**; settle it once before launch |
|
|
107
|
-
| 5 | Bloated CLAUDE.md + stale memory → **the faster it loops, the more it errs** | Are the docs/memory it depends on fresh? Who maintains them? | Layered memory + periodic lint |
|
|
108
|
-
|
|
109
|
-
**Plus three red lines (violate any = not allowed to go automatic):**
|
|
110
|
-
- **Keep judgment with the human.** Acceptance / the "done" cell is flipped by a human; the loop is not the acceptance officer.
|
|
111
|
-
- **Responsibility doesn't transfer.** Anything whose failure you can't afford (merge the wrong PR / publish the wrong thing / misallocate money) → **don't hand over the authority automatically.**
|
|
112
|
-
- **Counter-intuitive warning.** The more "self-improving / rewrites-its-own-rules" a loop is, the **stricter the human review it needs** (to see what it rewrote the rules into) — not looser. The machine is too fast to intercept after the fact, so the human's judgment must sit **before the action** (a hard gate), not as a post-hoc patch.
|
|
113
|
-
|
|
114
|
-
---
|
|
115
|
-
|
|
116
|
-
## Worked example — reviewing a "nightly green-keeper" loop
|
|
117
|
-
|
|
118
|
-
You want a loop that runs every night and fixes whatever tests are failing.
|
|
119
|
-
|
|
120
|
-
- **Naive goal:** "make all tests pass." → Step-1 self-check fails: this is the bait for failure mode #3.
|
|
121
|
-
- **Decidable goal (fixed):** "all tests green **AND** no test file deleted or weakened **AND** coverage not lowered **AND** a change-list produced." Boundary now defined alongside the done-criterion.
|
|
122
|
-
- **Type:** servo with a retry cap of 3 (Step 2 + Step 4).
|
|
123
|
-
- **Skeleton:** plan/build/judge — the **judge is CI run independently**, never the fixing agent (Step 3).
|
|
124
|
-
|
|
125
|
-
Now run the **review checklist**, and it catches what the naive version would have missed:
|
|
126
|
-
- **#3 hit** → the naive "all tests pass" lets the agent delete a failing test to "win." Fixed by the boundary "no test file deleted/weakened."
|
|
127
|
-
- **#2 hit** → if the fixing agent also judged its own fix, it would pass itself. Fixed by "judge = independent CI, deterministic."
|
|
128
|
-
- **#4 hit** → if a fix is ambiguous, the agent won't stop to ask at 2 a.m.; it'll commit a guess. Fixed by front-loading: ambiguous fixes are left for the human, not guessed.
|
|
129
|
-
- **Red line** → the loop opens a PR but **does not auto-merge**; the human flips the last switch (responsibility doesn't transfer).
|
|
130
|
-
|
|
131
|
-
The naive loop and the reviewed loop differ by four lines of constraint — and that's the difference between "wakes you to a deleted test suite" and "wakes you to a clean PR."
|
|
132
|
-
|
|
133
|
-
---
|
|
134
|
-
|
|
135
|
-
## One-line close
|
|
136
|
-
|
|
137
|
-
> The hard part of writing a loop isn't "can I write a loop," it's **defining a goal a machine can reconcile** — decidable, bounded, reconciliation-based. The controller must be deterministic and external; keep judgment and the standard with the human; the system tends toward entropy, so maintain it.
|
|
138
|
-
> **A loop only rewards someone who has already thought it through. Count on it to think for you, and it will happily think wrong, with you, at scale.**
|
|
139
|
-
|
|
140
|
-
---
|
|
141
|
-
|
|
142
|
-
> Lineage: Wiener's two-level feedback (*The Human Use of Human Beings*, 1950) for the judgment/execution split and red lines; the plan/build/judge pattern from Anatoli's *Loops explained* and Addy's *Loop Engineering*.
|
|
143
|
-
> Mechanism layer (how to wire the loop architecture): see `autonomous-loops` / `continuous-agent-loop`. This skill does not re-implement mechanism; it covers goal definition and runaway prevention only.
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: mailtrap-email-integration
|
|
3
|
-
description: Guides agents through integrating transactional email sending via Mailtrap's Email API, including sandbox testing, domain verification, and API authentication. Use when implementing email-sending features, debugging delivery issues, or setting up safe dev/staging email testing.
|
|
4
|
-
origin: ECC
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Mailtrap Email Integration
|
|
8
|
-
|
|
9
|
-
Patterns for adding transactional email sending to an application using Mailtrap's Email API and Sandbox, covering authentication, environment separation, and common delivery pitfalls.
|
|
10
|
-
|
|
11
|
-
## When to Activate
|
|
12
|
-
|
|
13
|
-
- Implementing a "send email" feature (signup confirmation, password reset, notifications, receipts)
|
|
14
|
-
- Debugging why emails aren't arriving in dev/staging
|
|
15
|
-
- Setting up a project's first email-sending integration
|
|
16
|
-
- Reviewing code that calls an email API directly without sandbox separation
|
|
17
|
-
|
|
18
|
-
## Core Concepts
|
|
19
|
-
|
|
20
|
-
**Sandbox vs. Production separation.** Mailtrap provides a Sandbox API that captures emails without delivering them, used for dev/staging so test emails never reach real inboxes. Production sending uses a separate, verified-domain endpoint. Never point a dev environment at the production sending endpoint.
|
|
21
|
-
|
|
22
|
-
**Authentication.** Requests use a Bearer token in the `Authorization` header. Tokens are scoped per project; sandbox and production typically use different tokens.
|
|
23
|
-
|
|
24
|
-
**Domain verification.** Production sending requires verifying a sending domain via DNS records (SPF, DKIM, DMARC) before Mailtrap will deliver to real recipients. Skipping this causes silent delivery failures or spam-folder placement.
|
|
25
|
-
|
|
26
|
-
## Code Examples
|
|
27
|
-
|
|
28
|
-
```typescript
|
|
29
|
-
// Sending via Mailtrap's Email API (production)
|
|
30
|
-
async function sendEmail(to: string, subject: string, html: string) {
|
|
31
|
-
const response = await fetch("https://send.api.mailtrap.io/api/send", {
|
|
32
|
-
method: "POST",
|
|
33
|
-
headers: {
|
|
34
|
-
"Authorization": `Bearer ${process.env.MAILTRAP_API_TOKEN}`,
|
|
35
|
-
"Content-Type": "application/json",
|
|
36
|
-
},
|
|
37
|
-
body: JSON.stringify({
|
|
38
|
-
from: { email: "no-reply@yourverifieddomain.com", name: "Your App" },
|
|
39
|
-
to: [{ email: to }],
|
|
40
|
-
subject,
|
|
41
|
-
html,
|
|
42
|
-
}),
|
|
43
|
-
});
|
|
44
|
-
|
|
45
|
-
if (!response.ok) {
|
|
46
|
-
throw new Error(`Email send failed: ${response.status}`);
|
|
47
|
-
}
|
|
48
|
-
return response.json();
|
|
49
|
-
}
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
```typescript
|
|
53
|
-
// Same call, routed to Sandbox in non-production environments
|
|
54
|
-
const MAILTRAP_ENDPOINT = process.env.NODE_ENV === "production"
|
|
55
|
-
? "https://send.api.mailtrap.io/api/send"
|
|
56
|
-
: `https://sandbox.api.mailtrap.io/api/send/${process.env.MAILTRAP_INBOX_ID}`;
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
## Anti-Patterns
|
|
60
|
-
|
|
61
|
-
| Anti-Pattern | Why It's a Problem | Instead |
|
|
62
|
-
| --- | --- | --- |
|
|
63
|
-
| Using the production sending endpoint in dev/test | Real test emails reach real inboxes, risking spam complaints and leaked test data | Route non-production environments to the Sandbox endpoint |
|
|
64
|
-
| Hardcoding API tokens in source | Credential leak risk if committed to version control | Load tokens from environment variables / secrets manager |
|
|
65
|
-
| Sending before domain verification completes | Emails silently fail or land in spam | Verify SPF/DKIM/DMARC records before enabling production sending |
|
|
66
|
-
| No retry/error handling on send failures | Silent notification failures (e.g., user never gets password reset email) | Check response status, log failures, surface actionable errors |
|
|
67
|
-
|
|
68
|
-
## Best Practices
|
|
69
|
-
|
|
70
|
-
- Keep sandbox and production tokens in separate environment variables, never share one token across environments
|
|
71
|
-
- Verify sending domain DNS records before any production launch involving email
|
|
72
|
-
- Log delivery failures with enough context to debug (recipient, template, timestamp, response code)
|
|
73
|
-
- Treat email sending as a fallible network call: wrap in try/catch, never assume success
|
|
74
|
-
|
|
75
|
-
## Related Skills
|
|
76
|
-
|
|
77
|
-
`api-and-interface-design`, `security-and-hardening`, `ci-cd-and-automation`
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: make-interfaces-feel-better
|
|
3
|
-
description: Apply concrete design-engineering details that make interfaces feel polished. Use when reviewing or improving UI spacing, typography, borders, shadows, motion, hit areas, icons, text wrapping, and interaction states.
|
|
4
|
-
metadata:
|
|
5
|
-
origin: community
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Make Interfaces Feel Better
|
|
9
|
-
|
|
10
|
-
Use this skill for the small design-engineering details that compound into a
|
|
11
|
-
more polished interface.
|
|
12
|
-
|
|
13
|
-
Source: salvaged from stale community PR #1659 by `linus707`.
|
|
14
|
-
|
|
15
|
-
## When to Use
|
|
16
|
-
|
|
17
|
-
- The user says the UI feels off, flat, generic, cramped, jumpy, or unfinished.
|
|
18
|
-
- You are building controls, cards, lists, dashboards, navigation, forms, or
|
|
19
|
-
toolbars.
|
|
20
|
-
- A component needs hover, active, focus, enter, exit, loading, or empty states.
|
|
21
|
-
- A frontend review needs specific before/after recommendations.
|
|
22
|
-
|
|
23
|
-
## Core Principles
|
|
24
|
-
|
|
25
|
-
### Concentric Radius
|
|
26
|
-
|
|
27
|
-
For nearby nested rounded surfaces:
|
|
28
|
-
|
|
29
|
-
```text
|
|
30
|
-
outer radius = inner radius + padding
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
If padding is large, treat layers as separate surfaces instead of forcing the
|
|
34
|
-
math. The point is optical coherence, not formula worship.
|
|
35
|
-
|
|
36
|
-
### Optical Alignment
|
|
37
|
-
|
|
38
|
-
Geometric centering is not always visual centering. Icon buttons, play
|
|
39
|
-
triangles, arrows, stars, and asymmetric icons often need a small offset. Fix the
|
|
40
|
-
SVG when possible; otherwise adjust with a pixel-level margin or padding change.
|
|
41
|
-
|
|
42
|
-
### Shadows And Borders
|
|
43
|
-
|
|
44
|
-
Use borders for separation and focus rings. Use layered shadows when a card,
|
|
45
|
-
button, dropdown, or popover needs depth. Shadows should be transparent and
|
|
46
|
-
subtle enough to work across backgrounds.
|
|
47
|
-
|
|
48
|
-
### Text Wrapping
|
|
49
|
-
|
|
50
|
-
- Use `text-wrap: balance` on headings and short titles.
|
|
51
|
-
- Use `text-wrap: pretty` on short-to-medium body text, captions, descriptions,
|
|
52
|
-
and list items.
|
|
53
|
-
- Avoid both on long prose, code, and preformatted content.
|
|
54
|
-
- Use `font-variant-numeric: tabular-nums` for counters, timers, prices, tables,
|
|
55
|
-
and other updating numbers.
|
|
56
|
-
|
|
57
|
-
### Font Smoothing
|
|
58
|
-
|
|
59
|
-
On macOS, apply antialiased font smoothing at the root layout when the project
|
|
60
|
-
does not already do so:
|
|
61
|
-
|
|
62
|
-
```css
|
|
63
|
-
html {
|
|
64
|
-
-webkit-font-smoothing: antialiased;
|
|
65
|
-
-moz-osx-font-smoothing: grayscale;
|
|
66
|
-
}
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
### Image Outlines
|
|
70
|
-
|
|
71
|
-
Images often need a subtle inset outline so their edges do not blur into the
|
|
72
|
-
surface.
|
|
73
|
-
|
|
74
|
-
```css
|
|
75
|
-
img {
|
|
76
|
-
outline: 1px solid rgba(0, 0, 0, 0.1);
|
|
77
|
-
outline-offset: -1px;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
@media (prefers-color-scheme: dark) {
|
|
81
|
-
img {
|
|
82
|
-
outline-color: rgba(255, 255, 255, 0.1);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
Use neutral black or white alpha outlines. Do not tint image outlines with the
|
|
88
|
-
brand palette.
|
|
89
|
-
|
|
90
|
-
### Motion
|
|
91
|
-
|
|
92
|
-
Use CSS transitions for interactive state changes because they can retarget
|
|
93
|
-
when the user changes intent mid-motion. Reserve keyframes for staged
|
|
94
|
-
one-shot entrances or loading sequences.
|
|
95
|
-
|
|
96
|
-
Good motion defaults:
|
|
97
|
-
|
|
98
|
-
- Enter: combine opacity, small `translateY`, and optionally blur.
|
|
99
|
-
- Exit: shorter and quieter than enter, usually 150ms.
|
|
100
|
-
- Press: `scale(0.96)` for tactile buttons, with a way to disable it when the
|
|
101
|
-
movement distracts.
|
|
102
|
-
- Icon swaps: cross-fade with opacity, scale, and blur instead of instant
|
|
103
|
-
visibility toggles.
|
|
104
|
-
|
|
105
|
-
### Transition Scope
|
|
106
|
-
|
|
107
|
-
Never use `transition: all`. Specify the changed properties:
|
|
108
|
-
|
|
109
|
-
```css
|
|
110
|
-
.button {
|
|
111
|
-
transition-property: transform, background-color, box-shadow;
|
|
112
|
-
transition-duration: 150ms;
|
|
113
|
-
transition-timing-function: ease-out;
|
|
114
|
-
}
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
Use `will-change` only for first-frame stutter on compositor-friendly
|
|
118
|
-
properties such as `transform`, `opacity`, and `filter`. Never use
|
|
119
|
-
`will-change: all`.
|
|
120
|
-
|
|
121
|
-
### Hit Areas
|
|
122
|
-
|
|
123
|
-
Interactive controls should have at least a 40x40px hit area, ideally 44x44px
|
|
124
|
-
where the layout allows it. Expand with a pseudo-element when the visible icon
|
|
125
|
-
is smaller, but do not let expanded hit areas overlap.
|
|
126
|
-
|
|
127
|
-
## Review Output
|
|
128
|
-
|
|
129
|
-
When reviewing a UI polish pass, report concrete changes in before/after rows:
|
|
130
|
-
|
|
131
|
-
| Principle | Before | After |
|
|
132
|
-
| --- | --- | --- |
|
|
133
|
-
| Concentric radius | Same radius on parent and child | Parent radius accounts for padding |
|
|
134
|
-
| Tabular numbers | Counter shifts as digits change | Counter uses `tabular-nums` |
|
|
135
|
-
| Transition scope | `transition: all` | Explicit transition properties |
|
|
136
|
-
|
|
137
|
-
Include file paths and properties when they are not obvious from the snippets.
|
|
138
|
-
Omit principles that you checked but did not change.
|
|
139
|
-
|
|
140
|
-
## Checklist
|
|
141
|
-
|
|
142
|
-
- Nested rounded elements are optically coherent.
|
|
143
|
-
- Icons are visually centered.
|
|
144
|
-
- Buttons, cards, and popovers use borders or shadows for the right reason.
|
|
145
|
-
- Headings and short text avoid awkward wrapping.
|
|
146
|
-
- Dynamic numbers use tabular numerals.
|
|
147
|
-
- Images have neutral outlines where needed.
|
|
148
|
-
- Enter and exit animations are split, subtle, and interruptible where
|
|
149
|
-
appropriate.
|
|
150
|
-
- Buttons have tactile active states without exaggerated motion.
|
|
151
|
-
- `transition: all` and `will-change: all` are absent.
|
|
152
|
-
- Small controls still have usable hit areas.
|