docs(v2.0.0): update all documentation files for v2.1.4 architecture

Updated all README.md and CLAUDE.md files to reflect v2.0.0 changes.

## Documentation Updates

### Root Files
- CLAUDE.md: Added v2.0.0 features section, updated permission syntax examples
- CHANGELOG.md: Added testing scripts to documentation section

### Subfolder READMEs
- agent/README.md: Updated to v2.0.0, added hooks information
- command/README.md: Updated to v2.0.0, added hooks examples
- skill/README.md: Updated to v2.0.0, modernized permission syntax
- skill/examples/README.md: Added v2.0.0 banner and migration notes

## Changes Made

### Version References
- All "1.0.0" → "2.0.0"
- All "Claude Code 2.0+" → "Claude Code 2.1.4+"
- Updated dates to January 2026

### Permission Syntax
- Updated all examples from `tools:` → `permissions:`
- Updated all examples from `allowed-tools:` → `permissions.allow:`
- Added wildcard syntax examples: `Bash(git:*)`

### New Features Documented
- Lifecycle hooks (SessionStart, PreToolUse, PostToolUse)
- Hot-reload capabilities
- Fork-safe mode
- Auto-migration system
- Version detection

### Links Updated
- Added migration guide references throughout
- Fixed internal documentation links
- Removed outdated `generated-*` directory references

All documentation now accurately reflects v2.0.0 architecture and features.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Reza Rezvani
2026-01-13 13:49:45 +01:00
parent 35d17b0ba3
commit 9dd7ec9987
6 changed files with 177 additions and 57 deletions
+22 -15
View File
@@ -45,7 +45,7 @@ Available in all your Claude Code projects:
```bash
# Copy agent to user directory
cp generated-agents/claude-md-guardian/claude-md-guardian.md ~/.claude/agents/
cp agent/claude-md-guardian.md ~/.claude/agents/
# Restart Claude Code
```
@@ -59,7 +59,7 @@ Available only in current project:
mkdir -p .claude/agents
# Copy agent
cp generated-agents/claude-md-guardian/claude-md-guardian.md .claude/agents/
cp agent/claude-md-guardian.md .claude/agents/
# Restart Claude Code
```
@@ -83,12 +83,15 @@ Automatically check for updates at session start:
**Note**: The hook creates awareness, but the agent only updates if significant changes detected.
**v2.0.0 Update**: Hooks now support advanced features like `run_in_background`, environment variables, and conditional execution. See [docs/MIGRATION_V2.md](../docs/MIGRATION_V2.md) for details.
## Prerequisites
**Required**:
- `claude-md-enhancer` skill must be installed
- User-level: `~/.claude/skills/claude-md-enhancer/`
- Project-level: `.claude/skills/claude-md-enhancer/`
- `claudeforge-skill` must be installed
- User-level: `~/.claude/skills/claudeforge-skill/`
- Project-level: `.claude/skills/claudeforge-skill/`
- **v2.0.0**: Auto-migrates from old `claude-md-enhancer` name
**Optional** (but recommended):
- `/enhance-claude-md` slash command
@@ -329,23 +332,26 @@ In the agent file, you can adjust when updates trigger:
### Skill Not Found Error
**Problem**: "claude-md-enhancer skill not found"
**Problem**: "claudeforge-skill not found"
**Solution**:
```bash
# Install the skill
cp -r generated-skills/claude-md-enhancer ~/.claude/skills/
cp -r skill ~/.claude/skills/claudeforge-skill/
# Restart Claude Code
# Note: v2.0.0 auto-migrates from old claude-md-enhancer name
```
## Integration
### With claude-md-enhancer Skill
### With claudeforge-skill
The agent uses this skill as its core capability:
```
Agent detects changes → Invokes skill → Skill updates sections → Agent validates
```
**v2.0.0**: Uses new `permissions:` syntax for tool access control.
### With /enhance-claude-md Command
The slash command can invoke the agent:
@@ -389,16 +395,17 @@ The slash command can invoke the agent:
## Version
- **Version**: 1.0.0
- **Last Updated**: November 2025
- **Compatible**: Claude Code 2.0+
- **Dependencies**: claude-md-enhancer skill v1.0.0+
- **Version**: 2.0.0
- **Last Updated**: January 2026
- **Compatible**: Claude Code 2.1.4+
- **Dependencies**: claudeforge-skill v2.0.0+
- **Migration**: See [docs/MIGRATION_V2.md](../docs/MIGRATION_V2.md) for upgrade guide
## Related Resources
- **Skill**: `generated-skills/claude-md-enhancer/`
- **Slash Command**: `generated-commands/enhance-claude-md/`
- **Agent File**: `generated-agents/claude-md-guardian/claude-md-guardian.md`
- **Skill**: `skill/` (claudeforge-skill)
- **Slash Command**: `command/` (enhance-claude-md)
- **Agent File**: `agent/claude-md-guardian.md`
---