بنقرة واحدة
python-conventions
Apply Python conventions — uv, Ruff strict, mypy strict, pytest, pip-audit.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Apply Python conventions — uv, Ruff strict, mypy strict, pytest, pip-audit.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Generate one "Implement Block X" GitHub issue per Spec Kit tasks.md PR-stack block, with a minimal body pointing at tasks.md as the source of truth.
Implement one Spec Kit `tasks.md` PR-stack block end-to-end — TDD + review + PR + CI fix loop.
Apply KISS, YAGNI, DRY, SOLID, fail-fast, be-brief on every code decision.
Five-pass review of a diff: code, security, architecture, acceptance, AI-native.
Apply Solidity conventions — Foundry only, forge fmt, solhint:all, fuzz tests.
Commit via feature branch + PR + git hooks; never push main, never merge.
| name | python-conventions |
| description | Apply Python conventions — uv, Ruff strict, mypy strict, pytest, pip-audit. |
| allowed-tools | Read, Edit, Write, Grep, Glob, Bash(uv *), Bash(uv run ruff *), Bash(uv run mypy *), Bash(uv run pytest *), Bash(uv run pip-audit *), Bash(uv run vulture *), Bash(uv run python *) |
| globs | **/*.py |
| paths | **/*.py |
If the repo doesn't define its own tooling, use:
E (pycodestyle errors), F (pyflakes), I (isort), UP (pyupgrade)B (flake8-bugbear), SIM (flake8-simplify), PTH (pathlib)PIE (flake8-pie), RUF (ruff-specific), T201 (no print)PLC0415 (import-outside-toplevel)strict = true, warn_return_any = true, warn_unused_configs = true)pytest-cov, pytest-asyncio)ALWAYS use test.py in project root for:
uv run python3 << 'EOF')Write code to test.py, then run with uv run python test.py. Comment out previous code — keeps history. Gitignored — never commit.