Torna al catalogo
Curato dal modelloSviluppo

Dossier della skill

typescript-pro

Dichiarazione di fonte

Implements advanced TypeScript type systems, creates custom type guards, utility types, and branded types, and configures tRPC for end-to-end type safety. Use when building TypeScript applications requiring advanced generics, conditional or mapped types, discriminated unions, monorepo setup, or full-stack type safety with tRPC.

La descrizione originale dell'autore, conservata in inglese. Descrive l'intento, non prestazioni verificate.

Implements advanced TypeScript type systems, creates custom type guards, utility types, and branded types, and configures tRPC for end-to-end type safety. Use when building TypeScript applications requiring advanced generics, conditional or mapped types, discriminated unions, monorepo setup, or full-stack type safety with tRPC.

developmentreferences

I contenuti di ricerca di questo sito sono pubblicati in inglese e cinese e qui sono mostrati in inglese.

Sintesi della ricerca

Curato dal modello

Skill Atlas model curation · model-curated-1.0.0

Guides advanced TypeScript work: branded types, generics, conditional and mapped types, discriminated unions, strict tsconfig and tRPC, checked with tsc --noEmit.

Ambito della revisione

Deterministic static analysis of collected SKILL.md and supporting text/code. Machine-assisted candidates and findings are static-analysis candidates; no dynamic behavior or effect is assessed.

Capacità osservabili

  • Reviews tsconfig, type coverage and build performance.
  • Designs type-first APIs with branded types, generics and utility types.
  • Writes type guards and discriminated unions, running tsc --noEmit to catch errors.
  • Configures project references and incremental compilation.

Limiti e ambito

  • Needs a TypeScript toolchain; type-coverage is suggested as an example tool, not a requirement.
  • The skill bans enums and favors strict flags, which may conflict with existing project conventions.
  • The tRPC setup is mentioned in the description but only lightly covered in SKILL.md itself.

Utile per

  • Developers building typed libraries and APIs
  • Teams enabling strict mode in existing codebases
  • Full-stack engineers who want end-to-end type safety

Cosa contiene la skill

L'inventario dei file proviene dal sorgente raccolto al commit registrato. Percorsi e dimensioni sono osservazioni strutturali, non una misura di qualità.

file
6
File Markdown
6
script
0
riferimenti
5
Dimensione
47,6 KB
Complessità strutturale
Bassa

Inventario dei file

PercorsoTipoByte
skills/typescript-pro/references/advanced-types.mdRiferimento6,3 KB
skills/typescript-pro/references/configuration.mdRiferimento8,8 KB
skills/typescript-pro/references/patterns.mdRiferimento11 KB
skills/typescript-pro/references/type-guards.mdRiferimento7,7 KB
skills/typescript-pro/references/utility-types.mdRiferimento8,4 KB
skills/typescript-pro/SKILL.mdIstruzione5,5 KB

Frontmatter di SKILL.md

{
  "name": "typescript-pro",
  "description": "Implements advanced TypeScript type systems, creates custom type guards, utility types, and branded types, and configures tRPC for end-to-end type safety. Use when building TypeScript applications requiring advanced generics, conditional or mapped types, discriminated unions, monorepo setup, or full-stack type safety with tRPC.",
  "license": "MIT",
  "metadata": {
    "author": "https://github.com/Jeffallan",
    "company": "https://synergetic.solutions",
    "version": "1.1.0",
    "domain": "language",
    "triggers": "TypeScript, generics, type safety, conditional types, mapped types, tRPC, tsconfig, type guards, discriminated unions",
    "role": "specialist",
    "scope": "implementation",
    "output-format": "code",
    "related-skills": "fullstack-guardian, api-designer"
  }
}

Una lettura della sequenza operativa

Questo workflow ricostruisce la sequenza apparente a partire dal materiale sorgente. A meno che sia registrata esplicitamente una valutazione controllata, è provvisorio e non una traccia osservata.

  1. 01
    Input

    Analyze type architecture

    Review tsconfig, type coverage and build performance.

  2. 02
    Azione

    Implement with type safety

    Write type guards, discriminated unions and conditional types, running tsc --noEmit before proceeding.

  3. 03
    Decisione

    Check and iterate

    Confirm type coverage and explicit return types on public APIs; iterate on steps 3-4 until checks pass.

  4. 04
    Output

    Deliver typed code

    Provide type definitions, implementation with type guards, tsconfig if needed and design notes.

