python-project-ops
Skill86 starsChanged 49 days agoMITView on GitHub
Use this when managing Python dependencies with uv, running tests with pytest, linting with ruff, formatting code, type checking with mypy, or executing notebooks.
In this repository24 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- analysis-reportingSkill
- causal-inference-diagnosticsSkill
- dataframe-polarsSkill
- notebook-workflowSkill
- path-and-ioSkill
- plan-analysisSkill
- predictive-modeling-diagnosticsSkill
- prepare-prSkill
- python-styleSkill
- review-sqlSkill
- run-edaSkill
- run-modelingSkill
- safe-data-handlingSkill
- simulation-optimization-diagnosticsSkill
- sql-analysisSkill
- statistical-inference-diagnosticsSkill
- statistical-ml-reviewSkill
- summarize-analysisSkill
- sync-agent-docsSkill
- unsupervised-eda-diagnosticsSkill
- update-agent-docsSkill
- visualizationSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 2 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when changing dependencies, running tests, linting, formatting, type checking, or executing notebooks.
- Very specific: line 12
Use uv for all dependency installation, synchronization, addition, removal, and updates.
- Very specific: line 13
Never: use pip, pip3, python -m pip, poetry, conda, pipenv, or easy_install.
- Very specific: line 15
Use uv add <package> when adding dependencies.
- Very specific: line 16
Use uv add --group dev <package> for dev-only dependencies.
- Very specific: line 37
After modifying pyproject.toml, run uv sync.
- Very specific: line 38
After adding code, run uv run ruff check .
- Very specific: line 39
Before committing, run uv run pytest and uv run mypy src.
- Very specific: line 44
Place tests under tests/; keep them fast by minimizing external dependencies.
- Distinctive: line 47
Verify notebooks re-run from a clean kernel — see notebook-workflow skill.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: Python Project Operations
Use this skill when changing dependencies, running tests, linting, formatting, type checking, or executing notebooks.
Package Manager: uv Only
- Use
uvfor all dependency installation, synchronization, addition, removal, and updates. - Never use pip, pip3,
python -m pip, poetry, conda, pipenv, or easy_install. - Never manually create or edit
requirements.txt. - Use
uv add <package>when adding dependencies. - Use
uv add --group dev <package>for dev-only dependencies. - Review diffs in
pyproject.tomlanduv.lockafter dependency changes.
Python Version
- Python 3.11.
Common Commands
uv sync # Install/synchronize dependencies
uv run pytest # Run tests
uv run ruff check . # Lint
uv run ruff format . # Format
uv run mypy src # Type check
uv run papermill notebooks/input.ipynb notebooks/output.ipynb # Execute notebook
bash scripts/run_quality_checks.sh # Run all quality checksWorkflow
- After modifying
pyproject.toml, runuv sync. - After adding code, run
uv run ruff check .anduv run ruff format .. - Before committing, run
uv run pytestanduv run mypy src. - For notebook execution in CI or automation, prefer
papermill.
Tests and Tool Configuration
- Place tests under
tests/; keep them fast by minimizing external dependencies. ruffsettings live in the[tool.ruff]section ofpyproject.toml.mypysettings live in the[tool.mypy]section ofpyproject.toml.- Verify notebooks re-run from a clean kernel — see notebook-workflow skill.
Validation Scripts
These run in GitHub Actions CI, and can be run locally before committing.
uv run python scripts/check_no_raw_data_commit.py # rawデータのコミットを検知
uv run python scripts/check_no_sensitive_patterns.py # 秘密情報のパターンを検知
uv run python scripts/validate_agent_docs.py # エージェント文書の必須ファイル確認
uv run python scripts/sync_agent_docs.py --check # CLAUDE.md / AGENTS.md のドリフト検出
bash scripts/run_quality_checks.sh # 上記を含む一括実行Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

