Sign in Publish

contextetech / harness-projet-python

Target model : General (any model) French License: MIT Published on updated 1 hour ago ▶ 0 uses

Configuration Claude Code pour un projet Python avec uv, pytest et ruff : conventions, commandes autorisées, fichiers protégés.

Access High

  • Read files or data
  • Modify or delete files
  • Send data over the internet : No
  • Run commands on the machine

Agent instructions

# Projet Python

- Environnement géré par uv : `uv run` pour lancer, `uv add` pour ajouter une dépendance.
- Avant de proposer un commit : `uv run ruff check .` et `uv run pytest` doivent passer.
- Code annoté (types) et testé ; un test pour chaque bug corrigé.
- Ne jamais modifier `.env` ni les fichiers de `secrets/`.

Permissions

AllowedBash(uv run pytest:*)
AllowedBash(uv run ruff check:*)
AllowedBash(uv run ruff format:*)
AllowedBash(git status)
AllowedBash(git diff:*)
AllowedRead
AllowedEdit
DeniedRead(.env)
DeniedRead(secrets/**)
DeniedBash(git push:*)
DeniedBash(rm -rf:*)