원클릭으로
ai-agent-lint
AI Agent code quality check - Use Ruff to check code standards for LangChain, AutoGen, and other AI Agent projects
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
AI Agent code quality check - Use Ruff to check code standards for LangChain, AutoGen, and other AI Agent projects
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Database migration management - Use Flyway and Atlas for version-controlled database schema migrations
Dockerfile best practices check - Use hadolint to validate Dockerfile security, performance, and compliance
Format JavaScript/TypeScript code with Prettier
Format Python code with Black
Auto-generate project changelog
Smart Git commit message generation
| name | ai-agent-lint |
| description | AI Agent code quality check - Use Ruff to check code standards for LangChain, AutoGen, and other AI Agent projects |
This skill uses Ruff (an extremely fast Python linter) to check AI Agent project code quality, specifically targeting:
| Tool | Min Version | Check Command | Installation |
|---|---|---|---|
| Python | 3.10+ | python --version | python.org |
| Ruff | 0.1.0+ | ruff --version | pip install ruff |
Note: If Ruff is not installed, the script will provide a friendly prompt instead of failing.
Tell the AI directly:
"Use ai-agent-lint skill to check my project"
AI will automatically:
Windows (PowerShell):
.\.agent\skills\ai-agent-lint\scripts\lint.ps1
Linux/Mac (Bash):
./.agent/skills/ai-agent-lint/scripts/lint.sh
# Windows
.\.agent\skills\ai-agent-lint\scripts\lint.ps1 -Path ".\src"
# Linux/Mac
./.agent/skills/ai-agent-lint/scripts/lint.sh src
eval() and exec() usage warnings🔍 AI Agent Lint - Checking project...
📁 Scanning directory: C:\Users\WJ\Desktop\MyAgent
📦 Detected: LangChain project
✅ src/main.py - No issues
⚠️ src/agent.py:15:1 - F401 [unused-import] 'os' imported but unused
❌ src/config.py:23:5 - S105 [hardcoded-password-string] Possible hardcoded password
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Check Results:
✅ Passed: 45 files
⚠️ Warnings: 3 issues
❌ Errors: 1 issue
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 Tip: Run 'ruff check --fix' to auto-fix some issues
Create pyproject.toml or ruff.toml in the project root to customize rules:
# pyproject.toml
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"S", # flake8-bandit (security)
"B", # flake8-bugbear
"C90", # mccabe complexity
]
ignore = ["E501"] # Ignore line length limit
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"] # Allow unused imports in __init__.py
Q: What if Ruff is not installed?
A: The script will detect and prompt installation: pip install ruff
Q: Can it be integrated into CI/CD?
A: Yes! Add to GitHub Actions:
- name: Lint AI Agent Code
run: |
pip install ruff
ruff check .
Q: How to auto-fix issues?
A: Run ruff check --fix or use the script's --fix parameter
Q: Does it support other AI frameworks?
A: Yes, it supports all Python-based AI Agent frameworks with universal rules