Project docs cleanup
Skill mo-hawary/hawary-workflow-skills/skills/project-docs-cleanup
Reusable Agent Skills for Codex, Claude, and AI coding agents
npx -y skills add mo-hawary/hawary-workflow-skills --skill project-docs-cleanupAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Audit project docs for stale, duplicate, contradictory, or missing workflow artifacts before cleanup or handoff.
SKILL.md
2.7 KB, as published. Nobody here has run it
Project Docs Cleanup
Audit first, edit only with approval. The goal is to make project docs match reality without erasing useful history.
When To Use
Use this when the user wants to tidy, archive, reconcile, or prepare documentation for handoff.
Do not use this for a general current-state dashboard; use project-status-dashboard. Do not use it to check whether a repo has a full agent scaffold; use repo-workflow-checker.
Workflow
- Inventory docs:
README.md,AGENTS.md,CLAUDE.md, backlog files, bug files, specs, plans, release notes, architecture docs, and archives.
- Compare docs to reality:
- Git branches and recent commits.
- Actual file paths.
- Existing tests/build commands.
- Completed or obsolete plans.
- Classify findings:
- Stale.
- Duplicate.
- Contradictory.
- Missing.
- Ready to archive.
- Needs user decision.
- Produce a cleanup plan before editing.
- If approved, make minimal documentation edits and preserve history in an archive when appropriate.
For sample prompts and cleanup reports, see references/examples.md.
For archive and stale-doc decision rules, see references/archive-policy.md.
Input Signals
Use active docs, recent commits, branch names, issue exports, spec indexes, release notes, TODO files, CI workflows, and actual file paths. Treat docs as candidates for cleanup, not proof of current behavior.
Output
Return:
- Doc Health: concise overall state.
- Stale Items: docs or sections that no longer match repo reality.
- Contradictions: conflicting instructions or statuses.
- Archive Candidates: completed work that should move out of active docs.
- Missing Docs: gaps that would slow future agents or humans.
- Proposed Edits: exact files and intent.
- Approval Needed: yes/no before modifying files.
Guardrails
- Do not delete project history unless explicitly approved.
- Do not change implementation, tests, migrations, generated files, or runtime config.
- Do not rewrite product strategy or user-facing wording unless asked.
- Prefer small, reviewable doc edits.
Avoid
- Do not erase useful context just because it is old.
- Do not merge contradictory docs without naming the evidence that resolves the conflict.
- Do not move active plans into archive without checking current branch/work queue signals.
Final Checks
- Each proposed edit names the file and reason.
- Completed work is archived or labeled, not silently erased.
- Contradictions are resolved only with evidence or user approval.
- Implementation files remain untouched unless explicitly approved.