一键导入
format-lint-assistant
Run the project's formatter, linters, and mypy checks in the required order, fixing issues and managing any needed stub dependencies via uv.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run the project's formatter, linters, and mypy checks in the required order, fixing issues and managing any needed stub dependencies via uv.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Inspect a repository and draft an AGENTS.md file using the standard template, capturing commands, structure, and workflow rules.
Perform structured, actionable code reviews for Python code with clear findings and suggestions.
Add purposeful debug logging to improve observability without changing behavior.
Generate high-quality conventional git commit messages and, with user approval, run the commit. Use when drafting or refining commit messages, validating commit quality, or committing staged work while avoiding noisy histories.
Write Python docstrings following the Google Python Style Guide, using clear sections and examples.
Write focused pytest tests as standalone functions (one test per function), avoiding test classes.
| name | format-lint-assistant |
| description | Run the project's formatter, linters, and mypy checks in the required order, fixing issues and managing any needed stub dependencies via uv. |
make format before linting to apply project formatting.make lint; fix linter errors first, rerun make lint, then address any remaining mypy issues.uv add --dev <package> so they land in pyproject.toml; never use mypy's install-missing-libraries command.make lint until it passes cleanly; share any unresolved issues.references/linting_rules.md for the exact workflow.Prepare and format
make format to apply formatting before linting.Lint and iterate
make lint.make lint to confirm the lint portion is clean.make lint to verify.Manage dependencies
uv add --dev <package> so it updates the dev dependencies in pyproject.toml.Validate and report
make lint once more after all fixes to ensure a clean result.