@kensaurus/skills 0.0.0-stage → 2.1.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 +53 -0
- package/.claude-plugin/plugin.json +40 -0
- package/.cursor-plugin/plugin.json +38 -0
- package/.mcp.json +28 -0
- package/CHANGELOG.md +1790 -0
- package/LICENSE +21 -0
- package/LICENSE-APACHE +62 -0
- package/NOTICE +13 -0
- package/README.md +821 -2
- package/SECURITY.md +55 -0
- package/agents/code-reviewer.md +60 -0
- package/agents/completion-judge.md +89 -0
- package/agents/db-migrator.md +125 -0
- package/agents/debugger.md +47 -0
- package/agents/deploy-checker.md +100 -0
- package/agents/perf-monitor.md +74 -0
- package/assets/favicon.png +0 -0
- package/assets/logo-light.png +0 -0
- package/assets/logo.png +0 -0
- package/assets/logo.svg +6 -0
- package/assets/og.png +0 -0
- package/bin/install.mjs +1127 -0
- package/bin/kenji.js +2 -0
- package/commands/adr.md +17 -0
- package/commands/aeo-plan.md +18 -0
- package/commands/arch-boundaries.md +17 -0
- package/commands/aso-plan.md +18 -0
- package/commands/auth-flows.md +19 -0
- package/commands/backup-plan.md +17 -0
- package/commands/burndown-full.md +25 -0
- package/commands/capacitor-plan.md +18 -0
- package/commands/codemod-safety.md +22 -0
- package/commands/commit.md +18 -0
- package/commands/complete-everything.md +40 -0
- package/commands/cost-plan.md +19 -0
- package/commands/deadcode-plan.md +26 -0
- package/commands/deadcode.md +32 -0
- package/commands/debug-issue.md +17 -0
- package/commands/deps-plan.md +18 -0
- package/commands/docs-plan.md +17 -0
- package/commands/doctrine.md +19 -0
- package/commands/error-plan.md +19 -0
- package/commands/feedback-to-closure.md +36 -0
- package/commands/fix-issue.md +76 -0
- package/commands/gate-logic.md +26 -0
- package/commands/green-repo.md +36 -0
- package/commands/grill-me.md +19 -0
- package/commands/gtm-plan.md +21 -0
- package/commands/gtm-weekly.md +17 -0
- package/commands/gtm.md +22 -0
- package/commands/handoff.md +15 -0
- package/commands/housekeep-backlog.md +18 -0
- package/commands/housekeep-files.md +22 -0
- package/commands/housekeep-gates.md +18 -0
- package/commands/instant-nav.md +11 -0
- package/commands/integrity-plan.md +19 -0
- package/commands/launch-kit.md +16 -0
- package/commands/mcp-guide.md +40 -0
- package/commands/mobile-plan.md +19 -0
- package/commands/native-rn-monorepo/README.md +78 -0
- package/commands/native-rn-monorepo/android-build.md +26 -0
- package/commands/native-rn-monorepo/android-install.md +32 -0
- package/commands/native-rn-monorepo/android-logcat.md +37 -0
- package/commands/native-rn-monorepo/ios-ci-logs.md +56 -0
- package/commands/native-rn-monorepo/ios-ci-status.md +52 -0
- package/commands/native-rn-monorepo/ios-ci-trigger.md +59 -0
- package/commands/native-rn-monorepo/rn-reset.md +50 -0
- package/commands/native-rn-monorepo/rn-ship-ios.md +67 -0
- package/commands/native-rn-monorepo/rn-verify.md +53 -0
- package/commands/perf-plan.md +18 -0
- package/commands/plan-mode.md +74 -0
- package/commands/pr.md +16 -0
- package/commands/pricing-plan.md +20 -0
- package/commands/privacy-plan.md +18 -0
- package/commands/readability.md +12 -0
- package/commands/readme.md +15 -0
- package/commands/refactor.md +15 -0
- package/commands/release-prep.md +17 -0
- package/commands/research.md +25 -0
- package/commands/responsive-audit.md +21 -0
- package/commands/review-code.md +18 -0
- package/commands/rls-plan.md +18 -0
- package/commands/secrets-plan.md +18 -0
- package/commands/security-plan.md +19 -0
- package/commands/ship-and-observe.md +36 -0
- package/commands/skill-conflicts.md +19 -0
- package/commands/slop-plan.md +18 -0
- package/commands/stub-plan.md +18 -0
- package/commands/test-mutation.md +16 -0
- package/commands/test-plan.md +17 -0
- package/commands/test.md +29 -0
- package/commands/thirdparty-web-interface-guidelines.md +185 -0
- package/commands/uiux-plan.md +18 -0
- package/commands/uiux.md +45 -0
- package/commands/update-deps.md +21 -0
- package/commands/validation-plan.md +19 -0
- package/commands-portable/fix-issue.md +72 -0
- package/commands-portable/plan-mode.md +92 -0
- package/commands-portable/research.md +91 -0
- package/docs/screenshots/README.md +5 -0
- package/docs/screenshots/audit-dark.png +0 -0
- package/docs/screenshots/build-dark.png +0 -0
- package/docs/screenshots/grill-dark.png +0 -0
- package/docs/screenshots/hero-dark.png +0 -0
- package/docs/screenshots/hero-light.png +0 -0
- package/docs/screenshots/ship-dark.png +0 -0
- package/docs/screenshots/src/showcase.html +320 -0
- package/hooks/completion-gate.mjs +258 -0
- package/hooks/cursor-hooks.json +13 -0
- package/hooks/hooks.json +15 -0
- package/install.sh +21 -0
- package/llms.txt +40 -0
- package/mcp/README.md +266 -0
- package/mcp/VERSIONS.md +41 -0
- package/mcp/mcp-full.json.template +124 -0
- package/mcp/mcp.json.template +29 -0
- package/mcp/pinned-versions.json +27 -0
- package/package.json +94 -4
- package/rules/approved-plan-execution.mdc +65 -0
- package/rules/full-stack-ship-discipline.mdc +37 -0
- package/rules/native-rn-monorepo/README.md +63 -0
- package/rules/native-rn-monorepo/_project.mdc +69 -0
- package/rules/native-rn-monorepo/native-android.mdc +72 -0
- package/rules/native-rn-monorepo/native-ios.mdc +61 -0
- package/rules/native-rn-monorepo/react-native-js.mdc +78 -0
- package/rules/native-rn-monorepo/web.mdc +60 -0
- package/rules/project-starter/components.mdc +54 -0
- package/rules/project-starter/data-fetching.mdc +77 -0
- package/rules/project-starter/git.mdc +41 -0
- package/rules/project-starter/supabase.mdc +37 -0
- package/rules/project-starter/tailwind.mdc +48 -0
- package/rules/project-starter/typescript.mdc +36 -0
- package/rules/project-starter/web-performance.mdc +42 -0
- package/rules/senior-engineer.mdc +30 -0
- package/rules/shell-first-search.mdc +19 -0
- package/rules/skill-workflows.mdc +35 -0
- package/rules/verification-before-completion.mdc +57 -0
- package/skills/audit-accessibility/SKILL.md +441 -0
- package/skills/audit-agent-speed/SKILL.md +181 -0
- package/skills/audit-agent-speed/scripts/stop-typecheck.mjs +151 -0
- package/skills/audit-analytics/SKILL.md +138 -0
- package/skills/audit-auth-flows/SKILL.md +267 -0
- package/skills/audit-backend-architecture/SKILL.md +266 -0
- package/skills/audit-backend-architecture/references/patterns.md +386 -0
- package/skills/audit-bundle-size/SKILL.md +295 -0
- package/skills/audit-cicd/SKILL.md +218 -0
- package/skills/audit-code-quality/SKILL.md +314 -0
- package/skills/audit-code-review/SKILL.md +289 -0
- package/skills/audit-codemod-safety/SKILL.md +159 -0
- package/skills/audit-db-schema/SKILL.md +465 -0
- package/skills/audit-db-schema/references/details.md +110 -0
- package/skills/audit-doctrine/SKILL.md +189 -0
- package/skills/audit-env-parity/SKILL.md +133 -0
- package/skills/audit-fe-api/SKILL.md +458 -0
- package/skills/audit-gate-logic/SKILL.md +219 -0
- package/skills/audit-i18n/SKILL.md +339 -0
- package/skills/audit-infra-cost/SKILL.md +142 -0
- package/skills/audit-langfuse-llm/SKILL.md +468 -0
- package/skills/audit-langfuse-llm/references/details.md +226 -0
- package/skills/audit-llm-security/SKILL.md +147 -0
- package/skills/audit-monetization-iap/SKILL.md +137 -0
- package/skills/audit-payment-system/SKILL.md +268 -0
- package/skills/audit-payment-system/references/checklist.md +283 -0
- package/skills/audit-performance/SKILL.md +383 -0
- package/skills/audit-performance/references/loading-priority-2026.md +81 -0
- package/skills/audit-realworld/SKILL.md +287 -0
- package/skills/audit-registry-listing/SKILL.md +122 -0
- package/skills/audit-resilience/SKILL.md +153 -0
- package/skills/audit-responsive/SKILL.md +221 -0
- package/skills/audit-responsive/references/checklist.md +166 -0
- package/skills/audit-security/SKILL.md +289 -0
- package/skills/audit-skill-conflicts/SKILL.md +178 -0
- package/skills/audit-ui-states/SKILL.md +146 -0
- package/skills/audit-uiux-design-system/SKILL.md +475 -0
- package/skills/audit-uiux-design-system/references/details.md +71 -0
- package/skills/audit-ux/SKILL.md +381 -0
- package/skills/audit-ux/references/details.md +245 -0
- package/skills/audit-ux-journeys/SKILL.md +215 -0
- package/skills/audit-ux-journeys/references/checklist.md +179 -0
- package/skills/backend-db-performance/SKILL.md +441 -0
- package/skills/backend-error-handling/SKILL.md +489 -0
- package/skills/backend-error-handling/references/details.md +58 -0
- package/skills/backend-observability/SKILL.md +88 -0
- package/skills/backend-patterns/SKILL.md +499 -0
- package/skills/backend-patterns/references/architecture-patterns.md +298 -0
- package/skills/backend-realtime/SKILL.md +403 -0
- package/skills/backend-realtime/references/patterns.md +74 -0
- package/skills/burndown-full/SKILL.md +174 -0
- package/skills/complete-everything/SKILL.md +295 -0
- package/skills/data-pipeline/SKILL.md +109 -0
- package/skills/data-visualization/SKILL.md +488 -0
- package/skills/debug-error/SKILL.md +322 -0
- package/skills/debug-fe-be-integration/SKILL.md +459 -0
- package/skills/debug-sentry-monitor/SKILL.md +497 -0
- package/skills/debug-sentry-monitor/references/details.md +165 -0
- package/skills/deploy-npm/SKILL.md +394 -0
- package/skills/deploy-npm/references/example-mushi-mushi.md +52 -0
- package/skills/deploy-verify/SKILL.md +489 -0
- package/skills/design-api/SKILL.md +379 -0
- package/skills/design-canvas/SKILL.md +155 -0
- package/skills/design-email/SKILL.md +370 -0
- package/skills/design-frontend/SKILL.md +143 -0
- package/skills/design-generative-art/SKILL.md +474 -0
- package/skills/design-mobile-first/SKILL.md +506 -0
- package/skills/design-motion/SKILL.md +333 -0
- package/skills/design-motion/references/delight-interactions.md +191 -0
- package/skills/design-prd/SKILL.md +443 -0
- package/skills/design-system/SKILL.md +457 -0
- package/skills/design-theme/SKILL.md +226 -0
- package/skills/design-theme/themes/tsumagoi-ranch.md +150 -0
- package/skills/docs-adr/SKILL.md +168 -0
- package/skills/docs-coauthor/SKILL.md +368 -0
- package/skills/docs-comparison-pages/SKILL.md +117 -0
- package/skills/docs-domain-modeling/SKILL.md +97 -0
- package/skills/docs-launch-kit/SKILL.md +139 -0
- package/skills/docs-writer/SKILL.md +469 -0
- package/skills/enhance-agent-guardrails/SKILL.md +164 -0
- package/skills/enhance-arch-boundaries/SKILL.md +154 -0
- package/skills/enhance-capacitor-ui/SKILL.md +463 -0
- package/skills/enhance-capacitor-ui/references/details.md +750 -0
- package/skills/enhance-email-deliverability/SKILL.md +143 -0
- package/skills/enhance-growth-loops/SKILL.md +122 -0
- package/skills/enhance-lifecycle-email/SKILL.md +130 -0
- package/skills/enhance-motion/SKILL.md +193 -0
- package/skills/enhance-onboarding/SKILL.md +148 -0
- package/skills/enhance-pwa/SKILL.md +303 -0
- package/skills/enhance-readability/SKILL.md +146 -0
- package/skills/enhance-readme/SKILL.md +496 -0
- package/skills/enhance-readme/package-lock.json +187 -0
- package/skills/enhance-readme/package.json +17 -0
- package/skills/enhance-readme/scripts/generate-readme-blocks.mjs +199 -0
- package/skills/enhance-readme/scripts/record-readme-tour.mjs +442 -0
- package/skills/enhance-skill-prompts/SKILL.md +167 -0
- package/skills/enhance-skill-prompts/references/exemplar-audit-auth-flows.md +311 -0
- package/skills/enhance-ux-laws/SKILL.md +409 -0
- package/skills/enhance-web-conversion/SKILL.md +155 -0
- package/skills/enhance-web-forms/SKILL.md +154 -0
- package/skills/enhance-web-instant-nav/SKILL.md +138 -0
- package/skills/enhance-web-instant-nav/references/bfcache-blockers.md +23 -0
- package/skills/enhance-web-instant-nav/references/early-hints.md +33 -0
- package/skills/enhance-web-instant-nav/references/speculation-rules.md +44 -0
- package/skills/enhance-web-landing/SKILL.md +459 -0
- package/skills/enhance-web-landing/references/details.md +773 -0
- package/skills/enhance-web-redesign/SKILL.md +228 -0
- package/skills/enhance-web-seo/SKILL.md +276 -0
- package/skills/enhance-web-ui/SKILL.md +473 -0
- package/skills/enhance-web-ui/references/details.md +674 -0
- package/skills/enhance-web-ux/HEURISTICS.md +248 -0
- package/skills/enhance-web-ux/PATTERNS.md +375 -0
- package/skills/enhance-web-ux/SKILL.md +464 -0
- package/skills/enhance-web-ux/examples.md +222 -0
- package/skills/enhance-web-ux/references/details.md +406 -0
- package/skills/enhance-web-web3d/SKILL.md +397 -0
- package/skills/enhance-web-web3d/references/css-canvas-effects.md +180 -0
- package/skills/handoff/SKILL.md +66 -0
- package/skills/housekeep-backlog/SKILL.md +149 -0
- package/skills/housekeep-dead-code/SKILL.md +387 -0
- package/skills/housekeep-dead-code/references/ratchet-ci.md +205 -0
- package/skills/housekeep-dead-code/references/supabase-hygiene.md +152 -0
- package/skills/housekeep-design/SKILL.md +207 -0
- package/skills/housekeep-files/SKILL.md +220 -0
- package/skills/housekeep-files/references/naming-and-catalog.md +86 -0
- package/skills/housekeep-files/scripts/housekeep-files.ps1 +360 -0
- package/skills/housekeep-files/scripts/housekeep-files.sh +238 -0
- package/skills/housekeep-gates/SKILL.md +174 -0
- package/skills/iterate-agent-harness/SKILL.md +137 -0
- package/skills/iterate-gtm-weekly/SKILL.md +103 -0
- package/skills/iterate-post-launch/SKILL.md +292 -0
- package/skills/meta-mcp-builder/SKILL.md +313 -0
- package/skills/meta-skill-creator/SKILL.md +304 -0
- package/skills/mobile-capacitor-platform/SKILL.md +103 -0
- package/skills/mobile-emulator-start/SKILL.md +296 -0
- package/skills/mobile-emulator-test/SKILL.md +491 -0
- package/skills/mobile-emulator-test/references/details.md +478 -0
- package/skills/mobile-rn-performance/SKILL.md +107 -0
- package/skills/mobile-rn-screen/SKILL.md +476 -0
- package/skills/mobile-rn-screen/references/details.md +785 -0
- package/skills/mushi-health/SKILL.md +206 -0
- package/skills/mushi-integration/SKILL.md +257 -0
- package/skills/plan-aeo-readiness/SKILL.md +166 -0
- package/skills/plan-antislop/SKILL.md +281 -0
- package/skills/plan-aso/SKILL.md +149 -0
- package/skills/plan-backup-dr/SKILL.md +131 -0
- package/skills/plan-capacitor-hardening/SKILL.md +217 -0
- package/skills/plan-data-integrity/SKILL.md +187 -0
- package/skills/plan-dead-code/SKILL.md +386 -0
- package/skills/plan-dead-code/references/knip-config.md +214 -0
- package/skills/plan-dead-code/references/output-templates.md +133 -0
- package/skills/plan-dead-code/references/preservation-contract.md +50 -0
- package/skills/plan-dead-code/references/residue-greps.md +84 -0
- package/skills/plan-dependency-provenance/SKILL.md +200 -0
- package/skills/plan-docs-sync/SKILL.md +143 -0
- package/skills/plan-docs-sync/references/drift-taxonomy.md +43 -0
- package/skills/plan-docs-sync/references/output-templates.md +33 -0
- package/skills/plan-docs-sync/references/preservation-contract.md +17 -0
- package/skills/plan-error-handling/SKILL.md +205 -0
- package/skills/plan-gtm/SKILL.md +276 -0
- package/skills/plan-gtm/references/benchmarks-2026.md +183 -0
- package/skills/plan-input-validation/SKILL.md +179 -0
- package/skills/plan-llm-cost-guardrails/SKILL.md +176 -0
- package/skills/plan-mobile-readiness/SKILL.md +171 -0
- package/skills/plan-perf-audit/SKILL.md +145 -0
- package/skills/plan-perf-audit/references/audit-scope.md +51 -0
- package/skills/plan-perf-audit/references/output-templates.md +33 -0
- package/skills/plan-perf-audit/references/preservation-contract.md +13 -0
- package/skills/plan-pricing/SKILL.md +173 -0
- package/skills/plan-privacy-compliance/SKILL.md +148 -0
- package/skills/plan-rls-audit/SKILL.md +231 -0
- package/skills/plan-secrets-audit/SKILL.md +181 -0
- package/skills/plan-security-audit/SKILL.md +168 -0
- package/skills/plan-security-audit/references/output-templates.md +36 -0
- package/skills/plan-security-audit/references/owasp-supabase-scope.md +55 -0
- package/skills/plan-security-audit/references/preservation-contract.md +18 -0
- package/skills/plan-stub-checker/SKILL.md +216 -0
- package/skills/plan-stub-checker/references/detection-methodology.md +75 -0
- package/skills/plan-stub-checker/references/detection-taxonomy.md +34 -0
- package/skills/plan-stub-checker/references/output-templates.md +63 -0
- package/skills/plan-stub-checker/references/preservation-contract.md +24 -0
- package/skills/plan-test-coverage/SKILL.md +170 -0
- package/skills/plan-test-coverage/references/methodology.md +54 -0
- package/skills/plan-test-coverage/references/output-templates.md +34 -0
- package/skills/plan-test-coverage/references/preservation-contract.md +15 -0
- package/skills/plan-uiux-unification/SKILL.md +230 -0
- package/skills/plan-uiux-unification/references/output-templates.md +67 -0
- package/skills/plan-uiux-unification/references/phase-workbook.md +85 -0
- package/skills/plan-uiux-unification/references/preservation-contract.md +24 -0
- package/skills/protocol-browser-anti-stall/SKILL.md +211 -0
- package/skills/protocol-browser-anti-stall/references/mcp-to-cli-map.md +113 -0
- package/skills/protocol-browser-anti-stall/references/playwright-session-coordination.md +170 -0
- package/skills/research/SKILL.md +422 -0
- package/skills/test-exploratory/SKILL.md +165 -0
- package/skills/test-exploratory/references/charter-template.md +29 -0
- package/skills/test-load/SKILL.md +126 -0
- package/skills/test-mutation/SKILL.md +160 -0
- package/skills/test-playwright/SKILL.md +354 -0
- package/skills/test-qa/SKILL.md +364 -0
- package/skills/test-qa/references/details.md +268 -0
- package/skills/test-red-team/SKILL.md +386 -0
- package/skills/test-red-team/references/owasp-attack-checklist.md +193 -0
- package/skills/test-unit/SKILL.md +259 -0
- package/skills/test-unit/references/details.md +267 -0
- package/skills/test-visual-regression/SKILL.md +132 -0
- package/skills/thirdparty-emil-design-eng/ATTRIBUTION.md +20 -0
- package/skills/thirdparty-emil-design-eng/SKILL.md +21 -0
- package/skills/thirdparty-emil-design-eng/references/emil-design-eng.md +676 -0
- package/skills/thirdparty-ui-ux-pro-max/ATTRIBUTION.md +22 -0
- package/skills/thirdparty-ui-ux-pro-max/SKILL.md +304 -0
- package/skills/thirdparty-ui-ux-pro-max/data/charts.csv +26 -0
- package/skills/thirdparty-ui-ux-pro-max/data/colors.csv +97 -0
- package/skills/thirdparty-ui-ux-pro-max/data/icons.csv +101 -0
- package/skills/thirdparty-ui-ux-pro-max/data/landing.csv +31 -0
- package/skills/thirdparty-ui-ux-pro-max/data/products.csv +97 -0
- package/skills/thirdparty-ui-ux-pro-max/data/react-performance.csv +45 -0
- package/skills/thirdparty-ui-ux-pro-max/data/stacks/astro.csv +54 -0
- package/skills/thirdparty-ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/skills/thirdparty-ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/skills/thirdparty-ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
- package/skills/thirdparty-ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/skills/thirdparty-ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
- package/skills/thirdparty-ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- package/skills/thirdparty-ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/skills/thirdparty-ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/skills/thirdparty-ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- package/skills/thirdparty-ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/skills/thirdparty-ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/skills/thirdparty-ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/skills/thirdparty-ui-ux-pro-max/data/styles.csv +68 -0
- package/skills/thirdparty-ui-ux-pro-max/data/typography.csv +58 -0
- package/skills/thirdparty-ui-ux-pro-max/data/ui-reasoning.csv +101 -0
- package/skills/thirdparty-ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/skills/thirdparty-ui-ux-pro-max/data/web-interface.csv +31 -0
- package/skills/thirdparty-ui-ux-pro-max/scripts/core.py +253 -0
- package/skills/thirdparty-ui-ux-pro-max/scripts/design_system.py +1067 -0
- package/skills/thirdparty-ui-ux-pro-max/scripts/search.py +114 -0
- package/skills/thirdparty-web-interface-guidelines/ATTRIBUTION.md +23 -0
- package/skills/thirdparty-web-interface-guidelines/SKILL.md +190 -0
- package/skills/workflow-build-feature/SKILL.md +118 -0
- package/skills/workflow-coding-discipline/SKILL.md +140 -0
- package/skills/workflow-environment-ready/SKILL.md +128 -0
- package/skills/workflow-feature-flag/SKILL.md +262 -0
- package/skills/workflow-feedback-to-closure/SKILL.md +165 -0
- package/skills/workflow-fix-and-ship/SKILL.md +136 -0
- package/skills/workflow-git-commit/SKILL.md +200 -0
- package/skills/workflow-green-repo/SKILL.md +166 -0
- package/skills/workflow-grilling/SKILL.md +73 -0
- package/skills/workflow-gtm/SKILL.md +153 -0
- package/skills/workflow-housekeep/SKILL.md +453 -0
- package/skills/workflow-housekeep/references/templates.md +109 -0
- package/skills/workflow-launch-ready/SKILL.md +145 -0
- package/skills/workflow-merge-conflicts/SKILL.md +62 -0
- package/skills/workflow-onboard/SKILL.md +99 -0
- package/skills/workflow-parallel-agents/SKILL.md +164 -0
- package/skills/workflow-pr/SKILL.md +197 -0
- package/skills/workflow-quality-gate/SKILL.md +147 -0
- package/skills/workflow-refactor/SKILL.md +274 -0
- package/skills/workflow-release-prep/SKILL.md +207 -0
- package/skills/workflow-ship-and-observe/SKILL.md +164 -0
- package/skills/workflow-spec-tdd/SKILL.md +141 -0
- package/skills/workflow-spec-tdd/references/spec-template.md +126 -0
- package/skills/workflow-spec-tdd/references/tdd-patterns.md +167 -0
- package/skills-cursor/babysit/SKILL.md +17 -0
- package/skills-cursor/canvas/SKILL.md +142 -0
- package/skills-cursor/canvas/sdk/canvas-tokens.d.ts +235 -0
- package/skills-cursor/canvas/sdk/chart-primitives.d.ts +200 -0
- package/skills-cursor/canvas/sdk/dag-layout.d.ts +102 -0
- package/skills-cursor/canvas/sdk/diff-view.d.ts +130 -0
- package/skills-cursor/canvas/sdk/form-primitives.d.ts +194 -0
- package/skills-cursor/canvas/sdk/hooks.d.ts +117 -0
- package/skills-cursor/canvas/sdk/index.d.ts +47 -0
- package/skills-cursor/canvas/sdk/theme.d.ts +61 -0
- package/skills-cursor/canvas/sdk/todo-list.d.ts +49 -0
- package/skills-cursor/canvas/sdk/ui-primitives.d.ts +549 -0
- package/skills-cursor/canvas/sdk/ui-primitives.test.d.ts +2 -0
- package/skills-cursor/create-hook/SKILL.md +238 -0
- package/skills-cursor/create-rule/SKILL.md +185 -0
- package/skills-cursor/create-skill/SKILL.md +269 -0
- package/skills-cursor/create-skill/references/authoring-guide.md +182 -0
- package/skills-cursor/create-subagent/SKILL.md +228 -0
- package/skills-cursor/migrate-to-skills/SKILL.md +121 -0
- package/skills-cursor/shell/SKILL.md +22 -0
- package/skills-cursor/split-to-prs/SKILL.md +47 -0
- package/skills-cursor/statusline/SKILL.md +193 -0
- package/skills-cursor/update-cli-config/SKILL.md +85 -0
- package/skills-cursor/update-cursor-settings/SKILL.md +137 -0
- package/skills.sh.json +297 -0
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: statusline
|
|
3
|
+
description: Configure a custom status line in the CLI. Use when the user mentions status line, statusline, statusLine, CLI status bar, prompt footer customization, or wants to add session context above the prompt.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
effort: low
|
|
6
|
+
---
|
|
7
|
+
# CLI Status Line
|
|
8
|
+
|
|
9
|
+
The CLI supports a user-configurable status line rendered above the prompt. A command is spawned on each conversation update, receives a JSON payload on stdin describing the session, and its stdout is displayed as the status line. The spec is aligned with [Claude Code's status line](https://code.claude.com/docs/en/statusline).
|
|
10
|
+
|
|
11
|
+
## Configuration
|
|
12
|
+
|
|
13
|
+
Add a `statusLine` entry to `~/.cursor/cli-config.json`:
|
|
14
|
+
|
|
15
|
+
```json
|
|
16
|
+
{
|
|
17
|
+
"statusLine": {
|
|
18
|
+
"type": "command",
|
|
19
|
+
"command": "~/.cursor/statusline.sh",
|
|
20
|
+
"padding": 2
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
The `command` field supports full paths, `~` expansion, and shell-style argument splitting. You can point it at a script file or use an inline command like `jq -r '...'`.
|
|
26
|
+
|
|
27
|
+
| Field | Required | Default | Description |
|
|
28
|
+
|-------|----------|---------|-------------|
|
|
29
|
+
| `type` | yes | — | Must be `"command"` |
|
|
30
|
+
| `command` | yes | — | Path to an executable or inline command. `~` is expanded. |
|
|
31
|
+
| `padding` | no | `0` | Horizontal inset (in characters) for the status line container. |
|
|
32
|
+
| `updateIntervalMs` | no | `300` | Minimum interval between invocations. Clamped to >= 300ms. |
|
|
33
|
+
| `timeoutMs` | no | `2000` | Maximum time the command may run before it is killed. |
|
|
34
|
+
|
|
35
|
+
## Stdin payload
|
|
36
|
+
|
|
37
|
+
The command receives a JSON object on stdin.
|
|
38
|
+
|
|
39
|
+
### Full JSON schema
|
|
40
|
+
|
|
41
|
+
```json
|
|
42
|
+
{
|
|
43
|
+
"session_id": "abc123",
|
|
44
|
+
"session_name": "my session",
|
|
45
|
+
"transcript_path": "/path/to/transcript.jsonl",
|
|
46
|
+
"render_width_chars": 120,
|
|
47
|
+
"cwd": "/Users/me/project",
|
|
48
|
+
"model": {
|
|
49
|
+
"id": "claude-opus-5-5",
|
|
50
|
+
"display_name": "Claude Opus 5.5",
|
|
51
|
+
"param_summary": "(Thinking)",
|
|
52
|
+
"max_mode": true
|
|
53
|
+
},
|
|
54
|
+
"workspace": {
|
|
55
|
+
"current_dir": "/Users/me/project",
|
|
56
|
+
"project_dir": "/Users/me/project/.cursor/transcripts",
|
|
57
|
+
"added_dirs": []
|
|
58
|
+
},
|
|
59
|
+
"version": "1.2.3",
|
|
60
|
+
"output_style": {
|
|
61
|
+
"name": "default"
|
|
62
|
+
},
|
|
63
|
+
"context_window": {
|
|
64
|
+
"total_input_tokens": 15234,
|
|
65
|
+
"total_output_tokens": null,
|
|
66
|
+
"context_window_size": 200000,
|
|
67
|
+
"used_percentage": 34.5,
|
|
68
|
+
"remaining_percentage": 65.5,
|
|
69
|
+
"current_usage": null
|
|
70
|
+
},
|
|
71
|
+
"vim": {
|
|
72
|
+
"mode": "NORMAL"
|
|
73
|
+
},
|
|
74
|
+
"worktree": {
|
|
75
|
+
"name": "my-feature",
|
|
76
|
+
"path": "/Users/me/.cursor/worktrees/repo/my-feature"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### Available fields
|
|
82
|
+
|
|
83
|
+
| Field | Description |
|
|
84
|
+
|-------|-------------|
|
|
85
|
+
| `session_id` | Unique session identifier |
|
|
86
|
+
| `session_name` | Custom session name. Absent if no name has been set |
|
|
87
|
+
| `transcript_path` | Path to conversation transcript file |
|
|
88
|
+
| `render_width_chars` | Usable terminal columns minus built-in padding |
|
|
89
|
+
| `cwd`, `workspace.current_dir` | Current working directory (both contain the same value) |
|
|
90
|
+
| `workspace.project_dir` | Directory where transcripts are stored |
|
|
91
|
+
| `workspace.added_dirs` | Additional directories (empty array for now) |
|
|
92
|
+
| `model.id`, `model.display_name` | Current model identifier and display name |
|
|
93
|
+
| `model.param_summary` | Formatted parameter summary (e.g. "(Thinking)", "High"). Absent when empty |
|
|
94
|
+
| `model.max_mode` | `true` when max mode is enabled. Absent otherwise |
|
|
95
|
+
| `version` | CLI version string |
|
|
96
|
+
| `output_style.name` | `"default"` or `"compact"` |
|
|
97
|
+
| `context_window.total_input_tokens` | Estimated input tokens (derived from used_percentage) |
|
|
98
|
+
| `context_window.total_output_tokens` | Cumulative output tokens (null when not tracked) |
|
|
99
|
+
| `context_window.context_window_size` | Maximum context window size in tokens |
|
|
100
|
+
| `context_window.used_percentage` | Percentage of context window used |
|
|
101
|
+
| `context_window.remaining_percentage` | Percentage of context window remaining |
|
|
102
|
+
| `context_window.current_usage` | Token counts from the last API call (null before first call) |
|
|
103
|
+
| `vim.mode` | `"NORMAL"` or `"INSERT"` when vim mode is enabled |
|
|
104
|
+
| `worktree.name` | Worktree name when running inside a worktree |
|
|
105
|
+
| `worktree.path` | Absolute path to the worktree directory |
|
|
106
|
+
|
|
107
|
+
### Fields that may be absent
|
|
108
|
+
|
|
109
|
+
- `session_name` — only present when a custom name has been set
|
|
110
|
+
- `model.param_summary` — only present when model has non-default parameters
|
|
111
|
+
- `model.max_mode` — only present when max mode is enabled
|
|
112
|
+
- `vim` — only present when vim mode is enabled
|
|
113
|
+
- `worktree` — only present when running in a worktree
|
|
114
|
+
|
|
115
|
+
### Fields that may be null
|
|
116
|
+
|
|
117
|
+
- `context_window.current_usage` — null before the first API call
|
|
118
|
+
- `context_window.used_percentage`, `context_window.remaining_percentage` — may be null early in the session
|
|
119
|
+
|
|
120
|
+
## Stdout / rendering
|
|
121
|
+
|
|
122
|
+
- **Multiple lines** are supported: each line of stdout renders as a separate row in the status area.
|
|
123
|
+
- **ANSI color codes** are supported (use chalk, tput, `\033[32m`, etc.).
|
|
124
|
+
- If the command exits non-zero with empty stdout, the status line is not updated (previous text is kept).
|
|
125
|
+
- If the command times out or a new update arrives while the script is running, the in-flight process is killed.
|
|
126
|
+
- The status line runs locally and does not consume API tokens.
|
|
127
|
+
|
|
128
|
+
## Examples
|
|
129
|
+
|
|
130
|
+
### Basic: model + context usage
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
#!/usr/bin/env bash
|
|
134
|
+
payload=$(cat)
|
|
135
|
+
model=$(echo "$payload" | jq -r '.model.display_name')
|
|
136
|
+
pct=$(echo "$payload" | jq -r '.context_window.used_percentage // 0' | cut -d. -f1)
|
|
137
|
+
printf "\033[90m%s ctx %s%%\033[0m" "$model" "$pct"
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
### Context progress bar
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
#!/usr/bin/env bash
|
|
144
|
+
input=$(cat)
|
|
145
|
+
MODEL=$(echo "$input" | jq -r '.model.display_name')
|
|
146
|
+
PCT=$(echo "$input" | jq -r '.context_window.used_percentage // 0' | cut -d. -f1)
|
|
147
|
+
|
|
148
|
+
BAR_WIDTH=10
|
|
149
|
+
FILLED=$((PCT * BAR_WIDTH / 100))
|
|
150
|
+
EMPTY=$((BAR_WIDTH - FILLED))
|
|
151
|
+
BAR=""
|
|
152
|
+
[ "$FILLED" -gt 0 ] && printf -v FILL "%${FILLED}s" && BAR="${FILL// /▓}"
|
|
153
|
+
[ "$EMPTY" -gt 0 ] && printf -v PAD "%${EMPTY}s" && BAR="${BAR}${PAD// /░}"
|
|
154
|
+
|
|
155
|
+
echo "[$MODEL] $BAR $PCT%"
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
### Multi-line with git info
|
|
159
|
+
|
|
160
|
+
```bash
|
|
161
|
+
#!/usr/bin/env bash
|
|
162
|
+
input=$(cat)
|
|
163
|
+
MODEL=$(echo "$input" | jq -r '.model.display_name')
|
|
164
|
+
DIR=$(echo "$input" | jq -r '.workspace.current_dir')
|
|
165
|
+
PCT=$(echo "$input" | jq -r '.context_window.used_percentage // 0' | cut -d. -f1)
|
|
166
|
+
|
|
167
|
+
BRANCH=""
|
|
168
|
+
git rev-parse --git-dir > /dev/null 2>&1 && BRANCH=" | 🌿 $(git branch --show-current 2>/dev/null)"
|
|
169
|
+
|
|
170
|
+
echo -e "\033[36m[$MODEL]\033[0m 📁 ${DIR##*/}$BRANCH"
|
|
171
|
+
echo -e "ctx $PCT%"
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
### Inline jq command (no script file)
|
|
175
|
+
|
|
176
|
+
```json
|
|
177
|
+
{
|
|
178
|
+
"statusLine": {
|
|
179
|
+
"type": "command",
|
|
180
|
+
"command": "jq -r '\"[\\(.model.display_name)] \\(.context_window.used_percentage // 0)% context\"'"
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
## Testing
|
|
186
|
+
|
|
187
|
+
Test a script with mock input:
|
|
188
|
+
|
|
189
|
+
```bash
|
|
190
|
+
echo '{"model":{"display_name":"Opus"},"context_window":{"used_percentage":25}}' | ./statusline.sh
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
The command is spawned with `child_process.spawn` (no shell on Unix, `shell: true` on Windows for .cmd/.bat compatibility). Updates are debounced at the configured interval. If a new update triggers while a script is running, the in-flight process is killed via `AbortController` and the new invocation starts immediately.
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: update-cli-config
|
|
3
|
+
description: View and modify Cursor CLI configuration in ~/.cursor/cli-config.json. Use to change CLI settings, configure permissions, switch approval mode, enable vim mode, toggle display options, configure sandbox, or manage any CLI preferences.
|
|
4
|
+
metadata:
|
|
5
|
+
surfaces:
|
|
6
|
+
- cli
|
|
7
|
+
disable-model-invocation: true
|
|
8
|
+
effort: low
|
|
9
|
+
---
|
|
10
|
+
# Cursor CLI Configuration
|
|
11
|
+
|
|
12
|
+
This skill explains how to view and modify Cursor CLI settings stored in `~/.cursor/cli-config.json`.
|
|
13
|
+
|
|
14
|
+
## Config File Location
|
|
15
|
+
|
|
16
|
+
The config file is `~/.cursor/cli-config.json`.
|
|
17
|
+
|
|
18
|
+
Projects can layer overrides via `.cursor/cli.json` files. The CLI walks from the git root to the current working directory and merges each `.cursor/cli.json` it finds (deeper files take precedence). Project overrides only affect the current session; they are not written back to the home config.
|
|
19
|
+
|
|
20
|
+
## How to Modify
|
|
21
|
+
|
|
22
|
+
Read `~/.cursor/cli-config.json`, apply changes, and write it back. The file is standard JSON. Changes take effect after restarting the CLI.
|
|
23
|
+
|
|
24
|
+
## Available Settings
|
|
25
|
+
|
|
26
|
+
### `permissions` (required)
|
|
27
|
+
Tool permission rules. Each entry is a string pattern.
|
|
28
|
+
- `allow`: string[] — patterns for allowed tool calls (e.g. `"Shell(**)"`, `"Mcp(server-name, tool-name)"`)
|
|
29
|
+
- `deny`: string[] — patterns for denied tool calls
|
|
30
|
+
|
|
31
|
+
### `editor`
|
|
32
|
+
- `vimMode`: boolean — enable vim keybindings in the CLI input
|
|
33
|
+
- `defaultBehavior`: `"ide"` | `"agent"` — default behavior mode
|
|
34
|
+
|
|
35
|
+
### `display` (optional)
|
|
36
|
+
- `showLineNumbers`: boolean (default: false) — show line numbers in code output
|
|
37
|
+
- `showThinkingBlocks`: boolean (default: false) — show model thinking/reasoning blocks
|
|
38
|
+
- `showStatusIndicators`: boolean (default: false) — show status indicators in the UI
|
|
39
|
+
|
|
40
|
+
### `channel` (optional)
|
|
41
|
+
Release channel: `"prod"` | `"staging"` | `"lab"` | `"static"`
|
|
42
|
+
|
|
43
|
+
### `maxMode` (optional)
|
|
44
|
+
boolean (default: false) — enable max mode for higher-quality model responses
|
|
45
|
+
|
|
46
|
+
### `approvalMode` (optional)
|
|
47
|
+
Controls tool approval behavior:
|
|
48
|
+
- `"allowlist"` (default) — require approval for tools not in the allow list
|
|
49
|
+
- `"unrestricted"` — auto-approve all tool calls (yolo mode)
|
|
50
|
+
|
|
51
|
+
### `sandbox` (optional)
|
|
52
|
+
Sandbox execution environment settings:
|
|
53
|
+
- `mode`: `"disabled"` | `"enabled"` (default: `"disabled"`)
|
|
54
|
+
- `networkAccess`: `"user_config_only"` | `"user_config_with_defaults"` | `"allow_all"` — controls network access from sandbox
|
|
55
|
+
- `networkAllowlist`: string[] — domains the sandbox is allowed to reach
|
|
56
|
+
|
|
57
|
+
### `network` (optional)
|
|
58
|
+
- `useHttp1ForAgent`: boolean (default: false) — use HTTP/1.1 instead of HTTP/2 for agent connections (enables SSE-based streaming)
|
|
59
|
+
|
|
60
|
+
### `bedrock` (optional)
|
|
61
|
+
AWS Bedrock integration settings:
|
|
62
|
+
- `enabled`: boolean (default: false)
|
|
63
|
+
- `mode`: `"access-key"` | `"team-role"` (default: `"access-key"`)
|
|
64
|
+
- `region`: string — AWS region
|
|
65
|
+
- `testModel`: string — model to use for testing
|
|
66
|
+
- `teamRoleArn`: string — IAM role ARN for team mode
|
|
67
|
+
- `teamExternalId`: string — external ID for STS assume-role
|
|
68
|
+
|
|
69
|
+
### `attribution` (optional)
|
|
70
|
+
Controls how agent work is attributed in git:
|
|
71
|
+
- `attributeCommitsToAgent`: boolean (default: true) — attribute commits to the agent
|
|
72
|
+
- `attributePRsToAgent`: boolean (default: true) — attribute PRs to the agent
|
|
73
|
+
|
|
74
|
+
### `webFetchDomainAllowlist` (optional)
|
|
75
|
+
string[] — domains the web fetch tool is allowed to access (e.g. `"docs.github.com"`, `"*.example.com"`, `"*"`)
|
|
76
|
+
|
|
77
|
+
## Fields You Should NOT Modify
|
|
78
|
+
|
|
79
|
+
These are internal/cached state and should not be edited manually:
|
|
80
|
+
- `version` — config schema version
|
|
81
|
+
- `model` / `selectedModel` / `modelParameters` / `hasChangedDefaultModel` — managed by the model picker
|
|
82
|
+
- `privacyCache` — cached privacy mode state
|
|
83
|
+
- `authInfo` — cached authentication info
|
|
84
|
+
- `showSandboxIntro` — one-time UI flag
|
|
85
|
+
- `conversationClassificationScoredConversations` — internal cache
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: update-cursor-settings
|
|
3
|
+
description: Modify Cursor/VSCode user settings in settings.json. Use when user wants to change editor settings, preferences, themes, font size, tab size, keybindings, or mentions "settings", "preferences", "theme", "font", "format on save", "auto save", or "cursor config".
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
effort: low
|
|
6
|
+
---
|
|
7
|
+
# Updating Cursor Settings
|
|
8
|
+
|
|
9
|
+
This skill guides you through modifying Cursor/VSCode user settings. Use this when the user wants to change editor settings, preferences, configuration, themes, keybindings, or any `settings.json` values.
|
|
10
|
+
|
|
11
|
+
## Check existing first
|
|
12
|
+
|
|
13
|
+
**Before modifying settings, check:**
|
|
14
|
+
|
|
15
|
+
1. **Read current settings:**
|
|
16
|
+
```bash
|
|
17
|
+
cat ~/.config/Cursor/User/settings.json 2>/dev/null | head -50 # Linux
|
|
18
|
+
cat ~/Library/Application\ Support/Cursor/User/settings.json 2>/dev/null | head -50 # macOS
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
2. **Check for workspace settings:**
|
|
22
|
+
```bash
|
|
23
|
+
cat .vscode/settings.json 2>/dev/null
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
3. **Understand current state:**
|
|
27
|
+
- What's the current value of the setting?
|
|
28
|
+
- Are there conflicting workspace settings?
|
|
29
|
+
|
|
30
|
+
**Why:** Preserve existing settings. Only modify what's requested.
|
|
31
|
+
|
|
32
|
+
## Settings File Location
|
|
33
|
+
|
|
34
|
+
| OS | Path |
|
|
35
|
+
|----|------|
|
|
36
|
+
| macOS | ~/Library/Application Support/Cursor/User/settings.json |
|
|
37
|
+
| Linux | ~/.config/Cursor/User/settings.json |
|
|
38
|
+
| Windows | %APPDATA%\Cursor\User\settings.json |
|
|
39
|
+
|
|
40
|
+
## Before Modifying Settings
|
|
41
|
+
|
|
42
|
+
1. **Read the existing settings file** to understand current configuration
|
|
43
|
+
2. **Preserve existing settings** - only add/modify what the user requested
|
|
44
|
+
3. **Validate JSON syntax** before writing to avoid breaking the editor
|
|
45
|
+
|
|
46
|
+
## Modifying Settings
|
|
47
|
+
|
|
48
|
+
### Step 1: Read Current Settings
|
|
49
|
+
|
|
50
|
+
```typescript
|
|
51
|
+
// Read the settings file first
|
|
52
|
+
const settingsPath = "~/Library/Application Support/Cursor/User/settings.json";
|
|
53
|
+
// Use the Read tool to get current contents
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### Step 2: Identify the Setting to Change
|
|
57
|
+
|
|
58
|
+
Common setting categories:
|
|
59
|
+
- **Editor**: `editor.fontSize`, `editor.tabSize`, `editor.wordWrap`, `editor.formatOnSave`
|
|
60
|
+
- **Workbench**: `workbench.colorTheme`, `workbench.iconTheme`, `workbench.sideBar.location`
|
|
61
|
+
- **Files**: `files.autoSave`, `files.exclude`, `files.associations`
|
|
62
|
+
- **Terminal**: `terminal.integrated.fontSize`, `terminal.integrated.shell.*`
|
|
63
|
+
- **Cursor-specific**: Settings prefixed with `cursor.` or `aipopup.`
|
|
64
|
+
|
|
65
|
+
### Step 3: Update the Setting
|
|
66
|
+
|
|
67
|
+
When modifying settings.json:
|
|
68
|
+
1. Parse the existing JSON (handle comments - VSCode settings support JSON with comments)
|
|
69
|
+
2. Add or update the requested setting
|
|
70
|
+
3. Preserve all other existing settings
|
|
71
|
+
4. Write back with proper formatting (2-space indentation)
|
|
72
|
+
|
|
73
|
+
### Example: Changing Font Size
|
|
74
|
+
|
|
75
|
+
If user says "make the font bigger":
|
|
76
|
+
|
|
77
|
+
```json
|
|
78
|
+
{
|
|
79
|
+
"editor.fontSize": 16
|
|
80
|
+
}
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### Example: Enabling Format on Save
|
|
84
|
+
|
|
85
|
+
If user says "format my code when I save":
|
|
86
|
+
|
|
87
|
+
```json
|
|
88
|
+
{
|
|
89
|
+
"editor.formatOnSave": true
|
|
90
|
+
}
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### Example: Changing Theme
|
|
94
|
+
|
|
95
|
+
If user says "use dark theme" or "change my theme":
|
|
96
|
+
|
|
97
|
+
```json
|
|
98
|
+
{
|
|
99
|
+
"workbench.colorTheme": "Default Dark Modern"
|
|
100
|
+
}
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## Important Notes
|
|
104
|
+
|
|
105
|
+
1. **JSON with Comments**: VSCode/Cursor settings.json supports comments (`//` and `/* */`). Parse accordingly and write the comments back; dropping them loses the user's notes.
|
|
106
|
+
|
|
107
|
+
2. **Restart May Be Required**: Some settings take effect immediately, others require reloading the window or restarting Cursor. Inform the user if a restart is needed.
|
|
108
|
+
|
|
109
|
+
3. **Backup**: For significant changes, consider mentioning the user can undo via Ctrl/Cmd+Z in the settings file or by reverting git changes if tracked.
|
|
110
|
+
|
|
111
|
+
4. **Workspace vs User Settings**:
|
|
112
|
+
- User settings (what this skill covers): Apply globally to all projects
|
|
113
|
+
- Workspace settings (`.vscode/settings.json`): Apply only to the current project
|
|
114
|
+
|
|
115
|
+
## Common User Requests → Settings
|
|
116
|
+
|
|
117
|
+
| User Request | Setting |
|
|
118
|
+
|--------------|---------|
|
|
119
|
+
| "bigger/smaller font" | `editor.fontSize` |
|
|
120
|
+
| "change tab size" | `editor.tabSize` |
|
|
121
|
+
| "format on save" | `editor.formatOnSave` |
|
|
122
|
+
| "word wrap" | `editor.wordWrap` |
|
|
123
|
+
| "change theme" | `workbench.colorTheme` |
|
|
124
|
+
| "hide minimap" | `editor.minimap.enabled` |
|
|
125
|
+
| "auto save" | `files.autoSave` |
|
|
126
|
+
| "line numbers" | `editor.lineNumbers` |
|
|
127
|
+
| "bracket matching" | `editor.bracketPairColorization.enabled` |
|
|
128
|
+
| "cursor style" | `editor.cursorStyle` |
|
|
129
|
+
| "smooth scrolling" | `editor.smoothScrolling` |
|
|
130
|
+
|
|
131
|
+
## Workflow
|
|
132
|
+
|
|
133
|
+
1. Read the settings file for the current OS (path table above)
|
|
134
|
+
2. Parse the JSON content
|
|
135
|
+
3. Add/modify the requested setting(s)
|
|
136
|
+
4. Write the updated JSON back to the file
|
|
137
|
+
5. Inform the user the setting has been changed and whether a reload is needed
|