Commit 87a7c20
docs(hook-development): remove duplicated temporarily active hooks section (#68)
## Summary
- Removed duplicated "Temporarily Active Hooks" section from SKILL.md
(50 lines)
- Updated patterns.md reference to "10 proven patterns including
temporarily active and configuration-driven hooks"
- Word count reduced from 2,125 → 1,979 words (now within 1,500-2,000
target)
## Problem
Fixes #65
The "Temporarily Active Hooks" section in SKILL.md duplicates content
from `references/patterns.md` (Pattern 9: Temporarily Active Hooks and
Pattern 10: Configuration-Driven Hooks), violating the skill-development
best practice of keeping SKILL.md lean through progressive disclosure.
## Solution
Removed the duplicated section and enhanced the reference to patterns.md
to explicitly mention the temporarily active and configuration-driven
hook patterns.
### Alternatives Considered
- **Keep both with cross-reference**: Rejected because it still violates
the single-source principle
- **Move patterns.md content to SKILL.md**: Rejected because patterns.md
has more comprehensive examples
## Changes
- `plugins/plugin-dev/skills/hook-development/SKILL.md`: Removed lines
531-578, updated patterns.md reference
## Testing
- [x] Markdownlint passes
- [x] Word count verified (2,125 → 1,979)
- [x] Content verified in patterns.md (Pattern 9 & 10)
---
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <noreply@anthropic.com>1 parent 9c869df commit 87a7c20
1 file changed
Lines changed: 1 addition & 50 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
528 | 528 | | |
529 | 529 | | |
530 | 530 | | |
531 | | - | |
532 | | - | |
533 | | - | |
534 | | - | |
535 | | - | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | | - | |
570 | | - | |
571 | | - | |
572 | | - | |
573 | | - | |
574 | | - | |
575 | | - | |
576 | | - | |
577 | | - | |
578 | | - | |
579 | | - | |
580 | 531 | | |
581 | 532 | | |
582 | 533 | | |
| |||
681 | 632 | | |
682 | 633 | | |
683 | 634 | | |
684 | | - | |
| 635 | + | |
685 | 636 | | |
686 | 637 | | |
687 | 638 | | |
| |||
0 commit comments