update-doc
Update an existing documentation file in .chalk/docs/.
Workflow
- Find the doc — Search
.chalk/docs/for the file matching$ARGUMENTS. Match by filename, path, or content. If ambiguous, list candidates and ask the user to clarify. - Read current content — Load the file to understand what exists.
- Apply changes — Update the content per the user's request. Preserve existing structure and sections where possible. Don't remove content unless explicitly asked.
- Update the "Last updated" line — Set to today's date with a brief change note describing what changed.
- Write the file — Save back to the same path.
- Confirm — Tell the user what was changed and the file path.
Rules
- Preserve structure — Keep existing
#and##headings intact unless the user asks to reorganize. - Update, don't rewrite — Modify the specific sections relevant to the change. Don't rewrite unrelated content.
- Last updated is required — Always update the date line. Format:
Last updated: YYYY-MM-DD (<brief change note>). - No frontmatter — Docs are plain markdown. Don't add YAML frontmatter.
- Respect the vertical's tone — Product docs are business-facing, AI docs are agent-facing reference-style, Engineering docs are technical and comprehensive.
More from generaljerel/chalk-skills
python-clean-architecture
Clean architecture patterns for Python services — service layer, repository pattern, domain models, dependency injection, error hierarchy, and testing strategy
24create-handoff
Generate a handoff document after implementation work is complete — summarizes changes, risks, and review focus areas for the review pipeline. Use when done coding and ready to hand off for review.
16create-review
Bootstrap a local AI review pipeline and generate a paste-ready review prompt for any reviewer agent. Use after creating a handoff or when ready to get an AI code review.
15fix-findings
Fix findings from the active review session — reads reviewer findings files, applies fixes by priority, and updates the resolution log. Use after pasting reviewer output into findings files.
15fix-review
When the user asks to fix, address, or work on PR review comments — fetch review comments from a GitHub pull request and apply fixes to the local codebase. Requires gh CLI.
15review-changes
End-to-end review pipeline — creates a handoff, generates a review (self-review or paste-ready for another provider), then offers to fix findings. Use when you want to review your changes before pushing.
13