Ajout de modèle de conception

À utiliser lors de l'apprentissage d'un nouveau modèle de conception pour ajouter une entrée et un document détaillé dans le répertoire patterns.

Spar Skills Guide Bot
DocumentationDébutant
0008/09/2026
Claude CodeCursorWindsurfCopilotCodex
#design-patterns#documentation#langroid#patterns#code-examples

Recommandé pour


name: add-pattern description: Use this skill when you learn one or more design pattern(s) in the metadata: author: langroid

add-pattern

Instructions

When you learn a new Langroid design pattern, do the following:

  1. Add an entry in the sibling patterns/SKILL.md file in the appropriate category section, containing a DESCRIPTION of the goal of the pattern (i.e. what it enables you to implement), accompanied by a - Reference: pointer to a markdown DOCUMENT in the patterns/ directory.

    IMPORTANT - The DESCRIPTION should be clear enough that future YOU can effectively use it to MATCH design problems you may encounter in future.

  2. In that DOCUMENT, describe the idea of the implementation along with code examples. Follow the format of existing pattern files (Problem, Solution, Complete Code Example, Key Points, When to Use).


Converted and distributed by TomeVault — claim your Tome and manage your conversions.

<!-- tomevault:4.0:skill_md:2026-04-11 -->
Skills similaires