# Add Pattern

Use this skill when you learn one or more design pattern(s) in the Langroid (multi)...

- Repository: https://github.com/langroid/langroid (4121 stars)
- Category: Design
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add langroid/langroid --skill add-pattern -g -a claude-code -y`
Codex: `npx skills add langroid/langroid --skill add-pattern -g -a codex -y`
Cursor: `npx skills add langroid/langroid --skill add-pattern -g -a cursor -y`
Gemini CLI: `npx skills add langroid/langroid --skill add-pattern -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add langroid/langroid`

## Description

Use this skill when you learn one or more design pattern(s) in the Langroid (multi) agent framework, and want to make a note for future reference for yourself. Use this either autonomously, or when asked by the user to record a new pattern.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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).

