- Home
- Skills
- Pchalasani
- Claude Code Tools
- Add Pattern
add-pattern_skill
- Python
1.2k
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill pchalasani/claude-code-tools --skill add-pattern- SKILL.md1.0 KB
Overview
This skill records newly learned Langroid design patterns so you can reuse them later. It captures a concise description that helps you match future design problems, and links to a detailed pattern document with implementation guidance. Use it either autonomously or when the user asks to note a pattern for future reference.
How this skill works
When you identify a pattern, the skill creates or updates an index entry in the project’s patterns index under the appropriate category, including a clear DESCRIPTION and a reference to a detailed pattern document. It then creates or updates the corresponding document in the patterns directory with an explicit Problem, Solution, code examples, key points, and When to Use guidance.
When to use it
- After discovering a reusable design idea while building a Langroid agent
- When a user asks you to store a pattern for future recall
- When formalizing a repeatable solution found during debugging or refactoring
- When consolidating best practices across multiple agents or sessions
Best practices
- Write a short, actionable DESCRIPTION that lets future you match the pattern to new problems
- Place the entry in the most specific category so retrieval is easier later
- Include a link to a dedicated document that covers Problem, Solution, code, key points, and When to Use
- Provide complete code examples that are runnable and minimal
- Keep the document updated when the pattern evolves or new pitfalls emerge
Example use cases
- Capture a coordination pattern for multi-agent task delegation in Langroid
- Document a CLI-agent restart-and-recover strategy discovered during testing
- Record a context-window management approach used to scale long-running conversations
- Save a recommended tmux orchestration pattern used to run multiple CLI agents together
FAQ
A goal-oriented sentence about what the pattern enables and the situations where it applies, concise enough for quick matching later.
What belongs in the detailed document?
A clear Problem statement, a Solution overview, a complete code example, Key Points, and When to Use guidance.