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

/routing-rules-orchestrator

@7f1d5e7
Run it yourself

Streamline any change touching the dynamic routing rules stack (service, API, orchestrator, frontend) with mandatory validation steps and test coverage.

Use this Skill: https://skilld.dev/gh/ki2pixel/render_signal_server/routing-rules-orchestrator

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

SKILL.md

≈45 tokens for metadata: the name and description. ≈591 when used: this file.

Description uses 2.3% 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 ≈181 characters, or 2.3%.

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.

Routing Rules Orchestrator

Utilise ce skill pour modifier ou étendre le moteur de routage dynamique introduit en janvier 2026.

Pré-requis

  • Virtualenv /mnt/venv_ext4/venv_render_signal_server pour les tests.
  • Accès au dashboard pour les tests manuels UI.
  • Connaissance des types existants (RoutingRuleCondition, RoutingRuleAction, RoutingRule).

Workflow

  1. Cartographier l'impact
    • Identifier les couches concernées : services/routing_rules_service.py, routes/api_routing_rules.py, email_processing/orchestrator.py, static/services/RoutingRulesService.js, dashboard.html, tests associés.
  2. Mettre à jour le schéma
    • Réutiliser les constantes/types existants.
    • Respecter la validation stricte (opérateurs autorisés, normalisation strings, booléens explicites).
  3. Propager côté API
    • Ajouter les champs dans la validation custom portée par RoutingRulesService.update_rules().
    • Les routes Flask doivent être typées (ex: -> Response) et les fonctions faire < 40 lignes.
    • Couvrir les erreurs 400 détaillées.
  4. Adapter l'orchestrateur
    • Étendre _match_routing_condition ou _find_matching_routing_rule sans casser les early returns.
    • Logger via app_logging (pas d'info sensible).
  5. MAJ Frontend
    • Builder ES6 : manipuler routingRules via fonctions pures, pas de innerHTML (utiliser DOMHelper / data-target).
    • Ajouter les collectors et états UI (saving/saved/error) avec MessageHelper et implémenter l'interception beforeunload.
  6. Tests & validation
    • Lancer le helper bash ./.agents/skills/routing-rules-orchestrator/test_routing_rules.sh.
    • Compléter si besoin avec des tests ciblés sur les nouvelles fonctionnalités.
  7. Documentation
    • Documenter toute nouvelle action/condition dans docs/processing/routing-engine.md.
    • Mettre à jour la Memory Bank si des décisions architecturales sont prises.

Ressources

  • test_routing_rules.sh : active le venv, exécute les suites service, API, orchestrator et les scénarios stop_processing.

Conseils

  • Conserver la compatibilité avec les règles legacy (stop_processing, fallback backend).
  • Ajouter des migrations de données (script ou instructions) si le schéma change.
  • Tester manuellement via le dashboard si des changements UI sont introduits.

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 alert8mo4 checks · Risk SAFE
  • Gen Agent Trust Hub8mo

    The skill manages routing rule orchestration and email processing logic. It includes security best practices such as mandatory schema validation and strict type checking. An indirect prompt injection surface is identified where external routing data is processed, which is mitigated by the described validation requirements.

  • Socket8mo

    1 alert: obfuscatedFile

  • 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 6 months ago

README badge

README badge for ki2pixel/render_signal_server/routing-rules-orchestrator