Publier un Skill enregistré

VérifiéPrudence

Publie un Skill enregistré via une revue qualité, une validation déterministe et un envoi vers le marché interne avant Git.

Spar Skills Guide Bot
DevOpsAvancé
1018/10/2026
Claude Code
#skill-publishing#quality-gate#validation#release-automation#git-workflow

Recommandé pour

Notre avis

Publie un skill enregistré unique en le faisant passer par une porte de qualité obligatoire : revue par l'optimiseur, validation par script, envoi vers le market interne, puis publication Git.

Points forts

  • Ordre des étapes imposé : aucun envoi vers le market avant validation réussie, aucun commit ni push avant la fin de l'upload.
  • Distingue les skills nouvellement créés (application automatique des correctifs sûrs et dans le périmètre) des skills existants (plan de revue à confirmer).
  • Arrêts durs explicites — adaptateur manquant, upload rejeté, rapport d'optimiseur obsolète, échec de validation ou de Git — et interdiction de présenter un run interrompu comme réussi.
  • Checklist sémantique détaillée déléguée à skill-optimizer : déclenchement, ordre du workflow, gestion des échecs, contrat de sortie, divulgation progressive, dépendances externes, secrets, actions à fort impact.

Limites

  • Fortement lié à un dépôt précis (AGENTS.md, config/skills.json, scripts/*.py) et à la variable SKILLS_MARKET_PUBLISHER pointant vers l'exécutable du market interne.
  • Traite un seul skill par exécution ; aucun mode par lot ni procédure de rollback n'est décrit.
  • Le contenu réel des contrôles du validateur n'est pas détaillé, ce qui limite le diagnostic lorsqu'il échoue.
Quand l'utiliser

À utiliser lorsqu'un skill du dépôt est prêt et doit être revu, validé et publié en une seule exécution encadrée.

Quand l'éviter

À éviter en dehors de l'outillage de ce dépôt, ou pour modifier et publier plusieurs skills d'un coup.

Analyse de sécurité

Prudence
Score qualité82/100

The skill orchestrates legitimate publication workflows using repository scripts, an external market adapter, and Git operations. There are no destructive, exfiltrating, or obfuscated instructions, but the automated external publication and repository mutation warrant caution.

Points d'attention
  • •Executes multiple Python scripts that modify repository state and publish to an external market.
  • •Instructs Git commit and push operations after market upload, which can alter remote repository state.
  • •Uses an environment variable pointing to an external executable for market publishing.

Exemples

Publish a brand-new skill
/publish-skill pdf-form-filler — this one was just created, so run the full gate end to end: optimize, validate, record the pass and publish it to the internal market.
Publish an updated existing skill
/publish-skill code-review-helper — I changed its workflow, so review it with skill-optimizer and show me the plan before applying any changes.
Retry after a validation failure
/publish-skill data-cleaner — validate_skill.py failed last time; fix the in-scope issues, rerun the validator, and only then record the passed review and publish.

Publish one registered Skill

Publish the Skill named in $ARGUMENTS through the repository's mandatory quality gate.

Execute these steps in order. Do not skip a step and do not represent a stopped or failed run as a successful publication.

  1. Read AGENTS.md and config/skills.json. Resolve exactly one directory at skills/$ARGUMENTS/. Stop if the Skill is missing, duplicated, or not registered.
  2. Use the skill-optimizer Skill to review only the target Skill. Cover triggering, workflow order, failure handling, confirmation gates, output contract, progressive disclosure, external dependencies, sensitive information, and high-impact actions.
  3. For a newly created Skill, this /publish-skill invocation is explicit authorization to apply safe, in-scope optimizer changes automatically. Stop and ask before destructive changes, secret handling, external publication, or changes outside the target Skill. For an existing Skill, retain the optimizer's normal review-plan-confirmation gate.
  4. Apply all approved optimizer fixes. If any required review item remains unresolved, stop before recording a pass.
  5. Run python3 scripts/validate_skill.py $ARGUMENTS. Fix in-scope failures and rerun it. Do not continue until it exits successfully.
  6. Only after the semantic review and deterministic validation both pass, run python3 scripts/record_optimizer_review.py $ARGUMENTS --status passed.
  7. Run python3 scripts/publish_skill.py $ARGUMENTS.

SKILLS_MARKET_PUBLISHER must point to the configured internal-market executable. A missing adapter, rejected upload, stale optimizer report, validation failure, Git failure, or push failure is a hard stop. Market upload must complete before Git commit or push.

Skills similaires