Index of every page on this site: llms.txt
All skills
ki2pixel avatar

/testing-matrix-navigator

@7f1d5e7
Run it yourself

Guide for selecting and executing the correct pytest suites (unit, integration, redis, R2, routing rules, magic link) with environment setup and coverage expectations.

Use this Skill: https://skilld.dev/gh/ki2pixel/render_signal_server/testing-matrix-navigator

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈48 tokens for metadata: the name and description. ≈609 when used: this file.

Description uses 2.4% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈194 characters, or 2.4%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Testing Matrix Navigator

Utilise cette compétence pour planifier et exécuter les tests pertinents après une modification.

Pré-requis

  • Virtualenv /mnt/venv_ext4/venv_render_signal_server activé.
  • Variables ENV exportées (FLASK_SECRET_KEY, etc.) via .env.
  • Accès aux marqueurs Pytest réellement déclarés (unit, integration, e2e, slow, redis, imap).

Matrice de décision

Contexte Commande helper Description
Modifications backend générales ./run_tests.sh -u Tests unitaires sans dépendances externes
Config/Redis pytest -m redis Tests marqués Redis
R2 / Offload pytest tests/test_r2_transfer_service.py Couverture ciblée du service R2
Routing rules pytest tests/routes/test_api_routing_rules.py tests/email_processing/test_routing_rules_orchestrator.py API + orchestrateur
Magic link pytest tests/test_services.py -k magic_link Couverture ciblée du service Magic Link
Full suite ./run_tests.sh -a -c Tous les tests avec couverture

Workflow

  1. Préparer l'environnement
    • Activer /mnt/venv_ext4/venv_render_signal_server.
    • Exporter les variables requises via .env.
  2. Sélectionner la suite
    • Utiliser ./run_tests.sh avec les options appropriées.
    • Pour un diff large, exécuter pytest --maxfail=1 --disable-warnings d'abord, puis pytest --cov=..
  3. Commandes avancées
    • Tests ciblés : pytest tests/routes/test_api_routing_rules.py
    • Scénarios spécifiques : pytest tests/email_processing/test_routing_rules_orchestrator.py -k stop_processing
    • Magic link : pytest tests/test_services.py -k magic_link
    • R2 : pytest tests/test_r2_transfer_service.py
    • Durées : pytest --durations=20
  4. Analyse des résultats
    • Corriger immédiatement les échecs introduits.
    • Si une suite est flaky, documenter dans la Memory Bank avec étapes de reproduction.
  5. Rapports
    • Pour la CI, viser couverture ≥70% (88 cols, black/isort conformes).

Ressources

  • run_tests.sh : script principal à la racine qui active le venv et exécute les suites demandées (unit, integration, e2e, fast, coverage).

Conseils

  • Grouper les tests par dossier modifié pour diagnostiquer plus vite.
  • Relire pytest.ini pour les options par défaut (plugins, markers).
  • Ajouter des tests Given/When/Then lors de nouvelles fonctionnalités.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning8mo4 checks · Risk SAFE
  • Gen Agent Trust Hub8mo

    This skill provides a testing framework navigator to guide the execution of pytest suites. It facilitates environment setup and execution of local test scripts for backend services including Redis and R2.

  • Socket8mo

    No alerts

  • Snyk8mo

    Risk: LOW · No issues

  • Runlayer8mo

    2/2 files flagged

Signed by skilld at 7f1d5e7. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 9 months ago

README badge

README badge for ki2pixel/render_signal_server/testing-matrix-navigator