Imported from AutoPhd-org/schedule-everything (
.agents/skills/update-docs/SKILL.md). Install upstream withnpx skills add AutoPhd-org/schedule-everything --skill update-docs. Copyright stays with the author.
Update Project Documentation
Use this skill when a user asks to refresh docs, sync docs with code changes, or improve project documentation.
Goal
Keep user-facing documentation accurate, coherent, and aligned across English and Chinese docs.
Repository Context
Read these areas before editing docs:
README.mdREADME_zh.mddocumentation/docs/documentation/i18n/zh/src/schedule_management/src/schedule_management/cli.pysrc/schedule_management/commands/pyproject.tomlrequirements.txt
Documentation Workflow
- Read the project first.
- Inspect CLI entrypoints, command handlers, and current usage patterns.
- Check dependency and setup files for install/run instructions.
- Map existing docs structure before proposing edits.
- Identify doc drift.
- Find mismatches between code behavior and docs.
- Note missing examples, outdated flags, or stale setup commands.
- Decide which files require synchronized updates.
- Update English docs.
- Update
README.mdfor setup, usage, and examples. - Update relevant pages under
documentation/docs/. - Keep command examples copy-paste safe.
- Update Chinese docs.
- Update
README_zh.mdto stay functionally aligned withREADME.md. - Update translated documentation under
documentation/i18n/zh/when corresponding English pages change. - Preserve natural wording while keeping technical parity.
- Verify coherence.
- Ensure command names, options, and examples match current code.
- Ensure links and referenced paths exist.
- Keep terminology consistent across README and docs pages.
Validation Commands
uv run pytest tests/test_cli_commands.py -q
Optional docs site build check:
cd documentation
npm run build
Quality Bar
- README and docs reflect current behavior.
- English and Chinese docs are aligned in meaning.
- Examples are accurate and runnable.
- No stale command syntax remains.