add-pattern
Original:🇺🇸 English
Translated
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.
11installs
Added on
NPX Install
npx skill4agent add pchalasani/claude-code-tools add-patternTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →add-pattern
Instructions
When you learn a new Langroid design pattern, do the following:
-
Add an entry in the siblingfile 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
patterns/SKILL.mdpointer 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).