Edit markdown file: $ARGUMENTS
Instructions
-
Read the file first. Never edit a file you have not read in this session.
-
Read the style guide at
content/writing/texts/style-guide.mdif the edit involves writing prose. Follow PTGAE. -
Make the edit. Preserve existing frontmatter structure. Do not remove fields, reorder keys, or change formatting unless that is the explicit task.
-
Update provenance frontmatter if the edit is significant (more than fixing a typo or whitespace):
- Add
claudeto theauthors:list if not already present. - Set
date-updated:to today’s date in ISO 8601 format.
- Add
-
Check the result. Re-read the file after editing to verify the change is correct. If the file has tags, verify they follow the tag conventions in
CLAUDE.md. If it has semantic relation fields (defines,requires,part-of, etc.), verify they still make sense after the edit. -
Report what changed. State the file path and a brief summary of changes.