Clavue Ability · Capability catalog
Skill · Engineering

TypeScript Type-Debt Cleanup

Plan a safe reduction of any, unknown and non-null assertions in a codebase.

Executive Summary

Short answer: Plan a safe reduction of any, unknown and non-null assertions in a codebase.. Input is TypeScript config, compiler errors, type usage stats, test coverage; output is Type-debt inventory, prioritized cleanup plan, typed refactors.

Capabilities on this page come from Clavue Bot's built-in catalog; no 1:1 alignment with any third-party product is claimed.

Commercial ROI & Use Cases

Business value:

TypeScript Type-Debt Cleanup reduces repeated manual work and gets a reviewable result faster.

  • Demand topics: Coding & DevOps
  • Demand topics: Data & BI

Input/Output Contract

InputOutputTools / Connectors
TypeScript config, compiler errors, type usage stats, test coverageType-debt inventory, prioritized cleanup plan, typed refactorsCode · Files · GitHub

Connect tools first · Actions like sending mail or making payments always ask for your confirmation first.

Workflow & Instructions

1

Inventory any, unknown and non-null assertion sites.

2

Rank them by risk and blast radius.

3

Tighten strictness incrementally rather than all at once.

4

Replace assertions with real guards and typed models.

5

Run typecheck and tests after each batch.

Actions like sending mail or making payments always ask for your confirmation first.

SKILL.md

# TypeScript Type-Debt Cleanup

> Plan a safe reduction of any, unknown and non-null assertions in a codebase.

## Input/Output Contract

- **Input:** TypeScript config, compiler errors, type usage stats, test coverage
- **Output:** Type-debt inventory, prioritized cleanup plan, typed refactors

## Workflow & Instructions

2. Inventory any, unknown and non-null assertion sites.
4. Rank them by risk and blast radius.
6. Tighten strictness incrementally rather than all at once.
8. Replace assertions with real guards and typed models.
10. Run typecheck and tests after each batch.

## Starter Prompt

```text
Plan a safe cleanup of type debt in this TypeScript project.
```

Starter Prompt

Plan a safe cleanup of type debt in this TypeScript project.

FAQ

Is this a real capability in Clavue Bot?

Yes. This page is generated from the product's built-in catalog; names, inputs/outputs and steps correspond to real scenarios, skills, MCP tools or digital employees.

Do I need to configure extra tools or connectors?

Entries marked 'Ready to use' need no extra tools. 'Needs tools' entries list the required connectors — just authorize them on first run.

Will it send emails or make payments without confirmation?

No. Outbound actions such as sending mail, making payments or submitting forms pause for your confirmation and continue only after you approve.

View Markdown source