Gestion de la configuration d'exécution

VérifiéPrudence

Gère le stockage persistant de la configuration des commandes, incluant l'historique d'exécution, les avertissements acceptables et les délais d'attente adaptatifs.

Spar Skills Guide Bot
DeveloppementIntermédiaire
3002/06/2026
Claude Code
#run-config#command-execution#warnings#timeout#configuration

Recommandé pour

Notre avis

Gère la configuration persistante des commandes, incluant l'historique d'exécution, les avertissements acceptables et les délais d'attente adaptatifs.

Points forts

  • Stockage structuré et versionné des configurations de commandes
  • Gestion des avertissements acceptables par commande et par type (Maven, CI)
  • Scripts Python légers utilisant uniquement la bibliothèque standard

Limites

  • Nécessite une structure de fichier JSON prédéfinie
  • Les scripts dépendent d'un exécuteur spécifique (execute-script.py)
Quand l'utiliser

Utilisez cette compétence lorsque vous devez enregistrer, valider ou nettoyer les configurations d'exécution de commandes dans un projet.

Quand l'éviter

Évitez cette compétence pour des configurations non liées à l'exécution de commandes ou pour des environnements sans accès à Python.

Analyse de sécurité

Prudence
Score qualité90/100

The skill manages run configurations and performs cleanup operations. While it uses Bash, the intended actions are safe and local. No destructive or exfiltrating commands are present.

Points d'attention
  • Bash is an allowed tool, which could be used for arbitrary command execution if the skill is misused.
  • The cleanup operation could delete files if configured improperly.

Exemples

Initialize run config
Initialize the run configuration for this project.
Validate run config
Validate the current run configuration file.
Add warning pattern
Add the warning pattern 'unused import' to the acceptable warnings for the 'build' command.

name: manage-run-config description: Run configuration handling for persistent command configuration storage allowed-tools: Read, Write, Edit, Bash

Run Config Skill

Run configuration handling for persistent command configuration storage.

What This Skill Provides

  • Read and update run configuration entries
  • Track command execution history
  • Manage acceptable warnings and skip lists
  • Adaptive timeout management
  • Validate run configuration format

When to Activate This Skill

Activate this skill when:

  • Recording command execution results
  • Managing acceptable warnings lists
  • Managing command timeouts
  • Validating run configuration structure

Run Configuration Structure

{
  "version": 1,
  "commands": {
    "<command-name>": {
      "last_execution": {"date": "...", "status": "SUCCESS|FAILURE"},
      "acceptable_warnings": [],
      "skipped_files": []
    }
  },
  "maven": {
    "acceptable_warnings": {
      "transitive_dependency": [],
      "plugin_compatibility": [],
      "platform_specific": []
    }
  },
  "ci": {
    "authenticated_tools": [],
    "verified_at": null
  }
}

See references/run-config-format.md for complete schema.


Scripts

| Script | Notation | |--------|----------| | init | plan-marshall:manage-run-config:run_config init | | validate | plan-marshall:manage-run-config:run_config validate | | timeout get | plan-marshall:manage-run-config:run_config timeout get | | timeout set | plan-marshall:manage-run-config:run_config timeout set | | warning add | plan-marshall:manage-run-config:run_config warning add | | warning list | plan-marshall:manage-run-config:run_config warning list | | warning remove | plan-marshall:manage-run-config:run_config warning remove | | cleanup | plan-marshall:manage-run-config:cleanup |

Script characteristics:

  • Uses Python stdlib only (json, argparse, pathlib)
  • Outputs JSON (init/validate) or TOON (timeout/cleanup) to stdout
  • Exit code 0 for success, 1 for errors
  • Supports --help flag

Standards

| Document | Purpose | When to Read | |----------|---------|--------------| | timeout-handling.md | Adaptive timeout management | Managing command timeouts | | warning-handling.md | Acceptable warning patterns | Filtering build warnings | | cleanup-operations.md | Directory cleanup | Cleaning old files |


Quick Start

Initialize Configuration

python3 .plan/execute-script.py plan-marshall:manage-run-config:run_config init

Validate Configuration

python3 .plan/execute-script.py plan-marshall:manage-run-config:run_config validate

Integration Points

With json-file-operations Skill

  • Uses generic JSON operations for field access and updates
  • All CRUD operations delegate to json-file-operations

With planning Bundle

  • Commands record execution history to run configuration

With lessons-learned Skill

  • Lessons learned are stored separately via plan-marshall:manage-lessons skill
  • Run configuration tracks execution state only

References

  • references/run-config-format.md - Complete schema documentation
  • standards/timeout-handling.md - Adaptive timeout management
  • standards/warning-handling.md - Acceptable warning patterns
  • standards/cleanup-operations.md - Directory cleanup operations
Skills similaires