Générateur de Spécifications de Direction

VérifiéSûr

Guide les utilisateurs à travers des entretiens contextuels pour capturer des connaissances tacites en ingénierie et produit des 'steerings' structurés (Intention, Règles, Pratiques, Méta). Prend en charge des packs de thèmes prédéfinis pour 8 domaines courants ou des sujets personnalisés, et peut reprendre des sessions incomplètes. Permet également de réviser et transformer des 'steerings' existants au format standard.

Spar Skills Guide Bot
DocumentationIntermédiaire
02/06/2026
Claude Code
#knowledge-management#engineering-conventions#tacit-knowledge#steerings#interview

Recommandé pour

Synthèse automatique

Génère des directives structurées pour agents IA en extrayant les connaissances tacites des équipes via des entretiens contextuels.

Points forts

  • Capture systématique des conventions et pratiques d'équipe
  • Format standardisé (Intent → Rules → Practices → Meta)
  • Reprise automatique des sessions incomplètes

Limites

  • Nécessite une participation humaine active pour les entretiens
  • Dépend de la clarté des réponses fournies
Quand l'utiliser

Pour documenter les conventions d'équipe, les pratiques techniques ou les connaissances tacites dans un format lisible par des agents.

Quand l'éviter

Pour du contenu déjà formalisé dans des documents existants préférant une simple conversion de format.

Analyse de sécurité

Sûr
Score qualité90/100

The skill only uses Read, Write, AskUserQuestion, Glob, and Task tools, with no execution of arbitrary commands or network access. It documents engineering practices through interviews and writes files locally. There are no destructive or exfiltrating actions.

Aucun point d'attention détecté

Comment cette analyse est faite

Exemples

Generate steerings for a project
I need to create steerings for our team's coding conventions and testing practices.
Continue an interrupted interview
Continue steerings session from where we left off last time.
Review existing steerings
Review and transform my current steerings files to match the standard format.

name: steering-specs-generator description: Extract tacit engineering knowledge through guided interviews and generate structured steerings. Use when user mentions "steerings", "tacit knowledge", "conventions", "engineering practices", "interview", or wants to document team/project knowledge. Also activates when user asks for "steerings for X", "document X conventions", "continue steerings", "resume interview", or wants to extract knowledge about a specific topic. Supports reviewing and transforming existing steerings to standard format. Auto-detects existing sessions and offers to continue incomplete ones. allowed-tools: Read, Write, AskUserQuestion, Glob, Task

Steering Specs Generator

Conducts context-aware interviews to extract tacit engineering knowledge and generate agent-readable steerings. Format: Intent (Why) → Rules (What) → Practices (How) → Meta.

Supports predefined packs (8 areas) and custom topics (user-specified).

Flow overview: See flow-diagram.md for visual representation.

Prerequisites

Mode Selection

| Keywords | Mode | |----------|------| | "review steerings", "transform steerings", "fix format" | → Review Mode (Step R) | | "continue steerings", "continue session", "resume interview" | → Interview Mode (Step 0) with session check | | "steerings", "tacit knowledge", "interview", "conventions" | → Interview Mode (Step 0) |


Interview Flow

Step 0: Check for Existing Sessions

Before configuring paths, check if sessions already exist in the repo:

  1. Scan common session directories:

    • .sessions/
    • sessions/
    • docs/sessions/
  2. If sessions found, present AskUserQuestion:

questions:
  - question: "Found existing session(s). Continue or start fresh?"
    header: "Session"
    options:
      - label: "Continue {sessionId}"
        description: "Resume incomplete session ({N} of {M} packs done)"
      - label: "Start new session"
        description: "Create fresh session with new ID"
  1. If continuing existing session:

    • Set sessionsPath to parent directory of found session
    • Set sessionId to selected session name
    • Scan {sessionsPath}{sessionId}/ for completed pack files
    • Completed pack detection: A pack is complete if:
      • File {packId}.md exists AND
      • Contains ## Interview section with at least one ### Q entry
    • Store completedPacks[] list (pack IDs to skip)
    • Read explore-docs-conventions.md and explore-repo-context.md paths if they exist
    • Skip to Step 3 (Pack Interview Loop), filtering out completed packs
  2. If starting new or no sessions found → Continue to Step 0a

Step 0a: Configure Output Paths

Ask user to confirm paths using AskUserQuestion:

questions:
  - question: "Where should steering files be saved?"
    header: "Steerings"
    options: ["./steerings/", "docs/steerings/", ".memory-bank/steerings/", "Custom"]
  - question: "Where should session files be saved?"
    header: "Sessions"
    options: ["./sessions/", ".sessions/", "docs/sessions/", "Custom"]
  - question: "Where should action items be saved?"
    header: "Backlog"
    options: ["./backlog/", "Same as steerings parent", ".backlog/", "Custom"]

Store: steeringsPath, sessionsPath, backlogPath. Create directories if needed.

Defaults: steerings/, sessions/, backlog/

Step 0b: Generate sessionId - short words id

Step 1: Define Topics

