maintaining-quality
CommunityWrite robust TypeScript code.
Authoralexejluft
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses common pitfalls in TypeScript development that lead to runtime errors or broken builds, such as unsafe type assertions, poor error handling, insecure environment variable access, and unused imports.
Core Features & Use Cases
- Type Safety: Enforces strict typing for parsed JSON and API responses using Zod schemas.
- Robust Error Handling: Implements a typed
tryCatchutility for predictable error management. - Secure Environment Variables: Integrates with T3 Env for validated, type-safe access to environment variables.
- Clean Imports: Utilizes
eslint-plugin-unused-importsto eliminate unused dependencies. - Use Case: When refactoring a legacy JavaScript project to TypeScript, this Skill ensures that all external data is validated, errors are caught gracefully, and the codebase remains clean and maintainable.
Quick Start
Use the maintaining-quality skill to refactor the provided TypeScript code snippet to include Zod validation for JSON parsing.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: maintaining-quality Download link: https://github.com/alexejluft/brudi/archive/main.zip#maintaining-quality Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.