一键导入
code-lint
Run linters, formatters, and type checkers for both frontend and backend code.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run linters, formatters, and type checkers for both frontend and backend code.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | code-lint |
| description | Run linters, formatters, and type checkers for both frontend and backend code. |
This skill runs linters and formatters for both frontend (React/TypeScript) and backend (Python/FastAPI) components of the ResumeAI project.
# Using Makefile
make lint
# Or run separately
npm run lint
black .
flake8 .
mypy .
# Check for lint errors
npm run lint
# Auto-fix lint errors
npm run lint:fix
# Run ESLint on specific files
npx eslint src/components/Button.tsx
# Format code
npm run format
# Check formatting without making changes
npm run format:check
# Format specific files
npx prettier --write src/App.tsx
# Check types without building
npx tsc --noEmit
# Check specific file
npx tsc --noEmit src/App.tsx
# Run flake8 on all Python files
flake8 .
# Run on specific files or directories
flake8 resume-api/
# Show specific error codes
flake8 --select=E9,F63,F7,F82 resume-api/
# Format code
black .
# Check formatting without making changes
black . --check
# Format specific files
black resume-api/main.py
# Run mypy on all Python files
mypy .
# Run with strict mode
mypy --strict .
# Run on specific files
mypy resume-api/main.py
eslint.config.js.prettierrctsconfig.jsonpyproject.toml or black sectionsetup.cfg or pyproject.tomlmypy.iniLinting checks run automatically in CI/CD pipelines:
.github/workflows/frontend-ci.yml - Frontend linting.github/workflows/backend-ci.yml - Backend lintingnpm run lint:fix before committing to fix frontend issuesblack . before committing to format Python codemypy --strict for stricter type checkingeslint-plugin-boundaries to enforce module boundariesRun accessibility tests to ensure the ResumeAI application is accessible to all users.
Analyze test coverage reports to identify areas needing more tests.
Inspect and query the SQLite database used by the ResumeAI application.
Build and run Docker containers for the ResumeAI application.
Detect unused npm dependencies in the ResumeAI frontend project.
Manage git branches, commits, and pull requests for ResumeAI development workflow.