بنقرة واحدة
update-incident
Add a status update to an existing DatoCMS incident or maintenance
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Add a status update to an existing DatoCMS incident or maintenance
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | update-incident |
| description | Add a status update to an existing DatoCMS incident or maintenance |
| disable-model-invocation | true |
You are helping the user add a status update to an existing incident or maintenance.
Read the most recent 10 files from both data/incidents/ and data/maintenances/ (sorted by filename descending). Identify which ones are unresolved:
resolvedcompletedPresent the unresolved ones to the user using AskUserQuestion, showing their name and current status. If there are also recently resolved ones (within last 7 days), include them too in case the user wants to add a post-mortem update.
If there's only one unresolved incident, pre-select it but still confirm with the user.
Once the incident is selected, ask the user ALL of the following at once using AskUserQuestion:
For incidents, ask:
New status — What is the new status?
investigating — Still investigatingidentified — Root cause identifiedmonitoring — Fix deployed, monitoringresolved — Incident resolvedWhat's the update? — Describe what happened or changed in your own words.
For maintenances, ask:
New status — What is the new status?
scheduled — Maintenance is about to startin-progress — Maintenance has begunverifying — Maintenance completed, monitoringcompleted — All doneWhat's the update? — Describe what happened or changed in your own words.
Use the user's description to generate a professional, user-facing status update message in the style of previous updates for this incident. Write in first person plural ("We have identified...", "A fix has been deployed...").
Show the generated message to the user and ask for confirmation before writing.
Append a new entry to the updates array in the JSON file:
{
"date": "<current UTC timestamp in ISO 8601>",
"status": "<new status>",
"content": "<generated update message>"
}
Use the Edit tool to modify the file. Show the user the updated file contents after writing.
Remind them to commit and deploy.