You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add date input and improve news article creation workflow (#309)
# Enhance News Article Creation Command with Improved Structure and Date Automation
This PR improves the `.claude/commands/create-news-article.md` command with several key enhancements:
1. Added automatic date insertion for article frontmatter using the `date` command
2. Introduced article style/length selection with predefined options (Quick Update, Feature Article, Release Announcement, Deep Dive)
3. Added critical reminders to display content (topics list, outline, title options, cover image description) BEFORE asking for confirmation
4. Streamlined the focus confirmation step by removing the generic "Something else" option
5. Fixed an incorrect date in the pgflow-0-7-2 news article (changed from 2025-01-04 to 2025-11-04)
These changes make the news article creation process more structured and efficient while ensuring proper user interaction flow.
**CRITICAL: ALWAYS write the full outline to the screen FIRST before asking for confirmation.**
128
+
103
129
Create a high-level outline using H2 and H3 headings. Include placeholders for specific content types:
104
130
-`<code snippet for X>`
105
131
-`<warning about Y>`
106
132
-`<example of Z>`
107
133
-`<comparison table>`
108
134
-`<diagram/visual>`
109
135
110
-
Present the outline, then use AskUserQuestion to confirm:
136
+
**Write the complete outline in your message text BEFORE using AskUserQuestion.**
137
+
138
+
Then use AskUserQuestion to confirm:
111
139
```
112
140
question: "Does this outline structure work?"
113
141
header: "Outline OK?"
@@ -123,8 +151,12 @@ If "Needs adjustments", ask for specific changes in plain text, update the outli
123
151
124
152
### Step 5: Suggest Title (via AskUserQuestion tool)
125
153
154
+
**CRITICAL: ALWAYS write the title options to the screen FIRST before asking for confirmation.**
155
+
126
156
Generate 2-3 concise, descriptive title options. Follow the pattern from existing articles (e.g., "pgflow 0.6.1: Worker Configuration in Handler Context").
127
157
158
+
**Write all title options in your message text BEFORE using AskUserQuestion.**
159
+
128
160
Use AskUserQuestion to select:
129
161
```
130
162
question: "Which title works best?"
@@ -170,6 +202,10 @@ Reference colors by name (e.g., "deep teal background with light teal accents")
170
202
171
203
Example: "A cyberpunk database server glowing with teal circuits, surrounded by flowing data streams in deep teal and light teal, against a near-black background with dark gray geometric patterns."
172
204
205
+
**CRITICAL: ALWAYS write the full cover image description to the screen FIRST before asking for confirmation.**
206
+
207
+
**Write the complete description in your message text BEFORE using AskUserQuestion.**
208
+
173
209
Present the description and ask for confirmation using AskUserQuestion:
174
210
```
175
211
question: "Does this cover image description work?"
0 commit comments