Personal AI, On Personal Devices
Python
[skill]
name = "code-lint"
description = "Read a source file, analyze it for code quality issues, and report findings"
version = "0.1.0"
author = "openjarvis"
[[skill.steps]]
tool_name = "file_read"
arguments_template = '{"path": "{file_path}"}'
output_key = "source_code"
[[skill.steps]]
tool_name = "think"
arguments_template = '{"thought": "Analyze the code for quality issues: style violations, potential bugs, unused variables, missing error handling, code smells, and complexity problems: {source_code}"}'
output_key = "issues"
[[skill.steps]]
tool_name = "think"
arguments_template = '{"thought": "Format the findings as a structured lint report with severity levels (error, warning, info) and line references: {issues}"}'
output_key = "report"