# Backend Type Annotation

> How to use ty to check type annotation in Python files Use when this capability is needed.

- Skill: `tomevault-io/backend-type-annotation` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/backend-type-annotation`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/backend-type-annotation/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/backend-type-annotation

---


# Python Type Annotation

We use ty for type annotation checking. There are two ways to run type annotation check:

1. Manually:

   ```bash
   cd ./backend
   uv run ty check
   ```

2. Via script (run from project root), this will also run formatting, lint and tests:

   ```bash
   ./scripts/linting.bash --backend
   ```

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/jpmolinamatute) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-13 -->

