mcpField
A
add-pattern

add-pattern

github.com/pchalasaniAgent workflows2.0k39 installsUpdated today
Repository

About add-pattern

add-pattern is a skill for documenting newly learned Langroid design patterns. It directs contributors to add an index entry and a reference document with an implementation idea and code examples.

Key features

  1. 01Add patterns to the index
  2. 02Choose an appropriate category
  3. 03Create a linked reference document
  4. 04Include implementation code examples

Use cases

  1. 01Document a newly discovered Langroid pattern
  2. 02Make a pattern easier to find for future work

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/pchalasani/claude-code-tools --skill add-pattern

After installing, type/add-patternin Claude Code to confirm it loaded.

Details

From the project 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).

Comments

Markdown supported