opencode-skills-collection 4.1.15 → 4.1.41
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/README.md +0 -1
- package/bundled-skills/.antigravity-install-manifest.json +1 -214
- package/bundled-skills/advanced-evaluation/SKILL.md +44 -21
- package/bundled-skills/ai-sre-incident-response/SKILL.md +4 -5
- package/bundled-skills/antigravity-maintainer-batch-release/SKILL.md +13 -77
- package/bundled-skills/api-integration/SKILL.md +22 -6
- package/bundled-skills/api-rate-limit-handler/SKILL.md +27 -34
- package/bundled-skills/awareness-stage-mapper/SKILL.md +1 -1
- package/bundled-skills/brand-perception-psychologist/SKILL.md +1 -1
- package/bundled-skills/content-strategy/SKILL.md +1 -1
- package/bundled-skills/content-strategy/references/headless-cms.md +3 -5
- package/bundled-skills/copywriting-psychologist/SKILL.md +1 -1
- package/bundled-skills/customer-psychographic-profiler/SKILL.md +1 -1
- package/bundled-skills/data-storytelling/SKILL.md +2 -4
- package/bundled-skills/deprecation-and-migration/SKILL.md +1 -3
- package/bundled-skills/emotional-arc-designer/SKILL.md +1 -1
- package/bundled-skills/glasser/SKILL.md +1 -1
- package/bundled-skills/headline-psychologist/SKILL.md +1 -1
- package/bundled-skills/identity-mirror/SKILL.md +1 -1
- package/bundled-skills/jobs-to-be-done-analyst/SKILL.md +1 -1
- package/bundled-skills/liuguang-banlan-ui/SKILL.md +18 -22
- package/bundled-skills/liuguang-banlan-ui/assets/starter/launcher.css +2 -2
- package/bundled-skills/liuguang-banlan-ui/assets/starter/obsidian/index.html +4 -5
- package/bundled-skills/liuguang-banlan-ui/assets/starter/obsidian/theme-config.js +10 -3
- package/bundled-skills/liuguang-banlan-ui/assets/starter/obsidian/theme.css +62 -48
- package/bundled-skills/liuguang-banlan-ui/assets/starter/opal/index.html +4 -5
- package/bundled-skills/liuguang-banlan-ui/assets/starter/opal/theme-config.js +35 -27
- package/bundled-skills/liuguang-banlan-ui/assets/starter/opal/theme.css +62 -48
- package/bundled-skills/liuguang-banlan-ui/assets/starter/shared/spectral-field.js +148 -135
- package/bundled-skills/liuguang-banlan-ui/references/style-contract.md +7 -26
- package/bundled-skills/liuguang-banlan-ui/references/verification.md +7 -19
- package/bundled-skills/liuguang-banlan-ui/scripts/measure_preview.py +47 -78
- package/bundled-skills/liuguang-banlan-ui/scripts/validate_manifest.py +3 -34
- package/bundled-skills/loki-mode/examples/todo-app-generated/backend/package-lock.json +12 -16
- package/bundled-skills/loki-mode/examples/todo-app-generated/backend/package.json +2 -4
- package/bundled-skills/loki-mode/examples/todo-app-generated/frontend/package-lock.json +15 -15
- package/bundled-skills/loki-mode/examples/todo-app-generated/frontend/package.json +2 -3
- package/bundled-skills/loss-aversion-designer/SKILL.md +1 -1
- package/bundled-skills/objection-preemptor/SKILL.md +1 -1
- package/bundled-skills/on-call-handoff-patterns/SKILL.md +4 -6
- package/bundled-skills/onboarding-cro/SKILL.md +2 -6
- package/bundled-skills/onboarding-psychologist/SKILL.md +1 -1
- package/bundled-skills/parallel-search-mcp/SKILL.md +0 -12
- package/bundled-skills/pitch-psychologist/SKILL.md +1 -1
- package/bundled-skills/price-psychology-strategist/SKILL.md +1 -1
- package/bundled-skills/python-testing-patterns/resources/implementation-playbook.md +2 -6
- package/bundled-skills/riffkit/SKILL.md +13 -22
- package/bundled-skills/scarcity-urgency-psychologist/SKILL.md +1 -1
- package/bundled-skills/seo-content-refresher/SKILL.md +4 -8
- package/bundled-skills/sequence-psychologist/SKILL.md +1 -1
- package/bundled-skills/social-proof-architect/SKILL.md +1 -1
- package/bundled-skills/subject-line-psychologist/SKILL.md +1 -1
- package/bundled-skills/system-prompt-lookup/SKILL.md +1 -1
- package/bundled-skills/telegram/assets/boilerplate/nodejs/package-lock.json +12 -16
- package/bundled-skills/telegram/assets/boilerplate/nodejs/package.json +2 -4
- package/bundled-skills/testing-patterns/SKILL.md +3 -2
- package/bundled-skills/trust-calibrator/SKILL.md +1 -1
- package/bundled-skills/typescript-expert/scripts/ts_diagnostic.py +19 -40
- package/bundled-skills/usage-based-pricing/SKILL.md +1 -3
- package/bundled-skills/usage-based-pricing/references/detailed-guide.md +9 -11
- package/bundled-skills/ux-persuasion-engineer/SKILL.md +1 -1
- package/bundled-skills/visual-emotion-engineer/SKILL.md +1 -1
- package/bundled-skills/waf-setup/SKILL.md +1 -1
- package/bundled-skills/wcag-audit-patterns/resources/implementation-playbook.md +8 -12
- package/bundled-skills/whatsapp-cloud-api/assets/boilerplate/nodejs/package-lock.json +12 -16
- package/bundled-skills/whatsapp-cloud-api/assets/boilerplate/nodejs/package.json +2 -4
- package/bundled-skills/youtube-summarizer/SKILL.md +3 -3
- package/package.json +1 -1
- package/skills_index.json +8846 -883
- package/bundled-skills/360-feedback-system/SKILL.md +0 -481
- package/bundled-skills/aas-compose-stack/SKILL.md +0 -39
- package/bundled-skills/aas-discover/SKILL.md +0 -35
- package/bundled-skills/aas-review-stack/SKILL.md +0 -37
- package/bundled-skills/access-matrix/SKILL.md +0 -338
- package/bundled-skills/accounting-audit-system-builder/SKILL.md +0 -302
- package/bundled-skills/accounting-audit-system-builder/references/catalog.md +0 -114
- package/bundled-skills/accounting-software-selection/SKILL.md +0 -427
- package/bundled-skills/accounting-software-selection/references/build-artifacts.md +0 -362
- package/bundled-skills/accounting-software-selection/references/common-pitfalls.md +0 -44
- package/bundled-skills/accounting-software-selection/references/field-reference.md +0 -93
- package/bundled-skills/accounting-software-selection/references/select-options.md +0 -202
- package/bundled-skills/admin-access-register/SKILL.md +0 -381
- package/bundled-skills/advanced-analytics-dashboard/SKILL.md +0 -318
- package/bundled-skills/agent-reels/SKILL.md +0 -107
- package/bundled-skills/ai-agent-evaluation-benchmarking/SKILL.md +0 -124
- package/bundled-skills/ai-agent-tool-routing/SKILL.md +0 -136
- package/bundled-skills/ai-code-generation-guardrails/SKILL.md +0 -142
- package/bundled-skills/ai-headshot-studio/SKILL.md +0 -267
- package/bundled-skills/ai-image-generation-studio/SKILL.md +0 -259
- package/bundled-skills/ai-logo-maker/SKILL.md +0 -259
- package/bundled-skills/ai-multilingual-dubbing/SKILL.md +0 -259
- package/bundled-skills/ai-photo-restyler/SKILL.md +0 -259
- package/bundled-skills/ai-podcast-voiceover/SKILL.md +0 -259
- package/bundled-skills/ai-prompt-regression-testing/SKILL.md +0 -130
- package/bundled-skills/alumni-re-hire-tracker/SKILL.md +0 -314
- package/bundled-skills/announcement-board/SKILL.md +0 -336
- package/bundled-skills/api-contract-testing/SKILL.md +0 -116
- package/bundled-skills/arcmira-find-quotes/SKILL.md +0 -89
- package/bundled-skills/arcmira-find-quotes/references/LICENSE.md +0 -202
- package/bundled-skills/ask-human-expert/SKILL.md +0 -141
- package/bundled-skills/assay/SKILL.md +0 -162
- package/bundled-skills/asset-it-management/SKILL.md +0 -407
- package/bundled-skills/attendance/SKILL.md +0 -331
- package/bundled-skills/audit-log/SKILL.md +0 -314
- package/bundled-skills/audit-preparation/SKILL.md +0 -416
- package/bundled-skills/axonx/SKILL.md +0 -374
- package/bundled-skills/axonx/references/LICENSE.md +0 -201
- package/bundled-skills/beatra/SKILL.md +0 -260
- package/bundled-skills/board-governance/SKILL.md +0 -360
- package/bundled-skills/brand-growth-system-builder/SKILL.md +0 -360
- package/bundled-skills/brand-kit-print-collateral/SKILL.md +0 -498
- package/bundled-skills/browser-extension-launch/SKILL.md +0 -102
- package/bundled-skills/browser-extension-launch/references/acceptance.md +0 -103
- package/bundled-skills/browser-extension-launch/references/complex-workflow.md +0 -46
- package/bundled-skills/browser-extension-launch/references/dependencies.md +0 -62
- package/bundled-skills/browser-extension-launch/references/development.md +0 -42
- package/bundled-skills/browser-extension-launch/references/efficient-delivery.md +0 -52
- package/bundled-skills/browser-extension-launch/references/host-compatibility.md +0 -58
- package/bundled-skills/browser-extension-launch/references/playwright-mcp.md +0 -102
- package/bundled-skills/browser-extension-launch/references/product-loop.md +0 -35
- package/bundled-skills/browser-extension-launch/references/publishing.md +0 -103
- package/bundled-skills/browser-extension-launch/references/required-skills.json +0 -153
- package/bundled-skills/browser-extension-launch/references/workflow.md +0 -71
- package/bundled-skills/buddy-program-manager/SKILL.md +0 -329
- package/bundled-skills/budget-cash-flow/SKILL.md +0 -352
- package/bundled-skills/build-ui/SKILL.md +0 -181
- package/bundled-skills/busabase/SKILL.md +0 -118
- package/bundled-skills/business-email-template/SKILL.md +0 -480
- package/bundled-skills/business-email-template/references/common-pitfalls.md +0 -30
- package/bundled-skills/business-website-setup/SKILL.md +0 -489
- package/bundled-skills/business-website-setup/references/common-pitfalls.md +0 -32
- package/bundled-skills/byagent/SKILL.md +0 -125
- package/bundled-skills/candidate-talent-pool/SKILL.md +0 -359
- package/bundled-skills/capacity-workload-planner/SKILL.md +0 -354
- package/bundled-skills/changelog-entry/SKILL.md +0 -141
- package/bundled-skills/clients-accounts/SKILL.md +0 -398
- package/bundled-skills/cline-pilot/README.md +0 -138
- package/bundled-skills/cline-pilot/SKILL.md +0 -301
- package/bundled-skills/cline-pilot/assets/global-memory-bank-prompt.en.md +0 -66
- package/bundled-skills/cline-pilot/assets/global-memory-bank-prompt.md +0 -56
- package/bundled-skills/cline-pilot/references/cold-start.md +0 -58
- package/bundled-skills/cline-pilot/references/decision-log.example.md +0 -9
- package/bundled-skills/cline-pilot/references/local-config.example.md +0 -26
- package/bundled-skills/cline-pilot/references/project-profiles.example.md +0 -10
- package/bundled-skills/cline-pilot/scripts/session_report.py +0 -151
- package/bundled-skills/cloudish/SKILL.md +0 -188
- package/bundled-skills/cockney/SKILL.md +0 -104
- package/bundled-skills/code-of-conduct/SKILL.md +0 -488
- package/bundled-skills/code-of-conduct/references/common-pitfalls.md +0 -31
- package/bundled-skills/company-email-accounts/SKILL.md +0 -404
- package/bundled-skills/competency-matrix/SKILL.md +0 -335
- package/bundled-skills/contract-document-renewal/SKILL.md +0 -396
- package/bundled-skills/course-upskilling-requests/SKILL.md +0 -354
- package/bundled-skills/court/SKILL.md +0 -141
- package/bundled-skills/court/references/jurors.json +0 -14
- package/bundled-skills/court/scripts/court.py +0 -348
- package/bundled-skills/credit-cycle-analysis/SKILL.md +0 -303
- package/bundled-skills/credit-cycle-analysis/references/best-practices.md +0 -35
- package/bundled-skills/credit-cycle-analysis/references/common-pitfalls.md +0 -5
- package/bundled-skills/credit-cycle-analysis/references/examples.md +0 -34
- package/bundled-skills/credit-cycle-analysis/references/field-reference.md +0 -47
- package/bundled-skills/credit-cycle-analysis/references/how-it-works.md +0 -494
- package/bundled-skills/credit-cycle-analysis/references/security-notes.md +0 -16
- package/bundled-skills/credit-cycle-analysis/references/select-options.md +0 -32
- package/bundled-skills/cross-chain-relayer-audit/SKILL.md +0 -136
- package/bundled-skills/csv-manual-export/SKILL.md +0 -499
- package/bundled-skills/csv-manual-export/references/common-pitfalls.md +0 -19
- package/bundled-skills/culture-retention/SKILL.md +0 -346
- package/bundled-skills/darkmoon-pentest/SKILL.md +0 -123
- package/bundled-skills/data-export-engine/SKILL.md +0 -308
- package/bundled-skills/data-privacy-controls/SKILL.md +0 -309
- package/bundled-skills/datacircle/SKILL.md +0 -141
- package/bundled-skills/day-book/SKILL.md +0 -499
- package/bundled-skills/day-book/references/best-practices.md +0 -32
- package/bundled-skills/day-book/references/common-pitfalls.md +0 -58
- package/bundled-skills/day-book/references/field-reference.md +0 -45
- package/bundled-skills/day-book/references/how-it-works.md +0 -7
- package/bundled-skills/day-book/references/related-skills.md +0 -18
- package/bundled-skills/day-book/references/relations.md +0 -14
- package/bundled-skills/day-book/references/reusable-prompt.md +0 -50
- package/bundled-skills/day-book/references/security-safety-notes.md +0 -19
- package/bundled-skills/day-book/references/select-options.md +0 -38
- package/bundled-skills/deep-research-framework/SKILL.md +0 -81
- package/bundled-skills/defi-yield-strategy-allocator/SKILL.md +0 -124
- package/bundled-skills/define-my-content-pillars/SKILL.md +0 -127
- package/bundled-skills/dei-dashboard/SKILL.md +0 -307
- package/bundled-skills/design-theme-guide/SKILL.md +0 -472
- package/bundled-skills/disciplinary-pip-tracker/SKILL.md +0 -345
- package/bundled-skills/document-management-system/SKILL.md +0 -328
- package/bundled-skills/draft-my-comments/SKILL.md +0 -132
- package/bundled-skills/dropthehassle-publish/SKILL.md +0 -151
- package/bundled-skills/ecommerce-listing-image-set/SKILL.md +0 -259
- package/bundled-skills/email-marketing-bible/SKILL.md +0 -413
- package/bundled-skills/employee-suggestion-hub/SKILL.md +0 -322
- package/bundled-skills/equibles/SKILL.md +0 -185
- package/bundled-skills/esop-equity-tracker/SKILL.md +0 -331
- package/bundled-skills/etsy-search-listings/SKILL.md +0 -122
- package/bundled-skills/etsy-shop-sales-history/SKILL.md +0 -119
- package/bundled-skills/events-activities/SKILL.md +0 -355
- package/bundled-skills/expense-accounting/SKILL.md +0 -496
- package/bundled-skills/expense-accounting/references/common-pitfalls.md +0 -41
- package/bundled-skills/expense-accounting/references/related-skills.md +0 -11
- package/bundled-skills/expense-accounting/references/reusable-prompt.md +0 -36
- package/bundled-skills/expense-management/SKILL.md +0 -351
- package/bundled-skills/five-axis-code-review/SKILL.md +0 -78
- package/bundled-skills/free-design-resources/SKILL.md +0 -480
- package/bundled-skills/free-design-resources/references/common-pitfalls.md +0 -44
- package/bundled-skills/free-design-resources/references/related-skills.md +0 -24
- package/bundled-skills/free-design-resources/references/reusable-prompt.md +0 -12
- package/bundled-skills/fxmacrodata/SKILL.md +0 -224
- package/bundled-skills/gamification-engine/SKILL.md +0 -307
- package/bundled-skills/gbp-local-seo-intent/SKILL.md +0 -466
- package/bundled-skills/gbp-local-seo-intent/references/best-practices.md +0 -41
- package/bundled-skills/gbp-local-seo-intent/references/common-pitfalls.md +0 -40
- package/bundled-skills/gbp-local-seo-intent/references/related-skills.md +0 -17
- package/bundled-skills/gbp-local-seo-intent/references/reusable-prompt.md +0 -11
- package/bundled-skills/gbp-local-seo-intent/references/security-safety-notes.md +0 -27
- package/bundled-skills/get-seen-in-replies/SKILL.md +0 -134
- package/bundled-skills/git-commit-message/SKILL.md +0 -76
- package/bundled-skills/health-wellness/SKILL.md +0 -334
- package/bundled-skills/idea-to-blueprint/LICENSE +0 -21
- package/bundled-skills/idea-to-blueprint/SKILL.md +0 -260
- package/bundled-skills/idea-to-blueprint/assets/AGENTS.md.template +0 -38
- package/bundled-skills/idea-to-blueprint/assets/CLAUDE.md.template +0 -38
- package/bundled-skills/idea-to-blueprint/assets/DECISIONS.md.template +0 -14
- package/bundled-skills/idea-to-blueprint/assets/PROGRESS.md.template +0 -47
- package/bundled-skills/idea-to-blueprint/assets/session-prompt.md +0 -23
- package/bundled-skills/idea-to-blueprint/references/architecture-decisions.md +0 -202
- package/bundled-skills/idea-to-blueprint/references/blueprint-template.md +0 -259
- package/bundled-skills/idea-to-blueprint/references/code-quality-and-review.md +0 -216
- package/bundled-skills/idea-to-blueprint/references/design-minimal.md +0 -96
- package/bundled-skills/idea-to-blueprint/references/edge-case-catalog.md +0 -239
- package/bundled-skills/idea-to-blueprint/references/intake-questions.md +0 -105
- package/bundled-skills/idea-to-blueprint/references/research-protocol.md +0 -196
- package/bundled-skills/idea-to-blueprint/references/session-protocol.md +0 -133
- package/bundled-skills/idea-to-blueprint/references/stories-ac-tests.md +0 -194
- package/bundled-skills/idea-to-blueprint/references/ux-writing-guide.md +0 -128
- package/bundled-skills/idea-to-blueprint/scripts/lint_blueprint.py +0 -460
- package/bundled-skills/intern-program/SKILL.md +0 -354
- package/bundled-skills/internal-communication/SKILL.md +0 -318
- package/bundled-skills/inventory-stock-reconciliation/SKILL.md +0 -470
- package/bundled-skills/inventory-stock-reconciliation/references/best-practices.md +0 -18
- package/bundled-skills/inventory-stock-reconciliation/references/common-pitfalls.md +0 -42
- package/bundled-skills/inventory-stock-reconciliation/references/related-skills.md +0 -13
- package/bundled-skills/inventory-stock-reconciliation/references/relations.md +0 -8
- package/bundled-skills/inventory-stock-reconciliation/references/reusable-prompt.md +0 -31
- package/bundled-skills/inventory-stock-reconciliation/references/security-safety-notes.md +0 -17
- package/bundled-skills/inventory-stock-reconciliation/references/select-options.md +0 -45
- package/bundled-skills/invoices-billing/SKILL.md +0 -385
- package/bundled-skills/invokely-statistics/SKILL.md +0 -124
- package/bundled-skills/invokely-statistics/references/LICENSE.md +0 -21
- package/bundled-skills/ios-screens/SKILL.md +0 -172
- package/bundled-skills/issue-grievance-tracker/SKILL.md +0 -400
- package/bundled-skills/jet-browser/SKILL.md +0 -155
- package/bundled-skills/json-schema-manual/SKILL.md +0 -309
- package/bundled-skills/json-schema-manual/references/best-practices.md +0 -9
- package/bundled-skills/json-schema-manual/references/common-pitfalls.md +0 -25
- package/bundled-skills/json-schema-manual/references/input-modules.md +0 -203
- package/bundled-skills/json-schema-manual/references/related-skills.md +0 -8
- package/bundled-skills/json-schema-manual/references/reusable-prompt.md +0 -10
- package/bundled-skills/json-schema-manual/references/security-safety-notes.md +0 -13
- package/bundled-skills/kernel-prompt/SKILL.md +0 -64
- package/bundled-skills/knowledge-base/SKILL.md +0 -318
- package/bundled-skills/kpi-tracker/SKILL.md +0 -345
- package/bundled-skills/learning-career-development/SKILL.md +0 -349
- package/bundled-skills/leave-management/SKILL.md +0 -341
- package/bundled-skills/legal-compliance-vault/SKILL.md +0 -324
- package/bundled-skills/linkdigest-social-link-reader/SKILL.md +0 -232
- package/bundled-skills/linktree-link-hub/SKILL.md +0 -453
- package/bundled-skills/liuguang-banlan-ui/scripts/serve_preview.py +0 -35
- package/bundled-skills/liuguang-banlan-ui/tests/test_measure_preview.py +0 -119
- package/bundled-skills/liuguang-banlan-ui/tests/test_serve_preview.py +0 -38
- package/bundled-skills/liuguang-banlan-ui/tests/test_validate_manifest.py +0 -73
- package/bundled-skills/lognorm/SKILL.md +0 -86
- package/bundled-skills/lognorm/references/playbooks.md +0 -76
- package/bundled-skills/logo-image-design/SKILL.md +0 -459
- package/bundled-skills/looot/SKILL.md +0 -188
- package/bundled-skills/mcd-secret-menu-lab/SKILL.md +0 -110
- package/bundled-skills/meeting-notes/SKILL.md +0 -80
- package/bundled-skills/mentorship-program/SKILL.md +0 -332
- package/bundled-skills/mirrord/SKILL.md +0 -90
- package/bundled-skills/monthly-closing-statements/SKILL.md +0 -488
- package/bundled-skills/monthly-closing-statements/references/related-skills.md +0 -17
- package/bundled-skills/monthly-closing-statements/references/reusable-prompt.md +0 -8
- package/bundled-skills/music-generation-studio/SKILL.md +0 -259
- package/bundled-skills/notification-reminder-hub/SKILL.md +0 -324
- package/bundled-skills/notion-manual-import/SKILL.md +0 -376
- package/bundled-skills/notion-manual-import/references/best-practices.md +0 -10
- package/bundled-skills/notion-manual-import/references/common-pitfalls.md +0 -26
- package/bundled-skills/notion-manual-import/references/input-modules.md +0 -203
- package/bundled-skills/notion-manual-import/references/related-skills.md +0 -7
- package/bundled-skills/notion-manual-import/references/reusable-prompt.md +0 -8
- package/bundled-skills/notion-manual-import/references/security-safety-notes.md +0 -15
- package/bundled-skills/observability-cloud-planning/SKILL.md +0 -487
- package/bundled-skills/observability-cloud-planning/references/common-pitfalls.md +0 -39
- package/bundled-skills/observability-cloud-planning/references/related-skills.md +0 -20
- package/bundled-skills/observability-cloud-planning/references/reusable-prompt.md +0 -12
- package/bundled-skills/observability-cloud-planning/references/security-safety-notes.md +0 -30
- package/bundled-skills/offboarding-exit/SKILL.md +0 -343
- package/bundled-skills/offer-appointment/SKILL.md +0 -351
- package/bundled-skills/okr-system/SKILL.md +0 -355
- package/bundled-skills/omentir-linkedin-outreach/SKILL.md +0 -96
- package/bundled-skills/onboarding-playbook/SKILL.md +0 -292
- package/bundled-skills/organization-design/SKILL.md +0 -324
- package/bundled-skills/party-ledger-reconciliation/SKILL.md +0 -411
- package/bundled-skills/payment-accounting/SKILL.md +0 -421
- package/bundled-skills/payments-received/SKILL.md +0 -315
- package/bundled-skills/payroll-finance/SKILL.md +0 -351
- package/bundled-skills/people-directory/SKILL.md +0 -459
- package/bundled-skills/performance-management/SKILL.md +0 -367
- package/bundled-skills/petty-cash-management/SKILL.md +0 -448
- package/bundled-skills/placecall/SKILL.md +0 -237
- package/bundled-skills/policy-acknowledgement/SKILL.md +0 -314
- package/bundled-skills/policy-library/SKILL.md +0 -327
- package/bundled-skills/poster-design-studio/SKILL.md +0 -259
- package/bundled-skills/pre-boarding/SKILL.md +0 -326
- package/bundled-skills/presentation-deck/SKILL.md +0 -491
- package/bundled-skills/presentation-deck/references/related-skills.md +0 -19
- package/bundled-skills/presentation-deck/references/reusable-prompt.md +0 -11
- package/bundled-skills/probation-tracker/SKILL.md +0 -347
- package/bundled-skills/product-photo-studio/SKILL.md +0 -259
- package/bundled-skills/project-based-performance/SKILL.md +0 -323
- package/bundled-skills/projects-work-management/SKILL.md +0 -368
- package/bundled-skills/promotion-upgrade-requests/SKILL.md +0 -377
- package/bundled-skills/purchase-accounting/SKILL.md +0 -414
- package/bundled-skills/qrx/SKILL.md +0 -131
- package/bundled-skills/qrx/references/prompt-guide.md +0 -30
- package/bundled-skills/qrx/references/rest-api.md +0 -40
- package/bundled-skills/receipt-accounting/SKILL.md +0 -424
- package/bundled-skills/recognition-rewards/SKILL.md +0 -324
- package/bundled-skills/recruitment-pipeline/SKILL.md +0 -399
- package/bundled-skills/remote-work-tracker/SKILL.md +0 -306
- package/bundled-skills/repo-foundation/SKILL.md +0 -166
- package/bundled-skills/repo-foundation/references/LICENSE.md +0 -21
- package/bundled-skills/repo-foundation/references/bootstrap.md +0 -63
- package/bundled-skills/repo-foundation/references/companion.md +0 -9
- package/bundled-skills/repo-foundation/references/continuity.md +0 -50
- package/bundled-skills/repo-foundation/references/evolution.md +0 -60
- package/bundled-skills/repo-foundation/references/migration-examples.md +0 -53
- package/bundled-skills/repo-foundation/references/shared-contracts.md +0 -48
- package/bundled-skills/repo-foundation/references/verification.md +0 -50
- package/bundled-skills/repo-native-refactor/SKILL.md +0 -225
- package/bundled-skills/repo-native-refactor/references/LICENSE.md +0 -21
- package/bundled-skills/repo-native-refactor/references/deterministic-tooling.md +0 -101
- package/bundled-skills/repo-native-refactor/references/error-reliability.md +0 -117
- package/bundled-skills/repo-native-refactor/references/finding-taxonomy.md +0 -181
- package/bundled-skills/repo-native-refactor/references/refactor-examples.md +0 -77
- package/bundled-skills/repo-native-refactor/references/repository-prose.md +0 -157
- package/bundled-skills/repo-native-refactor/references/repository-rehabilitation.md +0 -94
- package/bundled-skills/repo-native-refactor/references/semantic-risk.md +0 -187
- package/bundled-skills/repo-native-refactor/references/shared-contracts.md +0 -48
- package/bundled-skills/repo-native-refactor/references/testing-integrity.md +0 -103
- package/bundled-skills/reports-analytics/SKILL.md +0 -320
- package/bundled-skills/repurpose-into-a-post/SKILL.md +0 -134
- package/bundled-skills/reverse-engineer-anything/SKILL.md +0 -243
- package/bundled-skills/reverse-engineer-anything/references/android-applications.md +0 -34
- package/bundled-skills/reverse-engineer-anything/references/evidence-workflows.md +0 -40
- package/bundled-skills/reverse-engineer-anything/references/javascript-applications.md +0 -70
- package/bundled-skills/reverse-engineer-anything/references/native-and-artifacts.md +0 -146
- package/bundled-skills/reverse-engineer-anything/references/runtime-observation.md +0 -28
- package/bundled-skills/salary-benchmarking/SKILL.md +0 -318
- package/bundled-skills/salary-wage-accounting/SKILL.md +0 -412
- package/bundled-skills/sales-accounting/SKILL.md +0 -494
- package/bundled-skills/sales-accounting/references/common-pitfalls.md +0 -28
- package/bundled-skills/sales-accounting/references/related-skills.md +0 -13
- package/bundled-skills/sales-accounting/references/reusable-prompt.md +0 -8
- package/bundled-skills/same-idea-both-platforms/SKILL.md +0 -111
- package/bundled-skills/scarf-single-cell/SKILL.md +0 -326
- package/bundled-skills/scarf-single-cell/references/LICENSE.md +0 -29
- package/bundled-skills/scarf-single-cell/references/clustering-and-embedding.md +0 -270
- package/bundled-skills/scarf-single-cell/references/data-access.md +0 -269
- package/bundled-skills/scarf-single-cell/references/features-and-graphs.md +0 -279
- package/bundled-skills/scarf-single-cell/references/gene-blacklists.md +0 -182
- package/bundled-skills/scarf-single-cell/references/integration-and-comparisons.md +0 -295
- package/bundled-skills/scarf-single-cell/references/markers-and-annotation.md +0 -280
- package/bundled-skills/scarf-single-cell/references/performance-and-export.md +0 -291
- package/bundled-skills/scarf-single-cell/references/pipeline-runs-and-artifacts.md +0 -273
- package/bundled-skills/scarf-single-cell/references/plotting.md +0 -260
- package/bundled-skills/scarf-single-cell/references/quality-control.md +0 -290
- package/bundled-skills/seo-directory-backlinks/SKILL.md +0 -484
- package/bundled-skills/seo-directory-backlinks/references/common-pitfalls.md +0 -36
- package/bundled-skills/seo-directory-backlinks/references/related-skills.md +0 -15
- package/bundled-skills/seo-directory-backlinks/references/reusable-prompt.md +0 -11
- package/bundled-skills/session-handoff/SKILL.md +0 -112
- package/bundled-skills/shark/SKILL.md +0 -134
- package/bundled-skills/shark/references/investors.json +0 -12
- package/bundled-skills/shark/scripts/shark.py +0 -302
- package/bundled-skills/shipvela-publish/SKILL.md +0 -80
- package/bundled-skills/shipvela-publish/references/LICENSE.md +0 -21
- package/bundled-skills/since-cutoff/SKILL.md +0 -68
- package/bundled-skills/skeleton-first/SKILL.md +0 -163
- package/bundled-skills/skill-gap-analysis/SKILL.md +0 -338
- package/bundled-skills/smart-contract-formal-verification/SKILL.md +0 -136
- package/bundled-skills/smart-contract-upgrade-governance/SKILL.md +0 -130
- package/bundled-skills/social-media-setup/SKILL.md +0 -477
- package/bundled-skills/social-media-setup/references/common-pitfalls.md +0 -34
- package/bundled-skills/social-media-setup/references/related-skills.md +0 -19
- package/bundled-skills/social-media-setup/references/reusable-prompt.md +0 -11
- package/bundled-skills/social-media-setup/references/security-safety-notes.md +0 -27
- package/bundled-skills/sop-company-wiki/SKILL.md +0 -324
- package/bundled-skills/soroban-contract-audit/SKILL.md +0 -136
- package/bundled-skills/soroban-liquidity-pool/SKILL.md +0 -118
- package/bundled-skills/soroban-oracle-data-feed-audit/SKILL.md +0 -118
- package/bundled-skills/soroban-storage-ttl-lifecycle/SKILL.md +0 -118
- package/bundled-skills/soroban-token-minter/SKILL.md +0 -124
- package/bundled-skills/source-document-filing/SKILL.md +0 -368
- package/bundled-skills/spreadsheet-manual-build/SKILL.md +0 -493
- package/bundled-skills/spreadsheet-manual-build/references/best-practices.md +0 -9
- package/bundled-skills/spreadsheet-manual-build/references/common-pitfalls.md +0 -22
- package/bundled-skills/spreadsheet-manual-build/references/related-skills.md +0 -8
- package/bundled-skills/spreadsheet-manual-build/references/reusable-prompt.md +0 -9
- package/bundled-skills/spreadsheet-manual-build/references/security-safety-notes.md +0 -16
- package/bundled-skills/stakeholder-investor-reports/SKILL.md +0 -303
- package/bundled-skills/stellar-anchor-integration/SKILL.md +0 -136
- package/bundled-skills/stellar-asset-clawback-compliance/SKILL.md +0 -118
- package/bundled-skills/stellar-escrow-timelock/SKILL.md +0 -118
- package/bundled-skills/stellar-multisig-threshold-coordinator/SKILL.md +0 -112
- package/bundled-skills/suno-lyrics-to-song/SKILL.md +0 -259
- package/bundled-skills/supercov/SKILL.md +0 -119
- package/bundled-skills/talking-avatar-video/SKILL.md +0 -260
- package/bundled-skills/tastegate/SKILL.md +0 -129
- package/bundled-skills/tastegate/references/THIRD_PARTY_NOTICES.md +0 -25
- package/bundled-skills/tastegate/references/craft-floor.md +0 -53
- package/bundled-skills/tastegate/references/direction.md +0 -59
- package/bundled-skills/tastegate/references/impeccable-LICENSE-Apache-2.0.txt +0 -191
- package/bundled-skills/tastegate/references/taste-skill-LICENSE-MIT.txt +0 -21
- package/bundled-skills/tastegate/scripts/gate.py +0 -401
- package/bundled-skills/tax-register/SKILL.md +0 -363
- package/bundled-skills/tds-booking-payment/SKILL.md +0 -405
- package/bundled-skills/team-calendar/SKILL.md +0 -312
- package/bundled-skills/tech-writing-proofread/SKILL.md +0 -78
- package/bundled-skills/telegram-channel-ads/SKILL.md +0 -139
- package/bundled-skills/template-library/SKILL.md +0 -304
- package/bundled-skills/time-tracking/SKILL.md +0 -353
- package/bundled-skills/tokenleak/SKILL.md +0 -79
- package/bundled-skills/turn-this-into-a-thread/SKILL.md +0 -130
- package/bundled-skills/ui-from-screenshot/SKILL.md +0 -147
- package/bundled-skills/ui-states/SKILL.md +0 -149
- package/bundled-skills/url-to-markdown/SKILL.md +0 -74
- package/bundled-skills/uxkin-research/SKILL.md +0 -127
- package/bundled-skills/vendor-contractor-management/SKILL.md +0 -327
- package/bundled-skills/viral-video-teardown-remake/SKILL.md +0 -260
- package/bundled-skills/voice-cloning-studio/SKILL.md +0 -260
- package/bundled-skills/voiceover-narration-studio/SKILL.md +0 -259
- package/bundled-skills/web3-rate-limiting-circuit-breaker/SKILL.md +0 -130
- package/bundled-skills/web3-transaction-relayer-pool/SKILL.md +0 -124
- package/bundled-skills/what-could-break/SKILL.md +0 -128
- package/bundled-skills/what-could-break/references/LICENSE-pstack.txt +0 -21
- package/bundled-skills/why-did-this-post-flop/SKILL.md +0 -130
- package/bundled-skills/write-design-md/SKILL.md +0 -158
- package/bundled-skills/write-in-my-voice/SKILL.md +0 -140
- package/bundled-skills/zk-proof-verification-pipeline/SKILL.md +0 -124
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
(function () {
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
// MAX_FIELD_STEP keeps the change per frame below a visible step at less GPU cost.
|
|
6
|
-
const MIN_FRAME_INTERVAL = 50;
|
|
7
|
-
const MAX_FRAME_INTERVAL = 250;
|
|
8
|
-
const MAX_FIELD_STEP = 0.003;
|
|
4
|
+
const MAX_COLORS = 12;
|
|
9
5
|
|
|
10
6
|
const VERTEX_SHADER = `
|
|
11
7
|
attribute vec2 aPosition;
|
|
@@ -27,12 +23,12 @@
|
|
|
27
23
|
uniform float uWarp;
|
|
28
24
|
uniform float uDither;
|
|
29
25
|
uniform float uLuminanceCap;
|
|
30
|
-
uniform float uLevels;
|
|
31
26
|
uniform vec3 uBase;
|
|
32
|
-
uniform vec3 uColors[
|
|
33
|
-
uniform float uStrengths[
|
|
34
|
-
uniform float uFieldScales[
|
|
35
|
-
uniform vec2 uPhases[
|
|
27
|
+
uniform vec3 uColors[12];
|
|
28
|
+
uniform float uStrengths[12];
|
|
29
|
+
uniform float uFieldScales[12];
|
|
30
|
+
uniform vec2 uPhases[12];
|
|
31
|
+
uniform float uColorCount;
|
|
36
32
|
|
|
37
33
|
float hash21(vec2 p) {
|
|
38
34
|
p = fract(p * vec2(123.34, 456.21));
|
|
@@ -56,8 +52,8 @@
|
|
|
56
52
|
float amplitude = 0.52;
|
|
57
53
|
mat2 rotation = mat2(0.80, 0.60, -0.60, 0.80);
|
|
58
54
|
for (int i = 0; i < 5; i++) {
|
|
59
|
-
|
|
60
|
-
value += amplitude * noise(p);
|
|
55
|
+
float enabled = 1.0 - step(uOctaves, float(i) + 0.5);
|
|
56
|
+
value += amplitude * noise(p) * enabled;
|
|
61
57
|
p = rotation * p * 2.03 + vec2(13.1, 7.7);
|
|
62
58
|
amplitude *= 0.48;
|
|
63
59
|
}
|
|
@@ -81,19 +77,6 @@
|
|
|
81
77
|
return c / (1.0 + max(c - 1.0, 0.0));
|
|
82
78
|
}
|
|
83
79
|
|
|
84
|
-
vec3 linearToSrgb(vec3 c) {
|
|
85
|
-
vec3 high = 1.055 * pow(max(c, vec3(0.0031308)), vec3(1.0 / 2.4)) - 0.055;
|
|
86
|
-
return mix(c * 12.92, high, step(vec3(0.0031308), c));
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
// Not hash21: offsetting pixel coordinates by the seed pushes them past
|
|
90
|
-
// float precision, and the dither turns into visible stripes.
|
|
91
|
-
float ditherHash(vec2 p) {
|
|
92
|
-
vec3 p3 = fract(vec3(p.xyx) * 0.1031);
|
|
93
|
-
p3 += dot(p3, p3.yzx + 33.33);
|
|
94
|
-
return fract((p3.x + p3.y) * p3.z);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
80
|
void main() {
|
|
98
81
|
vec2 uv = gl_FragCoord.xy / uResolution.xy;
|
|
99
82
|
vec2 p = (uv - 0.5) * vec2(uResolution.x / uResolution.y, 1.0);
|
|
@@ -121,12 +104,7 @@
|
|
|
121
104
|
+ dot(warped, vec2(0.72, -0.49))
|
|
122
105
|
+ uSeed * 0.000017
|
|
123
106
|
);
|
|
124
|
-
for (int i = 0; i <
|
|
125
|
-
float hueStop = float(i) / 6.0;
|
|
126
|
-
float hueDistance = abs(spectralFlow - hueStop);
|
|
127
|
-
hueDistance = min(hueDistance, 1.0 - hueDistance);
|
|
128
|
-
float hueBand = 1.0 - smoothstep(0.035, 0.205, hueDistance);
|
|
129
|
-
if (hueBand <= 0.0) continue;
|
|
107
|
+
for (int i = 0; i < 12; i++) {
|
|
130
108
|
float field = colorField(
|
|
131
109
|
warped + q * (0.21 + float(i) * 0.025),
|
|
132
110
|
uPhases[i],
|
|
@@ -134,11 +112,16 @@
|
|
|
134
112
|
uFieldScales[i]
|
|
135
113
|
);
|
|
136
114
|
float softBand = smoothstep(0.22, 0.78, field);
|
|
115
|
+
float active = step(float(i) + 0.5, uColorCount);
|
|
116
|
+
float hueStop = float(i) / max(uColorCount, 1.0);
|
|
117
|
+
float hueDistance = abs(spectralFlow - hueStop);
|
|
118
|
+
hueDistance = min(hueDistance, 1.0 - hueDistance);
|
|
119
|
+
float hueBand = 1.0 - smoothstep(0.035, 0.205, hueDistance);
|
|
137
120
|
float shapedBand = pow(hueBand, 2.2) * (0.64 + softBand * 0.36);
|
|
138
|
-
float weight = shapedBand * sqrt(max(uStrengths[i], 0.0));
|
|
121
|
+
float weight = shapedBand * sqrt(max(uStrengths[i], 0.0)) * active;
|
|
139
122
|
colorSum += uColors[i] * weight;
|
|
140
123
|
weightSum += weight;
|
|
141
|
-
energySum += shapedBand * uStrengths[i];
|
|
124
|
+
energySum += shapedBand * uStrengths[i] * active;
|
|
142
125
|
strongestBand = max(strongestBand, shapedBand);
|
|
143
126
|
}
|
|
144
127
|
|
|
@@ -162,13 +145,11 @@
|
|
|
162
145
|
}
|
|
163
146
|
}
|
|
164
147
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
vec3 code = clamp(floor(encoded * uLevels + 0.5 + triangle * uDither), 0.0, uLevels);
|
|
171
|
-
gl_FragColor = vec4((code + 0.25) / uLevels, 1.0);
|
|
148
|
+
float dither = hash21(floor(gl_FragCoord.xy) + vec2(uSeed, -uSeed)) - 0.5;
|
|
149
|
+
color += dither * (uDither / 255.0);
|
|
150
|
+
color = toneMap(max(color, 0.0));
|
|
151
|
+
color = pow(color, vec3(1.0 / 2.2));
|
|
152
|
+
gl_FragColor = vec4(color, 1.0);
|
|
172
153
|
}
|
|
173
154
|
`;
|
|
174
155
|
|
|
@@ -189,8 +170,6 @@
|
|
|
189
170
|
];
|
|
190
171
|
}
|
|
191
172
|
|
|
192
|
-
const MAX_COLORS = 12;
|
|
193
|
-
|
|
194
173
|
function clamp01(value) {
|
|
195
174
|
const number = Number(value);
|
|
196
175
|
return Number.isFinite(number) ? Math.min(1, Math.max(0, number)) : 0;
|
|
@@ -264,72 +243,89 @@
|
|
|
264
243
|
this.applyFallbackConfig(config);
|
|
265
244
|
this.available = false;
|
|
266
245
|
this.error = null;
|
|
267
|
-
this.
|
|
246
|
+
this.motionPreference = window.matchMedia("(prefers-reduced-motion: reduce)");
|
|
247
|
+
this.motionEnabled = !this.motionPreference.matches;
|
|
268
248
|
this.visible = !document.hidden;
|
|
269
|
-
this.
|
|
270
|
-
this.
|
|
249
|
+
this.startTime = performance.now();
|
|
250
|
+
this.phaseTime = null;
|
|
271
251
|
this.lastFrame = 0;
|
|
272
252
|
this.frameHandle = 0;
|
|
273
253
|
try {
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
this.gl.
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
254
|
+
this.gl = canvas.getContext("webgl", {
|
|
255
|
+
alpha: false,
|
|
256
|
+
antialias: false,
|
|
257
|
+
depth: false,
|
|
258
|
+
stencil: false,
|
|
259
|
+
powerPreference: "low-power",
|
|
260
|
+
preserveDrawingBuffer: true
|
|
261
|
+
});
|
|
262
|
+
if (!this.gl) throw new Error("WebGL context unavailable");
|
|
263
|
+
|
|
264
|
+
this.program = createProgram(this.gl);
|
|
265
|
+
this.gl.useProgram(this.program);
|
|
266
|
+
const buffer = this.gl.createBuffer();
|
|
267
|
+
if (!buffer) throw new Error("WebGL buffer creation failed");
|
|
268
|
+
this.gl.bindBuffer(this.gl.ARRAY_BUFFER, buffer);
|
|
269
|
+
this.gl.bufferData(
|
|
270
|
+
this.gl.ARRAY_BUFFER,
|
|
271
|
+
new Float32Array([-1, -1, 1, -1, -1, 1, -1, 1, 1, -1, 1, 1]),
|
|
272
|
+
this.gl.STATIC_DRAW
|
|
273
|
+
);
|
|
274
|
+
const position = this.gl.getAttribLocation(this.program, "aPosition");
|
|
275
|
+
if (position < 0) throw new Error("WebGL position attribute unavailable");
|
|
276
|
+
this.gl.enableVertexAttribArray(position);
|
|
277
|
+
this.gl.vertexAttribPointer(position, 2, this.gl.FLOAT, false, 0, 0);
|
|
278
|
+
|
|
279
|
+
this.locations = {
|
|
280
|
+
resolution: uniform(this.gl, this.program, "uResolution"),
|
|
281
|
+
time: uniform(this.gl, this.program, "uTime"),
|
|
282
|
+
seed: uniform(this.gl, this.program, "uSeed"),
|
|
283
|
+
mode: uniform(this.gl, this.program, "uMode"),
|
|
284
|
+
overall: uniform(this.gl, this.program, "uOverall"),
|
|
285
|
+
colorCount: uniform(this.gl, this.program, "uColorCount"),
|
|
286
|
+
scale: uniform(this.gl, this.program, "uScale"),
|
|
287
|
+
octaves: uniform(this.gl, this.program, "uOctaves"),
|
|
288
|
+
warp: uniform(this.gl, this.program, "uWarp"),
|
|
289
|
+
dither: uniform(this.gl, this.program, "uDither"),
|
|
290
|
+
luminanceCap: uniform(this.gl, this.program, "uLuminanceCap"),
|
|
291
|
+
base: uniform(this.gl, this.program, "uBase"),
|
|
292
|
+
colors: uniform(this.gl, this.program, "uColors[0]"),
|
|
293
|
+
strengths: uniform(this.gl, this.program, "uStrengths[0]"),
|
|
294
|
+
fieldScales: uniform(this.gl, this.program, "uFieldScales[0]"),
|
|
295
|
+
phases: uniform(this.gl, this.program, "uPhases[0]")
|
|
296
|
+
};
|
|
297
|
+
|
|
298
|
+
this.onResize = () => this.resize();
|
|
299
|
+
this.onVisibility = () => {
|
|
300
|
+
const now = performance.now();
|
|
301
|
+
if (document.hidden) {
|
|
302
|
+
this.capturePhase(now);
|
|
303
|
+
this.visible = false;
|
|
304
|
+
if (this.frameHandle) {
|
|
305
|
+
cancelAnimationFrame(this.frameHandle);
|
|
306
|
+
this.frameHandle = 0;
|
|
307
|
+
}
|
|
308
|
+
return;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
this.visible = true;
|
|
312
|
+
if (this.motionEnabled) {
|
|
313
|
+
const speed = this.config.field.motionSpeed;
|
|
314
|
+
this.startTime = speed > 0 && this.phaseTime !== null
|
|
315
|
+
? now - (this.phaseTime / speed) * 1000
|
|
316
|
+
: now;
|
|
317
|
+
}
|
|
318
|
+
this.render(now, true);
|
|
319
|
+
this.schedule();
|
|
320
|
+
};
|
|
321
|
+
this.onMotionPreference = (event) => this.setMotion(!event.matches);
|
|
322
|
+
window.addEventListener("resize", this.onResize, { passive: true });
|
|
323
|
+
document.addEventListener("visibilitychange", this.onVisibility);
|
|
324
|
+
this.motionPreference.addEventListener("change", this.onMotionPreference);
|
|
325
|
+
this.available = true;
|
|
326
|
+
this.resize();
|
|
327
|
+
this.uploadConfig();
|
|
328
|
+
this.schedule();
|
|
333
329
|
} catch (error) {
|
|
334
330
|
this.error = error instanceof Error ? error.message : String(error);
|
|
335
331
|
this.available = false;
|
|
@@ -338,28 +334,36 @@
|
|
|
338
334
|
}
|
|
339
335
|
}
|
|
340
336
|
|
|
341
|
-
applyFallbackConfig(config) {
|
|
342
|
-
document.documentElement.style.setProperty("--field-fallback-background", fallbackBackground(config));
|
|
343
|
-
}
|
|
344
|
-
|
|
345
337
|
resize() {
|
|
346
|
-
if (!this.available) return
|
|
338
|
+
if (!this.available) return;
|
|
347
339
|
const pixelRatio = Math.min(window.devicePixelRatio || 1, 1.5);
|
|
348
340
|
const width = Math.max(1, Math.round(this.canvas.clientWidth * pixelRatio));
|
|
349
341
|
const height = Math.max(1, Math.round(this.canvas.clientHeight * pixelRatio));
|
|
350
|
-
if (this.canvas.width
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
342
|
+
if (this.canvas.width !== width || this.canvas.height !== height) {
|
|
343
|
+
this.canvas.width = width;
|
|
344
|
+
this.canvas.height = height;
|
|
345
|
+
this.gl.viewport(0, 0, width, height);
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
applyFallbackConfig(config) {
|
|
350
|
+
document.documentElement.style.setProperty("--field-fallback-background", fallbackBackground(config));
|
|
355
351
|
}
|
|
356
352
|
|
|
357
353
|
uploadConfig() {
|
|
358
354
|
if (!this.available) return;
|
|
359
355
|
const gl = this.gl;
|
|
360
356
|
const config = this.config;
|
|
361
|
-
const
|
|
362
|
-
|
|
357
|
+
const sourceColors = Array.isArray(config.colors) ? config.colors.slice(0, MAX_COLORS) : [];
|
|
358
|
+
const fallbackColor = sourceColors[0] || {
|
|
359
|
+
oklch: config.base.oklch,
|
|
360
|
+
intensity: 0,
|
|
361
|
+
peakOpacity: 0,
|
|
362
|
+
fieldScale: config.field.scale,
|
|
363
|
+
phase: [0, 0]
|
|
364
|
+
};
|
|
365
|
+
const colors = sourceColors.slice();
|
|
366
|
+
while (colors.length < MAX_COLORS) colors.push(fallbackColor);
|
|
363
367
|
const colorValues = colors.flatMap((entry) => oklchToLinearRgb(entry.oklch));
|
|
364
368
|
const strengthValues = colors.map((entry) => entry.intensity * entry.peakOpacity * 3.0);
|
|
365
369
|
const fieldScaleValues = colors.map((entry) => entry.fieldScale);
|
|
@@ -368,12 +372,12 @@
|
|
|
368
372
|
gl.uniform1f(this.locations.seed, config.seed);
|
|
369
373
|
gl.uniform1f(this.locations.mode, config.mode === "obsidian" ? 1 : 0);
|
|
370
374
|
gl.uniform1f(this.locations.overall, config.overallColorIntensity);
|
|
375
|
+
gl.uniform1f(this.locations.colorCount, sourceColors.length);
|
|
371
376
|
gl.uniform1f(this.locations.scale, config.field.scale);
|
|
372
377
|
gl.uniform1f(this.locations.octaves, config.field.octaves);
|
|
373
378
|
gl.uniform1f(this.locations.warp, config.field.warpStrength);
|
|
374
379
|
gl.uniform1f(this.locations.dither, config.field.ditherStrength);
|
|
375
|
-
gl.uniform1f(this.locations.luminanceCap, config.field.luminanceCap
|
|
376
|
-
gl.uniform1f(this.locations.levels, this.levels);
|
|
380
|
+
gl.uniform1f(this.locations.luminanceCap, config.field.luminanceCap);
|
|
377
381
|
gl.uniform3fv(this.locations.base, new Float32Array(oklchToLinearRgb(config.base.oklch)));
|
|
378
382
|
gl.uniform3fv(this.locations.colors, new Float32Array(colorValues));
|
|
379
383
|
gl.uniform1fv(this.locations.strengths, new Float32Array(strengthValues));
|
|
@@ -381,20 +385,40 @@
|
|
|
381
385
|
gl.uniform2fv(this.locations.phases, new Float32Array(phaseValues));
|
|
382
386
|
}
|
|
383
387
|
|
|
388
|
+
capturePhase(now) {
|
|
389
|
+
if (this.motionEnabled) {
|
|
390
|
+
this.phaseTime = ((now - this.startTime) / 1000) * this.config.field.motionSpeed;
|
|
391
|
+
} else if (this.phaseTime === null) {
|
|
392
|
+
this.phaseTime = this.config.field.staticTime;
|
|
393
|
+
}
|
|
394
|
+
return this.phaseTime;
|
|
395
|
+
}
|
|
396
|
+
|
|
384
397
|
updateConfig(config) {
|
|
398
|
+
const now = performance.now();
|
|
399
|
+
this.capturePhase(now);
|
|
385
400
|
this.config = config;
|
|
386
401
|
this.applyFallbackConfig(config);
|
|
387
402
|
this.uploadConfig();
|
|
388
|
-
this.render(
|
|
403
|
+
this.render(now, true);
|
|
389
404
|
}
|
|
390
405
|
|
|
391
406
|
setMotion(enabled) {
|
|
407
|
+
if (enabled === this.motionEnabled) {
|
|
408
|
+
const now = performance.now();
|
|
409
|
+
if (!enabled) this.capturePhase(now);
|
|
410
|
+
this.render(now, true);
|
|
411
|
+
return;
|
|
412
|
+
}
|
|
413
|
+
const now = performance.now();
|
|
414
|
+
const phase = this.capturePhase(now);
|
|
392
415
|
this.motionEnabled = enabled;
|
|
393
|
-
this.lastTick = null;
|
|
394
416
|
if (enabled) {
|
|
417
|
+
const speed = this.config.field.motionSpeed;
|
|
418
|
+
this.startTime = speed > 0 ? now - (phase / speed) * 1000 : now;
|
|
395
419
|
this.schedule();
|
|
396
420
|
} else {
|
|
397
|
-
this.render(
|
|
421
|
+
this.render(now, true);
|
|
398
422
|
}
|
|
399
423
|
}
|
|
400
424
|
|
|
@@ -407,28 +431,17 @@
|
|
|
407
431
|
});
|
|
408
432
|
}
|
|
409
433
|
|
|
410
|
-
frameInterval() {
|
|
411
|
-
const speed = this.config.field.motionSpeed;
|
|
412
|
-
if (!(speed > 0)) return MAX_FRAME_INTERVAL;
|
|
413
|
-
return Math.min(MAX_FRAME_INTERVAL, Math.max(MIN_FRAME_INTERVAL, (MAX_FIELD_STEP / speed) * 1000));
|
|
414
|
-
}
|
|
415
|
-
|
|
416
434
|
render(now, force) {
|
|
417
435
|
if (!this.available) return;
|
|
418
|
-
if (!force && now - this.lastFrame <
|
|
436
|
+
if (!force && now - this.lastFrame < 50) {
|
|
419
437
|
this.schedule();
|
|
420
438
|
return;
|
|
421
439
|
}
|
|
422
440
|
this.lastFrame = now;
|
|
423
441
|
this.resize();
|
|
424
|
-
|
|
425
|
-
if (this.lastTick !== null) {
|
|
426
|
-
this.fieldTime += (Math.max(0, now - this.lastTick) / 1000) * this.config.field.motionSpeed;
|
|
427
|
-
}
|
|
428
|
-
this.lastTick = now;
|
|
429
|
-
}
|
|
442
|
+
const elapsed = this.capturePhase(now);
|
|
430
443
|
this.gl.uniform2f(this.locations.resolution, this.canvas.width, this.canvas.height);
|
|
431
|
-
this.gl.uniform1f(this.locations.time,
|
|
444
|
+
this.gl.uniform1f(this.locations.time, elapsed);
|
|
432
445
|
this.gl.drawArrays(this.gl.TRIANGLES, 0, 6);
|
|
433
446
|
}
|
|
434
447
|
}
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
## 共通原则
|
|
4
4
|
|
|
5
|
-
- 把色场当作环境现象,不把它当成组件皮肤或装饰贴纸。
|
|
5
|
+
- 把色场当作环境现象,不把它当成组件皮肤或装饰贴纸。
|
|
6
6
|
- 先建立稳定的信息层级:导航、列表/队列、详情、元数据、状态带。
|
|
7
7
|
- 让颜色跨越整个场景,但保持文字、边界、按钮和选择态可读。
|
|
8
8
|
- 用 OKLCH 编写颜色;为降级路径保留 sRGB 值。
|
|
9
|
-
- 颜色数组按色相顺序排列。渲染器把颜色依次排在一条首尾相接的色相轴上,相邻两色在交界处混合;近互补色相邻时,交界处色度互相抵消,只剩变暗。
|
|
10
9
|
- 使用连续的 fBm/domain-warp、流带或方向性流域。禁止明显的圆形光斑、中心聚光和硬彩虹条。
|
|
11
10
|
- 维持静、薄、净、密、活的工作台气质:表面轻、信息密、状态清楚、背景有生命但不抢语义。
|
|
12
11
|
|
|
@@ -14,8 +13,6 @@
|
|
|
14
13
|
|
|
15
14
|
定位:白色是第一视觉,色彩像被光照亮的珠光薄层,能看到变化但不破坏“白”。
|
|
16
15
|
|
|
17
|
-
下表按 starter 工作台标定:顶栏、侧栏和工作区等面板以 66%–92% 的不透明度盖在色场上。色场直接露出时,按下一节调整。
|
|
18
|
-
|
|
19
16
|
| 参数 | 建议范围 | 作用 |
|
|
20
17
|
|---|---:|---|
|
|
21
18
|
| `overallColorIntensity` | 0.60–0.90 | 控制全局彩色预算,默认约 0.82 |
|
|
@@ -25,23 +22,9 @@
|
|
|
25
22
|
| 颜色 `oklch.c` | 0.030–0.065 | 足够识别,但避免糖果霓虹 |
|
|
26
23
|
| `peakOpacity` | 0.055–0.110 | 决定局部峰值,先调它再调总体 |
|
|
27
24
|
| `field.warpStrength` | 0.22–0.42 | 让颜色互相流动而非分块 |
|
|
25
|
+
| `field.luminanceCap` | 0.94–1.00 | 白场通常不需强行压暗 |
|
|
28
26
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
### 色场直接露出
|
|
32
|
-
|
|
33
|
-
个人主页、文章页这类页面没有面板盖住色场,按上表的强度会显得花,也会把整页压暗。下表是一个真实站点在一位用户屏幕上的判断。`tint.p50` 是 `measure_preview.py` 测得的相对底色色偏中位数(OKLab),用用户当时看到的那一版渲染器重新测得;换站点或屏幕需要重新确认。
|
|
34
|
-
|
|
35
|
-
| 用户判断 | `tint.p50` | 配置 |
|
|
36
|
-
|---|---:|---|
|
|
37
|
-
| 看不出色场 | 约 0.004 | overall 0.30 |
|
|
38
|
-
| 合适:仔细看能看出,不发灰 | 约 0.0056 | overall 0.45 |
|
|
39
|
-
| 显得花且乱 | 约 0.009 | 上表默认参数,色相交错排列 |
|
|
40
|
-
| 阅读页,接近全白 | 约 0.0017 | overall 0.15 |
|
|
41
|
-
|
|
42
|
-
那个站点的其他参数:底色 `l` 0.988,颜色按色相排序,`field.scale` 0.8,`octaves` 3,`warpStrength` 0.26。当前渲染器下,这组参数在 overall 0.45 时测得约 0.0052,0.55 时约 0.0063。
|
|
43
|
-
|
|
44
|
-
白版的颜色都比底色暗,着色的同时一定变暗。同一组颜色下,变暗和色偏按同一比例随强度变化,`shiftToTint` 基本不变,所以降低强度只会让色场更淡,不会让它更干净。要减少发灰,先按色相排序并检查 `grayRatio`。把颜色亮度调得更接近底色也能减少变暗,但越接近白色,sRGB 能容纳的色度越小;这一点还没有在当前渲染器上实测。
|
|
27
|
+
建议使用玫瑰、海玻璃青、丁香、珠杏、薄荷和远空蓝等低饱和色相。至少让三种色相在同一截图中可辨,不要让整张图退化为普通暖白、灰雾或单一冷白。
|
|
45
28
|
|
|
46
29
|
## 五彩斑斓黑 / `obsidian`
|
|
47
30
|
|
|
@@ -62,11 +45,9 @@
|
|
|
62
45
|
|
|
63
46
|
## 参数解释
|
|
64
47
|
|
|
65
|
-
- `intensity
|
|
66
|
-
- `peakOpacity
|
|
48
|
+
- `intensity`:该色相参与场的权重,必须可被滑杆实时改变。
|
|
49
|
+
- `peakOpacity`:该色相的局部峰值预算;不要把它误写成整个页面透明度。
|
|
67
50
|
- `fieldScale`:该色相的空间频率;不同值能避免所有颜色同相叠加。
|
|
68
51
|
- `phase`:确定性相位,长度为 2 的数组;同一 seed 下保持稳定。
|
|
69
|
-
- `
|
|
70
|
-
- `
|
|
71
|
-
- `measuredCoverage`:相对底色的色偏超过可见阈值、并按偏离方向归属该色相的像素块占比。
|
|
72
|
-
- `effectiveShare`:可见色偏能量中该色相的相对份额;这是近似归属,不是 shader 内部精确贡献。
|
|
52
|
+
- `measuredCoverage`:截图中超过基材色度阈值、并归属该色相的像素占比。
|
|
53
|
+
- `effectiveShare`:可见色度能量中该色相的相对份额;这是近似归属,不是 shader 内部精确贡献。
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
## 浏览器检查
|
|
15
15
|
|
|
16
|
-
用真实浏览器生成至少两种视口:桌面(建议 1440×960)和窄屏(建议 390×844
|
|
16
|
+
用真实浏览器生成至少两种视口:桌面(建议 1440×960)和窄屏(建议 390×844)。至少检查:
|
|
17
17
|
|
|
18
18
|
1. 页面初始渲染与 WebGL/CSS fallback 状态;
|
|
19
19
|
2. 参数面板打开、关闭、Escape 返回焦点;
|
|
@@ -21,8 +21,7 @@
|
|
|
21
21
|
4. 恢复预设、导出 JSON、复制失败时的可用提示;
|
|
22
22
|
5. 导航、记录选择、标签切换、移动端导航收起;
|
|
23
23
|
6. 控制台错误/警告和本地静态资源请求;
|
|
24
|
-
7. reduced-motion
|
|
25
|
-
8. 暂停后改变窗口尺寸,色场不能变黑;暂停和继续时画面不能跳。
|
|
24
|
+
7. reduced-motion 与页面隐藏时暂停/冻结行为。
|
|
26
25
|
|
|
27
26
|
截图必须直接看过才能产生审美结论。重点检查:白版是否仍以白为主、黑版是否仍以黑为底、六色是否形成连续流域、文字是否可读,以及是否出现圆形大光斑、RGB 霓虹、灰雾、黑压死或全页玻璃。
|
|
28
27
|
|
|
@@ -31,27 +30,16 @@
|
|
|
31
30
|
用 `scripts/measure_preview.py` 测量纯色场截图,而不是只测被面板遮挡的完整页面。脚本会:
|
|
32
31
|
|
|
33
32
|
- 读取 JS manifest 中的 base 与 palette;
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
-
|
|
39
|
-
偏离相对底色计算,底色自身的色度不影响结果。当前渲染器按 sRGB 曲线编码并在量化前抖动,overall 为 0 时截图应与 manifest 底色一致。换用别的渲染器时,先用 overall 0 的截图验证这一点,否则测到的偏离里混有渲染器自身的偏差。
|
|
33
|
+
- 将截图转换到 OKLab;
|
|
34
|
+
- 以“高于基材色度阈值”的像素作为可见色;
|
|
35
|
+
- 将可见像素分配给最近的配置色相;
|
|
36
|
+
- 输出可见色像素比例、OKLab chroma、亮度均值/P95/最大值、每色覆盖率和有效色度份额。
|
|
40
37
|
|
|
41
38
|
低色度白场的色相归属只能作为近似统计,不能替代视觉检查。黑版必须同时检查最大亮度不超过 manifest 的 `luminanceCap` 意图;不要把截图中的 sRGB 值直接当成线性亮度。
|
|
42
39
|
|
|
43
|
-
## 变暗检查
|
|
44
|
-
|
|
45
|
-
白版的颜色都比底色暗,着色一定伴随变暗。看两项:
|
|
46
|
-
|
|
47
|
-
- `lightnessShift.mean`:整页平均比底色暗多少。
|
|
48
|
-
- `grayRatio`:亮度明显改变、色偏却很小的像素块占比,只在白版计算。它应接近 0;偏高时先检查颜色是否按色相排序,`validate_manifest.py` 会对乱序给出警告。
|
|
49
|
-
|
|
50
|
-
同一组颜色下,`shiftToTint` 基本不随强度变化,调低强度不会让它变小。色场直接露出的页面,按 `style-contract.md` 里“色场直接露出”一节确认强度。
|
|
51
|
-
|
|
52
40
|
## 报告结构
|
|
53
41
|
|
|
54
|
-
|
|
42
|
+
最终报告至少输出:
|
|
55
43
|
|
|
56
44
|
```json
|
|
57
45
|
{
|