tilelang-review-skill

Validate Python and C++ code formatting against CI rules and generate JSON/Markdown reports.

346|151|Updated Sep 25, 2025
One-click install
npx skills add https://github.com/tile-ai/tilelang-ascend --skill tilelang-review-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tilelang-review-skill
Source: https://github.com/tile-ai/tilelang-ascend/tree/main/.agents/skills/tilelang-custom-skill/tilelang-review-skill
Command: npx skills add https://github.com/tile-ai/tilelang-ascend --skill tilelang-review-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ruff, clang-format.

What problem does it solve?

This Skill automates validation of Python and C++ code formatting against CI guidelines, generating a clear report and guiding corrective actions.

Core Features & Use Cases

  • Environment detection and tool installation: automatically verifies and installs ruff and clang-format when missing.
  • Code quality checks: runs lint checks (ruff) and format checks (ruff format, clang-format) on changed files or the full repository.
  • Report generation and review: outputs a structured JSON and Markdown report, suitable for PR reviews and CI dashboards.
  • Safe fix workflow: prompts for explicit user consent before applying fixes, then executes fixes and updates reports.

Quick Start

Run this skill to check Python and C++ code formatting, generate a report, and apply fixes only after your explicit consent.

Frequently Asked Questions about tilelang-review-skill

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

FAQPage Schema
How do I automate Python and C++ code format checks for CI pipelines?

Automate Python and C++ code format checks by running ruff and clang-format to validate code against CI rules, generating a structured JSON and Markdown report detailing any formatting issues.

Can I use ruff and clang-format to lint only changed files in a pull request?

Yes, you can use ruff and clang-format to lint changed files or the entire repository, making it suitable for pre-commit hooks and PR reviews to ensure only modified code is checked.

How does safe fix workflow handle code formatting errors before committing?

The safe fix workflow detects formatting errors and prompts for explicit user consent before automatically applying fixes, ensuring you maintain control over code modifications during the review process.

Do I need to manually install ruff and clang-format before running code checks?

No, manual installation is not required; the environment detection feature automatically verifies your setup and installs ruff and clang-format if they are missing before executing lint and format checks.

What is the best way to export code lint results for downstream CI dashboards?

Export code lint results by generating a structured JSON report that captures formatting and lint issues, providing standardized output easily consumable by downstream CI dashboards and tooling.

Why does CI code format validation fail locally but pass in the pipeline?

CI code format validation fails locally when your environment lacks the correct tools or configurations, but the skill resolves this by automatically detecting, installing, and aligning ruff and clang-format with CI rules.