Update project documentation — README.md, user guide, and UML.md. Evaluates whether the project is a coding project or a non-code workspace and adapts accordingly. Load when asked to update docs, refresh documentation, or after significant changes.
80%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./pi/agent/skills/docs-update/SKILL.mdUpdate a project's documentation to reflect its current state. Works for both coding projects and non-code workspaces (research, interview prep, writing, etc.).
Survey the repo to determine its type:
# Check for code signals
ls package.json Cargo.toml go.mod pyproject.toml Makefile *.sln pom.xml build.gradle Gemfile 2>/dev/null
find . -maxdepth 3 -type f \( -name "*.ts" -o -name "*.py" -o -name "*.go" -o -name "*.rs" -o -name "*.java" -o -name "*.rb" -o -name "*.cs" \) | head -5Classify as:
| Type | Signals |
|---|---|
| coding | Has a build config, source files, package manager, src/ or lib/ directory |
| non-code | Mostly .md, .docx, .xlsx, images, research notes, no build system |
| mixed | Has some scripts/config but primary purpose is documentation or planning |
State your classification before proceeding. This affects Steps 2–4.
Read the existing README.md (if any). Then update or create it following these
rules based on project type:
Must include (add missing sections, update stale ones, leave accurate ones alone):
Must include:
CLAUDE.md or AGENTS.md exists at project level, read it for context
but do NOT duplicate its content into README.Check for an existing user guide (docs/user-guide.md, docs/guide.md,
USER_GUIDE.md, GUIDE.md, or similar).
Load and run the uml-maintenance skill:
UML.md exists → read it, update diagrams/module map/activity log.UML.md doesn't exist → generate it from a repo survey.UML.html in sync.Still run uml-maintenance but adapt the diagram style:
flowchart (not classDiagram) to show document/artifact relationships.UML.md already exists and is accurate, just update the activity log.Print a short summary of what was changed:
## Docs updated
- README.md — [created | updated sections: X, Y, Z | no changes needed]
- User guide — [updated | created | skipped (non-code project) | skipped (not requested)]
- UML.md + UML.html — [created | updated | no changes needed]g23polar/dotfiles
766c4f7
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.