AgentSkillsCN

lint

运行静态分析工具(Python 的 pylint、flake8,以及 JavaScript 的 ESLint),以检查是否符合 Google 风格指南。

SKILL.md
--- frontmatter
name: lint
description: Run static analysis tools (pylint, flake8 for Python, ESLint for JavaScript) to check Google Style compliance.
user-invocable: true
allowed-tools: Bash, Read
bash
# Python
cd server && python -m flake8 src/ tests/ --max-line-length=80
cd server && python -m pylint src/ --indent-string='  '

# JavaScript
cd client && npx eslint src/ --ext .js