claude-skill-lord 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +19 -0
- package/.claude-plugin/plugin.json +54 -0
- package/CLAUDE.md +81 -0
- package/LICENSE +33 -0
- package/LICENSE-ui-ux-pro-max.txt +21 -0
- package/README.md +294 -0
- package/agents/architect.md +211 -0
- package/agents/brainstormer.md +103 -0
- package/agents/build-error-resolver.md +114 -0
- package/agents/chief-of-staff.md +151 -0
- package/agents/code-reviewer.md +285 -0
- package/agents/copywriter.md +111 -0
- package/agents/database-admin.md +91 -0
- package/agents/debugger.md +135 -0
- package/agents/docs-manager.md +119 -0
- package/agents/e2e-runner.md +107 -0
- package/agents/git-manager.md +199 -0
- package/agents/harness-optimizer.md +35 -0
- package/agents/loop-operator.md +36 -0
- package/agents/planner.md +245 -0
- package/agents/project-manager.md +117 -0
- package/agents/quality-gate.md +173 -0
- package/agents/refactor-cleaner.md +85 -0
- package/agents/scout.md +105 -0
- package/agents/security-reviewer.md +108 -0
- package/agents/skill-router.md +112 -0
- package/agents/tdd-guide.md +91 -0
- package/agents/ui-ux-designer.md +220 -0
- package/assets/canvas-fonts/ArsenalSC-OFL.txt +93 -0
- package/assets/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
- package/assets/canvas-fonts/BigShoulders-Bold.ttf +0 -0
- package/assets/canvas-fonts/BigShoulders-OFL.txt +93 -0
- package/assets/canvas-fonts/BigShoulders-Regular.ttf +0 -0
- package/assets/canvas-fonts/Boldonse-OFL.txt +93 -0
- package/assets/canvas-fonts/Boldonse-Regular.ttf +0 -0
- package/assets/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
- package/assets/canvas-fonts/BricolageGrotesque-OFL.txt +93 -0
- package/assets/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
- package/assets/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
- package/assets/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
- package/assets/canvas-fonts/CrimsonPro-OFL.txt +93 -0
- package/assets/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
- package/assets/canvas-fonts/DMMono-OFL.txt +93 -0
- package/assets/canvas-fonts/DMMono-Regular.ttf +0 -0
- package/assets/canvas-fonts/EricaOne-OFL.txt +94 -0
- package/assets/canvas-fonts/EricaOne-Regular.ttf +0 -0
- package/assets/canvas-fonts/GeistMono-Bold.ttf +0 -0
- package/assets/canvas-fonts/GeistMono-OFL.txt +93 -0
- package/assets/canvas-fonts/GeistMono-Regular.ttf +0 -0
- package/assets/canvas-fonts/Gloock-OFL.txt +93 -0
- package/assets/canvas-fonts/Gloock-Regular.ttf +0 -0
- package/assets/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
- package/assets/canvas-fonts/IBMPlexMono-OFL.txt +93 -0
- package/assets/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
- package/assets/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
- package/assets/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
- package/assets/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
- package/assets/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
- package/assets/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
- package/assets/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
- package/assets/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
- package/assets/canvas-fonts/InstrumentSans-OFL.txt +93 -0
- package/assets/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
- package/assets/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
- package/assets/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
- package/assets/canvas-fonts/Italiana-OFL.txt +93 -0
- package/assets/canvas-fonts/Italiana-Regular.ttf +0 -0
- package/assets/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
- package/assets/canvas-fonts/JetBrainsMono-OFL.txt +93 -0
- package/assets/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
- package/assets/canvas-fonts/Jura-Light.ttf +0 -0
- package/assets/canvas-fonts/Jura-Medium.ttf +0 -0
- package/assets/canvas-fonts/Jura-OFL.txt +93 -0
- package/assets/canvas-fonts/LibreBaskerville-OFL.txt +93 -0
- package/assets/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
- package/assets/canvas-fonts/Lora-Bold.ttf +0 -0
- package/assets/canvas-fonts/Lora-BoldItalic.ttf +0 -0
- package/assets/canvas-fonts/Lora-Italic.ttf +0 -0
- package/assets/canvas-fonts/Lora-OFL.txt +93 -0
- package/assets/canvas-fonts/Lora-Regular.ttf +0 -0
- package/assets/canvas-fonts/NationalPark-Bold.ttf +0 -0
- package/assets/canvas-fonts/NationalPark-OFL.txt +93 -0
- package/assets/canvas-fonts/NationalPark-Regular.ttf +0 -0
- package/assets/canvas-fonts/NothingYouCouldDo-OFL.txt +93 -0
- package/assets/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
- package/assets/canvas-fonts/Outfit-Bold.ttf +0 -0
- package/assets/canvas-fonts/Outfit-OFL.txt +93 -0
- package/assets/canvas-fonts/Outfit-Regular.ttf +0 -0
- package/assets/canvas-fonts/PixelifySans-Medium.ttf +0 -0
- package/assets/canvas-fonts/PixelifySans-OFL.txt +93 -0
- package/assets/canvas-fonts/PoiretOne-OFL.txt +93 -0
- package/assets/canvas-fonts/PoiretOne-Regular.ttf +0 -0
- package/assets/canvas-fonts/RedHatMono-Bold.ttf +0 -0
- package/assets/canvas-fonts/RedHatMono-OFL.txt +93 -0
- package/assets/canvas-fonts/RedHatMono-Regular.ttf +0 -0
- package/assets/canvas-fonts/Silkscreen-OFL.txt +93 -0
- package/assets/canvas-fonts/Silkscreen-Regular.ttf +0 -0
- package/assets/canvas-fonts/SmoochSans-Medium.ttf +0 -0
- package/assets/canvas-fonts/SmoochSans-OFL.txt +93 -0
- package/assets/canvas-fonts/Tektur-Medium.ttf +0 -0
- package/assets/canvas-fonts/Tektur-OFL.txt +93 -0
- package/assets/canvas-fonts/Tektur-Regular.ttf +0 -0
- package/assets/canvas-fonts/WorkSans-Bold.ttf +0 -0
- package/assets/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
- package/assets/canvas-fonts/WorkSans-Italic.ttf +0 -0
- package/assets/canvas-fonts/WorkSans-OFL.txt +93 -0
- package/assets/canvas-fonts/WorkSans-Regular.ttf +0 -0
- package/assets/canvas-fonts/YoungSerif-OFL.txt +93 -0
- package/assets/canvas-fonts/YoungSerif-Regular.ttf +0 -0
- package/commands/ask.md +56 -0
- package/commands/audit.md +25 -0
- package/commands/bootstrap/auto/fast.md +111 -0
- package/commands/bootstrap/auto.md +115 -0
- package/commands/bootstrap.md +137 -0
- package/commands/brainstorm.md +69 -0
- package/commands/build-fix.md +66 -0
- package/commands/code-review.md +44 -0
- package/commands/code.md +93 -0
- package/commands/commit_gen.md +44 -0
- package/commands/content/cro.md +43 -0
- package/commands/content/enhance.md +14 -0
- package/commands/content/fast.md +13 -0
- package/commands/content/good.md +16 -0
- package/commands/cook/auto/fast.md +26 -0
- package/commands/cook/auto.md +15 -0
- package/commands/cook.md +105 -0
- package/commands/debug.md +13 -0
- package/commands/design/3d.md +74 -0
- package/commands/design/describe.md +21 -0
- package/commands/design/fast.md +22 -0
- package/commands/design/good.md +26 -0
- package/commands/design/screenshot.md +32 -0
- package/commands/design/video.md +32 -0
- package/commands/docs/init.md +15 -0
- package/commands/docs/summarize.md +22 -0
- package/commands/docs/update.md +23 -0
- package/commands/e2e.md +365 -0
- package/commands/evolve.md +178 -0
- package/commands/fix/ci.md +20 -0
- package/commands/fix/fast.md +19 -0
- package/commands/fix/hard.md +43 -0
- package/commands/fix/logs.md +20 -0
- package/commands/fix/test.md +20 -0
- package/commands/fix/types.md +9 -0
- package/commands/fix/ui.md +35 -0
- package/commands/fix.md +12 -0
- package/commands/git/cm.md +11 -0
- package/commands/git/cp.md +9 -0
- package/commands/git/pr.md +15 -0
- package/commands/integrate/polar.md +28 -0
- package/commands/integrate/sepay.md +28 -0
- package/commands/journal.md +5 -0
- package/commands/learn.md +74 -0
- package/commands/loop-start.md +36 -0
- package/commands/loop-status.md +28 -0
- package/commands/model-route.md +30 -0
- package/commands/plan.md +115 -0
- package/commands/prompt-optimize.md +38 -0
- package/commands/quality-gate.md +33 -0
- package/commands/refactor-clean.md +84 -0
- package/commands/review/codebase.md +49 -0
- package/commands/route.md +28 -0
- package/commands/scout/ext.md +35 -0
- package/commands/scout.md +28 -0
- package/commands/skill/add.md +29 -0
- package/commands/skill/create.md +22 -0
- package/commands/skill/fix-logs.md +21 -0
- package/commands/skill/optimize.md +28 -0
- package/commands/skill-create.md +174 -0
- package/commands/tdd.md +328 -0
- package/commands/test.md +8 -0
- package/commands/verify.md +63 -0
- package/commands/watzup.md +8 -0
- package/hooks/hooks.json +86 -0
- package/hooks/scripts/block-no-verify.js +19 -0
- package/hooks/scripts/check-console-log.js +71 -0
- package/hooks/scripts/check-hook-enabled.js +12 -0
- package/hooks/scripts/config-protection.js +125 -0
- package/hooks/scripts/post-edit-console-warn.js +54 -0
- package/hooks/scripts/post-edit-format.js +109 -0
- package/hooks/scripts/post-edit-typecheck.js +96 -0
- package/hooks/scripts/quality-gate.js +168 -0
- package/hooks/scripts/run-with-flags-shell.sh +32 -0
- package/hooks/scripts/run-with-flags.js +120 -0
- package/hooks/scripts/session-end.js +301 -0
- package/hooks/scripts/session-start.js +98 -0
- package/manifests/install-modules.json +96 -0
- package/manifests/install-profiles.json +17 -0
- package/package.json +52 -0
- package/scripts/install.js +144 -0
- package/scripts/lib/hook-flags.js +74 -0
- package/scripts/lib/profile-utils.js +97 -0
- package/scripts/lib/resolve-formatter.js +185 -0
- package/scripts/lib/resolve-root.js +89 -0
- package/scripts/lib/utils.js +564 -0
- package/scripts/sl.js +677 -0
- package/skills/manifest.json +493 -0
- package/skills/tier-1/api-design/SKILL.md +523 -0
- package/skills/tier-1/backend-development/SKILL.md +95 -0
- package/skills/tier-1/backend-development/references/backend-api-design.md +495 -0
- package/skills/tier-1/backend-development/references/backend-architecture.md +454 -0
- package/skills/tier-1/backend-development/references/backend-authentication.md +338 -0
- package/skills/tier-1/backend-development/references/backend-code-quality.md +659 -0
- package/skills/tier-1/backend-development/references/backend-debugging.md +904 -0
- package/skills/tier-1/backend-development/references/backend-devops.md +494 -0
- package/skills/tier-1/backend-development/references/backend-mindset.md +387 -0
- package/skills/tier-1/backend-development/references/backend-performance.md +397 -0
- package/skills/tier-1/backend-development/references/backend-security.md +290 -0
- package/skills/tier-1/backend-development/references/backend-technologies.md +256 -0
- package/skills/tier-1/backend-development/references/backend-testing.md +429 -0
- package/skills/tier-1/code-review/SKILL.md +143 -0
- package/skills/tier-1/code-review/references/code-review-reception.md +209 -0
- package/skills/tier-1/code-review/references/requesting-code-review.md +105 -0
- package/skills/tier-1/code-review/references/verification-before-completion.md +139 -0
- package/skills/tier-1/databases/SKILL.md +232 -0
- package/skills/tier-1/databases/references/mongodb-aggregation.md +447 -0
- package/skills/tier-1/databases/references/mongodb-atlas.md +465 -0
- package/skills/tier-1/databases/references/mongodb-crud.md +408 -0
- package/skills/tier-1/databases/references/mongodb-indexing.md +442 -0
- package/skills/tier-1/databases/references/postgresql-administration.md +594 -0
- package/skills/tier-1/databases/references/postgresql-performance.md +527 -0
- package/skills/tier-1/databases/references/postgresql-psql-cli.md +467 -0
- package/skills/tier-1/databases/references/postgresql-queries.md +475 -0
- package/skills/tier-1/databases/scripts/.coverage +0 -0
- package/skills/tier-1/databases/scripts/db_backup.py +502 -0
- package/skills/tier-1/databases/scripts/db_migrate.py +414 -0
- package/skills/tier-1/databases/scripts/db_performance_check.py +444 -0
- package/skills/tier-1/databases/scripts/requirements.txt +20 -0
- package/skills/tier-1/databases/scripts/tests/coverage-db.json +1 -0
- package/skills/tier-1/databases/scripts/tests/requirements.txt +4 -0
- package/skills/tier-1/databases/scripts/tests/test_db_backup.py +340 -0
- package/skills/tier-1/databases/scripts/tests/test_db_migrate.py +277 -0
- package/skills/tier-1/databases/scripts/tests/test_db_performance_check.py +370 -0
- package/skills/tier-1/debugging/SKILL.md +84 -0
- package/skills/tier-1/debugging/references/defense-in-depth.md +124 -0
- package/skills/tier-1/debugging/references/root-cause-tracing.md +122 -0
- package/skills/tier-1/debugging/references/systematic-debugging.md +102 -0
- package/skills/tier-1/debugging/references/verification.md +123 -0
- package/skills/tier-1/debugging/scripts/find-polluter.sh +63 -0
- package/skills/tier-1/debugging/scripts/find-polluter.test.md +102 -0
- package/skills/tier-1/devops/.env.example +76 -0
- package/skills/tier-1/devops/SKILL.md +285 -0
- package/skills/tier-1/devops/references/browser-rendering.md +305 -0
- package/skills/tier-1/devops/references/cloudflare-d1-kv.md +123 -0
- package/skills/tier-1/devops/references/cloudflare-platform.md +271 -0
- package/skills/tier-1/devops/references/cloudflare-r2-storage.md +280 -0
- package/skills/tier-1/devops/references/cloudflare-workers-advanced.md +312 -0
- package/skills/tier-1/devops/references/cloudflare-workers-apis.md +309 -0
- package/skills/tier-1/devops/references/cloudflare-workers-basics.md +418 -0
- package/skills/tier-1/devops/references/docker-basics.md +297 -0
- package/skills/tier-1/devops/references/docker-compose.md +292 -0
- package/skills/tier-1/devops/references/gcloud-platform.md +297 -0
- package/skills/tier-1/devops/references/gcloud-services.md +304 -0
- package/skills/tier-1/devops/scripts/cloudflare_deploy.py +269 -0
- package/skills/tier-1/devops/scripts/docker_optimize.py +320 -0
- package/skills/tier-1/devops/scripts/requirements.txt +20 -0
- package/skills/tier-1/devops/scripts/tests/requirements.txt +3 -0
- package/skills/tier-1/devops/scripts/tests/test_cloudflare_deploy.py +285 -0
- package/skills/tier-1/devops/scripts/tests/test_docker_optimize.py +436 -0
- package/skills/tier-1/frontend-development/SKILL.md +399 -0
- package/skills/tier-1/frontend-development/resources/common-patterns.md +331 -0
- package/skills/tier-1/frontend-development/resources/complete-examples.md +872 -0
- package/skills/tier-1/frontend-development/resources/component-patterns.md +502 -0
- package/skills/tier-1/frontend-development/resources/data-fetching.md +767 -0
- package/skills/tier-1/frontend-development/resources/file-organization.md +502 -0
- package/skills/tier-1/frontend-development/resources/loading-and-error-states.md +501 -0
- package/skills/tier-1/frontend-development/resources/performance.md +406 -0
- package/skills/tier-1/frontend-development/resources/routing-guide.md +364 -0
- package/skills/tier-1/frontend-development/resources/styling-guide.md +428 -0
- package/skills/tier-1/frontend-development/resources/typescript-standards.md +418 -0
- package/skills/tier-1/react-best-practices/AGENTS.md +2410 -0
- package/skills/tier-1/react-best-practices/README.md +123 -0
- package/skills/tier-1/react-best-practices/SKILL.md +125 -0
- package/skills/tier-1/react-best-practices/metadata.json +15 -0
- package/skills/tier-1/react-best-practices/rules/_sections.md +46 -0
- package/skills/tier-1/react-best-practices/rules/_template.md +28 -0
- package/skills/tier-1/react-best-practices/rules/advanced-event-handler-refs.md +55 -0
- package/skills/tier-1/react-best-practices/rules/advanced-use-latest.md +49 -0
- package/skills/tier-1/react-best-practices/rules/async-api-routes.md +38 -0
- package/skills/tier-1/react-best-practices/rules/async-defer-await.md +80 -0
- package/skills/tier-1/react-best-practices/rules/async-dependencies.md +36 -0
- package/skills/tier-1/react-best-practices/rules/async-parallel.md +28 -0
- package/skills/tier-1/react-best-practices/rules/async-suspense-boundaries.md +99 -0
- package/skills/tier-1/react-best-practices/rules/bundle-barrel-imports.md +59 -0
- package/skills/tier-1/react-best-practices/rules/bundle-conditional.md +31 -0
- package/skills/tier-1/react-best-practices/rules/bundle-defer-third-party.md +49 -0
- package/skills/tier-1/react-best-practices/rules/bundle-dynamic-imports.md +35 -0
- package/skills/tier-1/react-best-practices/rules/bundle-preload.md +50 -0
- package/skills/tier-1/react-best-practices/rules/client-event-listeners.md +74 -0
- package/skills/tier-1/react-best-practices/rules/client-localstorage-schema.md +71 -0
- package/skills/tier-1/react-best-practices/rules/client-passive-event-listeners.md +48 -0
- package/skills/tier-1/react-best-practices/rules/client-swr-dedup.md +56 -0
- package/skills/tier-1/react-best-practices/rules/js-batch-dom-css.md +82 -0
- package/skills/tier-1/react-best-practices/rules/js-cache-function-results.md +80 -0
- package/skills/tier-1/react-best-practices/rules/js-cache-property-access.md +28 -0
- package/skills/tier-1/react-best-practices/rules/js-cache-storage.md +70 -0
- package/skills/tier-1/react-best-practices/rules/js-combine-iterations.md +32 -0
- package/skills/tier-1/react-best-practices/rules/js-early-exit.md +50 -0
- package/skills/tier-1/react-best-practices/rules/js-hoist-regexp.md +45 -0
- package/skills/tier-1/react-best-practices/rules/js-index-maps.md +37 -0
- package/skills/tier-1/react-best-practices/rules/js-length-check-first.md +49 -0
- package/skills/tier-1/react-best-practices/rules/js-min-max-loop.md +82 -0
- package/skills/tier-1/react-best-practices/rules/js-set-map-lookups.md +24 -0
- package/skills/tier-1/react-best-practices/rules/js-tosorted-immutable.md +57 -0
- package/skills/tier-1/react-best-practices/rules/rendering-activity.md +26 -0
- package/skills/tier-1/react-best-practices/rules/rendering-animate-svg-wrapper.md +47 -0
- package/skills/tier-1/react-best-practices/rules/rendering-conditional-render.md +40 -0
- package/skills/tier-1/react-best-practices/rules/rendering-content-visibility.md +38 -0
- package/skills/tier-1/react-best-practices/rules/rendering-hoist-jsx.md +46 -0
- package/skills/tier-1/react-best-practices/rules/rendering-hydration-no-flicker.md +82 -0
- package/skills/tier-1/react-best-practices/rules/rendering-svg-precision.md +28 -0
- package/skills/tier-1/react-best-practices/rules/rerender-defer-reads.md +39 -0
- package/skills/tier-1/react-best-practices/rules/rerender-dependencies.md +45 -0
- package/skills/tier-1/react-best-practices/rules/rerender-derived-state.md +29 -0
- package/skills/tier-1/react-best-practices/rules/rerender-functional-setstate.md +74 -0
- package/skills/tier-1/react-best-practices/rules/rerender-lazy-state-init.md +58 -0
- package/skills/tier-1/react-best-practices/rules/rerender-memo.md +44 -0
- package/skills/tier-1/react-best-practices/rules/rerender-transitions.md +40 -0
- package/skills/tier-1/react-best-practices/rules/server-after-nonblocking.md +73 -0
- package/skills/tier-1/react-best-practices/rules/server-cache-lru.md +41 -0
- package/skills/tier-1/react-best-practices/rules/server-cache-react.md +76 -0
- package/skills/tier-1/react-best-practices/rules/server-parallel-fetching.md +83 -0
- package/skills/tier-1/react-best-practices/rules/server-serialization.md +38 -0
- package/skills/tier-1/research/SKILL.md +168 -0
- package/skills/tier-1/security-review/SKILL.md +495 -0
- package/skills/tier-1/security-review/cloud-infrastructure-security.md +361 -0
- package/skills/tier-1/sequential-thinking/.env.example +8 -0
- package/skills/tier-1/sequential-thinking/README.md +183 -0
- package/skills/tier-1/sequential-thinking/SKILL.md +94 -0
- package/skills/tier-1/sequential-thinking/package.json +31 -0
- package/skills/tier-1/sequential-thinking/references/advanced-strategies.md +79 -0
- package/skills/tier-1/sequential-thinking/references/advanced-techniques.md +76 -0
- package/skills/tier-1/sequential-thinking/references/core-patterns.md +95 -0
- package/skills/tier-1/sequential-thinking/references/examples-api.md +88 -0
- package/skills/tier-1/sequential-thinking/references/examples-architecture.md +94 -0
- package/skills/tier-1/sequential-thinking/references/examples-debug.md +90 -0
- package/skills/tier-1/sequential-thinking/scripts/format-thought.js +159 -0
- package/skills/tier-1/sequential-thinking/scripts/process-thought.js +236 -0
- package/skills/tier-1/sequential-thinking/tests/format-thought.test.js +133 -0
- package/skills/tier-1/sequential-thinking/tests/process-thought.test.js +215 -0
- package/skills/tier-1/tdd-workflow/SKILL.md +410 -0
- package/skills/tier-1/testing/SKILL.md +56 -0
- package/skills/tier-1/ui-styling/LICENSE.txt +202 -0
- package/skills/tier-1/ui-styling/SKILL.md +321 -0
- package/skills/tier-1/ui-styling/references/canvas-design-system.md +320 -0
- package/skills/tier-1/ui-styling/references/shadcn-accessibility.md +471 -0
- package/skills/tier-1/ui-styling/references/shadcn-components.md +424 -0
- package/skills/tier-1/ui-styling/references/shadcn-theming.md +373 -0
- package/skills/tier-1/ui-styling/references/tailwind-customization.md +483 -0
- package/skills/tier-1/ui-styling/references/tailwind-responsive.md +382 -0
- package/skills/tier-1/ui-styling/references/tailwind-utilities.md +455 -0
- package/skills/tier-1/ui-styling/scripts/.coverage +0 -0
- package/skills/tier-1/ui-styling/scripts/requirements.txt +17 -0
- package/skills/tier-1/ui-styling/scripts/shadcn_add.py +292 -0
- package/skills/tier-1/ui-styling/scripts/tailwind_config_gen.py +456 -0
- package/skills/tier-1/ui-styling/scripts/tests/coverage-ui.json +1 -0
- package/skills/tier-1/ui-styling/scripts/tests/requirements.txt +3 -0
- package/skills/tier-1/ui-styling/scripts/tests/test_shadcn_add.py +266 -0
- package/skills/tier-1/ui-styling/scripts/tests/test_tailwind_config_gen.py +336 -0
- package/skills/tier-1/ui-ux-pro-max/SKILL.md +659 -0
- package/skills/tier-1/ui-ux-pro-max/data/_sync_all.py +414 -0
- package/skills/tier-1/ui-ux-pro-max/data/app-interface.csv +31 -0
- package/skills/tier-1/ui-ux-pro-max/data/charts.csv +26 -0
- package/skills/tier-1/ui-ux-pro-max/data/colors.csv +162 -0
- package/skills/tier-1/ui-ux-pro-max/data/design.csv +1776 -0
- package/skills/tier-1/ui-ux-pro-max/data/draft.csv +1779 -0
- package/skills/tier-1/ui-ux-pro-max/data/google-fonts.csv +1924 -0
- package/skills/tier-1/ui-ux-pro-max/data/icons.csv +106 -0
- package/skills/tier-1/ui-ux-pro-max/data/landing.csv +35 -0
- package/skills/tier-1/ui-ux-pro-max/data/products.csv +162 -0
- package/skills/tier-1/ui-ux-pro-max/data/react-performance.csv +45 -0
- package/skills/tier-1/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/skills/tier-1/ui-ux-pro-max/data/styles.csv +85 -0
- package/skills/tier-1/ui-ux-pro-max/data/typography.csv +74 -0
- package/skills/tier-1/ui-ux-pro-max/data/ui-reasoning.csv +162 -0
- package/skills/tier-1/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/skills/tier-1/ui-ux-pro-max/scripts/core.py +247 -0
- package/skills/tier-1/ui-ux-pro-max/scripts/design_system.py +1067 -0
- package/skills/tier-1/ui-ux-pro-max/scripts/search.py +114 -0
- package/skills/tier-1/ui-ux-pro-max/templates/base/quick-reference.md +297 -0
- package/skills/tier-1/ui-ux-pro-max/templates/base/skill-content.md +358 -0
- package/skills/tier-1/ui-ux-pro-max/templates/platforms/agent.json +21 -0
- package/skills/tier-1/ui-ux-pro-max/templates/platforms/claude.json +21 -0
- package/skills/tier-1/ui-ux-pro-max/templates/platforms/codebuddy.json +21 -0
- package/skills/tier-1/ui-ux-pro-max/templates/platforms/codex.json +21 -0
- package/skills/tier-1/ui-ux-pro-max/templates/platforms/continue.json +21 -0
- package/skills/tier-1/ui-ux-pro-max/templates/platforms/copilot.json +18 -0
- package/skills/tier-1/ui-ux-pro-max/templates/platforms/cursor.json +18 -0
- package/skills/tier-1/ui-ux-pro-max/templates/platforms/droid.json +21 -0
- package/skills/tier-1/ui-ux-pro-max/templates/platforms/gemini.json +21 -0
- package/skills/tier-1/ui-ux-pro-max/templates/platforms/kiro.json +18 -0
- package/skills/tier-1/ui-ux-pro-max/templates/platforms/opencode.json +21 -0
- package/skills/tier-1/ui-ux-pro-max/templates/platforms/qoder.json +21 -0
- package/skills/tier-1/ui-ux-pro-max/templates/platforms/roocode.json +18 -0
- package/skills/tier-1/ui-ux-pro-max/templates/platforms/trae.json +21 -0
- package/skills/tier-1/ui-ux-pro-max/templates/platforms/windsurf.json +18 -0
- package/skills/tier-1/web-frameworks/SKILL.md +324 -0
- package/skills/tier-1/web-frameworks/references/nextjs-app-router.md +465 -0
- package/skills/tier-1/web-frameworks/references/nextjs-data-fetching.md +459 -0
- package/skills/tier-1/web-frameworks/references/nextjs-optimization.md +511 -0
- package/skills/tier-1/web-frameworks/references/nextjs-server-components.md +495 -0
- package/skills/tier-1/web-frameworks/references/remix-icon-integration.md +603 -0
- package/skills/tier-1/web-frameworks/references/turborepo-caching.md +551 -0
- package/skills/tier-1/web-frameworks/references/turborepo-pipelines.md +517 -0
- package/skills/tier-1/web-frameworks/references/turborepo-setup.md +542 -0
- package/skills/tier-1/web-frameworks/scripts/.coverage +0 -0
- package/skills/tier-1/web-frameworks/scripts/__init__.py +0 -0
- package/skills/tier-1/web-frameworks/scripts/nextjs_init.py +547 -0
- package/skills/tier-1/web-frameworks/scripts/requirements.txt +16 -0
- package/skills/tier-1/web-frameworks/scripts/tests/coverage-web.json +1 -0
- package/skills/tier-1/web-frameworks/scripts/tests/requirements.txt +3 -0
- package/skills/tier-1/web-frameworks/scripts/tests/test_nextjs_init.py +319 -0
- package/skills/tier-1/web-frameworks/scripts/tests/test_turborepo_migrate.py +374 -0
- package/skills/tier-1/web-frameworks/scripts/turborepo_migrate.py +394 -0
- package/skills/tier-2/ai-multimodal/.env.example +97 -0
- package/skills/tier-2/ai-multimodal/SKILL.md +353 -0
- package/skills/tier-2/ai-multimodal/references/audio-processing.md +373 -0
- package/skills/tier-2/ai-multimodal/references/image-generation.md +558 -0
- package/skills/tier-2/ai-multimodal/references/video-analysis.md +498 -0
- package/skills/tier-2/ai-multimodal/references/vision-understanding.md +479 -0
- package/skills/tier-2/ai-multimodal/scripts/.coverage +0 -0
- package/skills/tier-2/ai-multimodal/scripts/document_converter.py +395 -0
- package/skills/tier-2/ai-multimodal/scripts/gemini_batch_process.py +480 -0
- package/skills/tier-2/ai-multimodal/scripts/media_optimizer.py +506 -0
- package/skills/tier-2/ai-multimodal/scripts/requirements.txt +26 -0
- package/skills/tier-2/ai-multimodal/scripts/tests/.coverage +0 -0
- package/skills/tier-2/ai-multimodal/scripts/tests/requirements.txt +20 -0
- package/skills/tier-2/ai-multimodal/scripts/tests/test_document_converter.py +74 -0
- package/skills/tier-2/ai-multimodal/scripts/tests/test_failures.log +258 -0
- package/skills/tier-2/ai-multimodal/scripts/tests/test_gemini_batch_process.py +362 -0
- package/skills/tier-2/ai-multimodal/scripts/tests/test_media_optimizer.py +373 -0
- package/skills/tier-2/autonomous-loops/SKILL.md +610 -0
- package/skills/tier-2/backend-patterns/SKILL.md +598 -0
- package/skills/tier-2/better-auth/SKILL.md +204 -0
- package/skills/tier-2/better-auth/references/advanced-features.md +553 -0
- package/skills/tier-2/better-auth/references/database-integration.md +577 -0
- package/skills/tier-2/better-auth/references/email-password-auth.md +416 -0
- package/skills/tier-2/better-auth/references/oauth-providers.md +430 -0
- package/skills/tier-2/better-auth/scripts/.coverage +0 -0
- package/skills/tier-2/better-auth/scripts/better_auth_init.py +521 -0
- package/skills/tier-2/better-auth/scripts/requirements.txt +15 -0
- package/skills/tier-2/better-auth/scripts/tests/.coverage +0 -0
- package/skills/tier-2/better-auth/scripts/tests/test_better_auth_init.py +421 -0
- package/skills/tier-2/brand/SKILL.md +97 -0
- package/skills/tier-2/brand/references/approval-checklist.md +169 -0
- package/skills/tier-2/brand/references/asset-organization.md +157 -0
- package/skills/tier-2/brand/references/brand-guideline-template.md +140 -0
- package/skills/tier-2/brand/references/color-palette-management.md +186 -0
- package/skills/tier-2/brand/references/consistency-checklist.md +94 -0
- package/skills/tier-2/brand/references/logo-usage-rules.md +185 -0
- package/skills/tier-2/brand/references/messaging-framework.md +85 -0
- package/skills/tier-2/brand/references/typography-specifications.md +214 -0
- package/skills/tier-2/brand/references/update.md +118 -0
- package/skills/tier-2/brand/references/visual-identity.md +96 -0
- package/skills/tier-2/brand/references/voice-framework.md +88 -0
- package/skills/tier-2/brand/scripts/extract-colors.cjs +341 -0
- package/skills/tier-2/brand/scripts/inject-brand-context.cjs +349 -0
- package/skills/tier-2/brand/scripts/sync-brand-to-tokens.cjs +266 -0
- package/skills/tier-2/brand/scripts/validate-asset.cjs +387 -0
- package/skills/tier-2/brand/templates/brand-guidelines-starter.md +275 -0
- package/skills/tier-2/claude-code/SKILL.md +188 -0
- package/skills/tier-2/claude-code/references/advanced-features.md +399 -0
- package/skills/tier-2/claude-code/references/agent-skills.md +399 -0
- package/skills/tier-2/claude-code/references/api-reference.md +498 -0
- package/skills/tier-2/claude-code/references/best-practices.md +447 -0
- package/skills/tier-2/claude-code/references/cicd-integration.md +428 -0
- package/skills/tier-2/claude-code/references/configuration.md +480 -0
- package/skills/tier-2/claude-code/references/enterprise-features.md +472 -0
- package/skills/tier-2/claude-code/references/getting-started.md +252 -0
- package/skills/tier-2/claude-code/references/hooks-and-plugins.md +441 -0
- package/skills/tier-2/claude-code/references/ide-integration.md +316 -0
- package/skills/tier-2/claude-code/references/mcp-integration.md +386 -0
- package/skills/tier-2/claude-code/references/slash-commands.md +489 -0
- package/skills/tier-2/claude-code/references/troubleshooting.md +456 -0
- package/skills/tier-2/codebase-onboarding/SKILL.md +233 -0
- package/skills/tier-2/coding-standards/SKILL.md +530 -0
- package/skills/tier-2/continuous-learning/SKILL.md +365 -0
- package/skills/tier-2/continuous-learning/agents/observer-loop.sh +191 -0
- package/skills/tier-2/continuous-learning/agents/observer.md +198 -0
- package/skills/tier-2/continuous-learning/agents/session-guardian.sh +150 -0
- package/skills/tier-2/continuous-learning/agents/start-observer.sh +240 -0
- package/skills/tier-2/continuous-learning/config.json +8 -0
- package/skills/tier-2/continuous-learning/hooks/observe.sh +412 -0
- package/skills/tier-2/continuous-learning/scripts/detect-project.sh +228 -0
- package/skills/tier-2/continuous-learning/scripts/instinct-cli.py +1426 -0
- package/skills/tier-2/continuous-learning/scripts/test_parse_instinct.py +984 -0
- package/skills/tier-2/database-migrations/SKILL.md +429 -0
- package/skills/tier-2/deployment-patterns/SKILL.md +427 -0
- package/skills/tier-2/design/SKILL.md +302 -0
- package/skills/tier-2/design/data/cip/deliverables.csv +51 -0
- package/skills/tier-2/design/data/cip/industries.csv +21 -0
- package/skills/tier-2/design/data/cip/mockup-contexts.csv +21 -0
- package/skills/tier-2/design/data/cip/styles.csv +21 -0
- package/skills/tier-2/design/data/icon/styles.csv +16 -0
- package/skills/tier-2/design/data/logo/colors.csv +56 -0
- package/skills/tier-2/design/data/logo/industries.csv +56 -0
- package/skills/tier-2/design/data/logo/styles.csv +56 -0
- package/skills/tier-2/design/references/banner-sizes-and-styles.md +118 -0
- package/skills/tier-2/design/references/cip-deliverable-guide.md +95 -0
- package/skills/tier-2/design/references/cip-design.md +121 -0
- package/skills/tier-2/design/references/cip-prompt-engineering.md +84 -0
- package/skills/tier-2/design/references/cip-style-guide.md +68 -0
- package/skills/tier-2/design/references/design-routing.md +207 -0
- package/skills/tier-2/design/references/icon-design.md +122 -0
- package/skills/tier-2/design/references/logo-color-psychology.md +101 -0
- package/skills/tier-2/design/references/logo-design.md +92 -0
- package/skills/tier-2/design/references/logo-prompt-engineering.md +158 -0
- package/skills/tier-2/design/references/logo-style-guide.md +109 -0
- package/skills/tier-2/design/references/slides-copywriting-formulas.md +84 -0
- package/skills/tier-2/design/references/slides-create.md +4 -0
- package/skills/tier-2/design/references/slides-html-template.md +295 -0
- package/skills/tier-2/design/references/slides-layout-patterns.md +137 -0
- package/skills/tier-2/design/references/slides-strategies.md +94 -0
- package/skills/tier-2/design/references/slides.md +42 -0
- package/skills/tier-2/design/references/social-photos-design.md +329 -0
- package/skills/tier-2/design/scripts/cip/core.py +215 -0
- package/skills/tier-2/design/scripts/cip/generate.py +484 -0
- package/skills/tier-2/design/scripts/cip/render-html.py +424 -0
- package/skills/tier-2/design/scripts/cip/search.py +127 -0
- package/skills/tier-2/design/scripts/icon/generate.py +487 -0
- package/skills/tier-2/design/scripts/logo/core.py +175 -0
- package/skills/tier-2/design/scripts/logo/generate.py +362 -0
- package/skills/tier-2/design/scripts/logo/search.py +114 -0
- package/skills/tier-2/design-system/SKILL.md +244 -0
- package/skills/tier-2/design-system/data/slide-backgrounds.csv +11 -0
- package/skills/tier-2/design-system/data/slide-charts.csv +26 -0
- package/skills/tier-2/design-system/data/slide-color-logic.csv +14 -0
- package/skills/tier-2/design-system/data/slide-copy.csv +26 -0
- package/skills/tier-2/design-system/data/slide-layout-logic.csv +16 -0
- package/skills/tier-2/design-system/data/slide-layouts.csv +26 -0
- package/skills/tier-2/design-system/data/slide-strategies.csv +16 -0
- package/skills/tier-2/design-system/data/slide-typography.csv +15 -0
- package/skills/tier-2/design-system/references/component-specs.md +236 -0
- package/skills/tier-2/design-system/references/component-tokens.md +214 -0
- package/skills/tier-2/design-system/references/primitive-tokens.md +203 -0
- package/skills/tier-2/design-system/references/semantic-tokens.md +215 -0
- package/skills/tier-2/design-system/references/states-and-variants.md +241 -0
- package/skills/tier-2/design-system/references/tailwind-integration.md +251 -0
- package/skills/tier-2/design-system/references/token-architecture.md +224 -0
- package/skills/tier-2/design-system/scripts/embed-tokens.cjs +99 -0
- package/skills/tier-2/design-system/scripts/fetch-background.py +317 -0
- package/skills/tier-2/design-system/scripts/generate-slide.py +753 -0
- package/skills/tier-2/design-system/scripts/generate-tokens.cjs +205 -0
- package/skills/tier-2/design-system/scripts/html-token-validator.py +327 -0
- package/skills/tier-2/design-system/scripts/search-slides.py +218 -0
- package/skills/tier-2/design-system/scripts/slide-token-validator.py +35 -0
- package/skills/tier-2/design-system/scripts/slide_search_core.py +453 -0
- package/skills/tier-2/design-system/scripts/validate-tokens.cjs +251 -0
- package/skills/tier-2/design-system/templates/design-tokens-starter.json +143 -0
- package/skills/tier-2/docker-patterns/SKILL.md +364 -0
- package/skills/tier-2/e2e-testing/SKILL.md +326 -0
- package/skills/tier-2/eval-harness/SKILL.md +270 -0
- package/skills/tier-2/frontend-patterns/SKILL.md +642 -0
- package/skills/tier-2/google-adk-python/SKILL.md +242 -0
- package/skills/tier-2/mcp-management/README.md +219 -0
- package/skills/tier-2/mcp-management/SKILL.md +209 -0
- package/skills/tier-2/mcp-management/assets/tools.json +3146 -0
- package/skills/tier-2/mcp-management/references/configuration.md +114 -0
- package/skills/tier-2/mcp-management/references/gemini-cli-integration.md +215 -0
- package/skills/tier-2/mcp-management/references/mcp-protocol.md +116 -0
- package/skills/tier-2/mcp-management/scripts/.env.example +10 -0
- package/skills/tier-2/mcp-management/scripts/cli.ts +195 -0
- package/skills/tier-2/mcp-management/scripts/dist/analyze-tools.js +70 -0
- package/skills/tier-2/mcp-management/scripts/dist/cli.js +127 -0
- package/skills/tier-2/mcp-management/scripts/dist/mcp-client.js +115 -0
- package/skills/tier-2/mcp-management/scripts/mcp-client.ts +230 -0
- package/skills/tier-2/mcp-management/scripts/package.json +20 -0
- package/skills/tier-2/mcp-management/scripts/tsconfig.json +15 -0
- package/skills/tier-2/mcp-server-patterns/SKILL.md +67 -0
- package/skills/tier-2/media-processing/SKILL.md +358 -0
- package/skills/tier-2/media-processing/references/ffmpeg-encoding.md +358 -0
- package/skills/tier-2/media-processing/references/ffmpeg-filters.md +503 -0
- package/skills/tier-2/media-processing/references/ffmpeg-streaming.md +403 -0
- package/skills/tier-2/media-processing/references/format-compatibility.md +375 -0
- package/skills/tier-2/media-processing/references/imagemagick-batch.md +612 -0
- package/skills/tier-2/media-processing/references/imagemagick-editing.md +623 -0
- package/skills/tier-2/media-processing/scripts/batch_resize.py +342 -0
- package/skills/tier-2/media-processing/scripts/media_convert.py +311 -0
- package/skills/tier-2/media-processing/scripts/requirements.txt +24 -0
- package/skills/tier-2/media-processing/scripts/tests/.coverage +0 -0
- package/skills/tier-2/media-processing/scripts/tests/requirements.txt +2 -0
- package/skills/tier-2/media-processing/scripts/tests/test_batch_resize.py +372 -0
- package/skills/tier-2/media-processing/scripts/tests/test_media_convert.py +259 -0
- package/skills/tier-2/media-processing/scripts/tests/test_video_optimize.py +397 -0
- package/skills/tier-2/media-processing/scripts/video_optimize.py +414 -0
- package/skills/tier-2/mobile-development/SKILL.md +212 -0
- package/skills/tier-2/mobile-development/references/mobile-android.md +604 -0
- package/skills/tier-2/mobile-development/references/mobile-best-practices.md +545 -0
- package/skills/tier-2/mobile-development/references/mobile-debugging.md +1089 -0
- package/skills/tier-2/mobile-development/references/mobile-frameworks.md +465 -0
- package/skills/tier-2/mobile-development/references/mobile-ios.md +496 -0
- package/skills/tier-2/mobile-development/references/mobile-mindset.md +544 -0
- package/skills/tier-2/payment-integration/README.md +185 -0
- package/skills/tier-2/payment-integration/SKILL.md +118 -0
- package/skills/tier-2/payment-integration/references/polar/benefits.md +396 -0
- package/skills/tier-2/payment-integration/references/polar/best-practices.md +482 -0
- package/skills/tier-2/payment-integration/references/polar/checkouts.md +266 -0
- package/skills/tier-2/payment-integration/references/polar/overview.md +184 -0
- package/skills/tier-2/payment-integration/references/polar/products.md +244 -0
- package/skills/tier-2/payment-integration/references/polar/sdk.md +436 -0
- package/skills/tier-2/payment-integration/references/polar/subscriptions.md +340 -0
- package/skills/tier-2/payment-integration/references/polar/webhooks.md +405 -0
- package/skills/tier-2/payment-integration/references/sepay/api.md +140 -0
- package/skills/tier-2/payment-integration/references/sepay/best-practices.md +337 -0
- package/skills/tier-2/payment-integration/references/sepay/overview.md +138 -0
- package/skills/tier-2/payment-integration/references/sepay/qr-codes.md +228 -0
- package/skills/tier-2/payment-integration/references/sepay/sdk.md +213 -0
- package/skills/tier-2/payment-integration/references/sepay/webhooks.md +208 -0
- package/skills/tier-2/payment-integration/scripts/.env.example +20 -0
- package/skills/tier-2/payment-integration/scripts/checkout-helper.js +244 -0
- package/skills/tier-2/payment-integration/scripts/package.json +17 -0
- package/skills/tier-2/payment-integration/scripts/polar-webhook-verify.js +202 -0
- package/skills/tier-2/payment-integration/scripts/sepay-webhook-verify.js +193 -0
- package/skills/tier-2/payment-integration/scripts/test-scripts.js +237 -0
- package/skills/tier-2/planning/SKILL.md +88 -0
- package/skills/tier-2/planning/references/codebase-understanding.md +62 -0
- package/skills/tier-2/planning/references/output-standards.md +87 -0
- package/skills/tier-2/planning/references/plan-organization.md +100 -0
- package/skills/tier-2/planning/references/research-phase.md +49 -0
- package/skills/tier-2/planning/references/solution-design.md +63 -0
- package/skills/tier-2/postgres-patterns/SKILL.md +147 -0
- package/skills/tier-2/problem-solving/SKILL.md +96 -0
- package/skills/tier-2/problem-solving/references/attribution.md +69 -0
- package/skills/tier-2/problem-solving/references/collision-zone-thinking.md +79 -0
- package/skills/tier-2/problem-solving/references/inversion-exercise.md +91 -0
- package/skills/tier-2/problem-solving/references/meta-pattern-recognition.md +87 -0
- package/skills/tier-2/problem-solving/references/scale-game.md +95 -0
- package/skills/tier-2/problem-solving/references/simplification-cascades.md +80 -0
- package/skills/tier-2/problem-solving/references/when-stuck.md +72 -0
- package/skills/tier-2/strategic-compact/SKILL.md +131 -0
- package/skills/tier-2/strategic-compact/suggest-compact.sh +54 -0
- package/skills/tier-2/verification-loop/SKILL.md +126 -0
- package/skills/tier-3/agentic-engineering/SKILL.md +63 -0
- package/skills/tier-3/banner-design/SKILL.md +192 -0
- package/skills/tier-3/banner-design/references/banner-sizes-and-styles.md +118 -0
- package/skills/tier-3/cost-aware-llm-pipeline/SKILL.md +183 -0
- package/skills/tier-3/django-patterns/SKILL.md +734 -0
- package/skills/tier-3/golang-patterns/SKILL.md +674 -0
- package/skills/tier-3/kotlin-patterns/SKILL.md +711 -0
- package/skills/tier-3/laravel-patterns/SKILL.md +415 -0
- package/skills/tier-3/prompt-optimizer/SKILL.md +397 -0
- package/skills/tier-3/python-patterns/SKILL.md +750 -0
- package/skills/tier-3/pytorch-patterns/SKILL.md +396 -0
- package/skills/tier-3/rust-patterns/SKILL.md +499 -0
- package/skills/tier-3/shopify/README.md +66 -0
- package/skills/tier-3/shopify/SKILL.md +319 -0
- package/skills/tier-3/shopify/references/app-development.md +470 -0
- package/skills/tier-3/shopify/references/extensions.md +493 -0
- package/skills/tier-3/shopify/references/themes.md +498 -0
- package/skills/tier-3/shopify/scripts/.coverage +0 -0
- package/skills/tier-3/shopify/scripts/requirements.txt +19 -0
- package/skills/tier-3/shopify/scripts/shopify_init.py +423 -0
- package/skills/tier-3/shopify/scripts/tests/.coverage +0 -0
- package/skills/tier-3/shopify/scripts/tests/test_shopify_init.py +385 -0
- package/skills/tier-3/slides/SKILL.md +42 -0
- package/skills/tier-3/slides/references/copywriting-formulas.md +84 -0
- package/skills/tier-3/slides/references/create.md +4 -0
- package/skills/tier-3/slides/references/html-template.md +295 -0
- package/skills/tier-3/slides/references/layout-patterns.md +137 -0
- package/skills/tier-3/slides/references/slide-strategies.md +94 -0
- package/skills/tier-3/springboot-patterns/SKILL.md +314 -0
- package/skills/tier-3/swiftui-patterns/SKILL.md +259 -0
- package/skills/tier-3/threejs/SKILL.md +89 -0
- package/skills/tier-3/threejs/references/01-getting-started.md +177 -0
- package/skills/tier-3/threejs/references/02-loaders.md +169 -0
- package/skills/tier-3/threejs/references/03-textures.md +170 -0
- package/skills/tier-3/threejs/references/04-cameras.md +195 -0
- package/skills/tier-3/threejs/references/05-lights.md +183 -0
- package/skills/tier-3/threejs/references/06-animations.md +214 -0
- package/skills/tier-3/threejs/references/07-math.md +260 -0
- package/skills/tier-3/threejs/references/08-interaction.md +267 -0
- package/skills/tier-3/threejs/references/09-postprocessing.md +240 -0
- package/skills/tier-3/threejs/references/10-controls.md +259 -0
- package/skills/tier-3/threejs/references/11-materials-advanced.md +270 -0
- package/skills/tier-3/threejs/references/12-performance.md +269 -0
- package/skills/tier-3/threejs/references/13-node-materials.md +298 -0
- package/skills/tier-3/threejs/references/14-physics-vr.md +304 -0
- package/skills/tier-3/threejs/references/15-specialized-loaders.md +333 -0
- package/skills/tier-3/threejs/references/16-webgpu.md +302 -0
- package/skills/tier-3/vercel-deploy/SKILL.md +112 -0
- package/skills/tier-3/vercel-deploy/scripts/deploy.sh +249 -0
- package/workflows/development-rules.md +49 -0
- package/workflows/orchestration-protocol.md +16 -0
- package/workflows/primary-workflow.md +52 -0
|
@@ -0,0 +1,410 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: tdd-workflow
|
|
3
|
+
description: Use this skill when writing new features, fixing bugs, or refactoring code. Enforces test-driven development with 80%+ coverage including unit, integration, and E2E tests.
|
|
4
|
+
origin: ECC
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Test-Driven Development Workflow
|
|
8
|
+
|
|
9
|
+
This skill ensures all code development follows TDD principles with comprehensive test coverage.
|
|
10
|
+
|
|
11
|
+
## When to Activate
|
|
12
|
+
|
|
13
|
+
- Writing new features or functionality
|
|
14
|
+
- Fixing bugs or issues
|
|
15
|
+
- Refactoring existing code
|
|
16
|
+
- Adding API endpoints
|
|
17
|
+
- Creating new components
|
|
18
|
+
|
|
19
|
+
## Core Principles
|
|
20
|
+
|
|
21
|
+
### 1. Tests BEFORE Code
|
|
22
|
+
ALWAYS write tests first, then implement code to make tests pass.
|
|
23
|
+
|
|
24
|
+
### 2. Coverage Requirements
|
|
25
|
+
- Minimum 80% coverage (unit + integration + E2E)
|
|
26
|
+
- All edge cases covered
|
|
27
|
+
- Error scenarios tested
|
|
28
|
+
- Boundary conditions verified
|
|
29
|
+
|
|
30
|
+
### 3. Test Types
|
|
31
|
+
|
|
32
|
+
#### Unit Tests
|
|
33
|
+
- Individual functions and utilities
|
|
34
|
+
- Component logic
|
|
35
|
+
- Pure functions
|
|
36
|
+
- Helpers and utilities
|
|
37
|
+
|
|
38
|
+
#### Integration Tests
|
|
39
|
+
- API endpoints
|
|
40
|
+
- Database operations
|
|
41
|
+
- Service interactions
|
|
42
|
+
- External API calls
|
|
43
|
+
|
|
44
|
+
#### E2E Tests (Playwright)
|
|
45
|
+
- Critical user flows
|
|
46
|
+
- Complete workflows
|
|
47
|
+
- Browser automation
|
|
48
|
+
- UI interactions
|
|
49
|
+
|
|
50
|
+
## TDD Workflow Steps
|
|
51
|
+
|
|
52
|
+
### Step 1: Write User Journeys
|
|
53
|
+
```
|
|
54
|
+
As a [role], I want to [action], so that [benefit]
|
|
55
|
+
|
|
56
|
+
Example:
|
|
57
|
+
As a user, I want to search for markets semantically,
|
|
58
|
+
so that I can find relevant markets even without exact keywords.
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### Step 2: Generate Test Cases
|
|
62
|
+
For each user journey, create comprehensive test cases:
|
|
63
|
+
|
|
64
|
+
```typescript
|
|
65
|
+
describe('Semantic Search', () => {
|
|
66
|
+
it('returns relevant markets for query', async () => {
|
|
67
|
+
// Test implementation
|
|
68
|
+
})
|
|
69
|
+
|
|
70
|
+
it('handles empty query gracefully', async () => {
|
|
71
|
+
// Test edge case
|
|
72
|
+
})
|
|
73
|
+
|
|
74
|
+
it('falls back to substring search when Redis unavailable', async () => {
|
|
75
|
+
// Test fallback behavior
|
|
76
|
+
})
|
|
77
|
+
|
|
78
|
+
it('sorts results by similarity score', async () => {
|
|
79
|
+
// Test sorting logic
|
|
80
|
+
})
|
|
81
|
+
})
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Step 3: Run Tests (They Should Fail)
|
|
85
|
+
```bash
|
|
86
|
+
npm test
|
|
87
|
+
# Tests should fail - we haven't implemented yet
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Step 4: Implement Code
|
|
91
|
+
Write minimal code to make tests pass:
|
|
92
|
+
|
|
93
|
+
```typescript
|
|
94
|
+
// Implementation guided by tests
|
|
95
|
+
export async function searchMarkets(query: string) {
|
|
96
|
+
// Implementation here
|
|
97
|
+
}
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### Step 5: Run Tests Again
|
|
101
|
+
```bash
|
|
102
|
+
npm test
|
|
103
|
+
# Tests should now pass
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
### Step 6: Refactor
|
|
107
|
+
Improve code quality while keeping tests green:
|
|
108
|
+
- Remove duplication
|
|
109
|
+
- Improve naming
|
|
110
|
+
- Optimize performance
|
|
111
|
+
- Enhance readability
|
|
112
|
+
|
|
113
|
+
### Step 7: Verify Coverage
|
|
114
|
+
```bash
|
|
115
|
+
npm run test:coverage
|
|
116
|
+
# Verify 80%+ coverage achieved
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
## Testing Patterns
|
|
120
|
+
|
|
121
|
+
### Unit Test Pattern (Jest/Vitest)
|
|
122
|
+
```typescript
|
|
123
|
+
import { render, screen, fireEvent } from '@testing-library/react'
|
|
124
|
+
import { Button } from './Button'
|
|
125
|
+
|
|
126
|
+
describe('Button Component', () => {
|
|
127
|
+
it('renders with correct text', () => {
|
|
128
|
+
render(<Button>Click me</Button>)
|
|
129
|
+
expect(screen.getByText('Click me')).toBeInTheDocument()
|
|
130
|
+
})
|
|
131
|
+
|
|
132
|
+
it('calls onClick when clicked', () => {
|
|
133
|
+
const handleClick = jest.fn()
|
|
134
|
+
render(<Button onClick={handleClick}>Click</Button>)
|
|
135
|
+
|
|
136
|
+
fireEvent.click(screen.getByRole('button'))
|
|
137
|
+
|
|
138
|
+
expect(handleClick).toHaveBeenCalledTimes(1)
|
|
139
|
+
})
|
|
140
|
+
|
|
141
|
+
it('is disabled when disabled prop is true', () => {
|
|
142
|
+
render(<Button disabled>Click</Button>)
|
|
143
|
+
expect(screen.getByRole('button')).toBeDisabled()
|
|
144
|
+
})
|
|
145
|
+
})
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
### API Integration Test Pattern
|
|
149
|
+
```typescript
|
|
150
|
+
import { NextRequest } from 'next/server'
|
|
151
|
+
import { GET } from './route'
|
|
152
|
+
|
|
153
|
+
describe('GET /api/markets', () => {
|
|
154
|
+
it('returns markets successfully', async () => {
|
|
155
|
+
const request = new NextRequest('http://localhost/api/markets')
|
|
156
|
+
const response = await GET(request)
|
|
157
|
+
const data = await response.json()
|
|
158
|
+
|
|
159
|
+
expect(response.status).toBe(200)
|
|
160
|
+
expect(data.success).toBe(true)
|
|
161
|
+
expect(Array.isArray(data.data)).toBe(true)
|
|
162
|
+
})
|
|
163
|
+
|
|
164
|
+
it('validates query parameters', async () => {
|
|
165
|
+
const request = new NextRequest('http://localhost/api/markets?limit=invalid')
|
|
166
|
+
const response = await GET(request)
|
|
167
|
+
|
|
168
|
+
expect(response.status).toBe(400)
|
|
169
|
+
})
|
|
170
|
+
|
|
171
|
+
it('handles database errors gracefully', async () => {
|
|
172
|
+
// Mock database failure
|
|
173
|
+
const request = new NextRequest('http://localhost/api/markets')
|
|
174
|
+
// Test error handling
|
|
175
|
+
})
|
|
176
|
+
})
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
### E2E Test Pattern (Playwright)
|
|
180
|
+
```typescript
|
|
181
|
+
import { test, expect } from '@playwright/test'
|
|
182
|
+
|
|
183
|
+
test('user can search and filter markets', async ({ page }) => {
|
|
184
|
+
// Navigate to markets page
|
|
185
|
+
await page.goto('/')
|
|
186
|
+
await page.click('a[href="/markets"]')
|
|
187
|
+
|
|
188
|
+
// Verify page loaded
|
|
189
|
+
await expect(page.locator('h1')).toContainText('Markets')
|
|
190
|
+
|
|
191
|
+
// Search for markets
|
|
192
|
+
await page.fill('input[placeholder="Search markets"]', 'election')
|
|
193
|
+
|
|
194
|
+
// Wait for debounce and results
|
|
195
|
+
await page.waitForTimeout(600)
|
|
196
|
+
|
|
197
|
+
// Verify search results displayed
|
|
198
|
+
const results = page.locator('[data-testid="market-card"]')
|
|
199
|
+
await expect(results).toHaveCount(5, { timeout: 5000 })
|
|
200
|
+
|
|
201
|
+
// Verify results contain search term
|
|
202
|
+
const firstResult = results.first()
|
|
203
|
+
await expect(firstResult).toContainText('election', { ignoreCase: true })
|
|
204
|
+
|
|
205
|
+
// Filter by status
|
|
206
|
+
await page.click('button:has-text("Active")')
|
|
207
|
+
|
|
208
|
+
// Verify filtered results
|
|
209
|
+
await expect(results).toHaveCount(3)
|
|
210
|
+
})
|
|
211
|
+
|
|
212
|
+
test('user can create a new market', async ({ page }) => {
|
|
213
|
+
// Login first
|
|
214
|
+
await page.goto('/creator-dashboard')
|
|
215
|
+
|
|
216
|
+
// Fill market creation form
|
|
217
|
+
await page.fill('input[name="name"]', 'Test Market')
|
|
218
|
+
await page.fill('textarea[name="description"]', 'Test description')
|
|
219
|
+
await page.fill('input[name="endDate"]', '2025-12-31')
|
|
220
|
+
|
|
221
|
+
// Submit form
|
|
222
|
+
await page.click('button[type="submit"]')
|
|
223
|
+
|
|
224
|
+
// Verify success message
|
|
225
|
+
await expect(page.locator('text=Market created successfully')).toBeVisible()
|
|
226
|
+
|
|
227
|
+
// Verify redirect to market page
|
|
228
|
+
await expect(page).toHaveURL(/\/markets\/test-market/)
|
|
229
|
+
})
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
## Test File Organization
|
|
233
|
+
|
|
234
|
+
```
|
|
235
|
+
src/
|
|
236
|
+
├── components/
|
|
237
|
+
│ ├── Button/
|
|
238
|
+
│ │ ├── Button.tsx
|
|
239
|
+
│ │ ├── Button.test.tsx # Unit tests
|
|
240
|
+
│ │ └── Button.stories.tsx # Storybook
|
|
241
|
+
│ └── MarketCard/
|
|
242
|
+
│ ├── MarketCard.tsx
|
|
243
|
+
│ └── MarketCard.test.tsx
|
|
244
|
+
├── app/
|
|
245
|
+
│ └── api/
|
|
246
|
+
│ └── markets/
|
|
247
|
+
│ ├── route.ts
|
|
248
|
+
│ └── route.test.ts # Integration tests
|
|
249
|
+
└── e2e/
|
|
250
|
+
├── markets.spec.ts # E2E tests
|
|
251
|
+
├── trading.spec.ts
|
|
252
|
+
└── auth.spec.ts
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
## Mocking External Services
|
|
256
|
+
|
|
257
|
+
### Supabase Mock
|
|
258
|
+
```typescript
|
|
259
|
+
jest.mock('@/lib/supabase', () => ({
|
|
260
|
+
supabase: {
|
|
261
|
+
from: jest.fn(() => ({
|
|
262
|
+
select: jest.fn(() => ({
|
|
263
|
+
eq: jest.fn(() => Promise.resolve({
|
|
264
|
+
data: [{ id: 1, name: 'Test Market' }],
|
|
265
|
+
error: null
|
|
266
|
+
}))
|
|
267
|
+
}))
|
|
268
|
+
}))
|
|
269
|
+
}
|
|
270
|
+
}))
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
### Redis Mock
|
|
274
|
+
```typescript
|
|
275
|
+
jest.mock('@/lib/redis', () => ({
|
|
276
|
+
searchMarketsByVector: jest.fn(() => Promise.resolve([
|
|
277
|
+
{ slug: 'test-market', similarity_score: 0.95 }
|
|
278
|
+
])),
|
|
279
|
+
checkRedisHealth: jest.fn(() => Promise.resolve({ connected: true }))
|
|
280
|
+
}))
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
### OpenAI Mock
|
|
284
|
+
```typescript
|
|
285
|
+
jest.mock('@/lib/openai', () => ({
|
|
286
|
+
generateEmbedding: jest.fn(() => Promise.resolve(
|
|
287
|
+
new Array(1536).fill(0.1) // Mock 1536-dim embedding
|
|
288
|
+
))
|
|
289
|
+
}))
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
## Test Coverage Verification
|
|
293
|
+
|
|
294
|
+
### Run Coverage Report
|
|
295
|
+
```bash
|
|
296
|
+
npm run test:coverage
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
### Coverage Thresholds
|
|
300
|
+
```json
|
|
301
|
+
{
|
|
302
|
+
"jest": {
|
|
303
|
+
"coverageThresholds": {
|
|
304
|
+
"global": {
|
|
305
|
+
"branches": 80,
|
|
306
|
+
"functions": 80,
|
|
307
|
+
"lines": 80,
|
|
308
|
+
"statements": 80
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
## Common Testing Mistakes to Avoid
|
|
316
|
+
|
|
317
|
+
### ❌ WRONG: Testing Implementation Details
|
|
318
|
+
```typescript
|
|
319
|
+
// Don't test internal state
|
|
320
|
+
expect(component.state.count).toBe(5)
|
|
321
|
+
```
|
|
322
|
+
|
|
323
|
+
### ✅ CORRECT: Test User-Visible Behavior
|
|
324
|
+
```typescript
|
|
325
|
+
// Test what users see
|
|
326
|
+
expect(screen.getByText('Count: 5')).toBeInTheDocument()
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
### ❌ WRONG: Brittle Selectors
|
|
330
|
+
```typescript
|
|
331
|
+
// Breaks easily
|
|
332
|
+
await page.click('.css-class-xyz')
|
|
333
|
+
```
|
|
334
|
+
|
|
335
|
+
### ✅ CORRECT: Semantic Selectors
|
|
336
|
+
```typescript
|
|
337
|
+
// Resilient to changes
|
|
338
|
+
await page.click('button:has-text("Submit")')
|
|
339
|
+
await page.click('[data-testid="submit-button"]')
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
### ❌ WRONG: No Test Isolation
|
|
343
|
+
```typescript
|
|
344
|
+
// Tests depend on each other
|
|
345
|
+
test('creates user', () => { /* ... */ })
|
|
346
|
+
test('updates same user', () => { /* depends on previous test */ })
|
|
347
|
+
```
|
|
348
|
+
|
|
349
|
+
### ✅ CORRECT: Independent Tests
|
|
350
|
+
```typescript
|
|
351
|
+
// Each test sets up its own data
|
|
352
|
+
test('creates user', () => {
|
|
353
|
+
const user = createTestUser()
|
|
354
|
+
// Test logic
|
|
355
|
+
})
|
|
356
|
+
|
|
357
|
+
test('updates user', () => {
|
|
358
|
+
const user = createTestUser()
|
|
359
|
+
// Update logic
|
|
360
|
+
})
|
|
361
|
+
```
|
|
362
|
+
|
|
363
|
+
## Continuous Testing
|
|
364
|
+
|
|
365
|
+
### Watch Mode During Development
|
|
366
|
+
```bash
|
|
367
|
+
npm test -- --watch
|
|
368
|
+
# Tests run automatically on file changes
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
### Pre-Commit Hook
|
|
372
|
+
```bash
|
|
373
|
+
# Runs before every commit
|
|
374
|
+
npm test && npm run lint
|
|
375
|
+
```
|
|
376
|
+
|
|
377
|
+
### CI/CD Integration
|
|
378
|
+
```yaml
|
|
379
|
+
# GitHub Actions
|
|
380
|
+
- name: Run Tests
|
|
381
|
+
run: npm test -- --coverage
|
|
382
|
+
- name: Upload Coverage
|
|
383
|
+
uses: codecov/codecov-action@v3
|
|
384
|
+
```
|
|
385
|
+
|
|
386
|
+
## Best Practices
|
|
387
|
+
|
|
388
|
+
1. **Write Tests First** - Always TDD
|
|
389
|
+
2. **One Assert Per Test** - Focus on single behavior
|
|
390
|
+
3. **Descriptive Test Names** - Explain what's tested
|
|
391
|
+
4. **Arrange-Act-Assert** - Clear test structure
|
|
392
|
+
5. **Mock External Dependencies** - Isolate unit tests
|
|
393
|
+
6. **Test Edge Cases** - Null, undefined, empty, large
|
|
394
|
+
7. **Test Error Paths** - Not just happy paths
|
|
395
|
+
8. **Keep Tests Fast** - Unit tests < 50ms each
|
|
396
|
+
9. **Clean Up After Tests** - No side effects
|
|
397
|
+
10. **Review Coverage Reports** - Identify gaps
|
|
398
|
+
|
|
399
|
+
## Success Metrics
|
|
400
|
+
|
|
401
|
+
- 80%+ code coverage achieved
|
|
402
|
+
- All tests passing (green)
|
|
403
|
+
- No skipped or disabled tests
|
|
404
|
+
- Fast test execution (< 30s for unit tests)
|
|
405
|
+
- E2E tests cover critical user flows
|
|
406
|
+
- Tests catch bugs before production
|
|
407
|
+
|
|
408
|
+
---
|
|
409
|
+
|
|
410
|
+
**Remember**: Tests are not optional. They are the safety net that enables confident refactoring, rapid development, and production reliability.
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: testing
|
|
3
|
+
description: Comprehensive testing strategies — unit, integration, E2E, coverage requirements, and test-driven development patterns
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Testing
|
|
7
|
+
|
|
8
|
+
## Core Principles
|
|
9
|
+
|
|
10
|
+
- **Test-first mentality**: Write tests before implementation when possible
|
|
11
|
+
- **Coverage target**: Minimum 80% code coverage for production code
|
|
12
|
+
- **Test pyramid**: Many unit tests, fewer integration tests, minimal E2E tests
|
|
13
|
+
- **Real data**: Never use mocks/fakes just to pass tests — tests should reflect real behavior
|
|
14
|
+
|
|
15
|
+
## Test Types
|
|
16
|
+
|
|
17
|
+
### Unit Tests
|
|
18
|
+
- Test individual functions/methods in isolation
|
|
19
|
+
- Fast execution, no external dependencies
|
|
20
|
+
- Use framework conventions (Jest, Vitest, pytest, Go testing)
|
|
21
|
+
|
|
22
|
+
### Integration Tests
|
|
23
|
+
- Test component interactions and API boundaries
|
|
24
|
+
- Use real database connections when testing data layer
|
|
25
|
+
- Verify request/response contracts
|
|
26
|
+
|
|
27
|
+
### E2E Tests
|
|
28
|
+
- Test critical user journeys end-to-end
|
|
29
|
+
- Use Playwright or Cypress for web applications
|
|
30
|
+
- Keep E2E test count minimal — focus on happy paths + critical edge cases
|
|
31
|
+
|
|
32
|
+
## Best Practices
|
|
33
|
+
|
|
34
|
+
1. **Arrange-Act-Assert** pattern for test structure
|
|
35
|
+
2. **Descriptive test names** that explain the expected behavior
|
|
36
|
+
3. **One assertion per test** when possible
|
|
37
|
+
4. **No test interdependencies** — each test should run independently
|
|
38
|
+
5. **Clean up after tests** — reset state, close connections
|
|
39
|
+
6. **Test error cases** — not just happy paths
|
|
40
|
+
7. **Avoid testing implementation details** — test behavior, not internals
|
|
41
|
+
|
|
42
|
+
## Coverage Requirements
|
|
43
|
+
|
|
44
|
+
| Category | Minimum |
|
|
45
|
+
|----------|---------|
|
|
46
|
+
| Critical business logic | 90% |
|
|
47
|
+
| API endpoints | 85% |
|
|
48
|
+
| Utility functions | 80% |
|
|
49
|
+
| UI components | 70% |
|
|
50
|
+
|
|
51
|
+
## When to Use
|
|
52
|
+
|
|
53
|
+
- After implementing new features
|
|
54
|
+
- When fixing bugs (write regression test first)
|
|
55
|
+
- During refactoring (ensure tests pass before and after)
|
|
56
|
+
- Before merging pull requests
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|