| name | documentation |
| description | Documentation management skill for archivist agents. Use when: (1) maintaining knowledge bases, (2) writing technical documentation, (3) updating README files, (4) organizing project documentation, (5) creating changelogs and commit logs, (6) managing GitHub documentation sync. This skill helps preserve experiment history, update documentation after changes, and maintain clear project records. |
| metadata | {"openclaw":{"emoji":"📚","requires":{"anyBins":["git"]},"primaryEnv":"GITHUB_TOKEN"}} |
Documentation Skill
This skill provides guidance for archivist agents on how to maintain project documentation, knowledge bases, and GitHub synchronization.
Core Capabilities
1. README Management
- Update main README.md with current project status
- Add new sections for features/changes
- Maintain consistent formatting
2. Changelog Generation
git log --oneline --decorate --graph --all > CHANGELOG.md
3. Knowledge Base Maintenance
- Maintain
knowledge/ directory structure
- Log experiments with full RCA
- Update pattern files after discoveries
4. GitHub Sync Protocol
- After experiment round: commit results
- After champion change: commit + tag
- After architecture change: detailed changelog commit
- Ensure repo is always deployable
5. Documentation Templates
Experiment Log Template
# Experiment Round {N}
## Date: {timestamp}
## Version: {version_id}
## Score: {score}
### Changes Made
- {list of modifications}
### Results
- {detailed results}
### Lessons Learned
- {insights gained}
### Next Steps
- {action items}
RCA Template
# Root Cause Analysis: {experiment_id}
## Problem
{description}
## Analysis
{investigation details}
## Root Cause
{identified cause}
## Resolution
{how it was fixed}
## Prevention
{how to avoid in future}
File Organization
knowledge/
├── learning/
│ ├── experiments/ # Per-experiment analysis
│ ├── patterns/ # Detected patterns
│ └── trends/ # Industry trends
├── lessons/ # Failed experiment logs
└── snapshots/ # Successful harness copies
Best Practices
- Commit Early, Commit Often - Don't wait for perfect commits
- Descriptive Messages - Explain what and why, not just what
- Preserve Context - Include RCA in every significant commit
- Tag Champions - Use git tags for version milestones
- Update README - Keep it current after every champion change
GitHub Workflow
git add .
git commit -m "feat: {description}
- Added {feature}
- Fixed {issue}
- Score: {new_score}"
git push origin main
git tag -a v{version} -m "Champion: {version} with score {score}"
git push origin v{version}
Snapshot Strategy
- Champions: Copy to
src/native/harness/harness_v{n}.py
- Failed experiments: Log to
knowledge/lessons/
- Best practices: Update
knowledge/trends/Known_Trends.md
Quality Checklist