typescript-refactoring-patterns
π―Skillfrom autohandai/community-skills
Teaches advanced TypeScript refactoring techniques to help developers transform complex, legacy code into cleaner, more type-safe, and maintainable implementations.
Installation
npx skills add https://github.com/autohandai/community-skills --skill typescript-refactoring-patternsSkill Details
Overview
# Autohand Community Skills
A curated collection of skills for the [Autohand CLI](https://github.com/autohandai/autohand) coding agent.
What are Skills?
Skills are structured knowledge files that teach Autohand how to work with specific technologies, frameworks, and patterns. They provide context, best practices, and code examples that help the AI assistant generate better code.
Installation
Install skills directly from Autohand CLI:
```bash
# Open the skills browser
autohand --skill-install
# Or install a specific skill directly
autohand --skill-install typescript-refactoring-patterns
# Install to project level (instead of user level)
autohand --skill-install react-component-architecture --project
```
Or use the slash command within an Autohand session:
```
/skills install
```
Available Skills
Featured
| Skill | Description | Rating |
|-------|-------------|--------|
| [typescript-refactoring-patterns](./typescript-refactoring-patterns) | Expert TypeScript refactoring patterns for cleaner, type-safe code | β 4.9 |
| [react-component-architecture](./react-component-architecture) | Modern React component patterns with hooks, composition, and TypeScript | β 4.8 |
| [nextjs-app-router-mastery](./nextjs-app-router-mastery) | Next.js 14+ App Router patterns, server components, and data fetching | β 4.9 |
| [testing-strategies](./testing-strategies) | Comprehensive testing strategies with Vitest, Jest, and Testing Library | β 4.8 |
| [tailwind-ui-patterns](./tailwind-ui-patterns) | Tailwind CSS v4 patterns, component styling, and responsive design | β 4.8 |
| [cli-tool-development](./cli-tool-development) | Build professional CLI tools with Node.js, commander, and Ink | β 4.7 |
Languages
| Skill | Description | Rating |
|-------|-------------|--------|
| [typescript-refactoring-patterns](./typescript-refactoring-patterns) | Expert TypeScript refactoring patterns | β 4.9 |
| [error-handling-patterns](./error-handling-patterns) | Robust error handling patterns for TypeScript | β 4.5 |
Frameworks
| Skill | Description | Rating |
|-------|-------------|--------|
| [react-component-architecture](./react-component-architecture) | Modern React component patterns | β 4.8 |
| [nextjs-app-router-mastery](./nextjs-app-router-mastery) | Next.js 14+ App Router patterns | β 4.9 |
| [python-fastapi-patterns](./python-fastapi-patterns) | FastAPI best practices and async patterns | β 4.7 |
| [tailwind-ui-patterns](./tailwind-ui-patterns) | Tailwind CSS v4 patterns | β 4.8 |
Workflows
| Skill | Description | Rating |
|-------|-------------|--------|
| [cli-tool-development](./cli-tool-development) | Build professional CLI tools | β 4.7 |
| [api-design-restful](./api-design-restful) | RESTful API design patterns | β 4.6 |
| [testing-strategies](./testing-strategies) | Comprehensive testing strategies | β 4.8 |
| [git-workflow-mastery](./git-workflow-mastery) | Advanced Git workflows | β 4.5 |
| [database-schema-design](./database-schema-design) | Database schema design patterns | β 4.6 |
| [documentation-writing](./documentation-writing) | Technical documentation best practices | β 4.4 |
Skill Structure
Each skill follows this structure:
```
skill-name/
βββ SKILL.md # Main skill file (required)
βββ templates/ # Optional templates
βββ examples/ # Optional examples
βββ README.md # Optional additional docs
```
SKILL.md Format
```markdown
---
name: skill-name
description: Brief description of the skill
license: MIT
compatibility: requirements (e.g., typescript 5+)
allowed-tools: read_file write_file apply_patch
---
# Skill Name
Section 1
Content and code examples...
Section 2
More content...
```
Contributing
We welcome contributions! See [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines.
Quick Contribution Guide
- Fork this repository
- Create a new skill directory with
SKILL.md - Add your skill to
registry.json - Submit a pull request
##
More from this repository6
Provides expert-level design patterns, best practices, and code examples for building high-performance, scalable asynchronous web APIs using FastAPI in Python.
Provides expert guidance and code examples for implementing advanced Tailwind CSS v4 component styling, responsive design patterns, and UI composition techniques.
Teaches advanced Git workflow techniques, best practices for branching, merging, and collaborative development strategies using professional version control patterns.
nextjs-app-router-mastery skill from autohandai/community-skills
Teaches developers how to build professional command-line interface (CLI) tools using Node.js, commander library, and Ink for interactive terminal interfaces.
Guides developers in designing clean, scalable RESTful API architectures with best practices, design patterns, and implementation strategies.