---
name: Add Pattern
slug: add-pattern
category: AI Engineering
description: Add Pattern records newly learned Langroid design patterns into the patterns library with a reference link and an implementation document. Use it when you discover a pattern to keep the catalog organized and searchable for future design problems.
github: "https://github.com/pchalasani/claude-code-tools/tree/main/plugins/langroid/skills/add-pattern"
language: Python
stars: 1979
forks: 128
install: "npx degit https://github.com/pchalasani/claude-code-tools/tree/main/plugins/langroid/skills/add-pattern ~/.claude/skills/add-pattern"
installs_to: ~/.claude/skills/add-pattern
source_path: plugins/langroid/skills/add-pattern/SKILL.md
collection_size: 17
category_size: 2451
collection_url: "https://dirskills.com/collections/pchalasani/claude-code-tools"
added: 2026-08-18T06:58:50.971Z
last_synced: 2026-08-18T06:58:50.971Z
canonical_url: "https://dirskills.com/skills/add-pattern"
---

# Add Pattern

Add Pattern records newly learned Langroid design patterns into the patterns library with a reference link and an implementation document. Use it when you discover a pattern to keep the catalog organized and searchable for future design problems.

**Install:**

```bash
npx degit https://github.com/pchalasani/claude-code-tools/tree/main/plugins/langroid/skills/add-pattern ~/.claude/skills/add-pattern
```

## README

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