Loading...
Loading...
Google TypeScript style guide for writing clean, consistent, type-safe code. This skill should be used when writing, reviewing, or refactoring TypeScript code. Triggers on TypeScript files, type annotations, module imports, class design, and code style decisions.
npx skill4agent add pproenca/dot-skills ts-google| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Module Organization | CRITICAL | |
| 2 | Type Safety | CRITICAL | |
| 3 | Class Design | HIGH | |
| 4 | Function Patterns | HIGH | |
| 5 | Control Flow | MEDIUM-HIGH | |
| 6 | Error Handling | MEDIUM | |
| 7 | Naming & Style | MEDIUM | |
| 8 | Literals & Coercion | LOW-MEDIUM | |
module-named-exportsmodule-no-mutable-exportsmodule-es6-modulesmodule-no-namespacesmodule-import-pathsmodule-import-typemodule-export-api-surfacetypes-no-anytypes-prefer-interfacestypes-explicit-structuraltypes-nullable-patternstypes-array-syntaxtypes-no-wrapper-typestypes-prefer-map-settypes-no-empty-objectclass-parameter-propertiesclass-readonly-propertiesclass-no-private-fieldsclass-no-static-containersclass-constructor-parensclass-no-prototype-manipulationfunc-declarations-over-expressionsfunc-arrow-concise-bodiesfunc-avoid-this-rebindingfunc-rest-parametersfunc-generator-syntaxfunc-default-parameterscontrol-always-use-bracescontrol-triple-equalscontrol-for-of-iterationcontrol-switch-defaultcontrol-no-assignment-in-conditionerror-throw-errorserror-catch-unknownerror-empty-catch-commentserror-avoid-assertionsnaming-identifier-stylesnaming-descriptive-namesnaming-no-decorative-underscoresnaming-no-interface-prefixnaming-constantsliteral-single-quotesliteral-number-formatsliteral-explicit-coercionliteral-array-constructor| File | Description |
|---|---|
| AGENTS.md | Complete compiled guide with all rules |
| references/_sections.md | Category definitions and ordering |
| assets/templates/_template.md | Template for new rules |
| metadata.json | Version and reference information |