add-pattern
Skill1 starsChanged 47 days agoMITView on GitHub
実装パターンをパターンライブラリに 1 パターン 1 ファイルで登録する。ユーザーが /add-pattern と明示的に入力したときだけ起動する。
2 other projects use a version of this.
Adopted by
Most recently taken up by
- felipemenezes098/ui-flxtheir own version, first seen Oct 15, 2026
- devlint/GitWandtheir own version, first seen Jun 17, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- devlint/GitWand★ 194same name
- felipemenezes098/ui-flx★ 44same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- debug-workflowSkill
- improvement-trackingSkill
- knowledge-managementSkill
- log-improvementSkill
- pattern-librarySkill
- project-contextSkill
- project-setupSkill
- record-decisionSkill
- review-knowledgeSkill
- start-debugSkill
- team-standardsSkill
- update-contextSkill
The file
Files
パターンを登録
再利用したい実装パターンをパターンライブラリに登録します。
Instructions
1. ヒアリング
- パターン名: 具体的で検索しやすい名前
- 目的: 解決する問題、適用場面、期待効果
- 実装例: 動作する具体的なコード
- 注意事項: 制約、パフォーマンス影響、メンテナンス性
2. 重複の確認
pattern-library/references/patterns/README.md を読み、類似パターンが既にないか確認してください。似たものがあれば、新規登録ではなく既存パターンへの追記・統合を提案します。
コマンド例は .agents/skills/ に導入した場合のパスです。.claude/skills/ や .cursor/skills/ に導入した場合(--legacy-claude、--cursor-only、gh skill install --agent など)は、先頭をそのパスに読み替えてください。記録先はスクリプトが自動で検出します。
3. ファイルの作成
bash .agents/skills/pattern-library/scripts/add-pattern.sh "パターン名"patterns/スラッグ.md が作られ、patterns/README.md の索引にも 1 行追加されます。生成されたファイルをヒアリング内容で埋めてください。
---
title: パターン名
description: 1 行サマリ
tags: [pattern]
updated: YYYY-MM-DD
---
# 目的
# 実装例
# 使用上の注意
# 関連パターン4. 関連付けと報告
組み合わせ可能なパターン、代替パターン、根拠となった技術判断へのリンクを追加してください。最後に作成したファイルのパスを提示します。
注意事項
- 実装例は擬似コードではなく、動作する具体的なコードを含めてください
- 適用場面を明確にし、過剰な一般化を避けてください
- 類似パターンが既にある場合は、新規作成より統合を優先してください
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

