convez.ai
SkillDesenvolvimento WebIntermediário
ruijadom

Template Claude para React/TypeScript/Electron

ruijadom/claude-template

Setup completo React+TypeScript+Vite com regras Claude e Electron

Ver no GitHub
InicialPluginScore · de 0 a 100

Skill que configura um projeto React com TypeScript e Vite, incluindo regras ESLint avançadas, suporte a Electron e integração com o Claude para desenvolvimento assistido. Fornece template pronto com HMR, plugins otimizados (Oxc/SWC) e configurações de linting tipo-aware para aplicações em produção.

Instalação

$npx convez-ai ruijadom/claude-template

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
0
Forks
0
Acompanhando
0
Saúde
28%
Último commit
há 5 meses
Versão
—
Issues abertas
0
Contribuidores
1

Casos de uso

  • Bootstrapping de projetos React modernos com type safety
  • Configuração de linting rigoroso para equipes
  • Desenvolvimento de aplicações Electron com React

Veredito

Template sólido para iniciar projetos React com boas práticas de linting e type-checking, mas requer familiaridade com Vite e ESLint. Útil para equipes que priorizam qualidade de código desde o início.

README

A tradução para o português deste README ainda está na fila.

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // Remove tseslint.configs.recommended and replace with this
      tseslint.configs.recommendedTypeChecked,
      // Alternatively, use this for stricter rules
      tseslint.configs.strictTypeChecked,
      // Optionally, add this for stylistic rules
      tseslint.configs.stylisticTypeChecked,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])
Ver o original no GitHub

Bom para

Relacionados