View and manage your personal best practices library with success/failure patterns. Use when viewing best practices, checking patterns, reviewing success/failure history.
/plugin marketplace add yonatangross/skillforge-claude-plugin/plugin install skillforge-complete@skillforgeThis skill inherits all available tools. When active, it can use any tool Claude has access to.
references/proactive-warnings.mdDisplay your aggregated best practices library, showing successful patterns and anti-patterns across all projects.
/best-practices # Show full library
/best-practices <category> # Filter by category
/best-practices --warnings # Show only anti-patterns
/best-practices --successes # Show only successes
/best-practices --stats # Show statistics only
<category> - Filter by specific category (pagination, database, authentication, etc.)--warnings - Show only anti-patterns (failed patterns)--successes - Show only successful patterns--stats - Show statistics summary without individual patternsUse mcp__mem0__search_memories with:
{
"query": "patterns outcomes",
"filters": {
"OR": [
{ "metadata.outcome": "success" },
{ "metadata.outcome": "failed" }
]
},
"limit": 100
}
Group patterns by category, then by outcome:
{
"pagination": {
"successes": [...],
"failures": [...]
},
"authentication": {
"successes": [...],
"failures": [...]
}
}
For each pattern:
Full Library View:
š Your Best Practices Library
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
PAGINATION
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā
Cursor-based pagination (3 projects, always worked)
"Scales well for large datasets"
ā Offset pagination (failed in 2 projects)
"Caused timeouts on tables with 1M+ rows"
š” Lesson: Use cursor-based for large datasets
AUTHENTICATION
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā
JWT + httpOnly refresh tokens (4 projects)
"Secure and scalable for web apps"
ā ļø Session-based auth (mixed: 1 success, 1 failure)
"Works but scaling issues in high-traffic scenarios"
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š Summary: 8 patterns | 5 ā
successes | 3 ā anti-patterns
š” Use `/remember --success` or `/remember --failed` to add more
Stats Only View (--stats):
š Best Practices Statistics
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Total Patterns: 15
āāā ā
Successful: 10 (67%)
āāā ā Anti-patterns: 5 (33%)
āāā ā ļø Mixed: 2
Categories:
āāā pagination: 3 patterns (2 ā
, 1 ā)
āāā authentication: 4 patterns (3 ā
, 1 ā ļø)
āāā database: 5 patterns (4 ā
, 1 ā)
āāā api: 3 patterns (1 ā
, 2 ā)
Projects Contributing: 7
Last Updated: 2 days ago
Filtered View (by category):
š Best Practices: PAGINATION
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā
Cursor-based pagination (3 projects, always worked)
"Scales well for large datasets"
Projects: project-a, project-b, project-c
ā Offset pagination (failed in 2 projects)
"Caused timeouts on tables with 1M+ rows"
š” Lesson: Use cursor-based for large datasets
Projects: project-a, project-d
| Icon | Meaning |
|---|---|
| ā | Strong success (3+ projects, 100% success rate) |
| ā | Moderate success (1-2 projects or some failures) |
| ā ļø | Mixed results (both successes and failures) |
| ā | Anti-pattern (only failures) |
| š“ | Strong anti-pattern (3+ projects, all failed) |
š Your Best Practices Library is empty
Start building it with:
⢠/remember --success "Pattern that worked well"
⢠/remember --failed "Pattern that caused problems"
Your patterns will be tracked across all projects and help
Claude warn you before repeating past mistakes.
See references/proactive-warnings.md for automatic anti-pattern detection.
/remember --success <text> - Add a successful pattern/remember --failed <text> - Add an anti-pattern/recall <query> - Search all memories (not just best practices)This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.