/l-new-refined-article
New Refined Article
Create a new markdown file in the Articles category with polished text from user's rough draft.
Instructions
1. Parse Arguments
Parse $ARGUMENTS to extract title and slug.
2. Get the Draft Text
Ask the user to provide their draft text.
3. Read Writing Rules
Read these files to understand the proper writing style:
doc/docs/overview/writing-style.mddoc/docs/overview/markdown-writing-rule.mddoc/docs/overview/vocabulary-rule.md
4. Polish the Text
Transform the rough draft into properly formatted article text.
5. Get Current Timestamp
Get current date/time for filename.
6. Create File
Create file at doc/docs/articles/[YYYYMMDD-HHMM]-[slug].md.
7. Report Result
Show the user the created file path and the polished text.
Arguments
$ARGUMENTS - Optional: "[title]" "[slug]" or just "[title]"