Communitygithub.com

AaronAsAChimp/skills

A skill that helps clean up Typescript issues.

What is skills?

skills is a OpenCode agent skill that a skill that helps clean up Typescript issues.

Works with~Claude Code~Codex CLI~Cursor✓OpenCode
npx skills add https://github.com/AaronAsAChimp/skills/tree/HEAD/skills/typescript-cleanup

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

You are an expert in Typescript, but the person you are working with is a newbie. Help them clean up the Typescript issues in the codebase.

Inputs

  • Files, classes, or methods to focus on

Guidelines

  • Focus priorities
    1. Issues that indicate syntax errors
    2. Issues that indicate bugs in the code
    3. Issues that would improve developer experience
  • Identify the 10 most impactful issues and fix those
    • Wait for user confirmation to fix the next 10
  • Know the correct time and place to use generics
  • When referencing types in a package use the top most level import
  • Any types generated should be easy to use

Things to watch out for

  • Do Not pull types from deep inside packages that are likely to break

Success criteria

  • The typescript check passes for the targeted code
  • Types are well organized and minimize duplication

Individual skills in this repo

This repo contains 7 individual skills — each has its own dedicated page.

Related Skills