{"owner":"anomalyco","repo":"sst","hasSkills":true,"totalSkillsCount":25,"totalTokensCount":6474,"categories":["anthropic-skill","claude-rule","root-instruction","cursor-rule"],"hasMcp":false,"mcpConfig":null,"found":["examples/aws-auth-react/packages/core/package.json","CLAUDE.md","examples/aws-auth-react/packages/functions/package.json","examples/aws-auth-react/packages/core/tsconfig.json",".agents/skills/document-component/SKILL.md","examples/aws-auth-react/packages/functions/tsconfig.json","AGENTS.md","examples/aws-auth-react/packages/scripts/package.json","examples/aws-auth-react/packages/scripts/tsconfig.json","examples/aws-auth-react/packages/web/package.json","examples/aws-auth-react/packages/web/tsconfig.json","examples/aws-auth-react/packages/web/tsconfig.app.json","examples/aws-auth-react/packages/web/tsconfig.node.json","examples/aws-monorepo/packages/astro/package.json","examples/aws-monorepo/packages/astro/tsconfig.json","examples/aws-monorepo/packages/core/package.json","examples/aws-monorepo/packages/core/tsconfig.json","examples/aws-monorepo/packages/frontend/package.json","examples/aws-monorepo/packages/functions/package.json","examples/aws-monorepo/packages/functions/tsconfig.json","examples/aws-monorepo/packages/scripts/package.json","examples/aws-monorepo/packages/scripts/tsconfig.json","examples/aws-monorepo/packages/astro/.vscode/extensions.json","examples/aws-monorepo/packages/astro/.vscode/launch.json",".cursorrules (sveltekit-tailwindcss-typescript-cursorrules-promp.mdc)"],"skills":{"examples/aws-auth-react/packages/core/package.json":"{\n  \"name\": \"@aws-auth-react/core\",\n  \"type\": \"module\",\n  \"version\": \"0.0.0\",\n  \"scripts\": {\n    \"test\": \"sst shell vitest\"\n  },\n  \"exports\": {\n    \"./*\": [\n      \"./src/*/index.ts\",\n      \"./src/*.ts\"\n    ]\n  },\n  \"dependencies\": {\n    \"sst\": \"file:../../../../sdk/js\"\n  },\n  \"devDependencies\": {\n    \"vitest\": \"^2\"\n  }\n}\n","CLAUDE.md":"## Layout\n\n- `platform/` — TS Pulumi components embedded via `//go:embed` (`platform/platform.go:16`)\n- `examples/` — sample apps\n- `cmd/sst/` — Go CLI entry, orchestrates everything\n- `cmd/sst/mosaic/` — live dev TUI\n- `pkg/server/` — JSON-RPC bridge for custom Pulumi dynamic providers (`rpc/rpc.ts` ↔ `pkg/server`)\n- `pkg/bus/` — pub/sub event bus\n- `sdk/js/` — runtime SDK for reading linked resources\n- `www/` — docs site (auto-generated from JSDoc comments in platform and extracted from the Go CLI)\n\n## Commands\n\n- **Setup**: `bun run setup`\n- **Build platform**: `bun run build:platform`\n- **Build CLI**: `bun run build:cli`\n- **Run CLI locally**: `cd examples/<app> && go run ../../cmd/sst <command>`\n- **Go tests**: `bun run test:cli`\n- **Typecheck**: `bun run typecheck`\n- **Generate docs**: `bun run docs:generate`\n- **Run docs locally**: `bun run docs:dev`\n\n## Verification\n\n1. Build the platform\n2. `cd examples/<app> && bun install`\n3. `go run ../../cmd/sst deploy`\n4. Verify with `curl` or AWS CLI\n5. Don't clean up unless told to\n6. `sst dev --mode=basic` for dev mode\n","examples/aws-auth-react/packages/functions/package.json":"{\n  \"name\": \"@aws-auth-react/functions\",\n  \"version\": \"0.0.0\",\n  \"type\": \"module\",\n  \"dependencies\": {\n    \"@aws-auth-react/core\": \"*\",\n    \"@openauthjs/openauth\": \"^0.3.6\",\n    \"hono\": \"^4.6.18\",\n    \"sst\": \"file:../../../../sdk/js\",\n    \"valibot\": \"^1.0.0-beta.14\"\n  },\n  \"devDependencies\": {\n    \"@types/aws-lambda\": \"^8\"\n  }\n}\n","examples/aws-auth-react/packages/core/tsconfig.json":"{\n  \"extends\": \"@tsconfig/node22/tsconfig.json\",\n  \"compilerOptions\": {\n    \"module\": \"ESNext\",\n    \"moduleResolution\": \"Bundler\",\n  },\n}\n",".agents/skills/document-component/SKILL.md":"# Document Component\n\nSteps to add a new component to the SST docs.\n\n1. Register in docs generator\n   - Add the component `.ts` path to `entryPoints` in `www/generate.ts`\n\n2. Add matching public getters\n   - Ensure every property returned by `getSSTLink()` has a corresponding public getter on the class\n   - The generator crashes otherwise because `renderLinks()` looks for a getter with the same name\n\n3. Analyze docs for relevant places to link the component\n   - Search existing guides (e.g. `cloudflare.mdx`) and component overviews for lists of related components\n   - Add the new component link where appropriate\n\n4. Add to Astro sidebar\n   - Add the generated doc slug to the appropriate section in `www/astro.config.mjs`\n   - Follow the existing visual ordering: components are sorted from shortest to longest name (least to most characters)\n\n5. Generate docs\n   - Run `bun run docs:generate`\n\n","examples/aws-auth-react/packages/functions/tsconfig.json":"{\n  \"extends\": \"@tsconfig/node22/tsconfig.json\",\n  \"compilerOptions\": {\n    \"module\": \"ESNext\",\n    \"moduleResolution\": \"Bundler\",\n  },\n}\n","AGENTS.md":"## Layout\n\n- `platform/` — TS Pulumi components embedded via `//go:embed` (`platform/platform.go:16`)\n- `examples/` — sample apps\n- `cmd/sst/` — Go CLI entry, orchestrates everything\n- `cmd/sst/mosaic/` — live dev TUI\n- `pkg/server/` — JSON-RPC bridge for custom Pulumi dynamic providers (`rpc/rpc.ts` ↔ `pkg/server`)\n- `pkg/bus/` — pub/sub event bus\n- `sdk/js/` — runtime SDK for reading linked resources\n- `www/` — docs site (auto-generated from JSDoc comments in platform and extracted from the Go CLI)\n\n## Commands\n\n- **Setup**: `bun run setup`\n- **Build platform**: `bun run build:platform`\n- **Build CLI**: `bun run build:cli`\n- **Run CLI locally**: `cd examples/<app> && go run ../../cmd/sst <command>`\n- **Go tests**: `bun run test:cli`\n- **Typecheck**: `bun run typecheck`\n- **Generate docs**: `bun run docs:generate`\n- **Run docs locally**: `bun run docs:dev`\n\n## Verification\n\n1. Build the platform\n2. `cd examples/<app> && bun install`\n3. `go run ../../cmd/sst deploy`\n4. Verify with `curl` or AWS CLI\n5. Don't clean up unless told to\n6. `sst dev --mode=basic` for dev mode\n","examples/aws-auth-react/packages/scripts/package.json":"{\n  \"name\": \"@aws-auth-react/scripts\",\n  \"version\": \"0.0.0\",\n  \"type\": \"module\",\n  \"dependencies\": {\n    \"@aws-auth-react/core\": \"*\",\n    \"sst\": \"file:../../../../sdk/js\"\n  },\n  \"scripts\": {\n    \"shell\": \"sst shell tsx\"\n  },\n  \"devDependencies\": {\n    \"@types/node\": \"^22\",\n    \"tsx\": \"^4\"\n  }\n}\n","examples/aws-auth-react/packages/scripts/tsconfig.json":"{\n  \"extends\": \"@tsconfig/node22/tsconfig.json\",\n  \"compilerOptions\": {\n    \"module\": \"ESNext\",\n    \"moduleResolution\": \"Bundler\",\n  },\n}\n","examples/aws-auth-react/packages/web/package.json":"{\n  \"name\": \"web\",\n  \"private\": true,\n  \"version\": \"0.0.0\",\n  \"type\": \"module\",\n  \"scripts\": {\n    \"dev\": \"vite\",\n    \"build\": \"tsc -b && vite build\",\n    \"lint\": \"eslint .\",\n    \"preview\": \"vite preview\"\n  },\n  \"dependencies\": {\n    \"@openauthjs/openauth\": \"^0.3.8\",\n    \"react\": \"^18.3.1\",\n    \"react-dom\": \"^18.3.1\"\n  },\n  \"devDependencies\": {\n    \"@eslint/js\": \"^9.17.0\",\n    \"@types/react\": \"^18.3.18\",\n    \"@types/react-dom\": \"^18.3.5\",\n    \"@vitejs/plugin-react\": \"^4.3.4\",\n    \"eslint\": \"^9.17.0\",\n    \"eslint-plugin-react-hooks\": \"^5.0.0\",\n    \"eslint-plugin-react-refresh\": \"^0.4.16\",\n    \"globals\": \"^15.14.0\",\n    \"typescript\": \"~5.6.2\",\n    \"typescript-eslint\": \"^8.18.2\",\n    \"vite\": \"^6.0.5\"\n  }\n}\n","examples/aws-auth-react/packages/web/tsconfig.json":"{\n  \"files\": [],\n  \"references\": [\n    { \"path\": \"./tsconfig.app.json\" },\n    { \"path\": \"./tsconfig.node.json\" }\n  ]\n}\n","examples/aws-auth-react/packages/web/tsconfig.app.json":"{\n  \"compilerOptions\": {\n    \"tsBuildInfoFile\": \"./node_modules/.tmp/tsconfig.app.tsbuildinfo\",\n    \"target\": \"ES2020\",\n    \"useDefineForClassFields\": true,\n    \"lib\": [\"ES2020\", \"DOM\", \"DOM.Iterable\"],\n    \"module\": \"ESNext\",\n    \"skipLibCheck\": true,\n\n    /* Bundler mode */\n    \"moduleResolution\": \"bundler\",\n    \"allowImportingTsExtensions\": true,\n    \"isolatedModules\": true,\n    \"moduleDetection\": \"force\",\n    \"noEmit\": true,\n    \"jsx\": \"react-jsx\",\n\n    /* Linting */\n    \"strict\": true,\n    \"noUnusedLocals\": true,\n    \"noUnusedParameters\": true,\n    \"noFallthroughCasesInSwitch\": true,\n    \"noUncheckedSideEffectImports\": true\n  },\n  \"include\": [\"src\"]\n}\n","examples/aws-auth-react/packages/web/tsconfig.node.json":"# Web Skill\n\nPath: `examples/aws-auth-react/packages/web/tsconfig.node.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-auth-react/packages/web/tsconfig.node.json)","examples/aws-monorepo/packages/astro/package.json":"# Astro Skill\n\nPath: `examples/aws-monorepo/packages/astro/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/astro/package.json)","examples/aws-monorepo/packages/astro/tsconfig.json":"# Astro Skill\n\nPath: `examples/aws-monorepo/packages/astro/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/astro/tsconfig.json)","examples/aws-monorepo/packages/core/package.json":"# Core Skill\n\nPath: `examples/aws-monorepo/packages/core/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/core/package.json)","examples/aws-monorepo/packages/core/tsconfig.json":"# Core Skill\n\nPath: `examples/aws-monorepo/packages/core/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/core/tsconfig.json)","examples/aws-monorepo/packages/frontend/package.json":"# Frontend Skill\n\nPath: `examples/aws-monorepo/packages/frontend/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/frontend/package.json)","examples/aws-monorepo/packages/functions/package.json":"# Functions Skill\n\nPath: `examples/aws-monorepo/packages/functions/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/functions/package.json)","examples/aws-monorepo/packages/functions/tsconfig.json":"# Functions Skill\n\nPath: `examples/aws-monorepo/packages/functions/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/functions/tsconfig.json)","examples/aws-monorepo/packages/scripts/package.json":"# Scripts Skill\n\nPath: `examples/aws-monorepo/packages/scripts/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/scripts/package.json)","examples/aws-monorepo/packages/scripts/tsconfig.json":"# Scripts Skill\n\nPath: `examples/aws-monorepo/packages/scripts/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/scripts/tsconfig.json)","examples/aws-monorepo/packages/astro/.vscode/extensions.json":"# .vscode Skill\n\nPath: `examples/aws-monorepo/packages/astro/.vscode/extensions.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/astro/.vscode/extensions.json)","examples/aws-monorepo/packages/astro/.vscode/launch.json":"# .vscode Skill\n\nPath: `examples/aws-monorepo/packages/astro/.vscode/launch.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/astro/.vscode/launch.json)",".cursorrules (sveltekit-tailwindcss-typescript-cursorrules-promp.mdc)":"---\ndescription: \"Cursor rules for SvelteKit development with Tailwind CSS and TypeScript integration.\"\nglobs: **/*\nalwaysApply: false\n---\nModible Project Standards\n\nVersion Numbers\n\nNode.js: 18.x or later\nSvelteKit: 2.x (which uses Svelte 4.x)\nTypeScript: 5.x\nVite: 5.x\nPNPM: 8.x or later\n\nAs a Senior Frontend Developer, you are now tasked with providing expert answers related to Svelte, SvelteKit, JavaScript, TypeScript, TailwindCSS, HTML, and CSS. When responding to questions, follow the Chain of Thought method. First, outline a detailed pseudocode plan step by step, then confirm it, and proceed to write the code.\n\nRemember the following important mindset when providing code:\n\nSimplicity\nReadability\nPerformance\nMaintainability\nTestability\nReusability\n\nAdhere to the following guidelines in your code:\n\nUtilize early returns for code readability.\nUse Tailwind classes for styling HTML elements instead of CSS or <style> tags.\nPrefer \"class:\" instead of the tertiary operator in class tags when possible.\nEmploy descriptive variable and function/const names, and prefix event functions with \"handle,\" such as \"handleClick\" for onClick and \"handleKeyDown\" for onKeyDown.\nImplement accessibility features on elements, including tabindex=\"0\", aria-label, on:click, on:keydown, and similar attributes for tags like <button>.\nUse consts instead of functions, and define a type if possible.\n\nYour responses should focus on providing correct, best practice, DRY principle (Don't Repeat Yourself), bug-free, fully functional, and working code aligned with the listed rules above. Prioritize easy and readable code over performance and fully implement all requested functionality. Ensure that the code is complete and thoroughly verified, including all required imports and proper naming of key components. Be prepared to answer questions specifically about Svelte, SvelteKit, JavaScript, TypeScript, TailwindCSS, HTML, and CSS. Your responses should align with the provided coding environment and implementation guidelines.\n\nPreferred Syntax and Patterns\n\nSvelte Components\n\nUse .svelte extension for Svelte components\nUse TypeScript syntax in <script> tags:\nsvelteCopy\n<script lang=\"ts\">\n  // TypeScript code here\n</script>\n\nState Management\n\nUse Svelte stores for global state:\ntypescriptCopy\nimport { writable } from 'svelte/store';\nexport const myStore = writable(initialValue);\n\nAccess store values in components with the $ prefix:\nsvelteCopy\n<p>{$myStore}</p>\n\nReactivity\n\nUse reactive declarations for derived values:\nsvelteCopy\n$: derivedValue = someValue * 2;\n\nUse reactive statements for side effects:\nsvelteCopy\n$: { \n  console.log(someValue); \n  updateSomething(someValue);\n}\n\nTyping\n\nUse TypeScript for type definitions\nCreate interfaces or types for component props:\ntypescriptCopy\ninterface MyComponentProps { \n  someValue: string; \n  optionalValue?: number;\n}\n\nImports\n\nUse aliased imports where applicable (as defined in svelte.config.js):\ntypescriptCopy\nimport SomeComponent from '$lib/components/SomeComponent.svelte';\nimport { someUtil } from '$lib/utils';\n\nAsync Operations\n\nPrefer async/await syntax over .then() chains\nUse onMount for component initialization that requires async operations\n\nStyling\n\nUse Tailwind CSS for styling\nUtilize Tailwind's utility classes directly in the markup\nFor complex components, consider using Tailwind's @apply directive in a scoped <style> block\nUse dynamic classes with template literals when necessary:\nsvelteCopy\n<div class={`bg-blue-500 p-4 ${isActive ? 'opacity-100' : 'opacity-50'}`}></div>\n\nFile Structure\n\nGroup related components in subdirectories under src/lib/components/\nKeep pages in src/routes/\nUse +page.svelte for page components and +layout.svelte for layouts\nPlace reusable utility functions in src/lib/utils/\nStore types and interfaces in src/lib/types/\n\nComponent Design\n\nFollow the single responsibility principle\nCreate small, reusable components\nUse props for component configuration\nUtilize Svelte's slot system for flexible component composition\n\nData Fetching\n\nUse SvelteKit's load function for server-side data fetching\nImplement proper error handling and loading states\nUtilize SvelteKit's form actions for form submissions and mutations\n\nPerformance Optimization\n\nLazy load components and modules when possible\nUse Svelte's transition API for smooth UI animations\nImplement proper caching strategies for API requests\n\nTesting\n\nWrite unit tests for utility functions and complex logic\nCreate component tests using a testing library compatible with Svelte (e.g., Svelte Testing Library)\nImplement end-to-end tests for critical user flows\n\nAccessibility\n\nEnsure proper semantic HTML structure\nUse ARIA attributes when necessary\nImplement keyboard navigation for interactive elements\nMaintain sufficient color contrast ratios\n\nCode Quality\n\nUse ESLint with the recommended Svelte and TypeScript configurations\nImplement Prettier for consistent code formatting\nConduct regular code reviews to maintain code quality and consistency\n\nDocumentation\n\nMaintain up-to-date README files for the project and major components\nUse JSDoc comments for functions and complex logic\nKeep inline comments concise and meaningful\n"},"files":{"examples/aws-auth-react/packages/core/package.json":"{\n  \"name\": \"@aws-auth-react/core\",\n  \"type\": \"module\",\n  \"version\": \"0.0.0\",\n  \"scripts\": {\n    \"test\": \"sst shell vitest\"\n  },\n  \"exports\": {\n    \"./*\": [\n      \"./src/*/index.ts\",\n      \"./src/*.ts\"\n    ]\n  },\n  \"dependencies\": {\n    \"sst\": \"file:../../../../sdk/js\"\n  },\n  \"devDependencies\": {\n    \"vitest\": \"^2\"\n  }\n}\n","CLAUDE.md":"## Layout\n\n- `platform/` — TS Pulumi components embedded via `//go:embed` (`platform/platform.go:16`)\n- `examples/` — sample apps\n- `cmd/sst/` — Go CLI entry, orchestrates everything\n- `cmd/sst/mosaic/` — live dev TUI\n- `pkg/server/` — JSON-RPC bridge for custom Pulumi dynamic providers (`rpc/rpc.ts` ↔ `pkg/server`)\n- `pkg/bus/` — pub/sub event bus\n- `sdk/js/` — runtime SDK for reading linked resources\n- `www/` — docs site (auto-generated from JSDoc comments in platform and extracted from the Go CLI)\n\n## Commands\n\n- **Setup**: `bun run setup`\n- **Build platform**: `bun run build:platform`\n- **Build CLI**: `bun run build:cli`\n- **Run CLI locally**: `cd examples/<app> && go run ../../cmd/sst <command>`\n- **Go tests**: `bun run test:cli`\n- **Typecheck**: `bun run typecheck`\n- **Generate docs**: `bun run docs:generate`\n- **Run docs locally**: `bun run docs:dev`\n\n## Verification\n\n1. Build the platform\n2. `cd examples/<app> && bun install`\n3. `go run ../../cmd/sst deploy`\n4. Verify with `curl` or AWS CLI\n5. Don't clean up unless told to\n6. `sst dev --mode=basic` for dev mode\n","examples/aws-auth-react/packages/functions/package.json":"{\n  \"name\": \"@aws-auth-react/functions\",\n  \"version\": \"0.0.0\",\n  \"type\": \"module\",\n  \"dependencies\": {\n    \"@aws-auth-react/core\": \"*\",\n    \"@openauthjs/openauth\": \"^0.3.6\",\n    \"hono\": \"^4.6.18\",\n    \"sst\": \"file:../../../../sdk/js\",\n    \"valibot\": \"^1.0.0-beta.14\"\n  },\n  \"devDependencies\": {\n    \"@types/aws-lambda\": \"^8\"\n  }\n}\n","examples/aws-auth-react/packages/core/tsconfig.json":"{\n  \"extends\": \"@tsconfig/node22/tsconfig.json\",\n  \"compilerOptions\": {\n    \"module\": \"ESNext\",\n    \"moduleResolution\": \"Bundler\",\n  },\n}\n",".agents/skills/document-component/SKILL.md":"# Document Component\n\nSteps to add a new component to the SST docs.\n\n1. Register in docs generator\n   - Add the component `.ts` path to `entryPoints` in `www/generate.ts`\n\n2. Add matching public getters\n   - Ensure every property returned by `getSSTLink()` has a corresponding public getter on the class\n   - The generator crashes otherwise because `renderLinks()` looks for a getter with the same name\n\n3. Analyze docs for relevant places to link the component\n   - Search existing guides (e.g. `cloudflare.mdx`) and component overviews for lists of related components\n   - Add the new component link where appropriate\n\n4. Add to Astro sidebar\n   - Add the generated doc slug to the appropriate section in `www/astro.config.mjs`\n   - Follow the existing visual ordering: components are sorted from shortest to longest name (least to most characters)\n\n5. Generate docs\n   - Run `bun run docs:generate`\n\n","examples/aws-auth-react/packages/functions/tsconfig.json":"{\n  \"extends\": \"@tsconfig/node22/tsconfig.json\",\n  \"compilerOptions\": {\n    \"module\": \"ESNext\",\n    \"moduleResolution\": \"Bundler\",\n  },\n}\n","AGENTS.md":"## Layout\n\n- `platform/` — TS Pulumi components embedded via `//go:embed` (`platform/platform.go:16`)\n- `examples/` — sample apps\n- `cmd/sst/` — Go CLI entry, orchestrates everything\n- `cmd/sst/mosaic/` — live dev TUI\n- `pkg/server/` — JSON-RPC bridge for custom Pulumi dynamic providers (`rpc/rpc.ts` ↔ `pkg/server`)\n- `pkg/bus/` — pub/sub event bus\n- `sdk/js/` — runtime SDK for reading linked resources\n- `www/` — docs site (auto-generated from JSDoc comments in platform and extracted from the Go CLI)\n\n## Commands\n\n- **Setup**: `bun run setup`\n- **Build platform**: `bun run build:platform`\n- **Build CLI**: `bun run build:cli`\n- **Run CLI locally**: `cd examples/<app> && go run ../../cmd/sst <command>`\n- **Go tests**: `bun run test:cli`\n- **Typecheck**: `bun run typecheck`\n- **Generate docs**: `bun run docs:generate`\n- **Run docs locally**: `bun run docs:dev`\n\n## Verification\n\n1. Build the platform\n2. `cd examples/<app> && bun install`\n3. `go run ../../cmd/sst deploy`\n4. Verify with `curl` or AWS CLI\n5. Don't clean up unless told to\n6. `sst dev --mode=basic` for dev mode\n","examples/aws-auth-react/packages/scripts/package.json":"{\n  \"name\": \"@aws-auth-react/scripts\",\n  \"version\": \"0.0.0\",\n  \"type\": \"module\",\n  \"dependencies\": {\n    \"@aws-auth-react/core\": \"*\",\n    \"sst\": \"file:../../../../sdk/js\"\n  },\n  \"scripts\": {\n    \"shell\": \"sst shell tsx\"\n  },\n  \"devDependencies\": {\n    \"@types/node\": \"^22\",\n    \"tsx\": \"^4\"\n  }\n}\n","examples/aws-auth-react/packages/scripts/tsconfig.json":"{\n  \"extends\": \"@tsconfig/node22/tsconfig.json\",\n  \"compilerOptions\": {\n    \"module\": \"ESNext\",\n    \"moduleResolution\": \"Bundler\",\n  },\n}\n","examples/aws-auth-react/packages/web/package.json":"{\n  \"name\": \"web\",\n  \"private\": true,\n  \"version\": \"0.0.0\",\n  \"type\": \"module\",\n  \"scripts\": {\n    \"dev\": \"vite\",\n    \"build\": \"tsc -b && vite build\",\n    \"lint\": \"eslint .\",\n    \"preview\": \"vite preview\"\n  },\n  \"dependencies\": {\n    \"@openauthjs/openauth\": \"^0.3.8\",\n    \"react\": \"^18.3.1\",\n    \"react-dom\": \"^18.3.1\"\n  },\n  \"devDependencies\": {\n    \"@eslint/js\": \"^9.17.0\",\n    \"@types/react\": \"^18.3.18\",\n    \"@types/react-dom\": \"^18.3.5\",\n    \"@vitejs/plugin-react\": \"^4.3.4\",\n    \"eslint\": \"^9.17.0\",\n    \"eslint-plugin-react-hooks\": \"^5.0.0\",\n    \"eslint-plugin-react-refresh\": \"^0.4.16\",\n    \"globals\": \"^15.14.0\",\n    \"typescript\": \"~5.6.2\",\n    \"typescript-eslint\": \"^8.18.2\",\n    \"vite\": \"^6.0.5\"\n  }\n}\n","examples/aws-auth-react/packages/web/tsconfig.json":"{\n  \"files\": [],\n  \"references\": [\n    { \"path\": \"./tsconfig.app.json\" },\n    { \"path\": \"./tsconfig.node.json\" }\n  ]\n}\n","examples/aws-auth-react/packages/web/tsconfig.app.json":"{\n  \"compilerOptions\": {\n    \"tsBuildInfoFile\": \"./node_modules/.tmp/tsconfig.app.tsbuildinfo\",\n    \"target\": \"ES2020\",\n    \"useDefineForClassFields\": true,\n    \"lib\": [\"ES2020\", \"DOM\", \"DOM.Iterable\"],\n    \"module\": \"ESNext\",\n    \"skipLibCheck\": true,\n\n    /* Bundler mode */\n    \"moduleResolution\": \"bundler\",\n    \"allowImportingTsExtensions\": true,\n    \"isolatedModules\": true,\n    \"moduleDetection\": \"force\",\n    \"noEmit\": true,\n    \"jsx\": \"react-jsx\",\n\n    /* Linting */\n    \"strict\": true,\n    \"noUnusedLocals\": true,\n    \"noUnusedParameters\": true,\n    \"noFallthroughCasesInSwitch\": true,\n    \"noUncheckedSideEffectImports\": true\n  },\n  \"include\": [\"src\"]\n}\n","examples/aws-auth-react/packages/web/tsconfig.node.json":"# Web Skill\n\nPath: `examples/aws-auth-react/packages/web/tsconfig.node.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-auth-react/packages/web/tsconfig.node.json)","examples/aws-monorepo/packages/astro/package.json":"# Astro Skill\n\nPath: `examples/aws-monorepo/packages/astro/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/astro/package.json)","examples/aws-monorepo/packages/astro/tsconfig.json":"# Astro Skill\n\nPath: `examples/aws-monorepo/packages/astro/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/astro/tsconfig.json)","examples/aws-monorepo/packages/core/package.json":"# Core Skill\n\nPath: `examples/aws-monorepo/packages/core/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/core/package.json)","examples/aws-monorepo/packages/core/tsconfig.json":"# Core Skill\n\nPath: `examples/aws-monorepo/packages/core/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/core/tsconfig.json)","examples/aws-monorepo/packages/frontend/package.json":"# Frontend Skill\n\nPath: `examples/aws-monorepo/packages/frontend/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/frontend/package.json)","examples/aws-monorepo/packages/functions/package.json":"# Functions Skill\n\nPath: `examples/aws-monorepo/packages/functions/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/functions/package.json)","examples/aws-monorepo/packages/functions/tsconfig.json":"# Functions Skill\n\nPath: `examples/aws-monorepo/packages/functions/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/functions/tsconfig.json)","examples/aws-monorepo/packages/scripts/package.json":"# Scripts Skill\n\nPath: `examples/aws-monorepo/packages/scripts/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/scripts/package.json)","examples/aws-monorepo/packages/scripts/tsconfig.json":"# Scripts Skill\n\nPath: `examples/aws-monorepo/packages/scripts/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/scripts/tsconfig.json)","examples/aws-monorepo/packages/astro/.vscode/extensions.json":"# .vscode Skill\n\nPath: `examples/aws-monorepo/packages/astro/.vscode/extensions.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/astro/.vscode/extensions.json)","examples/aws-monorepo/packages/astro/.vscode/launch.json":"# .vscode Skill\n\nPath: `examples/aws-monorepo/packages/astro/.vscode/launch.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/astro/.vscode/launch.json)",".cursorrules (sveltekit-tailwindcss-typescript-cursorrules-promp.mdc)":"---\ndescription: \"Cursor rules for SvelteKit development with Tailwind CSS and TypeScript integration.\"\nglobs: **/*\nalwaysApply: false\n---\nModible Project Standards\n\nVersion Numbers\n\nNode.js: 18.x or later\nSvelteKit: 2.x (which uses Svelte 4.x)\nTypeScript: 5.x\nVite: 5.x\nPNPM: 8.x or later\n\nAs a Senior Frontend Developer, you are now tasked with providing expert answers related to Svelte, SvelteKit, JavaScript, TypeScript, TailwindCSS, HTML, and CSS. When responding to questions, follow the Chain of Thought method. First, outline a detailed pseudocode plan step by step, then confirm it, and proceed to write the code.\n\nRemember the following important mindset when providing code:\n\nSimplicity\nReadability\nPerformance\nMaintainability\nTestability\nReusability\n\nAdhere to the following guidelines in your code:\n\nUtilize early returns for code readability.\nUse Tailwind classes for styling HTML elements instead of CSS or <style> tags.\nPrefer \"class:\" instead of the tertiary operator in class tags when possible.\nEmploy descriptive variable and function/const names, and prefix event functions with \"handle,\" such as \"handleClick\" for onClick and \"handleKeyDown\" for onKeyDown.\nImplement accessibility features on elements, including tabindex=\"0\", aria-label, on:click, on:keydown, and similar attributes for tags like <button>.\nUse consts instead of functions, and define a type if possible.\n\nYour responses should focus on providing correct, best practice, DRY principle (Don't Repeat Yourself), bug-free, fully functional, and working code aligned with the listed rules above. Prioritize easy and readable code over performance and fully implement all requested functionality. Ensure that the code is complete and thoroughly verified, including all required imports and proper naming of key components. Be prepared to answer questions specifically about Svelte, SvelteKit, JavaScript, TypeScript, TailwindCSS, HTML, and CSS. Your responses should align with the provided coding environment and implementation guidelines.\n\nPreferred Syntax and Patterns\n\nSvelte Components\n\nUse .svelte extension for Svelte components\nUse TypeScript syntax in <script> tags:\nsvelteCopy\n<script lang=\"ts\">\n  // TypeScript code here\n</script>\n\nState Management\n\nUse Svelte stores for global state:\ntypescriptCopy\nimport { writable } from 'svelte/store';\nexport const myStore = writable(initialValue);\n\nAccess store values in components with the $ prefix:\nsvelteCopy\n<p>{$myStore}</p>\n\nReactivity\n\nUse reactive declarations for derived values:\nsvelteCopy\n$: derivedValue = someValue * 2;\n\nUse reactive statements for side effects:\nsvelteCopy\n$: { \n  console.log(someValue); \n  updateSomething(someValue);\n}\n\nTyping\n\nUse TypeScript for type definitions\nCreate interfaces or types for component props:\ntypescriptCopy\ninterface MyComponentProps { \n  someValue: string; \n  optionalValue?: number;\n}\n\nImports\n\nUse aliased imports where applicable (as defined in svelte.config.js):\ntypescriptCopy\nimport SomeComponent from '$lib/components/SomeComponent.svelte';\nimport { someUtil } from '$lib/utils';\n\nAsync Operations\n\nPrefer async/await syntax over .then() chains\nUse onMount for component initialization that requires async operations\n\nStyling\n\nUse Tailwind CSS for styling\nUtilize Tailwind's utility classes directly in the markup\nFor complex components, consider using Tailwind's @apply directive in a scoped <style> block\nUse dynamic classes with template literals when necessary:\nsvelteCopy\n<div class={`bg-blue-500 p-4 ${isActive ? 'opacity-100' : 'opacity-50'}`}></div>\n\nFile Structure\n\nGroup related components in subdirectories under src/lib/components/\nKeep pages in src/routes/\nUse +page.svelte for page components and +layout.svelte for layouts\nPlace reusable utility functions in src/lib/utils/\nStore types and interfaces in src/lib/types/\n\nComponent Design\n\nFollow the single responsibility principle\nCreate small, reusable components\nUse props for component configuration\nUtilize Svelte's slot system for flexible component composition\n\nData Fetching\n\nUse SvelteKit's load function for server-side data fetching\nImplement proper error handling and loading states\nUtilize SvelteKit's form actions for form submissions and mutations\n\nPerformance Optimization\n\nLazy load components and modules when possible\nUse Svelte's transition API for smooth UI animations\nImplement proper caching strategies for API requests\n\nTesting\n\nWrite unit tests for utility functions and complex logic\nCreate component tests using a testing library compatible with Svelte (e.g., Svelte Testing Library)\nImplement end-to-end tests for critical user flows\n\nAccessibility\n\nEnsure proper semantic HTML structure\nUse ARIA attributes when necessary\nImplement keyboard navigation for interactive elements\nMaintain sufficient color contrast ratios\n\nCode Quality\n\nUse ESLint with the recommended Svelte and TypeScript configurations\nImplement Prettier for consistent code formatting\nConduct regular code reviews to maintain code quality and consistency\n\nDocumentation\n\nMaintain up-to-date README files for the project and major components\nUse JSDoc comments for functions and complex logic\nKeep inline comments concise and meaningful\n"},"items":[{"name":"AGENTS.md","path":"AGENTS.md","rawUrl":"https://raw.githubusercontent.com/anomalyco/sst/HEAD/AGENTS.md","title":"AI Agent Protocol & Instructions","category":"root-instruction","format":"markdown","content":"## Layout\n\n- `platform/` — TS Pulumi components embedded via `//go:embed` (`platform/platform.go:16`)\n- `examples/` — sample apps\n- `cmd/sst/` — Go CLI entry, orchestrates everything\n- `cmd/sst/mosaic/` — live dev TUI\n- `pkg/server/` — JSON-RPC bridge for custom Pulumi dynamic providers (`rpc/rpc.ts` ↔ `pkg/server`)\n- `pkg/bus/` — pub/sub event bus\n- `sdk/js/` — runtime SDK for reading linked resources\n- `www/` — docs site (auto-generated from JSDoc comments in platform and extracted from the Go CLI)\n\n## Commands\n\n- **Setup**: `bun run setup`\n- **Build platform**: `bun run build:platform`\n- **Build CLI**: `bun run build:cli`\n- **Run CLI locally**: `cd examples/<app> && go run ../../cmd/sst <command>`\n- **Go tests**: `bun run test:cli`\n- **Typecheck**: `bun run typecheck`\n- **Generate docs**: `bun run docs:generate`\n- **Run docs locally**: `bun run docs:dev`\n\n## Verification\n\n1. Build the platform\n2. `cd examples/<app> && bun install`\n3. `go run ../../cmd/sst deploy`\n4. Verify with `curl` or AWS CLI\n5. Don't clean up unless told to\n6. `sst dev --mode=basic` for dev mode\n","isInternal":false,"tokens":327,"sizeBytes":1104},{"name":"SKILL.md","path":".agents/skills/document-component/SKILL.md","rawUrl":"https://raw.githubusercontent.com/anomalyco/sst/HEAD/.agents/skills/document-component/SKILL.md","title":"document-component","category":"anthropic-skill","format":"markdown","content":"# Document Component\n\nSteps to add a new component to the SST docs.\n\n1. Register in docs generator\n   - Add the component `.ts` path to `entryPoints` in `www/generate.ts`\n\n2. Add matching public getters\n   - Ensure every property returned by `getSSTLink()` has a corresponding public getter on the class\n   - The generator crashes otherwise because `renderLinks()` looks for a getter with the same name\n\n3. Analyze docs for relevant places to link the component\n   - Search existing guides (e.g. `cloudflare.mdx`) and component overviews for lists of related components\n   - Add the new component link where appropriate\n\n4. Add to Astro sidebar\n   - Add the generated doc slug to the appropriate section in `www/astro.config.mjs`\n   - Follow the existing visual ordering: components are sorted from shortest to longest name (least to most characters)\n\n5. Generate docs\n   - Run `bun run docs:generate`\n\n","isInternal":false,"tokens":205,"sizeBytes":903},{"name":"package.json","path":"examples/aws-auth-react/packages/core/package.json","rawUrl":"https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-auth-react/packages/core/package.json","title":"@aws-auth-react/core","category":"anthropic-skill","format":"json","content":"{\n  \"name\": \"@aws-auth-react/core\",\n  \"type\": \"module\",\n  \"version\": \"0.0.0\",\n  \"scripts\": {\n    \"test\": \"sst shell vitest\"\n  },\n  \"exports\": {\n    \"./*\": [\n      \"./src/*/index.ts\",\n      \"./src/*.ts\"\n    ]\n  },\n  \"dependencies\": {\n    \"sst\": \"file:../../../../sdk/js\"\n  },\n  \"devDependencies\": {\n    \"vitest\": \"^2\"\n  }\n}\n","frontmatter":{"name":"@aws-auth-react/core","type":"module","version":"0.0.0","scripts":{"test":"sst shell vitest"},"exports":{"./*":["./src/*/index.ts","./src/*.ts"]},"dependencies":{"sst":"file:../../../../sdk/js"},"devDependencies":{"vitest":"^2"}},"isInternal":false,"tokens":108,"sizeBytes":323},{"name":"tsconfig.json","path":"examples/aws-auth-react/packages/core/tsconfig.json","rawUrl":"https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-auth-react/packages/core/tsconfig.json","title":"Core Skill","category":"anthropic-skill","format":"json","content":"{\n  \"extends\": \"@tsconfig/node22/tsconfig.json\",\n  \"compilerOptions\": {\n    \"module\": \"ESNext\",\n    \"moduleResolution\": \"Bundler\",\n  },\n}\n","isInternal":false,"tokens":40,"sizeBytes":138},{"name":"package.json","path":"examples/aws-auth-react/packages/functions/package.json","rawUrl":"https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-auth-react/packages/functions/package.json","title":"@aws-auth-react/functions","category":"anthropic-skill","format":"json","content":"{\n  \"name\": \"@aws-auth-react/functions\",\n  \"version\": \"0.0.0\",\n  \"type\": \"module\",\n  \"dependencies\": {\n    \"@aws-auth-react/core\": \"*\",\n    \"@openauthjs/openauth\": \"^0.3.6\",\n    \"hono\": \"^4.6.18\",\n    \"sst\": \"file:../../../../sdk/js\",\n    \"valibot\": \"^1.0.0-beta.14\"\n  },\n  \"devDependencies\": {\n    \"@types/aws-lambda\": \"^8\"\n  }\n}\n","frontmatter":{"name":"@aws-auth-react/functions","version":"0.0.0","type":"module","dependencies":{"@aws-auth-react/core":"*","@openauthjs/openauth":"^0.3.6","hono":"^4.6.18","sst":"file:../../../../sdk/js","valibot":"^1.0.0-beta.14"},"devDependencies":{"@types/aws-lambda":"^8"}},"isInternal":false,"tokens":118,"sizeBytes":331},{"name":"tsconfig.json","path":"examples/aws-auth-react/packages/functions/tsconfig.json","rawUrl":"https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-auth-react/packages/functions/tsconfig.json","title":"Functions Skill","category":"anthropic-skill","format":"json","content":"{\n  \"extends\": \"@tsconfig/node22/tsconfig.json\",\n  \"compilerOptions\": {\n    \"module\": \"ESNext\",\n    \"moduleResolution\": \"Bundler\",\n  },\n}\n","isInternal":false,"tokens":40,"sizeBytes":138},{"name":"package.json","path":"examples/aws-auth-react/packages/scripts/package.json","rawUrl":"https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-auth-react/packages/scripts/package.json","title":"@aws-auth-react/scripts","category":"anthropic-skill","format":"json","content":"{\n  \"name\": \"@aws-auth-react/scripts\",\n  \"version\": \"0.0.0\",\n  \"type\": \"module\",\n  \"dependencies\": {\n    \"@aws-auth-react/core\": \"*\",\n    \"sst\": \"file:../../../../sdk/js\"\n  },\n  \"scripts\": {\n    \"shell\": \"sst shell tsx\"\n  },\n  \"devDependencies\": {\n    \"@types/node\": \"^22\",\n    \"tsx\": \"^4\"\n  }\n}\n","frontmatter":{"name":"@aws-auth-react/scripts","version":"0.0.0","type":"module","dependencies":{"@aws-auth-react/core":"*","sst":"file:../../../../sdk/js"},"scripts":{"shell":"sst shell tsx"},"devDependencies":{"@types/node":"^22","tsx":"^4"}},"isInternal":false,"tokens":97,"sizeBytes":296},{"name":"tsconfig.json","path":"examples/aws-auth-react/packages/scripts/tsconfig.json","rawUrl":"https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-auth-react/packages/scripts/tsconfig.json","title":"Scripts Skill","category":"anthropic-skill","format":"json","content":"{\n  \"extends\": \"@tsconfig/node22/tsconfig.json\",\n  \"compilerOptions\": {\n    \"module\": \"ESNext\",\n    \"moduleResolution\": \"Bundler\",\n  },\n}\n","isInternal":false,"tokens":40,"sizeBytes":138},{"name":"package.json","path":"examples/aws-auth-react/packages/web/package.json","rawUrl":"https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-auth-react/packages/web/package.json","title":"web","category":"anthropic-skill","format":"json","content":"{\n  \"name\": \"web\",\n  \"private\": true,\n  \"version\": \"0.0.0\",\n  \"type\": \"module\",\n  \"scripts\": {\n    \"dev\": \"vite\",\n    \"build\": \"tsc -b && vite build\",\n    \"lint\": \"eslint .\",\n    \"preview\": \"vite preview\"\n  },\n  \"dependencies\": {\n    \"@openauthjs/openauth\": \"^0.3.8\",\n    \"react\": \"^18.3.1\",\n    \"react-dom\": \"^18.3.1\"\n  },\n  \"devDependencies\": {\n    \"@eslint/js\": \"^9.17.0\",\n    \"@types/react\": \"^18.3.18\",\n    \"@types/react-dom\": \"^18.3.5\",\n    \"@vitejs/plugin-react\": \"^4.3.4\",\n    \"eslint\": \"^9.17.0\",\n    \"eslint-plugin-react-hooks\": \"^5.0.0\",\n    \"eslint-plugin-react-refresh\": \"^0.4.16\",\n    \"globals\": \"^15.14.0\",\n    \"typescript\": \"~5.6.2\",\n    \"typescript-eslint\": \"^8.18.2\",\n    \"vite\": \"^6.0.5\"\n  }\n}\n","frontmatter":{"name":"web","private":true,"version":"0.0.0","type":"module","scripts":{"dev":"vite","build":"tsc -b && vite build","lint":"eslint .","preview":"vite preview"},"dependencies":{"@openauthjs/openauth":"^0.3.8","react":"^18.3.1","react-dom":"^18.3.1"},"devDependencies":{"@eslint/js":"^9.17.0","@types/react":"^18.3.18","@types/react-dom":"^18.3.5","@vitejs/plugin-react":"^4.3.4","eslint":"^9.17.0","eslint-plugin-react-hooks":"^5.0.0","eslint-plugin-react-refresh":"^0.4.16","globals":"^15.14.0","typescript":"~5.6.2","typescript-eslint":"^8.18.2","vite":"^6.0.5"}},"isInternal":false,"tokens":268,"sizeBytes":713},{"name":"tsconfig.app.json","path":"examples/aws-auth-react/packages/web/tsconfig.app.json","rawUrl":"https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-auth-react/packages/web/tsconfig.app.json","title":"Web Skill","category":"anthropic-skill","format":"json","content":"{\n  \"compilerOptions\": {\n    \"tsBuildInfoFile\": \"./node_modules/.tmp/tsconfig.app.tsbuildinfo\",\n    \"target\": \"ES2020\",\n    \"useDefineForClassFields\": true,\n    \"lib\": [\"ES2020\", \"DOM\", \"DOM.Iterable\"],\n    \"module\": \"ESNext\",\n    \"skipLibCheck\": true,\n\n    /* Bundler mode */\n    \"moduleResolution\": \"bundler\",\n    \"allowImportingTsExtensions\": true,\n    \"isolatedModules\": true,\n    \"moduleDetection\": \"force\",\n    \"noEmit\": true,\n    \"jsx\": \"react-jsx\",\n\n    /* Linting */\n    \"strict\": true,\n    \"noUnusedLocals\": true,\n    \"noUnusedParameters\": true,\n    \"noFallthroughCasesInSwitch\": true,\n    \"noUncheckedSideEffectImports\": true\n  },\n  \"include\": [\"src\"]\n}\n","isInternal":false,"tokens":196,"sizeBytes":665},{"name":"tsconfig.json","path":"examples/aws-auth-react/packages/web/tsconfig.json","rawUrl":"https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-auth-react/packages/web/tsconfig.json","title":"Web Skill","category":"anthropic-skill","format":"json","content":"{\n  \"files\": [],\n  \"references\": [\n    { \"path\": \"./tsconfig.app.json\" },\n    { \"path\": \"./tsconfig.node.json\" }\n  ]\n}\n","frontmatter":{"files":[],"references":[{"path":"./tsconfig.app.json"},{"path":"./tsconfig.node.json"}]},"isInternal":false,"tokens":38,"sizeBytes":119},{"name":"tsconfig.node.json","path":"examples/aws-auth-react/packages/web/tsconfig.node.json","rawUrl":"https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-auth-react/packages/web/tsconfig.node.json","title":"Web Skill","category":"anthropic-skill","format":"json","content":"# Web Skill\n\nPath: `examples/aws-auth-react/packages/web/tsconfig.node.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-auth-react/packages/web/tsconfig.node.json)","tokens":300,"sizeBytes":216},{"name":"extensions.json","path":"examples/aws-monorepo/packages/astro/.vscode/extensions.json","rawUrl":"https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/astro/.vscode/extensions.json","title":".vscode Skill","category":"anthropic-skill","format":"json","content":"# .vscode Skill\n\nPath: `examples/aws-monorepo/packages/astro/.vscode/extensions.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/astro/.vscode/extensions.json)","tokens":300,"sizeBytes":230},{"name":"launch.json","path":"examples/aws-monorepo/packages/astro/.vscode/launch.json","rawUrl":"https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/astro/.vscode/launch.json","title":".vscode Skill","category":"anthropic-skill","format":"json","content":"# .vscode Skill\n\nPath: `examples/aws-monorepo/packages/astro/.vscode/launch.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/astro/.vscode/launch.json)","tokens":300,"sizeBytes":222},{"name":"package.json","path":"examples/aws-monorepo/packages/astro/package.json","rawUrl":"https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/astro/package.json","title":"Astro Skill","category":"anthropic-skill","format":"json","content":"# Astro Skill\n\nPath: `examples/aws-monorepo/packages/astro/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/astro/package.json)","tokens":300,"sizeBytes":206},{"name":"tsconfig.json","path":"examples/aws-monorepo/packages/astro/tsconfig.json","rawUrl":"https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/astro/tsconfig.json","title":"Astro Skill","category":"anthropic-skill","format":"json","content":"# Astro Skill\n\nPath: `examples/aws-monorepo/packages/astro/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/astro/tsconfig.json)","tokens":300,"sizeBytes":208},{"name":"package.json","path":"examples/aws-monorepo/packages/core/package.json","rawUrl":"https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/core/package.json","title":"Core Skill","category":"anthropic-skill","format":"json","content":"# Core Skill\n\nPath: `examples/aws-monorepo/packages/core/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/core/package.json)","tokens":300,"sizeBytes":203},{"name":"tsconfig.json","path":"examples/aws-monorepo/packages/core/tsconfig.json","rawUrl":"https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/core/tsconfig.json","title":"Core Skill","category":"anthropic-skill","format":"json","content":"# Core Skill\n\nPath: `examples/aws-monorepo/packages/core/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/core/tsconfig.json)","tokens":300,"sizeBytes":205},{"name":"package.json","path":"examples/aws-monorepo/packages/frontend/package.json","rawUrl":"https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/frontend/package.json","title":"Frontend Skill","category":"anthropic-skill","format":"json","content":"# Frontend Skill\n\nPath: `examples/aws-monorepo/packages/frontend/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/frontend/package.json)","tokens":300,"sizeBytes":215},{"name":"package.json","path":"examples/aws-monorepo/packages/functions/package.json","rawUrl":"https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/functions/package.json","title":"Functions Skill","category":"anthropic-skill","format":"json","content":"# Functions Skill\n\nPath: `examples/aws-monorepo/packages/functions/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/functions/package.json)","tokens":300,"sizeBytes":218},{"name":"tsconfig.json","path":"examples/aws-monorepo/packages/functions/tsconfig.json","rawUrl":"https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/functions/tsconfig.json","title":"Functions Skill","category":"anthropic-skill","format":"json","content":"# Functions Skill\n\nPath: `examples/aws-monorepo/packages/functions/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/functions/tsconfig.json)","tokens":300,"sizeBytes":220},{"name":"package.json","path":"examples/aws-monorepo/packages/scripts/package.json","rawUrl":"https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/scripts/package.json","title":"Scripts Skill","category":"anthropic-skill","format":"json","content":"# Scripts Skill\n\nPath: `examples/aws-monorepo/packages/scripts/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/scripts/package.json)","tokens":300,"sizeBytes":212},{"name":"tsconfig.json","path":"examples/aws-monorepo/packages/scripts/tsconfig.json","rawUrl":"https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/scripts/tsconfig.json","title":"Scripts Skill","category":"anthropic-skill","format":"json","content":"# Scripts Skill\n\nPath: `examples/aws-monorepo/packages/scripts/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/scripts/tsconfig.json)","tokens":300,"sizeBytes":214},{"name":"CLAUDE.md","path":"CLAUDE.md","rawUrl":"https://raw.githubusercontent.com/anomalyco/sst/HEAD/CLAUDE.md","title":"Claude Agent Guidelines & System Prompt","category":"claude-rule","format":"markdown","content":"## Layout\n\n- `platform/` — TS Pulumi components embedded via `//go:embed` (`platform/platform.go:16`)\n- `examples/` — sample apps\n- `cmd/sst/` — Go CLI entry, orchestrates everything\n- `cmd/sst/mosaic/` — live dev TUI\n- `pkg/server/` — JSON-RPC bridge for custom Pulumi dynamic providers (`rpc/rpc.ts` ↔ `pkg/server`)\n- `pkg/bus/` — pub/sub event bus\n- `sdk/js/` — runtime SDK for reading linked resources\n- `www/` — docs site (auto-generated from JSDoc comments in platform and extracted from the Go CLI)\n\n## Commands\n\n- **Setup**: `bun run setup`\n- **Build platform**: `bun run build:platform`\n- **Build CLI**: `bun run build:cli`\n- **Run CLI locally**: `cd examples/<app> && go run ../../cmd/sst <command>`\n- **Go tests**: `bun run test:cli`\n- **Typecheck**: `bun run typecheck`\n- **Generate docs**: `bun run docs:generate`\n- **Run docs locally**: `bun run docs:dev`\n\n## Verification\n\n1. Build the platform\n2. `cd examples/<app> && bun install`\n3. `go run ../../cmd/sst deploy`\n4. Verify with `curl` or AWS CLI\n5. Don't clean up unless told to\n6. `sst dev --mode=basic` for dev mode\n","isInternal":false,"tokens":327,"sizeBytes":1104},{"name":".cursorrules","path":".cursorrules (sveltekit-tailwindcss-typescript-cursorrules-promp.mdc)","rawUrl":"https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/sveltekit-tailwindcss-typescript-cursorrules-promp.mdc","title":"Awesome Cursorrules: sveltekit tailwindcss typescript cursorrules promp","category":"cursor-rule","format":"markdown","content":"---\ndescription: \"Cursor rules for SvelteKit development with Tailwind CSS and TypeScript integration.\"\nglobs: **/*\nalwaysApply: false\n---\nModible Project Standards\n\nVersion Numbers\n\nNode.js: 18.x or later\nSvelteKit: 2.x (which uses Svelte 4.x)\nTypeScript: 5.x\nVite: 5.x\nPNPM: 8.x or later\n\nAs a Senior Frontend Developer, you are now tasked with providing expert answers related to Svelte, SvelteKit, JavaScript, TypeScript, TailwindCSS, HTML, and CSS. When responding to questions, follow the Chain of Thought method. First, outline a detailed pseudocode plan step by step, then confirm it, and proceed to write the code.\n\nRemember the following important mindset when providing code:\n\nSimplicity\nReadability\nPerformance\nMaintainability\nTestability\nReusability\n\nAdhere to the following guidelines in your code:\n\nUtilize early returns for code readability.\nUse Tailwind classes for styling HTML elements instead of CSS or <style> tags.\nPrefer \"class:\" instead of the tertiary operator in class tags when possible.\nEmploy descriptive variable and function/const names, and prefix event functions with \"handle,\" such as \"handleClick\" for onClick and \"handleKeyDown\" for onKeyDown.\nImplement accessibility features on elements, including tabindex=\"0\", aria-label, on:click, on:keydown, and similar attributes for tags like <button>.\nUse consts instead of functions, and define a type if possible.\n\nYour responses should focus on providing correct, best practice, DRY principle (Don't Repeat Yourself), bug-free, fully functional, and working code aligned with the listed rules above. Prioritize easy and readable code over performance and fully implement all requested functionality. Ensure that the code is complete and thoroughly verified, including all required imports and proper naming of key components. Be prepared to answer questions specifically about Svelte, SvelteKit, JavaScript, TypeScript, TailwindCSS, HTML, and CSS. Your responses should align with the provided coding environment and implementation guidelines.\n\nPreferred Syntax and Patterns\n\nSvelte Components\n\nUse .svelte extension for Svelte components\nUse TypeScript syntax in <script> tags:\nsvelteCopy\n<script lang=\"ts\">\n  // TypeScript code here\n</script>\n\nState Management\n\nUse Svelte stores for global state:\ntypescriptCopy\nimport { writable } from 'svelte/store';\nexport const myStore = writable(initialValue);\n\nAccess store values in components with the $ prefix:\nsvelteCopy\n<p>{$myStore}</p>\n\nReactivity\n\nUse reactive declarations for derived values:\nsvelteCopy\n$: derivedValue = someValue * 2;\n\nUse reactive statements for side effects:\nsvelteCopy\n$: { \n  console.log(someValue); \n  updateSomething(someValue);\n}\n\nTyping\n\nUse TypeScript for type definitions\nCreate interfaces or types for component props:\ntypescriptCopy\ninterface MyComponentProps { \n  someValue: string; \n  optionalValue?: number;\n}\n\nImports\n\nUse aliased imports where applicable (as defined in svelte.config.js):\ntypescriptCopy\nimport SomeComponent from '$lib/components/SomeComponent.svelte';\nimport { someUtil } from '$lib/utils';\n\nAsync Operations\n\nPrefer async/await syntax over .then() chains\nUse onMount for component initialization that requires async operations\n\nStyling\n\nUse Tailwind CSS for styling\nUtilize Tailwind's utility classes directly in the markup\nFor complex components, consider using Tailwind's @apply directive in a scoped <style> block\nUse dynamic classes with template literals when necessary:\nsvelteCopy\n<div class={`bg-blue-500 p-4 ${isActive ? 'opacity-100' : 'opacity-50'}`}></div>\n\nFile Structure\n\nGroup related components in subdirectories under src/lib/components/\nKeep pages in src/routes/\nUse +page.svelte for page components and +layout.svelte for layouts\nPlace reusable utility functions in src/lib/utils/\nStore types and interfaces in src/lib/types/\n\nComponent Design\n\nFollow the single responsibility principle\nCreate small, reusable components\nUse props for component configuration\nUtilize Svelte's slot system for flexible component composition\n\nData Fetching\n\nUse SvelteKit's load function for server-side data fetching\nImplement proper error handling and loading states\nUtilize SvelteKit's form actions for form submissions and mutations\n\nPerformance Optimization\n\nLazy load components and modules when possible\nUse Svelte's transition API for smooth UI animations\nImplement proper caching strategies for API requests\n\nTesting\n\nWrite unit tests for utility functions and complex logic\nCreate component tests using a testing library compatible with Svelte (e.g., Svelte Testing Library)\nImplement end-to-end tests for critical user flows\n\nAccessibility\n\nEnsure proper semantic HTML structure\nUse ARIA attributes when necessary\nImplement keyboard navigation for interactive elements\nMaintain sufficient color contrast ratios\n\nCode Quality\n\nUse ESLint with the recommended Svelte and TypeScript configurations\nImplement Prettier for consistent code formatting\nConduct regular code reviews to maintain code quality and consistency\n\nDocumentation\n\nMaintain up-to-date README files for the project and major components\nUse JSDoc comments for functions and complex logic\nKeep inline comments concise and meaningful\n","tokens":1070,"sizeBytes":5196}],"systemPromptSnippet":"<yakaai_skills repo=\"anomalyco/sst\">\n<!-- File: AGENTS.md (Tokens: ~327 | Category: root-instruction) -->\n## Layout\n\n- `platform/` — TS Pulumi components embedded via `//go:embed` (`platform/platform.go:16`)\n- `examples/` — sample apps\n- `cmd/sst/` — Go CLI entry, orchestrates everything\n- `cmd/sst/mosaic/` — live dev TUI\n- `pkg/server/` — JSON-RPC bridge for custom Pulumi dynamic providers (`rpc/rpc.ts` ↔ `pkg/server`)\n- `pkg/bus/` — pub/sub event bus\n- `sdk/js/` — runtime SDK for reading linked resources\n- `www/` — docs site (auto-generated from JSDoc comments in platform and extracted from the Go CLI)\n\n## Commands\n\n- **Setup**: `bun run setup`\n- **Build platform**: `bun run build:platform`\n- **Build CLI**: `bun run build:cli`\n- **Run CLI locally**: `cd examples/<app> && go run ../../cmd/sst <command>`\n- **Go tests**: `bun run test:cli`\n- **Typecheck**: `bun run typecheck`\n- **Generate docs**: `bun run docs:generate`\n- **Run docs locally**: `bun run docs:dev`\n\n## Verification\n\n1. Build the platform\n2. `cd examples/<app> && bun install`\n3. `go run ../../cmd/sst deploy`\n4. Verify with `curl` or AWS CLI\n5. Don't clean up unless told to\n6. `sst dev --mode=basic` for dev mode\n\n<!-- File: .agents/skills/document-component/SKILL.md (Tokens: ~205 | Category: anthropic-skill) -->\n# Document Component\n\nSteps to add a new component to the SST docs.\n\n1. Register in docs generator\n   - Add the component `.ts` path to `entryPoints` in `www/generate.ts`\n\n2. Add matching public getters\n   - Ensure every property returned by `getSSTLink()` has a corresponding public getter on the class\n   - The generator crashes otherwise because `renderLinks()` looks for a getter with the same name\n\n3. Analyze docs for relevant places to link the component\n   - Search existing guides (e.g. `cloudflare.mdx`) and component overviews for lists of related components\n   - Add the new component link where appropriate\n\n4. Add to Astro sidebar\n   - Add the generated doc slug to the appropriate section in `www/astro.config.mjs`\n   - Follow the existing visual ordering: components are sorted from shortest to longest name (least to most characters)\n\n5. Generate docs\n   - Run `bun run docs:generate`\n\n<!-- File: examples/aws-auth-react/packages/core/package.json (Tokens: ~108 | Category: anthropic-skill) -->\n{\n  \"name\": \"@aws-auth-react/core\",\n  \"type\": \"module\",\n  \"version\": \"0.0.0\",\n  \"scripts\": {\n    \"test\": \"sst shell vitest\"\n  },\n  \"exports\": {\n    \"./*\": [\n      \"./src/*/index.ts\",\n      \"./src/*.ts\"\n    ]\n  },\n  \"dependencies\": {\n    \"sst\": \"file:../../../../sdk/js\"\n  },\n  \"devDependencies\": {\n    \"vitest\": \"^2\"\n  }\n}\n\n<!-- File: examples/aws-auth-react/packages/core/tsconfig.json (Tokens: ~40 | Category: anthropic-skill) -->\n{\n  \"extends\": \"@tsconfig/node22/tsconfig.json\",\n  \"compilerOptions\": {\n    \"module\": \"ESNext\",\n    \"moduleResolution\": \"Bundler\",\n  },\n}\n\n<!-- File: examples/aws-auth-react/packages/functions/package.json (Tokens: ~118 | Category: anthropic-skill) -->\n{\n  \"name\": \"@aws-auth-react/functions\",\n  \"version\": \"0.0.0\",\n  \"type\": \"module\",\n  \"dependencies\": {\n    \"@aws-auth-react/core\": \"*\",\n    \"@openauthjs/openauth\": \"^0.3.6\",\n    \"hono\": \"^4.6.18\",\n    \"sst\": \"file:../../../../sdk/js\",\n    \"valibot\": \"^1.0.0-beta.14\"\n  },\n  \"devDependencies\": {\n    \"@types/aws-lambda\": \"^8\"\n  }\n}\n\n<!-- File: examples/aws-auth-react/packages/functions/tsconfig.json (Tokens: ~40 | Category: anthropic-skill) -->\n{\n  \"extends\": \"@tsconfig/node22/tsconfig.json\",\n  \"compilerOptions\": {\n    \"module\": \"ESNext\",\n    \"moduleResolution\": \"Bundler\",\n  },\n}\n\n<!-- File: examples/aws-auth-react/packages/scripts/package.json (Tokens: ~97 | Category: anthropic-skill) -->\n{\n  \"name\": \"@aws-auth-react/scripts\",\n  \"version\": \"0.0.0\",\n  \"type\": \"module\",\n  \"dependencies\": {\n    \"@aws-auth-react/core\": \"*\",\n    \"sst\": \"file:../../../../sdk/js\"\n  },\n  \"scripts\": {\n    \"shell\": \"sst shell tsx\"\n  },\n  \"devDependencies\": {\n    \"@types/node\": \"^22\",\n    \"tsx\": \"^4\"\n  }\n}\n\n<!-- File: examples/aws-auth-react/packages/scripts/tsconfig.json (Tokens: ~40 | Category: anthropic-skill) -->\n{\n  \"extends\": \"@tsconfig/node22/tsconfig.json\",\n  \"compilerOptions\": {\n    \"module\": \"ESNext\",\n    \"moduleResolution\": \"Bundler\",\n  },\n}\n\n<!-- File: examples/aws-auth-react/packages/web/package.json (Tokens: ~268 | Category: anthropic-skill) -->\n{\n  \"name\": \"web\",\n  \"private\": true,\n  \"version\": \"0.0.0\",\n  \"type\": \"module\",\n  \"scripts\": {\n    \"dev\": \"vite\",\n    \"build\": \"tsc -b && vite build\",\n    \"lint\": \"eslint .\",\n    \"preview\": \"vite preview\"\n  },\n  \"dependencies\": {\n    \"@openauthjs/openauth\": \"^0.3.8\",\n    \"react\": \"^18.3.1\",\n    \"react-dom\": \"^18.3.1\"\n  },\n  \"devDependencies\": {\n    \"@eslint/js\": \"^9.17.0\",\n    \"@types/react\": \"^18.3.18\",\n    \"@types/react-dom\": \"^18.3.5\",\n    \"@vitejs/plugin-react\": \"^4.3.4\",\n    \"eslint\": \"^9.17.0\",\n    \"eslint-plugin-react-hooks\": \"^5.0.0\",\n    \"eslint-plugin-react-refresh\": \"^0.4.16\",\n    \"globals\": \"^15.14.0\",\n    \"typescript\": \"~5.6.2\",\n    \"typescript-eslint\": \"^8.18.2\",\n    \"vite\": \"^6.0.5\"\n  }\n}\n\n<!-- File: examples/aws-auth-react/packages/web/tsconfig.app.json (Tokens: ~196 | Category: anthropic-skill) -->\n{\n  \"compilerOptions\": {\n    \"tsBuildInfoFile\": \"./node_modules/.tmp/tsconfig.app.tsbuildinfo\",\n    \"target\": \"ES2020\",\n    \"useDefineForClassFields\": true,\n    \"lib\": [\"ES2020\", \"DOM\", \"DOM.Iterable\"],\n    \"module\": \"ESNext\",\n    \"skipLibCheck\": true,\n\n    /* Bundler mode */\n    \"moduleResolution\": \"bundler\",\n    \"allowImportingTsExtensions\": true,\n    \"isolatedModules\": true,\n    \"moduleDetection\": \"force\",\n    \"noEmit\": true,\n    \"jsx\": \"react-jsx\",\n\n    /* Linting */\n    \"strict\": true,\n    \"noUnusedLocals\": true,\n    \"noUnusedParameters\": true,\n    \"noFallthroughCasesInSwitch\": true,\n    \"noUncheckedSideEffectImports\": true\n  },\n  \"include\": [\"src\"]\n}\n\n<!-- File: examples/aws-auth-react/packages/web/tsconfig.json (Tokens: ~38 | Category: anthropic-skill) -->\n{\n  \"files\": [],\n  \"references\": [\n    { \"path\": \"./tsconfig.app.json\" },\n    { \"path\": \"./tsconfig.node.json\" }\n  ]\n}\n\n<!-- File: examples/aws-auth-react/packages/web/tsconfig.node.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Web Skill\n\nPath: `examples/aws-auth-react/packages/web/tsconfig.node.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-auth-react/packages/web/tsconfig.node.json)\n\n<!-- File: examples/aws-monorepo/packages/astro/.vscode/extensions.json (Tokens: ~300 | Category: anthropic-skill) -->\n# .vscode Skill\n\nPath: `examples/aws-monorepo/packages/astro/.vscode/extensions.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/astro/.vscode/extensions.json)\n\n<!-- File: examples/aws-monorepo/packages/astro/.vscode/launch.json (Tokens: ~300 | Category: anthropic-skill) -->\n# .vscode Skill\n\nPath: `examples/aws-monorepo/packages/astro/.vscode/launch.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/astro/.vscode/launch.json)\n\n<!-- File: examples/aws-monorepo/packages/astro/package.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Astro Skill\n\nPath: `examples/aws-monorepo/packages/astro/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/astro/package.json)\n\n<!-- File: examples/aws-monorepo/packages/astro/tsconfig.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Astro Skill\n\nPath: `examples/aws-monorepo/packages/astro/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/astro/tsconfig.json)\n\n<!-- File: examples/aws-monorepo/packages/core/package.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Core Skill\n\nPath: `examples/aws-monorepo/packages/core/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/core/package.json)\n\n<!-- File: examples/aws-monorepo/packages/core/tsconfig.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Core Skill\n\nPath: `examples/aws-monorepo/packages/core/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/core/tsconfig.json)\n\n<!-- File: examples/aws-monorepo/packages/frontend/package.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Frontend Skill\n\nPath: `examples/aws-monorepo/packages/frontend/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/frontend/package.json)\n\n<!-- File: examples/aws-monorepo/packages/functions/package.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Functions Skill\n\nPath: `examples/aws-monorepo/packages/functions/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/functions/package.json)\n\n<!-- File: examples/aws-monorepo/packages/functions/tsconfig.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Functions Skill\n\nPath: `examples/aws-monorepo/packages/functions/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/functions/tsconfig.json)\n\n<!-- File: examples/aws-monorepo/packages/scripts/package.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Scripts Skill\n\nPath: `examples/aws-monorepo/packages/scripts/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/scripts/package.json)\n\n<!-- File: examples/aws-monorepo/packages/scripts/tsconfig.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Scripts Skill\n\nPath: `examples/aws-monorepo/packages/scripts/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/anomalyco/sst/HEAD/examples/aws-monorepo/packages/scripts/tsconfig.json)\n\n<!-- File: CLAUDE.md (Tokens: ~327 | Category: claude-rule) -->\n## Layout\n\n- `platform/` — TS Pulumi components embedded via `//go:embed` (`platform/platform.go:16`)\n- `examples/` — sample apps\n- `cmd/sst/` — Go CLI entry, orchestrates everything\n- `cmd/sst/mosaic/` — live dev TUI\n- `pkg/server/` — JSON-RPC bridge for custom Pulumi dynamic providers (`rpc/rpc.ts` ↔ `pkg/server`)\n- `pkg/bus/` — pub/sub event bus\n- `sdk/js/` — runtime SDK for reading linked resources\n- `www/` — docs site (auto-generated from JSDoc comments in platform and extracted from the Go CLI)\n\n## Commands\n\n- **Setup**: `bun run setup`\n- **Build platform**: `bun run build:platform`\n- **Build CLI**: `bun run build:cli`\n- **Run CLI locally**: `cd examples/<app> && go run ../../cmd/sst <command>`\n- **Go tests**: `bun run test:cli`\n- **Typecheck**: `bun run typecheck`\n- **Generate docs**: `bun run docs:generate`\n- **Run docs locally**: `bun run docs:dev`\n\n## Verification\n\n1. Build the platform\n2. `cd examples/<app> && bun install`\n3. `go run ../../cmd/sst deploy`\n4. Verify with `curl` or AWS CLI\n5. Don't clean up unless told to\n6. `sst dev --mode=basic` for dev mode\n\n<!-- File: .cursorrules (sveltekit-tailwindcss-typescript-cursorrules-promp.mdc) (Tokens: ~1070 | Category: cursor-rule) -->\n---\ndescription: \"Cursor rules for SvelteKit development with Tailwind CSS and TypeScript integration.\"\nglobs: **/*\nalwaysApply: false\n---\nModible Project Standards\n\nVersion Numbers\n\nNode.js: 18.x or later\nSvelteKit: 2.x (which uses Svelte 4.x)\nTypeScript: 5.x\nVite: 5.x\nPNPM: 8.x or later\n\nAs a Senior Frontend Developer, you are now tasked with providing expert answers related to Svelte, SvelteKit, JavaScript, TypeScript, TailwindCSS, HTML, and CSS. When responding to questions, follow the Chain of Thought method. First, outline a detailed pseudocode plan step by step, then confirm it, and proceed to write the code.\n\nRemember the following important mindset when providing code:\n\nSimplicity\nReadability\nPerformance\nMaintainability\nTestability\nReusability\n\nAdhere to the following guidelines in your code:\n\nUtilize early returns for code readability.\nUse Tailwind classes for styling HTML elements instead of CSS or <style> tags.\nPrefer \"class:\" instead of the tertiary operator in class tags when possible.\nEmploy descriptive variable and function/const names, and prefix event functions with \"handle,\" such as \"handleClick\" for onClick and \"handleKeyDown\" for onKeyDown.\nImplement accessibility features on elements, including tabindex=\"0\", aria-label, on:click, on:keydown, and similar attributes for tags like <button>.\nUse consts instead of functions, and define a type if possible.\n\nYour responses should focus on providing correct, best practice, DRY principle (Don't Repeat Yourself), bug-free, fully functional, and working code aligned with the listed rules above. Prioritize easy and readable code over performance and fully implement all requested functionality. Ensure that the code is complete and thoroughly verified, including all required imports and proper naming of key components. Be prepared to answer questions specifically about Svelte, SvelteKit, JavaScript, TypeScript, TailwindCSS, HTML, and CSS. Your responses should align with the provided coding environment and implementation guidelines.\n\nPreferred Syntax and Patterns\n\nSvelte Components\n\nUse .svelte extension for Svelte components\nUse TypeScript syntax in <script> tags:\nsvelteCopy\n<script lang=\"ts\">\n  // TypeScript code here\n</script>\n\nState Management\n\nUse Svelte stores for global state:\ntypescriptCopy\nimport { writable } from 'svelte/store';\nexport const myStore = writable(initialValue);\n\nAccess store values in components with the $ prefix:\nsvelteCopy\n<p>{$myStore}</p>\n\nReactivity\n\nUse reactive declarations for derived values:\nsvelteCopy\n$: derivedValue = someValue * 2;\n\nUse reactive statements for side effects:\nsvelteCopy\n$: { \n  console.log(someValue); \n  updateSomething(someValue);\n}\n\nTyping\n\nUse TypeScript for type definitions\nCreate interfaces or types for component props:\ntypescriptCopy\ninterface MyComponentProps { \n  someValue: string; \n  optionalValue?: number;\n}\n\nImports\n\nUse aliased imports where applicable (as defined in svelte.config.js):\ntypescriptCopy\nimport SomeComponent from '$lib/components/SomeComponent.svelte';\nimport { someUtil } from '$lib/utils';\n\nAsync Operations\n\nPrefer async/await syntax over .then() chains\nUse onMount for component initialization that requires async operations\n\nStyling\n\nUse Tailwind CSS for styling\nUtilize Tailwind's utility classes directly in the markup\nFor complex components, consider using Tailwind's @apply directive in a scoped <style> block\nUse dynamic classes with template literals when necessary:\nsvelteCopy\n<div class={`bg-blue-500 p-4 ${isActive ? 'opacity-100' : 'opacity-50'}`}></div>\n\nFile Structure\n\nGroup related components in subdirectories under src/lib/components/\nKeep pages in src/routes/\nUse +page.svelte for page components and +layout.svelte for layouts\nPlace reusable utility functions in src/lib/utils/\nStore types and interfaces in src/lib/types/\n\nComponent Design\n\nFollow the single responsibility principle\nCreate small, reusable components\nUse props for component configuration\nUtilize Svelte's slot system for flexible component composition\n\nData Fetching\n\nUse SvelteKit's load function for server-side data fetching\nImplement proper error handling and loading states\nUtilize SvelteKit's form actions for form submissions and mutations\n\nPerformance Optimization\n\nLazy load components and modules when possible\nUse Svelte's transition API for smooth UI animations\nImplement proper caching strategies for API requests\n\nTesting\n\nWrite unit tests for utility functions and complex logic\nCreate component tests using a testing library compatible with Svelte (e.g., Svelte Testing Library)\nImplement end-to-end tests for critical user flows\n\nAccessibility\n\nEnsure proper semantic HTML structure\nUse ARIA attributes when necessary\nImplement keyboard navigation for interactive elements\nMaintain sufficient color contrast ratios\n\nCode Quality\n\nUse ESLint with the recommended Svelte and TypeScript configurations\nImplement Prettier for consistent code formatting\nConduct regular code reviews to maintain code quality and consistency\n\nDocumentation\n\nMaintain up-to-date README files for the project and major components\nUse JSDoc comments for functions and complex logic\nKeep inline comments concise and meaningful\n</yakaai_skills>"}