ort-lint Skill
Lint and format ONNX Runtime code. Use this skill when asked to lint, format, or check code style for C++ or Python files in ONNX Runtime. Published by microsoft in onnxruntime.
What is ort-lint Skill?
Lint and format ONNX Runtime code. Use this skill when asked to lint, format, or check code style for C++ or Python files in ONNX Runtime. Published by microsoft in onnxruntime. 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.
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
- Documentation
- Documentation use cases
Technical details
- Install or run with Copy skill directory
When to use ort-lint Skill
- Use it for documentation.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/onnxruntime
- Skill file: .agents/skills/ort-lint/SKILL.md
What it does
Lint and format ONNX Runtime code. Use this skill when asked to lint, format, or check code style for C++ or Python files in ONNX Runtime.
Skill instructions
Linting and Formatting ONNX Runtime Code ONNX Runtime uses lintrunner for both C++ (clang-format) and Python (ruff). Setup (one-time) bash pip install -r requirements-lintrunner.txt lintrunner init Commands bash lintrunner -a auto-fix changed files lintrunner -a --all-files auto-fix all files lintrunner -a path/to/file.py path/to/otherfile.cc auto-fix specific files lintrunner f --all-files format Python files only lintrunner check without fixing (dry run) Style rules C++ - Google C++ Style with modifications (see docs/CodingConventionsandStandards.md for full details) - Max line length: 120 characters, but aim for 80 when possible - Configured in .clang-format and .clang-tidy Python - Google Python Style Guide (extension of PEP 8) - Max line length: 120 characters - Configured in pyproject.toml Agent tips - Activate a Python virtual environment before installing dependencies. See "Python Virtual environment" in AGENTS.md. - If lintrunner is not yet set up, install and initialize first
Explore related resources
Frequently asked questions
What is ort-lint?
ort-lint is a open-source AI agent skill with Copy skill directory. Lint and format ONNX Runtime code. Use this skill when asked to lint, format, or check code style for C++ or Python files in ONNX Runtime.
Who is ort-lint best for?
ort-lint is best for reusing agent instructions, scripts, and references, documentation workflows.
How do I install ort-lint?
Install or run ort-lint using Copy skill directory. Check ort-lint for the latest setup command.
Is ort-lint actively maintained?
ort-lint may need a closer maintenance check before production use.
Auto-fetched from GitHub.