tvm-test

Lint TVM Python, C/C++, and JNI code and run pytest tests.

1|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/guan404ming/gmccc --skill tvm-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tvm-test
Source: https://github.com/guan404ming/gmccc/tree/main/skills/tvm/tvm-test
Command: npx skills add https://github.com/guan404ming/gmccc --skill tvm-test

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

TVM linting and testing automation to maintain code quality across TVM projects.

Core Features & Use Cases

  • Lint Python files with python_format and pylint via docker/lint.sh
  • Lint C/C++ headers and sources with clang-format and cpplint
  • Lint Java files and JNI bindings with jnilint
  • Run Python tests with pytest on tests/python
  • Local lint without Docker using uv tool run clang-format and uv run cpplint

Quick Start

Run the tvm-test skill to lint the codebase and run Python tests.

Frequently Asked Questions about tvm-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I lint Python and C++ files in a TVM codebase?

You can lint TVM Python files using python_format and pylint, and lint C/C++ headers and sources with clang-format and cpplint via the docker/lint.sh script.

Can I run TVM linting locally without installing Docker?

Yes, you can run local TVM linting without Docker by using the uv tool to execute clang-format and cpplint commands directly on your C/C++ source files.

How do I execute Python tests for TVM components?

You can execute TVM Python tests by running pytest specifically targeting the tests/python directory within your TVM project structure.

Does TVM test automation support JNI bindings and Java files?

Yes, TVM test automation supports linting Java files and JNI bindings by applying jnilint rules to ensure code quality across JNI components.

What is the best way to identify and fix code quality issues in TVM?

The best way to fix TVM code quality issues is applying lint rules and executing tests across Python, C/C++, and JNI components using docker-based lint scripts and pytest.

Why should I use Docker for TVM linting instead of local tools?

Docker provides a consistent environment for TVM linting, but local linting with uv is also supported for faster execution without container overhead.