# Code Style Checker

> Checks python code for use of print statements and suggests using logging instead. Use this when the user asks to review code or check for bad practices. Use when this capability is needed.

- Skill: `tomevault-io/code-style-checker` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/code-style-checker`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/code-style-checker/raw
- Safety review: pending
- 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/code-style-checker

---

# Code Style Checker Skill

This skill analyzes Python code to detect direct usage of `print()` statements, which are often non-production ready. It suggests replacing them with proper logging.

## Instructions
1. Run the checking script on the specified file or directory.
2. If the script returns an exit code of 1, it means violations were found. Report these to the user.
3. If the script returns 0, the code passes this check.

## Script Usage
Run the following command:
`python .agent/skills/code-style-checker/scripts/check.py <path_to_file_or_dir>`

## Output Interpretation
- **Output lines**: Will list the files and line numbers where `print()` was found.
- **Exit Code 1**: Violations found.
- **Exit Code 0**: No violations.

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

