Initial commit: Claude Code Hooks with Diátaxis documentation
✨ Features: - 🧠 Shadow learner that builds intelligence from command patterns - 🛡️ Smart command validation with safety checks - 💾 Automatic context monitoring and backup system - 🔄 Session continuity across Claude restarts 📚 Documentation: - Complete Diátaxis-organized documentation - Learning-oriented tutorial for getting started - Task-oriented how-to guides for specific problems - Information-oriented reference for quick lookup - Understanding-oriented explanations of architecture 🚀 Installation: - One-command installation script - Bootstrap prompt for installation via Claude - Cross-platform compatibility - Comprehensive testing suite 🎯 Ready for real-world use and community feedback! 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
commit
162ca67098
34 changed files with 5904 additions and 0 deletions
28
docs/BOOTSTRAP_PROMPT.md
Normal file
28
docs/BOOTSTRAP_PROMPT.md
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# Claude Hooks Bootstrap Prompt
|
||||
|
||||
*Copy this prompt and paste it into a fresh Claude Code session to install Claude Hooks*
|
||||
|
||||
---
|
||||
|
||||
I want to install Claude Hooks - an intelligent system that will make you smarter and safer by learning from my environment and preventing common mistakes.
|
||||
|
||||
**What it does:**
|
||||
- Learns which commands fail in my environment and suggests working alternatives
|
||||
- Automatically backs up my work before context limits
|
||||
- Blocks dangerous commands before they execute
|
||||
- Maintains session history across Claude restarts
|
||||
|
||||
**Installation steps:**
|
||||
1. `git clone https://github.com/anthropics/claude-hooks.git`
|
||||
2. `cd claude-hooks`
|
||||
3. `./scripts/install.sh`
|
||||
4. `./scripts/test.sh`
|
||||
|
||||
**After installation:**
|
||||
- Restart Claude Code to activate the hooks
|
||||
- Try `claude-hooks status` to see it working
|
||||
- Try `pip install requests` to see intelligent command suggestions
|
||||
|
||||
Please guide me through this installation step-by-step. Handle any errors that come up and make sure everything works. After installation, help me test it by trying some commands that commonly fail on different systems (like `pip` vs `pip3`, `python` vs `python3`) so I can see the intelligence in action.
|
||||
|
||||
The goal is to have a working Claude Hooks system that starts learning from my environment immediately.
|
||||
Loading…
Add table
Add a link
Reference in a new issue