🧩
AI EngineeringPython

Add Pattern

by pchalasani

Add Pattern is an AI Engineering skill for Claude Code, published by pchalasani in claude-code-tools.

2K stars128 forkson pchalasani/claude-code-toolsAdded 2026/08/18Repository updated 2026/08/17
claude-codeclicli-agentcode-agentcodexcodex-clicontextllmtmux
Install in seconds
Install Add Pattern
Copy Add Pattern into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/pchalasani/claude-code-tools/tree/main/plugins/langroid/skills/add-pattern ~/.claude/skills/add-pattern

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/pchalasani/claude-code-tools.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
plugins/langroid/skills/add-pattern/SKILL.md in pchalasani/claude-code-tools
Installs to
~/.claude/skills/add-pattern
Collection
One of 17 skills cataloged from this repository
Category
AI Engineering2451 skills

What Add Pattern does

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.

Add Pattern is cataloged under AI Engineering on DirSkills. Add Pattern comes from a repository tagged claude-code, cli, cli-agent, code-agent and codex.

Documentation

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

Frequently asked about Add Pattern

  • What else does pchalasani publish alongside Add Pattern?

    Add Pattern is one of 17 skills that DirSkills catalogs from pchalasani/claude-code-tools, the repository it ships in. Its siblings there include Agent Style, Avoid AI Writing and Code Walk Thru. Each one is a separate skill with its own page in this directory, installs the same way Add Pattern does, and is maintained by pchalasani in that same repository. The rest of the collection is listed on the pchalasani/claude-code-tools page.

  • How does Add Pattern compare to other AI Engineering skills?

    Add Pattern ranks #873 by stars among the 2451 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Add Pattern against them. Open each page to compare what they document and how they install.

More from pchalasani/claude-code-tools

Add Pattern is one of 17 skills cataloged on DirSkills from pchalasani/claude-code-tools.

See all 17 skills
✍️
2w ago

Agent Style

Agent Style applies 21 literature-backed English technical-prose writing rules (passive voice, concrete language, needless words, citation discipline) for AI-assisted formal documents. Use when the user explicitly asks for agent-style by name for papers, design docs, proposals, READMEs, or commit messages.
Writing
2K128
✍️
2w ago

Avoid AI Writing

Avoid AI Writing audits and rewrites content to remove AI writing patterns (AI-isms) such as em-dash overuse, bold overuse, and excessive bullet lists. Use it when asked to remove AI-isms, clean up AI writing, or make text sound less like AI.
Writing
2K128
👣
2w ago

Code Walk Thru

Code Walk Thru opens files in the user's editor one by one at specific line numbers so they can follow along while the agent explains code or shows changes.
Automation
2K128
🔀
2w ago

Dynamic Workflow

Dynamic Workflow creates, runs, and manages durable JavaScript workflows that coordinate multiple headless Codex agents for fan-out/fan-in, multi-stage pipelines, and background runs. Use it when you need dynamic branching, looping, or long-running multi-agent work that a single model turn cannot handle directly.
Automation
2K128
🔔
2w ago

Issue Reply Wakeup

Issue Reply Wakeup registers an existing GitHub issue so the current Codex or Claude Code session is woken when its first future comment arrives. Use when work is blocked on a GitHub reply and the session must resume asynchronously.
Automation
2K128
🧩
2w ago

Langroid Patterns

Langroid Patterns catalogs design patterns for the Langroid multi-agent LLM framework, including task returns, tool handlers, task control, MCP integration, and quiet mode. Use it to find reference code examples when building Langroid agents.
AI Engineering
2K128