install
source · Clone the upstream repo
git clone https://github.com/langroid/langroid
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/langroid/langroid "$T" && mkdir -p ~/.claude/skills && cp -r "$T/plugins/langroid/skills/add-pattern" ~/.claude/skills/langroid-langroid-add-pattern && rm -rf "$T"
manifest:
plugins/langroid/skills/add-pattern/SKILL.mdsource content
add-pattern
Instructions
When you learn a new Langroid design pattern, do the following:
-
Add an entry in the sibling
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 apatterns/SKILL.md
pointer to a markdown DOCUMENT in the- Reference:
directory.patterns/IMPORTANT - The DESCRIPTION should be clear enough that future YOU can effectively use it to MATCH design problems you may encounter in future.
-
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).