Favicon of add-or-fix-type-checking

add-or-fix-type-checking Skill

AI Agent SkillPythonOpen source

Fixes broken typing checks detected by ty, make typing, or make check-repo. Use when typing errors appear in local runs, CI, or PR logs. Published by huggingface in transformers.

What is add-or-fix-type-checking Skill?

Fixes broken typing checks detected by ty, make typing, or make check-repo. Use when typing errors appear in local runs, CI, or PR logs. Published by huggingface in transformers. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
100/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Developers using transformers

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use add-or-fix-type-checking Skill

  • Use it for developers using transformers.

Built with

PythonCopy skill directory

Editorial notes

Source

  • Creator: huggingface
  • Repository: huggingface/transformers
  • Skill file: .ai/skills/add-or-fix-type-checking/SKILL.md

What it does

Fixes broken typing checks detected by ty, make typing, or make check-repo. Use when typing errors appear in local runs, CI, or PR logs.

Skill instructions

Add Or Fix Type Checking Input - <target: module or directory to type-check (if known). - Optional make typing or CI output showing typing failures. Workflow 1. Identify scope from the failing run: - If you already have make typing or CI output, extract the failing file/module paths. - If not, run: bash make typing - Choose the narrowest target that covers the failures. 2. Run ty check for the target to get a focused baseline: bash ty check --respect-ignore-files --exclude '/pb' <target 3. Triage errors by category before fixing anything: - Wrong/missing type annotations on signatures - Attribute access on union types (for example X | None) - Functions returning broad unions (for example str | list | BatchEncoding) - Mixin/protocol self-type issues - Dynamic attributes on objects or modules - Third-party stub gaps (missing kwargs, missing version, etc.) 4. Apply fixes using this priority order (simplest first): a. Narrow unions with isinstance() / if x is None / hasattr(). This is the

Explore related resources

Frequently asked questions

What is add-or-fix-type-checking?

add-or-fix-type-checking is a open-source AI agent skill with Copy skill directory. Fixes broken typing checks detected by ty, make typing, or make check-repo. Use when typing errors appear in local runs, CI, or PR logs.

Who is add-or-fix-type-checking best for?

add-or-fix-type-checking is best for reusing agent instructions, scripts, and references.

How do I install add-or-fix-type-checking?

Install or run add-or-fix-type-checking using Copy skill directory. Check add-or-fix-type-checking for the latest setup command.

Is add-or-fix-type-checking actively maintained?

add-or-fix-type-checking may need a closer maintenance check before production use.

Share:

Stars
162,585
Forks
33,877
Last commit
9 days ago
Repository age
8 years
License
Apache-2.0

Auto-fetched from GitHub.

Ad
Favicon

 

  
 

Similar to add-or-fix-type-checking

add-or-fix-type-checking: Install, Config & GitHub Signals – SkillIndex