Skip to content
Productivity
Skill

/add-pattern

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

From plugin
claude-code-tools
2k16 skills2 agents4 commands
Install
$ npx -y skills add pchalasani/claude-code-tools --skill add-pattern --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/add-pattern

Context preview

The summary Claude sees to decide when to auto-load this skill.

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

SKILL.md

add-pattern.SKILL.md
name: add-pattern
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.

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

Ships withclaude-code-tools

Practical productivity tools for Claude Code, Codex-CLI, and similar CLI coding agents.

Get the whole plugin