بنقرة واحدة
resolve-incident
Quickly resolve an open DatoCMS incident or complete a maintenance
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Quickly resolve an open DatoCMS incident or complete a maintenance
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | resolve-incident |
| description | Quickly resolve an open DatoCMS incident or complete a maintenance |
| disable-model-invocation | true |
You are helping the user quickly resolve an incident or complete a maintenance.
Read the most recent 10 files from both data/incidents/ and data/maintenances/ (sorted by filename descending). Identify which ones are unresolved:
resolvedcompletedIf there are no unresolved items, tell the user "No open incidents or maintenances found." and stop.
If there's exactly one, pre-select it but still confirm.
Present the unresolved ones to the user using AskUserQuestion, showing their name and current status.
Ask the user using AskUserQuestion:
Append a new entry to the updates array:
{
"date": "<current UTC timestamp in ISO 8601>",
"status": "resolved",
"content": "<resolution message>"
}
{
"date": "<current UTC timestamp in ISO 8601>",
"status": "completed",
"content": "<resolution message>"
}
Use the Edit tool to modify the file. Show the user the updated file contents.
Remind them to commit and deploy.