Custom topic detected (patterns: "steerings for X", "document X conventions"):

  • If clear → Generate packId, packName, packType: "custom", customTopicDescription
  • If broad → Clarify with AskUserQuestion (aspects, level, scope)

No custom topic → Present 8 predefined packs as multi-select:

| Pack | ID | |------|----| | Codebase Topology & Ownership | codebase-topology-ownership | | Architecture & Design Invariants | architecture-design-invariants | | Business Domain Contracts | business-domain-contracts | | Quality & Style Assurance | quality-style-assurance | | Testing & Verification Strategy | testing-verification-strategy | | Risk & Historical Landmines | risk-historical-landmines | | Security, Data & Compliance | security-data-compliance | | Delivery Lifecycle & Change Flow | delivery-lifecycle-change-flow |

Step 2: Discovery (Parallel Explore)

Run TWO Explore agents in parallel. Each writes report to {sessionsPath}{sessionId} and returns path.

Explore #1 - Docs & Conventions:

Analyze repository for: steering files, CONVENTIONS.md, ARCHITECTURE.md,
CLAUDE.md, README conventions, eslint/prettier/tsconfig.

OUTPUT: Write to `{sessionsPath}{sessionId}/explore-docs-conventions.md`, return path.

Explore #2 - Repo Context:

Analyze: project purpose, tech stack, directory structure, main modules, patterns.

OUTPUT: Write to `{sessionsPath}{sessionId}/explore-repo-context.md`, return path.

Capture paths: docsConventionsReportPath, repoContextReportPath

Step 3: Pack Interview Loop

Filter packs: If completedPacks[] exists (from session continuation), exclude those pack IDs from processing.

Show progress when continuing:

Continuing session: {sessionId}
✅ Completed: {completedPacks.join(', ')}
⏳ Remaining: {remainingPacks.join(', ')}

Spawn a Task agent per pack (only sequentally, do not run in parallel).

subagent_type: "general-purpose"
description: "Interview for {packName}"
prompt: |
  Conduct interview for a single pack and save results.

  ## Pack Info
  - Pack ID: {packId}
  - Pack Name: {packName}
  - Pack Type: {packType}  # "predefined" or "custom"
  - Custom Description: {customTopicDescription}  # only if custom

  ## Context Files
  - Pack Reference: .claude/skills/steering-specs-generator/pack-reference.md
  - Repo Context: {repoContextReportPath}
  - Docs & Conventions: {docsConventionsReportPath}

  ## Output
  - Path: {sessionsPath}{sessionId}/{packId}.md

  ## Instructions

  ### 1. Read Context
  Read pack-reference.md to get:
  - Explore prompt template for this pack
  - Question themes for this pack

  Read repoContextReportPath and docsConventionsReportPath for grounding.

  ### 2. Topic-Specific Explore (Step 4)
  Run Explore agent using pack's template prompt.
  For custom packs: generate prompt from customTopicDescription.

  ### 3. Generate Questions (Step 5)
  Question count:
  - Predefined: 5
  - Custom (narrow): 3-4
  - Custom (medium): 5
  - Custom (broad): 6-7

  Guidelines:
  - Ground in Explore findings + existing docs
  - Reference actual code: "I see X in Y file..."
  - Ask about conventions, not roadmap
  - Offer 4 options (A/B/C/D)
  - Mark one as "⭐ Recommended" at end of description

  Pattern:
  Q: I found {finding}. How should {convention question}?
  A) {Option} — {rationale}
  B) {Option} — {rationale} ⭐ Recommended
  C) {Option} — {rationale}
  D) {Option} — {rationale}

  ### 4. Conduct Interview (Step 6)
  Present via AskUserQuestion (max 4 per call).

  ### 5. Classify Responses (Step 6.5)
  For each response, classify as:
  - CONVENTION: Timeless, future-focused ("When implementing X, do Y")
  - ACTION_ITEM: Temporal, fixes current state ("Replace X", "Fix X")

  ### 6. Save Results
  Write to {sessionsPath}{sessionId}/{packId}.md

Session structure:

{sessionsPath}
└── {sessionId}/
    ├── codebase-topology-ownership.md
    ├── architecture-design-invariants.md
    ├── {custom-pack-id}.md
    └── ...

Pack file format:

# {Pack Name}
**Pack ID:** {id}

## Explore Findings
{summary of topic-specific exploration}

## Interview

