Créer un type d'engagement personnalisé

VérifiéSûr

Créez un nouveau type d'engagement personnalisé pour catégoriser vos engagements. Utilisez la commande /ft add-type avec un nom unique, un nom d'affichage facultatif et une description. Cela permet d'organiser les engagements dans des catégories personnalisées au-delà des types par défaut.

Spar Skills Guide Bot
ProductiviteDébutant
3002/06/2026
Claude Code
#custom-commitment#habit-tracker#type-management#cli-command

Recommandé pour

Notre avis

Crée un nouveau type de commitment personnalisé pour le suivi d'habitudes ou d'objectifs.

Points forts

  • Normalisation automatique du nom (minuscules, tirets)
  • Validation de l'existence préalable du type
  • Options de personnalisation avec nom d'affichage et description

Limites

  • Ne permet pas de modifier le type après création (renommage/suppression via autres commandes)
  • Le champ description reste textuel sans validation sémantique
  • Nécessite de connaître la syntaxe exacte des arguments
Quand l'utiliser

Quand vous avez besoin d'un nouveau type de commitment non couvert par les types par défaut.

Quand l'éviter

Si le type existe déjà ou si vous souhaitez simplement renommer un type existant.

Analyse de sécurité

Sûr
Score qualité85/100

The skill is purely descriptive and does not contain any executable code, dangerous commands, or instructions for data exfiltration or system compromise. It only documents a command syntax for managing custom commitment types, with no declared tools to execute.

Aucun point d'attention détecté

Exemples

Add a habit type
/ft add-type "habit" --desc "Daily habits to build"
Add a goal type with display name
/ft add-type "goal" --display "Long-term Goal" --desc "Big objectives"

Create a new custom commitment type.

Usage

/ft add-type "name" [--display "Display Name"] [--desc "description"]

Arguments

  • "name" - Required: Type identifier (lowercase, no spaces - will be normalized)
  • --display "NAME" - Human-readable display name (defaults to capitalized name)
  • --desc "TEXT" - Description of what this type is for

Instructions

  1. Normalize Name: Lowercase, replace spaces with hyphens

  2. Validate: Check type doesn't already exist

  3. Insert: Add to commitment_types table with is_default=0

  4. Confirm:

    Created type: {name}
    Display: {display_name}
    Description: {description}
    
    Use it: /ft {name} "your commitment"
    

Examples

/ft add-type "habit" --desc "Daily habits to build"
/ft add-type "goal" --display "Long-term Goal" --desc "Big objectives"

Related

  • /ft rename-type "old" "new" - Rename a type
  • /ft delete-type "name" --move-to "other" - Delete a type
Skills similaires