Invoquer la compétence de discussion

VérifiéPrudence

Guide pour invoquer une compétence de discussion technique en sauvegardant l'état de session et en gérant les handoffs selon la source d'initiation.

Spar Skills Guide Bot
DeveloppementIntermédiaire
2002/06/2026
Claude Code
#session-management#workflow#discussion#handoff#automation

Recommandé pour

Notre avis

Sauvegarde l'état d'une session et prépare une transition vers une compétence de discussion technique, en fonction de la source d'initiation.

Points forts

  • Assure la continuité des sessions de travail en sauvegardant l'état
  • Prend en charge plusieurs modes d'initiation (recherche, continuation, nouveau)
  • Structure le transfert d'information de manière claire et reproductible

Limites

  • Nécessite que les compétences de discussion technique soient disponibles et configurées
  • Ne fonctionne que dans un contexte de workflow spécifique avec des fichiers prédéfinis
  • Peut être redondant si la session n'a pas besoin d'être reprise
Quand l'utiliser

Utilisez cette compétence lorsque vous devez sauvegarder l'état d'une session et passer à une discussion technique de manière structurée.

Quand l'éviter

Évitez cette compétence si la session ne nécessite pas de reprise ou si vous démarrez une discussion sans référence à des travaux antérieurs.

Analyse de sécurité

Prudence
Score qualité75/100

The skill invokes a bash script to save session state, which is a legitimate but powerful action. No destructive or exfiltrating commands are present.

Points d'attention
  • Executes a shell script from .claude/hooks/workflows/

Exemples

Start discussion from research
Start a technical discussion about microservices architecture using the research I just completed on service mesh patterns.
Continue existing discussion
Continue the previous discussion about API design patterns and workflow.

Invoke the Skill

Reference for start-discussion


Before invoking the processing skill, save a session bookmark.

Output the next fenced block as a code block:

Saving session state so Claude can pick up where it left off if the conversation is compacted.
.claude/hooks/workflows/write-session-state.sh \
  "{topic}" \
  "skills/technical-discussion/SKILL.md" \
  ".workflows/discussion/{topic}.md"

This skill's purpose is now fulfilled.

Invoke the technical-discussion skill for your next instructions. Do not act on the gathered information until the skill is loaded - it contains the instructions for how to proceed.


Handoff

Construct the handoff based on how this discussion was initiated.

If source is "research"

If work_type is available (from Step 2), add the Work type line:

Discussion session for: {topic}
Work type: {work_type}
Output: .workflows/discussion/{topic}.md

Research reference:
Source: .workflows/research/{filename}.md (lines {start}-{end})
Summary: {the 1-2 sentence summary from the research analysis}

Invoke the technical-discussion skill.

If source is "research-bridge"

Discussion session for: {topic}
Work type: {work_type}
Research source: .workflows/research/{topic}.md
Output: .workflows/discussion/{topic}.md

Research reference:
Source: .workflows/research/{topic}.md
Summary: {the discussion-ready summary from the research file}

Invoke the technical-discussion skill.

If source is "continue"

Read work_type from the existing discussion frontmatter.

Discussion session for: {topic}
Work type: {work_type}
Source: existing discussion
Output: .workflows/discussion/{topic}.md

Invoke the technical-discussion skill.

If source is "fresh"

If work_type is available (from Step 2), add the Work type line:

Discussion session for: {topic}
Work type: {work_type}
Source: fresh
Output: .workflows/discussion/{topic}.md

Invoke the technical-discussion skill.

If source is "bridge"

Discussion session for: {topic}
Work type: {work_type}
Source: fresh
Output: .workflows/discussion/{topic}.md

Invoke the technical-discussion skill.
Skills similaires