### Q1: {Short question summary}
**Selected:** {Selected option text}
**Notes:** {User's additional context, if any}
**Classification:** CONVENTION | ACTION_ITEM

### Q2: ...

Step 4: Await Pack Interviews

Wait for all pack interview agents to complete. Each writes its results to {sessionsPath}{sessionId}/{packId}.md with classifications already included.

Step 5: Generate Outputs

Delegate to general-purpose subagent, choose Opus model:

subagent_type: "general-purpose"
description: "Generate steerings and action items"
prompt: |
  Generate steerings AND action items from interview sessions.

  Session directory: {sessionsPath}{sessionId}/
  (contains one .md file per pack with classifications)

  Docs report: {docsConventionsReportPath}
  Repo report: {repoContextReportPath}
  Template: .claude/skills/steering-specs-generator/steering-template.md

  Output paths: {steeringsPath}, {backlogPath}

  Instructions:
  1. Read all pack files from session directory
  2. Extract CONVENTION items → generate steering files
  3. Extract ACTION_ITEM items → generate backlog file
  4. Generate index.md for steerings

Steering filenames:

| Pack ID | Filename | |---------|----------| | codebase-topology-ownership | code-ownership.md | | architecture-design-invariants | architecture-invariants.md | | business-domain-contracts | domain-invariants.md | | quality-style-assurance | quality-and-style.md | | testing-verification-strategy | testing-strategy.md | | risk-historical-landmines | risk-registry.md | | security-data-compliance | security-and-compliance.md | | delivery-lifecycle-change-flow | delivery-lifecycle.md | | {custom-pack-id} | {custom-pack-id}.md |

Rule style:

  • ✅ "When implementing X, do Y" / "Use X for Y" / "New features require X"
  • ❌ "Proactively refactor X" / "Continue using X" / "Add X to existing code"

Action items file: {backlogPath}steering-specs-action-items.md

Severity: 🔴 CRITICAL (data loss, security) → 🟡 HIGH → 🟢 MEDIUM → 🔵 LOW → ⏸️ DEFERRED

Step 6: Present Results

Generated steerings:
- {steeringsPath}*.md (N rules, M practices each)
- {steeringsPath}index.md

Action Items: {backlogPath}steering-specs-action-items.md
- 🔴 Critical: N | 🟡 High: N | 🟢 Medium: N

Session: {sessionsPath}{sessionId}/
- {packId-1}.md
- {packId-2}.md
- ...

Review Mode (Step R)

Transform existing steerings to standard format.

R1: Locate Steerings

Auto-detect or ask: steerings/, docs/steerings/, .steerings/

R2: Analyze with Explore

subagent_type: "Explore"
prompt: |
  Analyze steering files in {steeringsPath}:
  - Structure: Intent → Rules → Practices → Meta?
  - Rules: numbered, prescriptive, no metadata?
  - Code examples: 5-15 lines?
  - File size: <200 lines?

  Report compliant vs non-compliant files with specific issues.

R3: Present Summary

✅ Compliant: file1.md, file2.md
⚠️ Need transformation:
- file3.md: Missing Intent, verbose rules
- file4.md: Code examples too long

R4: Ask Action

Options: Transform all | Transform specific | Backup and transform | Plan only | Skip

R5: Transform

Delegate to general-purpose subagent with transformation guidelines from steering-template.md.

R6: Present Results

Show changes per file, regenerate index.md.


Quick Reference

Activation keywords: steerings, tacit knowledge, interview, conventions, "steerings for X", "continue steerings"

Session continuation: Auto-detects existing sessions in .sessions/, sessions/, docs/sessions/. Offers to resume incomplete sessions, skipping completed packs.

8 Predefined Packs: Topology, Architecture, Domain, Quality, Testing, Risk, Security, Delivery

Output format: Intent (1 sentence) → Rules (numbered) → Practices (heading + explanation) → Meta

Files generated:

  • {steeringsPath}*.md — Steering files
  • {steeringsPath}index.md — Table of contents
  • {backlogPath}steering-specs-action-items.md — Action items
  • {sessionsPath}{sessionId}/{packId}.md — Interview responses per pack
  • {sessionsPath}explore-*.md — Discovery reports

Reference files:

Du fichier au premier essai

Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.

Consulter la source et ses fichiers annexes

Ce téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.

1. Télécharger le fichier

Télécharger SKILL.md

Depuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/steering-specs-generator-mm5t8c8w/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.

Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.

mkdir -p '.skill-downloads/steering-specs-generator-mm5t8c8w' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/steering-specs-generator-mm5t8c8w/download' --output '.skill-downloads/steering-specs-generator-mm5t8c8w/SKILL.md.part' && mv '.skill-downloads/steering-specs-generator-mm5t8c8w/SKILL.md.part' '.skill-downloads/steering-specs-generator-mm5t8c8w/SKILL.md'

2. Vérifier les prérequis

Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.

Outils déclarés par l’auteur (à vérifier dans votre agent) : Read, Write, AskUserQuestion, Glob, Task

Extrait original : Prerequisites

Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.

3. Charger la skill

Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.

Claude Code
test -f '.skill-downloads/steering-specs-generator-mm5t8c8w/SKILL.md' && test -s '.skill-downloads/steering-specs-generator-mm5t8c8w/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/steering-specs-generator' && cp -R '.skill-downloads/steering-specs-generator-mm5t8c8w' '.claude/skills/steering-specs-generator'

OpenSkills

OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.

Installation officielle d’OpenSkills
openskills install './.skill-downloads/steering-specs-generator-mm5t8c8w'

openskills read 'steering-specs-generator-mm5t8c8w'

La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.

Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.

openskills sync

Mode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.

4. Faire un premier essai

Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :

Lis .skill-downloads/steering-specs-generator-mm5t8c8w/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.

Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.

Skills similaires