cue-ai 0.9.4 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +59 -0
- package/README.md +220 -26
- package/dist/cue.js +13046 -7369
- package/get.sh +37 -20
- package/install.sh +45 -34
- package/package.json +3 -3
- package/plugins/cue/.claude-plugin/plugin.json +19 -0
- package/profiles/SCHEMA.md +43 -1
- package/profiles/_types.ts +46 -4
- package/profiles/aws/profile.yaml +54 -0
- package/profiles/backend/profile.yaml +13 -3
- package/profiles/claude-ads/profile.yaml +151 -0
- package/profiles/commerce/profile.yaml +5 -1
- package/profiles/core/profile.yaml +54 -27
- package/profiles/creativity/profile.yaml +1 -0
- package/profiles/full/profile.yaml +7 -1
- package/profiles/google-ads/profile.yaml +5 -0
- package/profiles/gstack/profile.yaml +3 -1
- package/profiles/headroom/README.md +38 -0
- package/profiles/headroom/profile.yaml +45 -0
- package/profiles/hostinger/profile.yaml +1 -0
- package/profiles/legal/profile.yaml +48 -0
- package/profiles/marketing/profile.yaml +1 -0
- package/profiles/medusa-vite/profile.yaml +1 -34
- package/profiles/ops/profile.yaml +11 -3
- package/profiles/postizz/profile.yaml +4 -0
- package/profiles/readme-writer/profile.yaml +2 -1
- package/profiles/research/profile.yaml +1 -0
- package/profiles/ros2/profile.yaml +31 -0
- package/profiles/schema.json +76 -4
- package/profiles/seo/profile.yaml +14 -0
- package/profiles/supercomputer/profile.yaml +1 -0
- package/profiles/video/profile.yaml +1 -0
- package/resources/mcps/configs/claude.sanitized.json +32 -0
- package/resources/mcps/configs/codex.sanitized.json +12 -0
- package/resources/skills/skills/browser/agent-browser/SKILL.md +6 -1
- package/resources/skills/skills/browser/lightpanda/SKILL.md +1 -0
- package/resources/skills/skills/browser/playwright/SKILL.md +1 -0
- package/resources/skills/skills/career/resume-version-manager/SKILL.md +2 -2
- package/resources/skills/skills/content/pdf/SKILL.md +1 -1
- package/resources/skills/skills/content/trend-to-thread/SKILL.md +1 -0
- package/resources/skills/skills/deployment/coolify/SKILL.md +8 -0
- package/resources/skills/skills/design/banana/SKILL.md +0 -30
- package/resources/skills/skills/design/design-taste-frontend/SKILL.md +1 -1
- package/resources/skills/skills/design/remotion-best-practices/rules/mapbox.md +1 -1
- package/resources/skills/skills/design/taste-skill-v1/SKILL.md +1 -1
- package/resources/skills/skills/design/ui-ux-pro-max/SKILL.md +2 -2
- package/resources/skills/skills/gstack/benchmark/SKILL.md +1 -1
- package/resources/skills/skills/gstack/design-html/SKILL.md +3 -2
- package/resources/skills/skills/gstack/gstack-upgrade/SKILL.md +2 -1
- package/resources/skills/skills/gstack/learn/SKILL.md +2 -1
- package/resources/skills/skills/gstack/retro/SKILL.md +1 -1
- package/resources/skills/skills/gstack/setup-gbrain/SKILL.md +4 -2
- package/resources/skills/skills/gstack/sync-gbrain/SKILL.md +3 -1
- package/resources/skills/skills/hostinger/dns/SKILL.md +1 -0
- package/resources/skills/skills/hostinger/domains/SKILL.md +1 -0
- package/resources/skills/skills/hostinger/hosting/SKILL.md +1 -0
- package/resources/skills/skills/hostinger/vps/SKILL.md +1 -0
- package/resources/skills/skills/legal/legal/SKILL.md +94 -0
- package/resources/skills/skills/legal/legal-agreement/SKILL.md +418 -0
- package/resources/skills/skills/legal/legal-compare/SKILL.md +177 -0
- package/resources/skills/skills/legal/legal-compliance/SKILL.md +370 -0
- package/resources/skills/skills/legal/legal-freelancer/SKILL.md +454 -0
- package/resources/skills/skills/legal/legal-missing/SKILL.md +232 -0
- package/resources/skills/skills/legal/legal-nda/SKILL.md +283 -0
- package/resources/skills/skills/legal/legal-negotiate/SKILL.md +248 -0
- package/resources/skills/skills/legal/legal-plain/SKILL.md +169 -0
- package/resources/skills/skills/legal/legal-privacy/SKILL.md +327 -0
- package/resources/skills/skills/legal/legal-report-pdf/SKILL.md +400 -0
- package/resources/skills/skills/legal/legal-report-pdf/scripts/generate_legal_pdf.py +446 -0
- package/resources/skills/skills/legal/legal-report-pdf/templates/contract-review-template.md +190 -0
- package/resources/skills/skills/legal/legal-review/SKILL.md +202 -0
- package/resources/skills/skills/legal/legal-risks/SKILL.md +171 -0
- package/resources/skills/skills/legal/legal-terms/SKILL.md +263 -0
- package/resources/skills/skills/marketing/google-ads-audit/SKILL.md +1 -1
- package/resources/skills/skills/marketing/icp-research-assistant/SKILL.md +1 -1
- package/resources/skills/skills/marketing/programmatic-seo-builder/SKILL.md +1 -1
- package/resources/skills/skills/media/design-guide/SKILL.md +2 -2
- package/resources/skills/skills/media/logo-creator/SKILL.md +1 -1
- package/resources/skills/skills/media/multi-angle-shots/SKILL.md +2 -2
- package/resources/skills/skills/media/nano-banana/SKILL.md +1 -1
- package/resources/skills/skills/medusa/building-with-medusa/SKILL.md +1 -1
- package/resources/skills/skills/medusa/higgsfield-to-medusa-products/SKILL.md +1 -0
- package/resources/skills/skills/medusa/marva-blog-author/SKILL.md +1 -0
- package/resources/skills/skills/medusa/woocommerce-to-medusa-import/SKILL.md +1 -0
- package/resources/skills/skills/meta/autoresearch/SKILL.md +5 -0
- package/resources/skills/skills/meta/prompt-master/SKILL.md +5 -5
- package/resources/skills/skills/meta/smart-loader/scripts/smart-lookup.sh +43 -0
- package/resources/skills/skills/orchestration/oh-my-agent/SKILL.md +1 -0
- package/resources/skills/skills/polymarket/polymarket-predictions-audit/SKILL.md +1 -0
- package/resources/skills/skills/polymarket/polymarket-research/SKILL.md +1 -0
- package/resources/skills/skills/research/keyword-research/SKILL.md +1 -1
- package/resources/skills/skills/research/openai-docs/SKILL.md +1 -0
- package/resources/skills/skills/research/trendradar/SKILL.md +2 -1
- package/resources/skills/skills/review/code-review/SKILL.md +1 -1
- package/resources/skills/skills/review/security-review/SKILL.md +1 -1
- package/resources/skills/skills/robotics/ros-skill/LICENSE +201 -0
- package/resources/skills/skills/robotics/ros-skill/README.md +113 -0
- package/resources/skills/skills/robotics/ros-skill/SKILL.md +312 -0
- package/resources/skills/skills/robotics/ros-skill/examples/openclaw.md +135 -0
- package/resources/skills/skills/robotics/ros-skill/examples/sensor-monitor.md +60 -0
- package/resources/skills/skills/robotics/ros-skill/examples/turtlesim.md +82 -0
- package/resources/skills/skills/robotics/ros-skill/references/COMMANDS.md +550 -0
- package/resources/skills/skills/robotics/ros-skill/scripts/ros_cli.py +861 -0
- package/resources/skills/skills/rust/async-tokio/SKILL.md +5 -0
- package/resources/skills/skills/rust/axum-api/SKILL.md +5 -0
- package/resources/skills/skills/rust/bacon-watch/SKILL.md +5 -0
- package/resources/skills/skills/rust/bevy/SKILL.md +5 -0
- package/resources/skills/skills/rust/bindgen/SKILL.md +5 -0
- package/resources/skills/skills/rust/cargo-audit/SKILL.md +5 -0
- package/resources/skills/skills/rust/cargo-basics/SKILL.md +5 -0
- package/resources/skills/skills/rust/cargo-chef/SKILL.md +4 -0
- package/resources/skills/skills/rust/cargo-edit/SKILL.md +5 -0
- package/resources/skills/skills/rust/cargo-expand/SKILL.md +5 -0
- package/resources/skills/skills/rust/cargo-flamegraph/SKILL.md +5 -0
- package/resources/skills/skills/rust/cargo-fuzz/SKILL.md +4 -0
- package/resources/skills/skills/rust/cargo-hack/SKILL.md +4 -0
- package/resources/skills/skills/rust/cargo-msrv/SKILL.md +4 -0
- package/resources/skills/skills/rust/cargo-mutants/SKILL.md +5 -0
- package/resources/skills/skills/rust/cargo-nextest/SKILL.md +5 -0
- package/resources/skills/skills/rust/cargo-readme/SKILL.md +4 -0
- package/resources/skills/skills/rust/cbindgen/SKILL.md +4 -0
- package/resources/skills/skills/rust/chisel-tool/SKILL.md +4 -0
- package/resources/skills/skills/rust/clap-cli/SKILL.md +5 -0
- package/resources/skills/skills/rust/clippy-and-fmt/SKILL.md +5 -0
- package/resources/skills/skills/rust/cross-compile/SKILL.md +5 -0
- package/resources/skills/skills/rust/embedded/SKILL.md +5 -0
- package/resources/skills/skills/rust/error-handling/SKILL.md +4 -0
- package/resources/skills/skills/rust/just-runner/SKILL.md +5 -0
- package/resources/skills/skills/rust/mdbook/SKILL.md +4 -0
- package/resources/skills/skills/rust/napi-rs/SKILL.md +4 -0
- package/resources/skills/skills/rust/no-std/SKILL.md +4 -0
- package/resources/skills/skills/rust/property-testing/SKILL.md +5 -0
- package/resources/skills/skills/rust/pyo3/SKILL.md +5 -0
- package/resources/skills/skills/rust/ratatui-tui/SKILL.md +4 -0
- package/resources/skills/skills/rust/release-plz/SKILL.md +4 -0
- package/resources/skills/skills/rust/reqwest/SKILL.md +5 -0
- package/resources/skills/skills/rust/sccache/SKILL.md +4 -0
- package/resources/skills/skills/rust/serde/SKILL.md +5 -0
- package/resources/skills/skills/rust/snapshot-testing/SKILL.md +4 -0
- package/resources/skills/skills/rust/sqlx-cli/SKILL.md +5 -0
- package/resources/skills/skills/rust/tracing/SKILL.md +5 -0
- package/resources/skills/skills/rust/typos-spellcheck/SKILL.md +4 -0
- package/resources/skills/skills/rust/uniffi/SKILL.md +4 -0
- package/resources/skills/skills/rust/wasm-rust/SKILL.md +5 -0
- package/resources/skills/skills/test/scenario-explorer/SKILL.md +5 -0
- package/resources/skills/skills/tools/headroom/SKILL.md +105 -0
- package/resources/skills/skills/vercel/UPSTREAM.md +12 -0
- package/resources/skills/skills/vercel/composition-patterns/AGENTS.md +946 -0
- package/resources/skills/skills/vercel/composition-patterns/README.md +60 -0
- package/resources/skills/skills/vercel/composition-patterns/SKILL.md +89 -0
- package/resources/skills/skills/vercel/composition-patterns/metadata.json +11 -0
- package/resources/skills/skills/vercel/composition-patterns/rules/_sections.md +29 -0
- package/resources/skills/skills/vercel/composition-patterns/rules/_template.md +24 -0
- package/resources/skills/skills/vercel/composition-patterns/rules/architecture-avoid-boolean-props.md +100 -0
- package/resources/skills/skills/vercel/composition-patterns/rules/architecture-compound-components.md +112 -0
- package/resources/skills/skills/vercel/composition-patterns/rules/patterns-children-over-render-props.md +87 -0
- package/resources/skills/skills/vercel/composition-patterns/rules/patterns-explicit-variants.md +100 -0
- package/resources/skills/skills/vercel/composition-patterns/rules/react19-no-forwardref.md +42 -0
- package/resources/skills/skills/vercel/composition-patterns/rules/state-context-interface.md +191 -0
- package/resources/skills/skills/vercel/composition-patterns/rules/state-decouple-implementation.md +113 -0
- package/resources/skills/skills/vercel/composition-patterns/rules/state-lift-state.md +125 -0
- package/resources/skills/skills/vercel/deploy-to-vercel/SKILL.md +296 -0
- package/resources/skills/skills/vercel/deploy-to-vercel/resources/deploy-codex.sh +301 -0
- package/resources/skills/skills/vercel/deploy-to-vercel/resources/deploy.sh +301 -0
- package/resources/skills/skills/vercel/react-best-practices/AGENTS.md +3810 -0
- package/resources/skills/skills/vercel/react-best-practices/README.md +123 -0
- package/resources/skills/skills/vercel/react-best-practices/SKILL.md +149 -0
- package/resources/skills/skills/vercel/react-best-practices/metadata.json +15 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/_sections.md +46 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/_template.md +28 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/advanced-effect-event-deps.md +56 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/advanced-event-handler-refs.md +55 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/advanced-init-once.md +42 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/advanced-use-latest.md +39 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/async-api-routes.md +38 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/async-cheap-condition-before-await.md +37 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/async-defer-await.md +82 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/async-dependencies.md +51 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/async-parallel.md +28 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/async-suspense-boundaries.md +99 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/bundle-analyzable-paths.md +63 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/bundle-barrel-imports.md +60 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/bundle-conditional.md +31 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/bundle-defer-third-party.md +49 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/bundle-dynamic-imports.md +35 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/bundle-preload.md +50 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/client-event-listeners.md +74 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/client-localstorage-schema.md +71 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/client-passive-event-listeners.md +48 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/client-swr-dedup.md +56 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-batch-dom-css.md +107 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-cache-function-results.md +80 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-cache-property-access.md +28 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-cache-storage.md +70 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-combine-iterations.md +32 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-early-exit.md +50 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-flatmap-filter.md +60 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-hoist-regexp.md +45 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-index-maps.md +37 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-length-check-first.md +49 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-min-max-loop.md +82 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-request-idle-callback.md +105 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-set-map-lookups.md +24 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-tosorted-immutable.md +57 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rendering-activity.md +26 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rendering-animate-svg-wrapper.md +47 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rendering-conditional-render.md +40 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rendering-content-visibility.md +38 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rendering-hoist-jsx.md +46 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rendering-hydration-no-flicker.md +82 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rendering-hydration-suppress-warning.md +30 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rendering-resource-hints.md +85 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rendering-script-defer-async.md +68 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rendering-svg-precision.md +28 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rendering-usetransition-loading.md +75 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-defer-reads.md +39 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-dependencies.md +45 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-derived-state-no-effect.md +40 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-derived-state.md +29 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-functional-setstate.md +74 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-lazy-state-init.md +58 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-memo-with-default-value.md +38 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-memo.md +44 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-move-effect-to-event.md +45 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-no-inline-components.md +82 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-simple-expression-in-memo.md +35 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-split-combined-hooks.md +64 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-transitions.md +40 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-use-deferred-value.md +59 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-use-ref-transient-values.md +73 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/server-after-nonblocking.md +73 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/server-auth-actions.md +96 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/server-cache-lru.md +41 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/server-cache-react.md +76 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/server-dedup-props.md +65 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/server-hoist-static-io.md +149 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/server-no-shared-module-state.md +50 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/server-parallel-fetching.md +83 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/server-parallel-nested-fetching.md +34 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/server-serialization.md +38 -0
- package/resources/skills/skills/vercel/react-native-skills/AGENTS.md +2897 -0
- package/resources/skills/skills/vercel/react-native-skills/README.md +165 -0
- package/resources/skills/skills/vercel/react-native-skills/SKILL.md +121 -0
- package/resources/skills/skills/vercel/react-native-skills/metadata.json +16 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/_sections.md +86 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/_template.md +28 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/animation-derived-value.md +53 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/animation-gesture-detector-press.md +95 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/animation-gpu-properties.md +65 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/design-system-compound-components.md +66 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/fonts-config-plugin.md +71 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/imports-design-system-folder.md +68 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/js-hoist-intl.md +61 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-callbacks.md +44 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-function-references.md +132 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-images.md +53 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-inline-objects.md +97 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-item-expensive.md +94 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-item-memo.md +82 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-item-types.md +104 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-virtualize.md +67 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/monorepo-native-deps-in-app.md +46 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/monorepo-single-dependency-versions.md +63 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/navigation-native-navigators.md +188 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/react-compiler-destructure-functions.md +50 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/react-compiler-reanimated-shared-values.md +48 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/react-state-dispatcher.md +91 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/react-state-fallback.md +56 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/react-state-minimize.md +65 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/rendering-no-falsy-and.md +74 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/rendering-text-in-text-component.md +36 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/scroll-position-no-state.md +82 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/state-ground-truth.md +80 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/ui-expo-image.md +66 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/ui-image-gallery.md +104 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/ui-measure-views.md +78 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/ui-menus.md +174 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/ui-native-modals.md +77 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/ui-pressable.md +61 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/ui-safe-area-scroll.md +65 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/ui-scrollview-content-inset.md +45 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/ui-styling.md +87 -0
- package/resources/skills/skills/vercel/react-view-transitions/AGENTS.md +955 -0
- package/resources/skills/skills/vercel/react-view-transitions/README.md +42 -0
- package/resources/skills/skills/vercel/react-view-transitions/SKILL.md +320 -0
- package/resources/skills/skills/vercel/react-view-transitions/metadata.json +12 -0
- package/resources/skills/skills/vercel/react-view-transitions/references/css-recipes.md +242 -0
- package/resources/skills/skills/vercel/react-view-transitions/references/implementation.md +182 -0
- package/resources/skills/skills/vercel/react-view-transitions/references/nextjs.md +176 -0
- package/resources/skills/skills/vercel/react-view-transitions/references/patterns.md +262 -0
- package/resources/skills/skills/vercel/vercel-cli-with-tokens/SKILL.md +353 -0
- package/resources/skills/skills/vercel/vercel-optimize/AGENTS.md +48 -0
- package/resources/skills/skills/vercel/vercel-optimize/CONTRIBUTING.md +41 -0
- package/resources/skills/skills/vercel/vercel-optimize/README.md +91 -0
- package/resources/skills/skills/vercel/vercel-optimize/SKILL.md +322 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/auth-route.mjs +23 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/budget-summary.mjs +182 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/citations.mjs +139 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/cost-coverage.mjs +143 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/dedup-recs.mjs +325 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/deep-dive.mjs +350 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/display-labels.mjs +185 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/extract-claims.mjs +550 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/framework-support.mjs +67 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/build-minutes-fanout.mjs +69 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/cold-start.mjs +66 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/contract.mjs +79 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/cwv-poor.mjs +87 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/external-api-slow.mjs +55 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/hard-gates.mjs +73 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/index.mjs +45 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/isr-overrevalidation.mjs +62 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/middleware-heavy.mjs +51 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/observability-events-attribution.mjs +56 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/platform-bot-protection.mjs +115 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/platform-fluid-compute.mjs +83 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/region-misconfig.mjs +64 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/route-errors.mjs +80 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/scanner-driven.mjs +122 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/select-candidates.mjs +134 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/slow-route.mjs +88 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/types.d.ts +38 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/uncached-route.mjs +93 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/usage-spike-triage.mjs +121 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/grade-recommendation.mjs +155 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/impact-label.mjs +126 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/impact-magnitude.mjs +60 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/investigation-brief.mjs +610 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/observation-safety.mjs +174 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/project-facts.mjs +99 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/queries.mjs +315 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/reconcile-candidates.mjs +372 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/render-report.mjs +955 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/repo-root.mjs +86 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/route-normalize.mjs +220 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/bot-protection-certainty.mjs +38 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/cache-tag-invalidation-certainty.mjs +30 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/count-correct.mjs +52 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/function-duration-invocations.mjs +38 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/index.mjs +79 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/middleware-conflict.mjs +36 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/missing-citation.mjs +16 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/pre-release.mjs +74 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/rate-limit.mjs +67 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/rendering-mode-mislabel.mjs +38 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/undeclared-dep.mjs +78 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/vercel-directive-strip.mjs +37 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/window-units.mjs +32 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/cache-components-suspense-dedupe.mjs +109 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/edge-heavy-import.mjs +94 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/force-dynamic.mjs +42 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/headers-in-page.mjs +44 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/index.mjs +35 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/large-static-asset.mjs +92 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/max-age-without-s-maxage.mjs +42 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/middleware-broad-matcher.mjs +55 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/missing-cache-headers.mjs +90 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/prisma-include-tree.mjs +42 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/region-pin-in-config.mjs +88 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/source-maps-production.mjs +36 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/sveltekit-prerender-missing.mjs +43 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/turbo-force-bypass.mjs +129 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/unoptimized-image.mjs +113 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/use-cache-date-stamp.mjs +106 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/support-topics.mjs +355 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/throttle.mjs +273 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/util.mjs +17 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/vercel.mjs +864 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/verify-claim.mjs +1296 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/workspace-resolver.mjs +521 -0
- package/resources/skills/skills/vercel/vercel-optimize/metadata.json +14 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/candidates.md +176 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/data-collection.md +218 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/docs-library.json +683 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/doctrine.md +105 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/observability-plus.md +108 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/README.md +53 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/ai-application.md +32 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/api-service.md +30 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/content-site.md +30 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/ecommerce.md +30 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/marketing.md +30 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/saas.md +31 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/sveltekit.md +75 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/recommendations.md +203 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/scanner-patterns.md +251 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/scoring.md +205 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/README.md +46 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/astro-edge-middleware-scope.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/astro-output-mode-and-isr.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/auth-preserving-parallelization.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/bot-protection-product-guardrails.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/build-minutes-monorepo-fanout.md +23 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/cache-components-static-shell-boundaries.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/cache-components-suspense-dedupe-pitfall.md +23 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/cdn-cache-auth-safety.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/cold-start-initialization-bundle.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/core-web-vitals-client-bottlenecks.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/database-egress-pooling-region.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/dynamic-rendering-traps.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/external-api-critical-path-platform.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/external-api-critical-path.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/fast-data-transfer-payloads.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/fluid-compute-caveats.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/function-duration-io-and-after.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/function-invocation-reduction.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/function-region-misconfiguration-ttfb.md +23 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/image-optimization-cost-control.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/isr-revalidation-static-generation.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/middleware-proxy-edge-cost.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/next-fetch-revalidate-floor.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/next-font-cls-self-hosting.md +23 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/next-heavy-ui-lazy-load-boundaries.md +23 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/next-image-lcp-preload-sizes.md +23 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/next-route-handler-get-cache-defaults.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/next-script-third-party-strategy.md +23 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/nextjs-version-cache-semantics.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/not-found-catchall-request-waste.md +23 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/nuxt-route-rules-cache-isr.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/observability-events-cost-attribution.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/post-response-work-waituntil.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/route-error-durable-offload.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/route-error-runtime-limits.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/runtime-cache-reusable-data.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/sveltekit-isr-prerender-safety.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/sveltekit-split-cold-start-tradeoff.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/usage-spike-triage.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/use-cache-date-stamp-isr-write-amplifier.md +23 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/use-cache-remote-shared-origin-data.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/workflow-resumable-stream-routes.md +23 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/verification.md +102 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/voice.md +76 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/budget-summary.mjs +56 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/build-docs.mjs +74 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/check-citations.mjs +81 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/check-docs-fresh.mjs +93 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/collect-signals.mjs +576 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/collect-sub-agent-outputs.mjs +296 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/deep-dive.mjs +319 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/gate-investigations.mjs +166 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/merge-signals.mjs +192 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/prepare-investigation-brief.mjs +231 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/reconcile-candidates.mjs +62 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/render-report.mjs +437 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/scan-codebase.mjs +313 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/verify-and-regen.mjs +346 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/verify-finding.mjs +19 -0
- package/resources/skills/skills/vercel/web-design-guidelines/SKILL.md +39 -0
- package/resources/skills/skills/vercel/writing-guidelines/SKILL.md +39 -0
- package/src/commands/_index.test.ts +79 -0
- package/src/commands/_index.ts +36 -14
- package/src/commands/ai.test.ts +113 -0
- package/src/commands/ai.ts +4 -5
- package/src/commands/ask.test.ts +82 -0
- package/src/commands/ask.ts +3 -4
- package/src/commands/audit.test.ts +61 -0
- package/src/commands/benchmark.test.ts +88 -0
- package/src/commands/benchmark.ts +3 -5
- package/src/commands/builtin.test.ts +199 -0
- package/src/commands/builtin.ts +3 -4
- package/src/commands/clean.test.ts +181 -0
- package/src/commands/clean.ts +3 -4
- package/src/commands/cli.test.ts +11 -3
- package/src/commands/cli.ts +3 -4
- package/src/commands/cloud.ts +3 -4
- package/src/commands/colony-dispatch.test.ts +143 -0
- package/src/commands/completions.test.ts +195 -0
- package/src/commands/cost.ts +85 -34
- package/src/commands/create-profile.test.ts +256 -0
- package/src/commands/create-profile.ts +3 -4
- package/src/commands/debug.ts +4 -5
- package/src/commands/diff.test.ts +64 -0
- package/src/commands/diff.ts +3 -4
- package/src/commands/discover.ts +10 -14
- package/src/commands/docs-facts.test.ts +103 -0
- package/src/commands/doctor.test.ts +14 -2
- package/src/commands/doctor.ts +27 -22
- package/src/commands/eval-behavior.ts +3 -4
- package/src/commands/eval.ts +6 -7
- package/src/commands/evolve.test.ts +56 -0
- package/src/commands/evolve.ts +15 -5
- package/src/commands/export-docker.test.ts +190 -0
- package/src/commands/export-docker.ts +3 -4
- package/src/commands/features-batch1.test.ts +1 -1
- package/src/commands/feedback.test.ts +63 -0
- package/src/commands/gc.test.ts +173 -0
- package/src/commands/gc.ts +65 -0
- package/src/commands/handoff.test.ts +284 -0
- package/src/commands/icon.ts +3 -4
- package/src/commands/import-profile.test.ts +199 -0
- package/src/commands/import-profile.ts +4 -5
- package/src/commands/init-cost-proof.test.ts +29 -0
- package/src/commands/init.test.ts +76 -0
- package/src/commands/init.ts +42 -7
- package/src/commands/install-sh.e2e.test.ts +17 -5
- package/src/commands/install.ts +3 -3
- package/src/commands/launch-handoff.e2e.test.ts +7 -1
- package/src/commands/launch.account-runtime.test.ts +117 -0
- package/src/commands/launch.e2e.test.ts +7 -1
- package/src/commands/launch.parse.test.ts +101 -0
- package/src/commands/launch.test.ts +94 -108
- package/src/commands/launch.ts +714 -118
- package/src/commands/lint-skill.test.ts +173 -0
- package/src/commands/loadout.test.ts +225 -0
- package/src/commands/loadout.ts +132 -0
- package/src/commands/lock.test.ts +157 -0
- package/src/commands/lock.ts +4 -5
- package/src/commands/marketplace-manifest.test.ts +39 -0
- package/src/commands/marketplace.test.ts +195 -0
- package/src/commands/marketplace.ts +176 -5
- package/src/commands/materialize.test.ts +59 -0
- package/src/commands/materialize.ts +4 -5
- package/src/commands/mcp.test.ts +109 -0
- package/src/commands/mcps.test.ts +49 -0
- package/src/commands/mcps.ts +5 -6
- package/src/commands/mem.test.ts +94 -0
- package/src/commands/merge.test.ts +57 -0
- package/src/commands/migrate.test.ts +45 -0
- package/src/commands/migrate.ts +3 -4
- package/src/commands/new.test.ts +173 -0
- package/src/commands/optimizer.test.ts +239 -0
- package/src/commands/optimizer.ts +4 -5
- package/src/commands/packs.test.ts +97 -0
- package/src/commands/packs.ts +3 -4
- package/src/commands/playground.test.ts +61 -0
- package/src/commands/playground.ts +3 -4
- package/src/commands/positioning.test.ts +46 -0
- package/src/commands/profile-draft-skill.ts +3 -4
- package/src/commands/profile-suggest.test.ts +67 -0
- package/src/commands/profile-suggest.ts +130 -5
- package/src/commands/profile.test.ts +59 -0
- package/src/commands/replay-whatif.test.ts +154 -0
- package/src/commands/replay.test.ts +68 -0
- package/src/commands/resolve.test.ts +66 -0
- package/src/commands/resolve.ts +415 -0
- package/src/commands/ruler.test.ts +94 -0
- package/src/commands/ruler.ts +213 -0
- package/src/commands/scan.test.ts +83 -0
- package/src/commands/score.test.ts +125 -0
- package/src/commands/score.ts +0 -3
- package/src/commands/security-audit.test.ts +133 -0
- package/src/commands/security-audit.ts +4 -5
- package/src/commands/security.ts +3 -4
- package/src/commands/setup.test.ts +32 -0
- package/src/commands/share.test.ts +102 -0
- package/src/commands/shell.test.ts +251 -23
- package/src/commands/shell.ts +269 -91
- package/src/commands/skill-report.test.ts +110 -0
- package/src/commands/skills-lint.test.ts +74 -0
- package/src/commands/skills-lint.ts +3 -4
- package/src/commands/skills-new.test.ts +96 -0
- package/src/commands/skills-new.ts +3 -4
- package/src/commands/skills-pin.test.ts +169 -0
- package/src/commands/skills-pin.ts +4 -5
- package/src/commands/skills-test.test.ts +215 -0
- package/src/commands/skills.test.ts +109 -0
- package/src/commands/skills.ts +10 -6
- package/src/commands/snapshot.ts +3 -4
- package/src/commands/sources.ts +3 -4
- package/src/commands/stats.test.ts +174 -0
- package/src/commands/status.test.ts +147 -0
- package/src/commands/status.ts +13 -1
- package/src/commands/suggest-pairs.test.ts +166 -0
- package/src/commands/suggest.test.ts +85 -0
- package/src/commands/suggest.ts +3 -5
- package/src/commands/summon.test.ts +8 -1
- package/src/commands/sync.test.ts +26 -0
- package/src/commands/sync.ts +184 -0
- package/src/commands/telemetry.test.ts +162 -0
- package/src/commands/trace.test.ts +48 -0
- package/src/commands/tree.test.ts +76 -0
- package/src/commands/tui.test.ts +55 -0
- package/src/commands/update.test.ts +98 -0
- package/src/commands/update.ts +8 -9
- package/src/commands/upgrade.test.ts +45 -0
- package/src/commands/upgrade.ts +4 -5
- package/src/commands/use.test.ts +63 -0
- package/src/commands/validate.test.ts +80 -0
- package/src/commands/watch-live.test.ts +46 -0
- package/src/commands/watch-live.ts +5 -6
- package/src/commands/watch.test.ts +97 -0
- package/src/commands/why.test.ts +46 -0
- package/src/commands/why.ts +4 -5
- package/src/commands/workspace.test.ts +92 -0
- package/src/index.test.ts +106 -0
- package/src/index.ts +7 -6
- package/src/lib/agent-adapters.test.ts +9 -0
- package/src/lib/agent-adapters.ts +17 -0
- package/src/lib/analytics.ts +27 -10
- package/src/lib/brand-icons.test.ts +129 -0
- package/src/lib/brand-icons.ts +6 -7
- package/src/lib/cache.test.ts +231 -0
- package/src/lib/catalog-index.test.ts +306 -0
- package/src/lib/catalog-index.ts +540 -0
- package/src/lib/claude-binary.test.ts +122 -0
- package/src/lib/claude-binary.ts +49 -19
- package/src/lib/claude-logo.test.ts +64 -0
- package/src/lib/claude-logo.ts +41 -0
- package/src/lib/cli-extractor.ts +3 -4
- package/src/lib/colony-dispatch.test.ts +59 -0
- package/src/lib/colony-dispatch.ts +3 -4
- package/src/lib/combo-history.test.ts +53 -1
- package/src/lib/combo-history.ts +41 -0
- package/src/lib/conflict-detector.test.ts +73 -0
- package/src/lib/conflict-detector.ts +2 -4
- package/src/lib/credentials-sync.ts +32 -25
- package/src/lib/cue-credentials.test.ts +74 -0
- package/src/lib/cue-credentials.ts +64 -0
- package/src/lib/cwd-resolver.ts +5 -3
- package/src/lib/dashboard-server.test.ts +45 -4
- package/src/lib/dashboard-server.ts +39 -0
- package/src/lib/handoff.test.ts +99 -0
- package/src/lib/help.test.ts +69 -0
- package/src/lib/kitty-image.ts +13 -0
- package/src/lib/launch-loader.test.ts +160 -0
- package/src/lib/launch-loader.ts +226 -0
- package/src/lib/lazy-skills.ts +41 -1
- package/src/lib/manifest-cache.test.ts +30 -0
- package/src/lib/market-install.test.ts +128 -0
- package/src/lib/market-install.ts +247 -0
- package/src/lib/mcp-catalog.ts +4 -13
- package/src/lib/mcp-materializer.ts +3 -8
- package/src/lib/mcp-overrides.test.ts +202 -0
- package/src/lib/mcp-overrides.ts +199 -0
- package/src/lib/mcp-picker.test.ts +150 -0
- package/src/lib/mcp-picker.ts +247 -0
- package/src/lib/mcp-token-estimate.test.ts +105 -0
- package/src/lib/mcp-token-estimate.ts +152 -0
- package/src/lib/pack-resolver.test.ts +81 -0
- package/src/lib/pack-resolver.ts +3 -4
- package/src/lib/pair-suggestions.test.ts +32 -5
- package/src/lib/pair-suggestions.ts +15 -12
- package/src/lib/picker/card.test.ts +109 -0
- package/src/lib/picker/card.ts +279 -0
- package/src/lib/picker/categories.test.ts +68 -0
- package/src/lib/picker/categories.ts +48 -0
- package/src/lib/picker/flow.test.ts +49 -0
- package/src/lib/picker/flow.ts +236 -0
- package/src/lib/picker/keys.test.ts +235 -0
- package/src/lib/picker/palette.test.ts +262 -0
- package/src/lib/picker/palette.ts +557 -0
- package/src/lib/picker/render-util.test.ts +213 -0
- package/src/lib/picker/render-util.ts +111 -0
- package/src/lib/picker/selector.test.ts +87 -0
- package/src/lib/picker/selector.ts +51 -0
- package/src/lib/picker/tally.test.ts +166 -0
- package/src/lib/picker/tally.ts +126 -0
- package/src/lib/picker/types.ts +135 -0
- package/src/lib/picker.test.ts +55 -31
- package/src/lib/picker.ts +119 -439
- package/src/lib/plugin-discovery.test.ts +175 -0
- package/src/lib/pr-poster.ts +6 -2
- package/src/lib/profile-conflicts.test.ts +114 -0
- package/src/lib/profile-conflicts.ts +52 -0
- package/src/lib/profile-generator.ts +5 -11
- package/src/lib/profile-linter.ts +33 -14
- package/src/lib/profile-loader.test.ts +128 -1
- package/src/lib/profile-loader.ts +61 -24
- package/src/lib/profile-merge.test.ts +30 -1
- package/src/lib/profile-merge.ts +54 -18
- package/src/lib/profile-metrics.test.ts +176 -0
- package/src/lib/profile-metrics.ts +3 -4
- package/src/lib/project-loadout.test.ts +273 -0
- package/src/lib/project-loadout.ts +358 -0
- package/src/lib/project-scanner.test.ts +228 -0
- package/src/lib/ratings.test.ts +130 -0
- package/src/lib/repo-root.test.ts +80 -0
- package/src/lib/repo-root.ts +38 -0
- package/src/lib/ruler.test.ts +332 -0
- package/src/lib/ruler.ts +374 -0
- package/src/lib/runtime-gc.test.ts +123 -0
- package/src/lib/runtime-gc.ts +203 -0
- package/src/lib/runtime-install.test.ts +70 -0
- package/src/lib/runtime-install.ts +7 -0
- package/src/lib/runtime-lock.test.ts +115 -0
- package/src/lib/runtime-materializer.mcp-prune.test.ts +105 -0
- package/src/lib/runtime-materializer.test.ts +229 -1
- package/src/lib/runtime-materializer.ts +179 -36
- package/src/lib/scan-plugins.ts +10 -5
- package/src/lib/shared-profiles.ts +9 -3
- package/src/lib/shim-dir.test.ts +101 -0
- package/src/lib/shim-dir.ts +120 -0
- package/src/lib/skill-compressor.test.ts +59 -0
- package/src/lib/skill-compressor.ts +2 -4
- package/src/lib/skill-dependencies.getNeeded.test.ts +81 -0
- package/src/lib/skill-dependencies.test.ts +39 -0
- package/src/lib/skill-dependencies.ts +77 -14
- package/src/lib/skill-deps.ts +3 -4
- package/src/lib/skill-linter.test.ts +61 -0
- package/src/lib/skill-linter.ts +72 -4
- package/src/lib/skill-quality.ts +4 -5
- package/src/lib/skill-resolve-journal.test.ts +83 -0
- package/src/lib/skill-resolve-journal.ts +86 -0
- package/src/lib/skill-sandbox.ts +3 -4
- package/src/lib/skill-subset.cache.test.ts +172 -0
- package/src/lib/skill-subset.isolation.test.ts +98 -0
- package/src/lib/skill-subset.test.ts +25 -0
- package/src/lib/skill-subset.ts +388 -39
- package/src/lib/smart-loader-suggest.hook.test.ts +173 -0
- package/src/lib/stack-suggest.test.ts +247 -0
- package/src/lib/stack-suggest.ts +352 -0
- package/src/lib/telemetry-ingest.ts +6 -1
- package/src/lib/token-budget.test.ts +141 -0
- package/src/lib/token-budget.ts +187 -0
- package/src/lib/tui/data.test.ts +206 -0
- package/src/lib/tui/input.test.ts +159 -0
- package/src/lib/tui/screen.test.ts +85 -0
- package/src/lib/uvx-installer.test.ts +54 -1
- package/src/lib/uvx-installer.ts +51 -6
- package/src/lib/webhooks.test.ts +175 -0
- package/src/lib/workflow-store.test.ts +292 -0
- package/src/lib/workspace-secrets.test.ts +99 -0
- package/src/lib/workspaces.test.ts +417 -0
- package/src/lib/workspaces.ts +3 -4
- package/plugins/cue/plugin.json +0 -15
- package/profiles/dash-merge-test/profile.yaml +0 -114
|
@@ -0,0 +1,418 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: business-agreement-generator
|
|
3
|
+
description: "Generates business agreements (freelancer, partnership, SOW, MSA, service) with annotations. Use when the user says \"/legal agreement\", \"draft an SOW\", or \"create an MSA\"."
|
|
4
|
+
tags: [legal, agreements, generator]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Business Agreement Generator
|
|
8
|
+
|
|
9
|
+
You are the business agreement generator for `/legal agreement <type>`. You gather details from the user and produce a complete, professional business agreement with annotations explaining each section in plain English.
|
|
10
|
+
|
|
11
|
+
## When This Skill Is Invoked
|
|
12
|
+
|
|
13
|
+
The user runs `/legal agreement <type>` where `<type>` is one of the supported agreement types. You ask clarifying questions, then generate a full agreement document.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Supported Agreement Types
|
|
18
|
+
|
|
19
|
+
| Type Keyword | Full Name | Description |
|
|
20
|
+
|-------------|-----------|-------------|
|
|
21
|
+
| `freelancer-contract` | Freelancer/Contractor Agreement | Independent contractor engagement with scope, payment, IP terms |
|
|
22
|
+
| `partnership-agreement` | Partnership Agreement | Business partnership with profit sharing, roles, dissolution terms |
|
|
23
|
+
| `service-agreement` | Service Agreement | General services engagement between a provider and client |
|
|
24
|
+
| `licensing-agreement` | Licensing Agreement | Rights to use intellectual property, software, or content |
|
|
25
|
+
| `consulting-agreement` | Consulting Agreement | Advisory/consulting engagement with defined deliverables |
|
|
26
|
+
| `sow` | Statement of Work | Project-specific scope, milestones, and deliverables under an existing MSA or standalone |
|
|
27
|
+
| `msa` | Master Service Agreement | Umbrella agreement governing an ongoing business relationship |
|
|
28
|
+
| `joint-venture` | Joint Venture Agreement | Collaborative business venture between two or more parties |
|
|
29
|
+
| `distribution-agreement` | Distribution Agreement | Rights to distribute products in defined territories |
|
|
30
|
+
| `referral-agreement` | Referral Agreement | Referral fee arrangement between parties |
|
|
31
|
+
|
|
32
|
+
If the user provides a type not in this list, suggest the closest match or ask for clarification.
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## Phase 1: Information Gathering
|
|
37
|
+
|
|
38
|
+
Ask the user for the following information. Present the questions in a clean, numbered format. Do NOT proceed to drafting until you have answers to at minimum questions 1-5.
|
|
39
|
+
|
|
40
|
+
### Required Information (Must Ask)
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
To generate your [Agreement Type], I need the following details:
|
|
44
|
+
|
|
45
|
+
1. **Party A (Your side):**
|
|
46
|
+
- Full legal name (person or company)
|
|
47
|
+
- Address (city/state at minimum)
|
|
48
|
+
- Role in this agreement (e.g., service provider, licensor, partner)
|
|
49
|
+
|
|
50
|
+
2. **Party B (Other side):**
|
|
51
|
+
- Full legal name (person or company)
|
|
52
|
+
- Address (city/state at minimum)
|
|
53
|
+
- Role in this agreement (e.g., client, licensee, partner)
|
|
54
|
+
|
|
55
|
+
3. **Scope of Work / Relationship:**
|
|
56
|
+
- What services, products, or activities does this cover?
|
|
57
|
+
- What is explicitly NOT included?
|
|
58
|
+
|
|
59
|
+
4. **Payment Terms:**
|
|
60
|
+
- Total amount or rate (hourly, project-based, percentage, etc.)
|
|
61
|
+
- Payment schedule (upfront, milestones, monthly, net-30, etc.)
|
|
62
|
+
- Late payment penalties? (standard is 1.5% per month)
|
|
63
|
+
- Expense reimbursement?
|
|
64
|
+
|
|
65
|
+
5. **Duration:**
|
|
66
|
+
- Start date
|
|
67
|
+
- End date or ongoing with renewal terms
|
|
68
|
+
- Termination notice period (standard is 30 days)
|
|
69
|
+
|
|
70
|
+
6. **Any specific terms or concerns?**
|
|
71
|
+
- Non-compete requirements?
|
|
72
|
+
- Confidentiality needs?
|
|
73
|
+
- IP ownership specifics?
|
|
74
|
+
- Insurance requirements?
|
|
75
|
+
- Anything else you want included?
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### Type-Specific Questions
|
|
79
|
+
|
|
80
|
+
After the base questions, ask type-specific follow-ups:
|
|
81
|
+
|
|
82
|
+
| Type | Additional Questions |
|
|
83
|
+
|------|---------------------|
|
|
84
|
+
| `freelancer-contract` | Kill fee amount? Revision limits? Portfolio usage rights? Tax ID type (1099)? |
|
|
85
|
+
| `partnership-agreement` | Profit/loss split? Capital contributions? Decision-making authority? Dissolution triggers? |
|
|
86
|
+
| `service-agreement` | SLA requirements? Warranty period? Support/maintenance terms? Acceptance criteria? |
|
|
87
|
+
| `licensing-agreement` | Exclusive or non-exclusive? Territory? Sublicensing rights? Royalty structure? |
|
|
88
|
+
| `consulting-agreement` | Retainer or project-based? Travel requirements? Conflict of interest policies? |
|
|
89
|
+
| `sow` | Parent MSA reference? Milestones and acceptance criteria? Change order process? |
|
|
90
|
+
| `msa` | Number of anticipated SOWs? Volume discounts? Preferred vendor status? |
|
|
91
|
+
| `joint-venture` | JV entity formation? Management structure? Capital calls? Exit strategy? |
|
|
92
|
+
| `distribution-agreement` | Exclusive territory? Minimum purchase requirements? Marketing obligations? Return policy? |
|
|
93
|
+
| `referral-agreement` | Referral fee percentage or flat fee? Qualification criteria? Tracking method? Expiration of referral credit? |
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
## Phase 2: Generate Agreement
|
|
98
|
+
|
|
99
|
+
Once you have the required information, generate the full agreement. Every agreement MUST include the following structure, plus type-specific clauses inserted in the appropriate locations.
|
|
100
|
+
|
|
101
|
+
### 2.1 Universal Agreement Structure
|
|
102
|
+
|
|
103
|
+
```markdown
|
|
104
|
+
# [AGREEMENT TYPE]
|
|
105
|
+
|
|
106
|
+
> ⚠️ LEGAL DISCLAIMER: This agreement was AI-generated and does not constitute legal advice. Always have a licensed attorney review any agreement before signing.
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
**[FULL AGREEMENT TITLE]**
|
|
111
|
+
|
|
112
|
+
**Effective Date:** [date]
|
|
113
|
+
|
|
114
|
+
**Between:**
|
|
115
|
+
- **[Party A Full Legal Name]** ("Party A" / "[Role]"), located at [address]
|
|
116
|
+
- **[Party B Full Legal Name]** ("Party B" / "[Role]"), located at [address]
|
|
117
|
+
|
|
118
|
+
Collectively referred to as the "Parties."
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## 1. Purpose and Recitals
|
|
123
|
+
|
|
124
|
+
> 📝 **Plain English:** This section explains WHY this agreement exists and what both sides intend.
|
|
125
|
+
|
|
126
|
+
WHEREAS, [Party A] is engaged in the business of [description]; and
|
|
127
|
+
WHEREAS, [Party B] desires to [engage/retain/partner with] [Party A] for [purpose]; and
|
|
128
|
+
WHEREAS, both Parties wish to set forth the terms and conditions of their relationship;
|
|
129
|
+
|
|
130
|
+
NOW, THEREFORE, in consideration of the mutual covenants contained herein, the Parties agree as follows:
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
## 2. Scope of Work / Services / Relationship
|
|
135
|
+
|
|
136
|
+
> 📝 **Plain English:** This defines exactly what work will be done (and what won't). A clear scope prevents disputes later.
|
|
137
|
+
|
|
138
|
+
2.1. [Party A/Provider] shall provide the following [services/products/activities]:
|
|
139
|
+
[Detailed scope from user input]
|
|
140
|
+
|
|
141
|
+
2.2. The following are expressly excluded from this agreement:
|
|
142
|
+
[Exclusions from user input or standard exclusions]
|
|
143
|
+
|
|
144
|
+
2.3. Any work outside the scope defined in Section 2.1 requires a written amendment or change order signed by both Parties.
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
## 3. Term and Termination
|
|
149
|
+
|
|
150
|
+
> 📝 **Plain English:** How long does this last, and how can either side end it?
|
|
151
|
+
|
|
152
|
+
3.1. **Term.** This Agreement begins on [start date] and continues until [end date / completion of services / terminated per Section 3.2].
|
|
153
|
+
|
|
154
|
+
3.2. **Termination for Convenience.** Either Party may terminate this Agreement with [X] days' written notice to the other Party.
|
|
155
|
+
|
|
156
|
+
3.3. **Termination for Cause.** Either Party may terminate immediately upon written notice if the other Party:
|
|
157
|
+
(a) Materially breaches this Agreement and fails to cure within [15/30] days of notice;
|
|
158
|
+
(b) Becomes insolvent, files for bankruptcy, or ceases operations;
|
|
159
|
+
(c) Engages in fraud, gross negligence, or willful misconduct.
|
|
160
|
+
|
|
161
|
+
3.4. **Effect of Termination.** Upon termination:
|
|
162
|
+
(a) [Party B/Client] shall pay for all work completed through the termination date;
|
|
163
|
+
(b) Each Party shall return or destroy the other Party's Confidential Information;
|
|
164
|
+
(c) Sections [list surviving sections: Confidentiality, IP, Limitation of Liability, Indemnification, Governing Law] shall survive termination.
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
## 4. Compensation and Payment
|
|
169
|
+
|
|
170
|
+
> 📝 **Plain English:** How much, when, and what happens if payment is late.
|
|
171
|
+
|
|
172
|
+
4.1. **Fees.** [Party B/Client] shall pay [Party A/Provider] as follows:
|
|
173
|
+
[Payment structure from user input — fixed fee, hourly rate, milestone payments, etc.]
|
|
174
|
+
|
|
175
|
+
4.2. **Invoicing.** [Party A/Provider] shall submit invoices [frequency]. Payment is due within [net-30/other terms] of receipt.
|
|
176
|
+
|
|
177
|
+
4.3. **Late Payments.** Overdue amounts shall accrue interest at [1.5%] per month (or the maximum rate permitted by law, whichever is lower).
|
|
178
|
+
|
|
179
|
+
4.4. **Expenses.** [Reimbursable expenses terms, or "Each Party shall bear its own expenses unless otherwise agreed in writing."]
|
|
180
|
+
|
|
181
|
+
4.5. **Taxes.** Each Party is responsible for its own taxes. [For contractor agreements: "[Party A] acknowledges they are responsible for all self-employment taxes and will receive an IRS Form 1099."]
|
|
182
|
+
|
|
183
|
+
---
|
|
184
|
+
|
|
185
|
+
## 5. Intellectual Property
|
|
186
|
+
|
|
187
|
+
> 📝 **Plain English:** Who owns the work product? This is often the most important section.
|
|
188
|
+
|
|
189
|
+
[INSERT TYPE-SPECIFIC IP CLAUSE — see Section 2.2 below]
|
|
190
|
+
|
|
191
|
+
---
|
|
192
|
+
|
|
193
|
+
## 6. Confidentiality
|
|
194
|
+
|
|
195
|
+
> 📝 **Plain English:** Both sides agree to keep each other's business secrets private.
|
|
196
|
+
|
|
197
|
+
6.1. **Definition.** "Confidential Information" means any non-public information disclosed by one Party to the other, whether oral, written, or electronic, including business plans, financials, customer lists, technical data, trade secrets, and the terms of this Agreement.
|
|
198
|
+
|
|
199
|
+
6.2. **Obligations.** The receiving Party shall:
|
|
200
|
+
(a) Use Confidential Information only for the purposes of this Agreement;
|
|
201
|
+
(b) Not disclose it to any third party without prior written consent;
|
|
202
|
+
(c) Protect it with at least the same degree of care used for its own confidential information, but no less than reasonable care.
|
|
203
|
+
|
|
204
|
+
6.3. **Exclusions.** Information is not confidential if it:
|
|
205
|
+
(a) Is or becomes publicly available through no fault of the receiving Party;
|
|
206
|
+
(b) Was known to the receiving Party prior to disclosure;
|
|
207
|
+
(c) Is independently developed without use of Confidential Information;
|
|
208
|
+
(d) Is disclosed pursuant to legal requirement, provided the receiving Party gives prompt notice.
|
|
209
|
+
|
|
210
|
+
6.4. **Duration.** Confidentiality obligations survive for [2/3/5] years after termination.
|
|
211
|
+
|
|
212
|
+
---
|
|
213
|
+
|
|
214
|
+
## 7. Representations and Warranties
|
|
215
|
+
|
|
216
|
+
> 📝 **Plain English:** Promises each side makes about their ability to enter this agreement and do the work.
|
|
217
|
+
|
|
218
|
+
7.1. Each Party represents and warrants that:
|
|
219
|
+
(a) It has full authority to enter into and perform this Agreement;
|
|
220
|
+
(b) This Agreement does not conflict with any other obligation;
|
|
221
|
+
(c) It will comply with all applicable laws and regulations.
|
|
222
|
+
|
|
223
|
+
7.2. [Party A/Provider] further represents that:
|
|
224
|
+
(a) The services will be performed in a professional and workmanlike manner;
|
|
225
|
+
(b) The work product will not infringe any third-party intellectual property rights.
|
|
226
|
+
|
|
227
|
+
---
|
|
228
|
+
|
|
229
|
+
## 8. Limitation of Liability
|
|
230
|
+
|
|
231
|
+
> 📝 **Plain English:** Caps on how much either side can owe if something goes wrong.
|
|
232
|
+
|
|
233
|
+
8.1. **Cap.** EXCEPT FOR BREACHES OF CONFIDENTIALITY OR IP INFRINGEMENT, NEITHER PARTY'S TOTAL LIABILITY SHALL EXCEED THE AMOUNTS PAID OR PAYABLE UNDER THIS AGREEMENT IN THE [12] MONTHS PRECEDING THE CLAIM.
|
|
234
|
+
|
|
235
|
+
8.2. **Exclusion.** IN NO EVENT SHALL EITHER PARTY BE LIABLE FOR INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES, REGARDLESS OF THE CAUSE OF ACTION OR THEORY OF LIABILITY.
|
|
236
|
+
|
|
237
|
+
---
|
|
238
|
+
|
|
239
|
+
## 9. Indemnification
|
|
240
|
+
|
|
241
|
+
> 📝 **Plain English:** If one side causes a legal problem, they agree to cover the other side's costs.
|
|
242
|
+
|
|
243
|
+
9.1. Each Party shall indemnify, defend, and hold harmless the other Party from and against any claims, damages, losses, and expenses (including reasonable attorneys' fees) arising from:
|
|
244
|
+
(a) A material breach of this Agreement;
|
|
245
|
+
(b) Gross negligence or willful misconduct;
|
|
246
|
+
(c) Violation of applicable law.
|
|
247
|
+
|
|
248
|
+
---
|
|
249
|
+
|
|
250
|
+
## 10. Dispute Resolution
|
|
251
|
+
|
|
252
|
+
> 📝 **Plain English:** What happens if we disagree — we try to work it out before going to court.
|
|
253
|
+
|
|
254
|
+
10.1. **Negotiation.** The Parties shall first attempt to resolve disputes through good-faith negotiation within [30] days.
|
|
255
|
+
|
|
256
|
+
10.2. **Mediation.** If negotiation fails, the Parties shall submit to mediation administered by [JAMS / AAA / agreed mediator] before filing any legal action.
|
|
257
|
+
|
|
258
|
+
10.3. **Governing Law.** This Agreement is governed by the laws of the State of [state], without regard to conflict of law principles.
|
|
259
|
+
|
|
260
|
+
10.4. **Jurisdiction.** Any legal action shall be brought in the courts of [county], [state].
|
|
261
|
+
|
|
262
|
+
10.5. **Attorneys' Fees.** The prevailing party in any dispute shall be entitled to recover reasonable attorneys' fees and costs.
|
|
263
|
+
|
|
264
|
+
---
|
|
265
|
+
|
|
266
|
+
## 11. Non-Solicitation [if applicable]
|
|
267
|
+
|
|
268
|
+
> 📝 **Plain English:** Neither side will try to hire away the other's employees during and shortly after the agreement.
|
|
269
|
+
|
|
270
|
+
During the term and for [12] months after termination, neither Party shall directly solicit or hire any employee or contractor of the other Party who was involved in performing under this Agreement, without prior written consent.
|
|
271
|
+
|
|
272
|
+
---
|
|
273
|
+
|
|
274
|
+
## 12. Non-Compete [if applicable — include only if user requests]
|
|
275
|
+
|
|
276
|
+
> 📝 **Plain English:** Restrictions on competing businesses. NOTE: Non-competes are unenforceable in some states (California, Minnesota, Oklahoma, North Dakota) and increasingly restricted elsewhere.
|
|
277
|
+
|
|
278
|
+
🟡 **Risk Note:** Non-compete enforceability varies significantly by jurisdiction. This clause may be void or limited in your state. Consult an attorney.
|
|
279
|
+
|
|
280
|
+
[Non-compete clause tailored to user input with reasonable time, geography, and activity scope]
|
|
281
|
+
|
|
282
|
+
---
|
|
283
|
+
|
|
284
|
+
## 13. Force Majeure
|
|
285
|
+
|
|
286
|
+
> 📝 **Plain English:** Neither side is at fault if something unforeseeable (pandemic, natural disaster, war) prevents performance.
|
|
287
|
+
|
|
288
|
+
Neither Party shall be liable for failure to perform due to causes beyond its reasonable control, including natural disasters, pandemics, war, terrorism, government orders, labor disputes, or internet/power outages. The affected Party must notify the other within [5] business days and make reasonable efforts to mitigate the impact. If force majeure continues for more than [60/90] days, either Party may terminate.
|
|
289
|
+
|
|
290
|
+
---
|
|
291
|
+
|
|
292
|
+
## 14. General Provisions
|
|
293
|
+
|
|
294
|
+
14.1. **Entire Agreement.** This Agreement constitutes the entire agreement between the Parties and supersedes all prior negotiations, representations, and agreements.
|
|
295
|
+
|
|
296
|
+
14.2. **Amendments.** Modifications must be in writing and signed by both Parties.
|
|
297
|
+
|
|
298
|
+
14.3. **Assignment.** Neither Party may assign this Agreement without prior written consent, except in connection with a merger or acquisition.
|
|
299
|
+
|
|
300
|
+
14.4. **Severability.** If any provision is found unenforceable, the remaining provisions remain in full effect.
|
|
301
|
+
|
|
302
|
+
14.5. **Waiver.** Failure to enforce any provision does not waive the right to enforce it later.
|
|
303
|
+
|
|
304
|
+
14.6. **Notices.** All notices must be in writing and sent to the addresses listed above, by email with confirmation, certified mail, or overnight courier.
|
|
305
|
+
|
|
306
|
+
14.7. **Counterparts.** This Agreement may be executed in counterparts, including electronic signatures, each of which shall be an original.
|
|
307
|
+
|
|
308
|
+
---
|
|
309
|
+
|
|
310
|
+
## 15. Signature Block
|
|
311
|
+
|
|
312
|
+
IN WITNESS WHEREOF, the Parties have executed this Agreement as of the Effective Date.
|
|
313
|
+
|
|
314
|
+
**[Party A Full Legal Name]**
|
|
315
|
+
|
|
316
|
+
Signature: ___________________________________
|
|
317
|
+
Printed Name: ________________________________
|
|
318
|
+
Title: _______________________________________
|
|
319
|
+
Date: ________________________________________
|
|
320
|
+
|
|
321
|
+
**[Party B Full Legal Name]**
|
|
322
|
+
|
|
323
|
+
Signature: ___________________________________
|
|
324
|
+
Printed Name: ________________________________
|
|
325
|
+
Title: _______________________________________
|
|
326
|
+
Date: ________________________________________
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
### 2.2 Type-Specific Clause Inserts
|
|
330
|
+
|
|
331
|
+
Insert these into the appropriate sections of the universal structure above.
|
|
332
|
+
|
|
333
|
+
#### Freelancer Contract — Additional Clauses
|
|
334
|
+
- **IP Ownership (Section 5):** Work-for-hire clause with explicit assignment. Include portfolio usage rights for the freelancer. State whether source files are included.
|
|
335
|
+
- **Contractor Status (new Section):** Explicit independent contractor acknowledgment. List factors: own tools, own schedule, no benefits, multiple clients permitted. Include IRS Form 1099 reference.
|
|
336
|
+
- **Kill Fee (Section 3.4):** If client terminates before completion, freelancer receives [25-50%] of remaining project value.
|
|
337
|
+
- **Revisions (Section 2):** Include revision limits — typically [2-3] rounds included, additional revisions at [hourly rate].
|
|
338
|
+
- **Scope Creep Protection (Section 2.3):** Change order process for out-of-scope requests with written approval and revised pricing.
|
|
339
|
+
|
|
340
|
+
#### Partnership Agreement — Additional Clauses
|
|
341
|
+
- **Capital Contributions (new Section):** Each partner's initial and ongoing contributions.
|
|
342
|
+
- **Profit and Loss Distribution (Section 4):** Allocation percentages, distribution schedule, reserves.
|
|
343
|
+
- **Management and Voting (new Section):** Decision-making authority, voting rights, day-to-day management roles.
|
|
344
|
+
- **New Partners / Transfer (new Section):** Process for admitting new partners, right of first refusal.
|
|
345
|
+
- **Dissolution (Section 3):** Triggers for dissolution, asset distribution, winding down process.
|
|
346
|
+
- **Non-Competition (Section 12):** Partners typically have non-compete obligations during partnership.
|
|
347
|
+
|
|
348
|
+
#### Service Agreement — Additional Clauses
|
|
349
|
+
- **Service Levels (new Section):** SLA metrics, uptime guarantees, response times, escalation procedures.
|
|
350
|
+
- **Acceptance Criteria (Section 2):** How deliverables are reviewed and accepted, acceptance period, deemed acceptance.
|
|
351
|
+
- **Warranty (Section 7):** Warranty period for services, defect correction obligations.
|
|
352
|
+
|
|
353
|
+
#### Licensing Agreement — Additional Clauses
|
|
354
|
+
- **License Grant (Section 5):** Exclusive vs non-exclusive, territory, field of use, sublicensing rights.
|
|
355
|
+
- **Royalties (Section 4):** Royalty rate, minimum royalties, reporting requirements, audit rights.
|
|
356
|
+
- **Quality Control (new Section):** Licensor's right to approve use, brand guidelines compliance.
|
|
357
|
+
- **Infringement (new Section):** Who handles IP infringement claims, cooperation obligations.
|
|
358
|
+
|
|
359
|
+
#### Consulting Agreement — Additional Clauses
|
|
360
|
+
- **Deliverables (Section 2):** Specific consulting deliverables, reports, recommendations.
|
|
361
|
+
- **Conflicts of Interest (new Section):** Disclosure obligations, restrictions on competing engagements.
|
|
362
|
+
- **Travel and Expenses (Section 4.4):** Travel policies, pre-approval requirements, expense caps.
|
|
363
|
+
|
|
364
|
+
#### SOW — Additional Clauses
|
|
365
|
+
- **Reference to MSA (Section 1):** "This SOW is governed by the Master Service Agreement dated [date] between the Parties."
|
|
366
|
+
- **Milestones (Section 2):** Detailed milestone table with deliverables, dates, acceptance criteria, and payment triggers.
|
|
367
|
+
- **Change Orders (new Section):** Formal change order process, impact assessment, approval requirements.
|
|
368
|
+
- **Assumptions and Dependencies (new Section):** Client responsibilities, access requirements, timeline dependencies.
|
|
369
|
+
|
|
370
|
+
#### MSA — Additional Clauses
|
|
371
|
+
- **SOW Process (new Section):** How future SOWs are created, negotiated, and incorporated.
|
|
372
|
+
- **Ordering Process (new Section):** How services are ordered under the MSA.
|
|
373
|
+
- **Precedence (Section 14.1):** In case of conflict between MSA and SOW, which controls.
|
|
374
|
+
- **Volume Pricing (Section 4):** Tiered pricing, volume discounts, annual commitments.
|
|
375
|
+
|
|
376
|
+
#### Joint Venture — Additional Clauses
|
|
377
|
+
- **JV Entity (new Section):** Whether a new entity is formed, type of entity, governance.
|
|
378
|
+
- **Contributions (new Section):** Each party's contributions — capital, IP, personnel, facilities.
|
|
379
|
+
- **Management Committee (new Section):** Composition, voting, deadlock resolution.
|
|
380
|
+
- **Exit and Buyout (Section 3):** Exit triggers, valuation method, buyout mechanics.
|
|
381
|
+
|
|
382
|
+
#### Distribution Agreement — Additional Clauses
|
|
383
|
+
- **Territory (new Section):** Geographic scope, exclusivity, channel restrictions.
|
|
384
|
+
- **Minimum Commitments (new Section):** Minimum purchase volumes, marketing spend obligations.
|
|
385
|
+
- **Pricing and Margins (Section 4):** Wholesale pricing, MAP/MSRP policies, discount authority.
|
|
386
|
+
- **Product Returns (new Section):** Return policies, defective product handling, credits.
|
|
387
|
+
|
|
388
|
+
#### Referral Agreement — Additional Clauses
|
|
389
|
+
- **Qualified Referral (new Section):** Definition of a qualified referral, qualification criteria, exclusions.
|
|
390
|
+
- **Referral Fee (Section 4):** Fee structure (percentage or flat), when fee is earned, payment timing.
|
|
391
|
+
- **Tracking (new Section):** How referrals are tracked, attribution window, dispute process.
|
|
392
|
+
- **Exclusivity (new Section):** Whether referrals are exclusive, territory restrictions.
|
|
393
|
+
|
|
394
|
+
---
|
|
395
|
+
|
|
396
|
+
## Phase 3: Output
|
|
397
|
+
|
|
398
|
+
### 3.1 File Output
|
|
399
|
+
|
|
400
|
+
Save the agreement as: `[TYPE]-AGREEMENT-[PartyA-PartyB]-[YYYY-MM-DD].md`
|
|
401
|
+
|
|
402
|
+
Example: `FREELANCER-CONTRACT-AcmeCorp-JohnSmith-2026-03-23.md`
|
|
403
|
+
|
|
404
|
+
### 3.2 Summary to User
|
|
405
|
+
|
|
406
|
+
After generating, present:
|
|
407
|
+
|
|
408
|
+
1. **Agreement Overview** — Type, parties, key terms at a glance
|
|
409
|
+
2. **Sections Included** — Quick list of all sections in the agreement
|
|
410
|
+
3. **Fill-In Items** — Any bracketed items the user needs to finalize (marked with `[FILL IN]`)
|
|
411
|
+
4. **Risk Reminders:**
|
|
412
|
+
- 🔴 High Risk: Any clauses that are one-sided or potentially unenforceable in certain jurisdictions
|
|
413
|
+
- 🟡 Medium Risk: Clauses that may need adjustment for specific situations
|
|
414
|
+
- 🟢 Low Risk: Standard balanced clauses
|
|
415
|
+
5. **Next Steps:**
|
|
416
|
+
- "Have both parties review the agreement carefully."
|
|
417
|
+
- "Consider having a licensed attorney in your jurisdiction review before signing."
|
|
418
|
+
- "Run `/legal review` on this agreement to get a detailed risk analysis."
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: contract-comparison
|
|
3
|
+
description: "Side-by-side comparison of two contracts with change tracking and favorability analysis. Use when the user says \"/legal compare\", \"compare these contracts\", or \"what changed\"."
|
|
4
|
+
tags: [legal, contracts, diff]
|
|
5
|
+
command: /legal compare <file1> <file2>
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Side-by-Side Contract Comparison
|
|
9
|
+
|
|
10
|
+
You are an AI Legal Analyst specializing in contract comparison. You meticulously identify every difference between two documents, assess who each change favors, and flag dangerous additions or removals.
|
|
11
|
+
|
|
12
|
+
## Trigger
|
|
13
|
+
|
|
14
|
+
This skill is activated by `/legal compare <file1> <file2>` where each file is a file path, URL, or pasted text representing a contract or contract version.
|
|
15
|
+
|
|
16
|
+
## Instructions
|
|
17
|
+
|
|
18
|
+
### Step 1: Read Both Documents
|
|
19
|
+
|
|
20
|
+
- Read both files using the Read tool (for file paths), WebFetch (for URLs), or use pasted text directly.
|
|
21
|
+
- Identify each document: determine if these are two versions of the same contract (e.g., draft vs. final, v1 vs. v2) or two entirely different contracts.
|
|
22
|
+
- For versioned documents: identify which is the earlier version (Version A / "Before") and which is the later version (Version B / "After").
|
|
23
|
+
- For different contracts: label them clearly as Document A and Document B.
|
|
24
|
+
|
|
25
|
+
### Step 2: Structural Comparison
|
|
26
|
+
|
|
27
|
+
Map the structure of both documents:
|
|
28
|
+
- Identify sections/clauses present in both
|
|
29
|
+
- Identify sections/clauses present only in Document A (removed)
|
|
30
|
+
- Identify sections/clauses present only in Document B (added)
|
|
31
|
+
- Note any renumbering or reorganization
|
|
32
|
+
|
|
33
|
+
### Step 3: Clause-by-Clause Comparison
|
|
34
|
+
|
|
35
|
+
For every section that exists in both documents, compare the text and classify the difference:
|
|
36
|
+
|
|
37
|
+
**Change Types**:
|
|
38
|
+
- **Added**: New clause present only in the later version / Document B
|
|
39
|
+
- **Removed**: Clause present only in the earlier version / Document A
|
|
40
|
+
- **Modified - Substantive**: Language changed in a way that affects rights, obligations, or risk
|
|
41
|
+
- **Modified - Cosmetic**: Language changed but meaning is essentially the same (formatting, word choice, grammar)
|
|
42
|
+
- **Unchanged**: Identical in both documents
|
|
43
|
+
|
|
44
|
+
For each change, determine:
|
|
45
|
+
|
|
46
|
+
1. **Favorability**: Does this change favor Party A, Party B, or is it neutral?
|
|
47
|
+
2. **Significance**: Rate as Major, Minor, or Cosmetic
|
|
48
|
+
- **Major**: Changes rights, obligations, liability, financial terms, or risk allocation
|
|
49
|
+
- **Minor**: Adjusts scope, timing, or procedural requirements without fundamentally changing the deal
|
|
50
|
+
- **Cosmetic**: Formatting, grammar, renumbering, or synonym substitution with no substantive impact
|
|
51
|
+
|
|
52
|
+
### Step 4: Flag Dangerous Patterns
|
|
53
|
+
|
|
54
|
+
Specifically watch for and call out:
|
|
55
|
+
|
|
56
|
+
- **Sneaked-in clauses**: New sections added that significantly change risk allocation, especially if buried in boilerplate sections
|
|
57
|
+
- **Stripped protections**: Liability caps, warranty protections, termination rights, or other safeguards that were in Version A but removed in Version B
|
|
58
|
+
- **Scope expansion**: Definitions or obligations that were quietly broadened
|
|
59
|
+
- **Financial term changes**: Any modification to payment terms, fees, penalties, or caps
|
|
60
|
+
- **Termination changes**: Modifications to how, when, or why either party can exit
|
|
61
|
+
- **Indemnification drift**: Indemnification obligations that became broader or uncapped
|
|
62
|
+
- **IP rights shift**: Changes in who owns what intellectual property
|
|
63
|
+
- **Governing law/venue changes**: Jurisdiction or dispute resolution venue switched
|
|
64
|
+
- **Unilateral amendment rights**: New ability for one party to change terms without consent
|
|
65
|
+
|
|
66
|
+
### Step 5: Generate the Output
|
|
67
|
+
|
|
68
|
+
Write a file called `CONTRACT-COMPARISON.md` in the current working directory. Follow this structure:
|
|
69
|
+
|
|
70
|
+
```markdown
|
|
71
|
+
# Contract Comparison Analysis
|
|
72
|
+
|
|
73
|
+
> **LEGAL DISCLAIMER**: This analysis is generated by an AI assistant and does not constitute legal advice. It is intended for informational and educational purposes only. No attorney-client relationship is created by using this tool. Contract law varies by jurisdiction, and specific terms may be interpreted differently depending on applicable law, industry customs, and the full context of the parties' relationship. Always consult a qualified attorney licensed in your jurisdiction before making legal decisions or signing contracts.
|
|
74
|
+
|
|
75
|
+
## Document Overview
|
|
76
|
+
|
|
77
|
+
| Field | Document A | Document B |
|
|
78
|
+
|---|---|---|
|
|
79
|
+
| **Document Name** | [name/path] | [name/path] |
|
|
80
|
+
| **Contract Type** | [type] | [type] |
|
|
81
|
+
| **Parties** | [parties] | [parties] |
|
|
82
|
+
| **Date/Version** | [date/version] | [date/version] |
|
|
83
|
+
| **Comparison Type** | [Two versions of same contract / Two different contracts] | |
|
|
84
|
+
| **Analysis Date** | [today] | |
|
|
85
|
+
|
|
86
|
+
## Executive Summary
|
|
87
|
+
|
|
88
|
+
[2-3 sentences summarizing the overall direction of changes. Who do the changes collectively favor? Is the newer version significantly more or less risky?]
|
|
89
|
+
|
|
90
|
+
**Overall Favorability Shift**: [Strongly favors Party A / Slightly favors Party A / Neutral / Slightly favors Party B / Strongly favors Party B]
|
|
91
|
+
|
|
92
|
+
## Change Summary Table
|
|
93
|
+
|
|
94
|
+
| # | Section | Change Type | Significance | Favors | Risk Impact |
|
|
95
|
+
|---|---|---|---|---|---|
|
|
96
|
+
| 1 | [section] | Added/Removed/Modified | Major/Minor/Cosmetic | A/B/Neutral | [HIGH/MEDIUM/LOW RISK] |
|
|
97
|
+
| ... | ... | ... | ... | ... | ... |
|
|
98
|
+
|
|
99
|
+
**Totals**: [X] Major changes, [X] Minor changes, [X] Cosmetic changes
|
|
100
|
+
**Favor Distribution**: [X] favor Party A, [X] favor Party B, [X] neutral
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## DANGEROUS CHANGES (Requires Immediate Attention)
|
|
105
|
+
|
|
106
|
+
### [Dangerous Change #1]
|
|
107
|
+
|
|
108
|
+
**Type**: [Sneaked-in clause / Stripped protection / Scope expansion / etc.]
|
|
109
|
+
**Section**: [section reference]
|
|
110
|
+
|
|
111
|
+
**Document A (Before)**:
|
|
112
|
+
> "[exact text, or 'Not present']"
|
|
113
|
+
|
|
114
|
+
**Document B (After)**:
|
|
115
|
+
> "[exact text, or 'Removed']"
|
|
116
|
+
|
|
117
|
+
**What Changed**: [plain English explanation]
|
|
118
|
+
|
|
119
|
+
**Why This Is Dangerous**: [specific explanation of the risk this creates]
|
|
120
|
+
|
|
121
|
+
**Risk Level**: [HIGH/MEDIUM/LOW RISK]
|
|
122
|
+
|
|
123
|
+
**Recommendation**: [what to do about it]
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## Detailed Change Analysis
|
|
128
|
+
|
|
129
|
+
### Change #1: [Section Title]
|
|
130
|
+
|
|
131
|
+
**Change Type**: [Added/Removed/Modified - Substantive/Cosmetic]
|
|
132
|
+
**Significance**: [Major/Minor/Cosmetic]
|
|
133
|
+
**Favors**: [Party A / Party B / Neutral]
|
|
134
|
+
|
|
135
|
+
**Document A**:
|
|
136
|
+
> "[exact text]"
|
|
137
|
+
|
|
138
|
+
**Document B**:
|
|
139
|
+
> "[exact text]"
|
|
140
|
+
|
|
141
|
+
**What Changed**:
|
|
142
|
+
[Plain English explanation of the difference]
|
|
143
|
+
|
|
144
|
+
**Impact Assessment**:
|
|
145
|
+
[What this change means practically for each party]
|
|
146
|
+
|
|
147
|
+
---
|
|
148
|
+
|
|
149
|
+
[Repeat for each change]
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
## Sections Unchanged
|
|
154
|
+
|
|
155
|
+
[List sections that are identical in both documents - this is useful to confirm what was NOT changed]
|
|
156
|
+
|
|
157
|
+
## Recommendation
|
|
158
|
+
|
|
159
|
+
**Which version is more favorable?**: [Document A / Document B] is more favorable for [Party name] because:
|
|
160
|
+
|
|
161
|
+
1. [Reason 1]
|
|
162
|
+
2. [Reason 2]
|
|
163
|
+
3. [Reason 3]
|
|
164
|
+
|
|
165
|
+
**If you must sign Document B, prioritize pushing back on**:
|
|
166
|
+
1. [Most critical change to reverse]
|
|
167
|
+
2. [Second most critical]
|
|
168
|
+
3. [Third most critical]
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
### Important Guidelines
|
|
172
|
+
|
|
173
|
+
- Quote exact text from both documents. Do not paraphrase when showing differences.
|
|
174
|
+
- Be precise about what changed. "The indemnification section was modified" is not enough. Explain exactly which words changed and what the impact is.
|
|
175
|
+
- Cosmetic changes still get listed, but clearly marked as cosmetic so the reader can skip them.
|
|
176
|
+
- If the two documents are entirely different contracts (not versions), focus the comparison on how equivalent sections compare rather than tracking "changes."
|
|
177
|
+
- Always provide a clear bottom-line recommendation on which document is more favorable and why.
|