Possibili superfici di rischio

I rilievi statici indicano i punti da esaminare prima dell'installazione. Non stabiliscono che una skill sia sicura, dannosa o efficace.

Attenzione consigliata

253 deterministic lexical finding(s) require review across the collected text. Findings can occur in documentation and do not prove execution or exploitability; binary-only files were not scanned.

Accesso alla reteOsservato
Scritture su fileOsservato
Uso di credenzialiOsservato
Nota

File modification is described or implemented

241 occorrenze

This line contains a possible file-write or redirection operation. Check destination paths and overwrite behavior; the static review did not write any file. This rule matched 241 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Alto

Credential or secret material is referenced

3 occorrenze

This line resembles a credential literal or reads a sensitive environment value. Do not expose its contents; verify whether it is a placeholder, required secret, or accidentally committed material. This rule matched 3 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Medio

Network access is mentioned

9 occorrenze

A URL or network client appears in this source line. Review destinations, data sent, and trust boundaries; static text cannot establish actual network activity. This rule matched 9 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Nota di sicurezza editoriale

Review changes to tsconfig and any type assertions the agent adds, since loosened settings can hide real type errors.

Dove può essere consumato il contesto

I livelli di individuazione, attivazione e risorse hanno significati diversi. I valori esatti compaiono solo quando il metodo ufficiale di conteggio è stato eseguito con un modello indicato.

Conteggio esatto dei token non disponibile

All token values, including per-file inventory, are null until the pipeline performs an official exact count with an explicit model.

Non è stata registrata alcuna misura dei token con il metodo ufficiale richiesto. Questo dossier non la sostituisce con conteggi di caratteri, dimensioni dei file o stime.

Valutazione controllata

Nessuna valutazione controllata

Questa skill dispone solo delle evidenze indicate sopra. Non si afferma alcun tasso di successo, efficienza in token, latenza o vantaggio di qualità.

Non testato

Usare tenendo il sorgente in vista

Comando di installazione
git clone https://github.com/Jeffallan/claude-skills.git cd claude-skills # Copy this skill directory into one of: # ~/.claude/skills/typescript-pro # .claude/skills/typescript-pro
  1. Open the pinned source at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/typescript-pro/SKILL.md.
  2. Review the license, prerequisites and all bundled reference files.
  3. Copy the skill directory into a personal or project-level Claude Code skills directory.
  4. Restart or refresh Claude Code so the skill can be discovered.
Verifica dell'installazione

Confirm SKILL.md is discoverable at the destination, then ask Claude Code to use typescript-pro on a small task.

Prerequisiti

  • Needs a TypeScript toolchain; type-coverage is suggested as an example tool, not a requirement.
  • The skill bans enums and favors strict flags, which may conflict with existing project conventions.
  • The tRPC setup is mentioned in the description but only lightly covered in SKILL.md itself.

Prompt di esempio

Representative task

Use the typescript-pro skill to add branded UserId and OrderId types to our API layer, model request state as a discriminated union with an exhaustive switch, and confirm tsc --noEmit passes.

Inspect before use

Read the typescript-pro skill at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/typescript-pro/SKILL.md. Explain its workflow, required tools, permissions and the main risks before I decide whether to install it.

Un giudizio, con i suoi limiti

Punti di forza

  • Concrete examples for branded types, exhaustive switches and utility types.
  • Workflow reruns tsc --noEmit after each stage until clean.

Aspetti da valutare

  • The recommended tsconfig is strict and may need loosening for migrations.
  • Some rules, such as avoiding enums, are opinionated.
Conclusione della ricerca

A focused type-system skill that is most useful for new or strict-mode TypeScript code.

Tracciabile per costruzione

Il dossier è una lettura circoscritta nel tempo di un artefatto pubblico, non un'approvazione. Usa il link al sorgente per esaminare il materiale upstream esatto.

Jeffallanclaude-skillsskills/typescript-pro
Tipo di fonte
Community
Commit
67c1961b180dc92cf08983344627109e983e8f51
Raccolta
20 nov 2026
Ultimo controllo
20 nov 2026
Licenza upstream
MIT
Stelle del repository
12.469
Base dei contenuti

Deterministic lexical parsing, YAML frontmatter validation, file inventory, source-described workflow extraction, and heuristic provisional classification of the supplied files only. Generated by machine; no LLM, execution, or dynamic testing.