← Back to list

add-rule
by BreakerOfStems
⭐ 0🍴 0📅 Jan 23, 2026
SKILL.md
name: add-rule description: Add a new rule to the learned rules file allowed-tools: Read, Edit argument-hint:
Add Rule
Add a new rule or guideline to the learned rules file.
Instructions
- Parse the argument provided by the user as the rule to add
- Read the current
.claude/rules/learned.mdfile - Determine the appropriate category for the rule (or create a new one)
- Append the rule to the appropriate section
- Confirm the addition to the user
Categories
Common categories include:
- User Preferences - Personal workflow preferences
- Code Style - Formatting and style rules
- Commands - Specific command patterns to remember
- Workflows - Multi-step processes
- Safety - Additional safety rules
Example Usage
User: /add-rule Always use pnpm instead of npm in this project
Result: Adds to User Preferences section:
## User Preferences
- Always use pnpm instead of npm in this project
Important
- Keep rules concise and actionable
- Avoid duplicating rules already in baseline.md
- Use clear, imperative language
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon