feat: add Claude Code best practices to /learn command#6
Conversation
Enhance the /learn command to teach Claude Code best practices directly, with links to official docs (https://code.claude.com/docs/) for deep dives. - Merge best practices guide into /learn command (sessions, context, modes, CLAUDE.md, prompting, rules, skills, subagents, hooks, MCP, security, integration) - Add references/claude-code-resources.md with comprehensive guide - Add Claude-Code and Prompting categories to learn-rule, learn, list - Add Claude Code Mastery section to core-rules.md - Add Learn Claude Code section to SKILL.md with topic-to-pattern mapping - Add references to package.json files array for npm publish
📝 WalkthroughWalkthroughDocumentation expansion adds Claude Code best practices guidance across multiple command files, introduces a new reference documentation file, updates core rules with mastery guidelines, extends the pro-workflow skill with learning sections and commands, and updates package.json to include the references file. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~15 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
/learncommand to teach Claude Code best practices directly, linking to official docs at https://code.claude.com/docs/ for deep divesreferences/claude-code-resources.mdwith comprehensive best practices guide covering sessions, context, modes, CLAUDE.md, prompting, rules, skills, subagents, hooks, security, MCP, and integrationClaude-CodeandPromptingcategories across all learning commands (learn-rule,learn,list)core-rules.mdand "Learn Claude Code" section toSKILL.mdTest plan
/pro-workflow:learnand verify best practices guide displays/pro-workflow:learn-ruleand verify new categories (Claude-Code, Prompting) are listed/pro-workflow:listand verify new categories appearreferences/claude-code-resources.mdis included in npm package (npm pack --dry-run)Summary by CodeRabbit
Release Notes
Documentation
New Features
/learncommand for capturing and organizing Claude Code best practices./searchcommand for keyword-based searching of learnings./listcommand with expanded category support.