typescript
TypeScript coding standards and conventions including file naming rules
Find an Agent Skill for your task. Read the guide and copy the install command.
Updated 11-18 00:15
41,685 results
TypeScript coding standards and conventions including file naming rules
Public API exported by salesforcedx-vscode-core activate(). Use when modifying SalesforceVSCodeCoreApi, the api object in activate(), exports from core…
Known external consumers of APIs from this monorepo's extensions. Use when changing public API surfaces (activate return types, exported types, services…
Serialize URIs correctly across LSP custom requests. Use when defining custom LSP requests/notifications with URI params, sending a `URI` over…
Prefer vscode-uri over node:path. Use when .ts files in /src import node:path or use path.join/basename/dirname/resolve, URI.file, or memfs paths.
Consume the salesforcedx-vscode-services extension API. Use when an extension depends on salesforcedx-vscode-services and you are registering commands, calling…
Run an extremely strict maintainability review for abstraction quality, giant files, and spaghetti-condition growth. Use for a thermo-nuclear code quality…
Fix TS1261 when TypeScript reports two paths that differ only in casing (import vs include vs git index). Use when compile shows error 1261 or "Already…
Fix TS4023 errors when exporting Effect-based functions. Use when TypeScript reports "has or is using name 'X' from external module but cannot be named" for…
TypeScript coding standards — apply when writing, reviewing, or refactoring .ts/.tsx, or naming/renaming .ts files (camelCase casing).
Guidelines for using vscode.window.show*Message methods. Use when working with showInformationMessage, showWarningMessage, showErrorMessage.
Upgrades an existing Android app from Salesforce Mobile SDK 12.x to 13.2.1. Use when the user asks to upgrade the Mobile SDK version, or when you detect SDK…
Upgrades an existing Android Kotlin app from Salesforce Mobile SDK 13.x to 14.0. Use when the user asks to upgrade the Mobile SDK version, or when you detect…
Upgrades an existing iOS app from Salesforce Mobile SDK 12.x to 13.2.1. Use when the user asks to upgrade the Mobile SDK version, or when you detect SDK 12.x…
Upgrades an existing iOS app from Salesforce Mobile SDK 13.x to 14.0. Use when the user asks to upgrade the Mobile SDK version, or when you detect SDK 13.x…
Explore the Salesforce GraphQL schema via grep-only lookups. Use before generating any GraphQL query — schema exploration must complete first.
REST API usage via the Data SDK fetch method. Use when implementing Chatter, Connect REST, Apex REST, UI API REST, or Einstein LLM calls — only when GraphQL is…
Use this skill when users need to create, generate, or validate Salesforce Custom Field metadata. Trigger when users mention custom fields, field types,…
Use this skill when users need to create Salesforce records from React web applications. Trigger when users mention createRecord, creating…
Use when you need to review or refactor tRPC route code to ensure that the route structure, type definitions, input validation, and error handling all conform to project best practices; suitable for the code review and route refactoring stages. Trigger words: check trpc code, refactor route implementation, optimize tRPC format.
Use when you need to scan or inspect the usage of SVG icons in a project, discover and report non-compliant practices, including naming, path, and componentization issues; suitable for the code review stage. Trigger words: check svg standards, icon standard check, SVG usage review, SVG icon optimization.
Use when you need to check whether non-compliant types.ts/type.ts files exist in the project, or check whether there are handwritten types duplicating Zod schema definitions, ensuring all types are derived from Zod schemas. Trigger words: check type files, check types directory, zod type check, type.ts check.
Use when you need to clean up junk code in a codebase, including unused imports, commented-out code blocks, console.log, dead code, empty functions, duplicate code, etc. Trigger words: clean up code, clean code, delete dead code, remove junk.
Must follow when creating or refactoring DAO files, ensuring adherence to Drizzle ORM best practices (file structure, method naming, type safety, performance optimization).