Agent skill
documentation-updater
Install this agent skill to your Project
npx add-skill https://github.com/lola69160/claude-product-comparison/tree/main/skills/documentation-updater
Metadata
Additional technical details for this skill
- name
- documentation-updater
- timeout
- 120000
- version
- 1
- category
- maintenance
- patterns
-
[ "update.*documentation", "refresh.*claude.*md", "sync.*index.*md", "doc.*auto.*update" ] - description
- Met à jour automatiquement CLAUDE.md et INDEX.md quand modifications structurelles détectées
- dependencies
-
[ "project CLAUDE.md", "project INDEX.md" ] - creates files
-
[ "CLAUDE.md (updated)", "INDEX.md (updated)" ] - estimated duration
- 1-2 min
SKILL.md
Documentation Auto-Updater
Mission: Détecter modifications structurelles (skills, hooks, config) et mettre à jour CLAUDE.md + INDEX.md automatiquement.
Workflow: Load helpers/workflow.md for detailed step-by-step instructions.
Quick Start
Déclenchement Manuel
claude "update documentation"
Déclenchement Automatique (Hook)
Configuré via .claude/hooks/post_tool_use.js pour détecter :
- Nouveaux skills créés
- Skills modifiés (SKILL.md, helpers/)
- Hooks ajoutés/modifiés
- Configuration changée (settings.json, skill-rules.json)
- Templates ajoutés
Changements Détectés
Le skill analyse et met à jour automatiquement :
CLAUDE.md
- Repository Structure : Ajout/suppression skills, hooks, config files
- Key Guidelines : Si nouvelles best practices émergent
- Performance Metrics : Si benchmarks mis à jour
- Architecture : Nouvelles sections techniques (v2.0, v3.0, etc.)
- Version History : Ajout versions avec dates
INDEX.md
- Quick Links : Nouveaux skills, workflows, registries
- Navigation : Sections skills avec métadonnées actualisées
- Structure : helpers/, subagents/, nouvelles dépendances
- Métriques : Context efficiency, success rates, durations
- Architecture : Progressive Disclosure, nouvelles patterns
Output
📝 Documentation updated:
- CLAUDE.md: 3 sections modifiées (Repository Structure, Architecture, Version History)
- INDEX.md: 2 sections modifiées (Quick Links, Navigation skill X)
✅ Changes detected:
- New skill: skills/new-skill/ added
- Modified: skills/existing-skill/SKILL.md (reduced 700 → 180 mots)
- New config: .claude/skill-rules.json created
Configuration
Le skill utilise un manifest de tracking dans .claude/dev_docs/doc_manifest.json :
{
"last_update": "2025-11-15T14:30:00Z",
"tracked_files": {
"skills": ["veille-scraping", "veille-synthesizer", "linkedin-post-generator"],
"hooks": ["pre_prompt.js", "post_generation.js"],
"config": ["settings.json", "skill-rules.json"]
},
"checksums": {
"skills/veille-scraping/SKILL.md": "abc123...",
"CLAUDE.md": "def456..."
}
}
Anti-Patterns
- ❌ Ne jamais modifier CLAUDE.md/INDEX.md sans backup (git commit avant)
- ❌ Ne jamais auto-update sans validation user si changements > 10 lignes
- ❌ Ne jamais supprimer sections sans confirmation
- ✅ Toujours générer diff preview avant application
- ✅ Toujours logger changements dans CHANGELOG.md
Voir helpers/workflow.md pour workflow complet avec exemples de détection et update patterns.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
report-generator
Generates professional markdown comparison report with tables, executive summary, and verdict by use case. Use when user asks to 'generate report', 'create comparison report', 'synthesize comparison', 'write comparison', or when orchestrator has completed all data collection. Creates structured report with specs tables, pros/cons, pricing analysis, and actionable recommendations.
pricing-tracker
Tracks current pricing and availability across multiple retailers with price comparison. Use when user asks about 'price', 'how much', 'where to buy', 'pricing comparison', 'best deal', 'availability', or when orchestrator needs current market pricing data. Checks Amazon and category-specific retailers.
reviews-aggregator
Aggregates user reviews from Amazon/Reddit and expert reviews from specialized sites with sentiment analysis. Use when user asks to 'get reviews', 'what do users say', 'aggregate reviews', 'user feedback', 'expert opinions', or when orchestrator needs sentiment analysis and pros/cons extraction. Synthesizes consensus patterns across sources.
specs-collector
Collects complete technical specifications from manufacturer sites, Amazon, and review sites with schema validation. Use when user asks to 'get specs', 'collect specifications', 'find technical details', 'product specifications', or when orchestrator needs detailed product specs. Validates data completeness against category requirements.
product-research-orchestrator
Coordinates complete comparison of 2 products with parallel subagents and result aggregation. Use when user asks to 'compare X vs Y', 'compare two products', 'research products for comparison', mentions comparing items for purchase decision, or requests product analysis. Handles product validation, cache checking, parallel data collection (specs, reviews, pricing), and comprehensive report generation.
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
Didn't find tool you were looking for?