mirror of
https://github.com/azaion/detections.git
synced 2026-04-22 09:16:33 +00:00
Generalize tracker references, restructure refactor skill, and strengthen coding rules
- Replace all Jira-specific references with generic tracker/work-item terminology (TRACKER-ID, work item epics); delete project-management.mdc and mcp.json.example - Restructure refactor skill: extract 8 phases (00–07) and templates into separate files; add guided mode for pre-built change lists - Add Step 3 "Code Testability Revision" to existing-code workflow (renumber steps 3–12 → 3–13) - Simplify autopilot state file to minimal current-step pointer - Strengthen coding rules: AAA test comments per language, test failures as blocking gates, dependency install policy - Add Docker Suitability Assessment to test-spec and test-run skills (local vs Docker execution) - Narrow human-attention sound rule to human-input-needed only - Add AskQuestion fallback to plain text across skills - Rename FINAL_implementation_report to implementation_report_* - Simplify cursor-meta (remove _docs numbering table, quality thresholds) - Make techstackrule alwaysApply, add alwaysApply:false to openapi
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
---
|
||||
description: "Play a notification sound when the AI agent needs human input or when AI generation is finished"
|
||||
description: "Play a notification sound whenever the AI agent needs human input, confirmation, or approval"
|
||||
alwaysApply: true
|
||||
---
|
||||
# Sound Notification for Human Attention
|
||||
# Sound Notification on Human Input
|
||||
|
||||
Play a notification sound whenever human attention is needed. This includes waiting for input AND completing generation.
|
||||
|
||||
## Commands by OS
|
||||
Whenever you are about to ask the user a question, request confirmation, present options for a decision, or otherwise pause and wait for human input, you MUST first run the appropriate shell command for the current OS:
|
||||
|
||||
- **macOS**: `afplay /System/Library/Sounds/Glass.aiff &`
|
||||
- **Linux**: `paplay /usr/share/sounds/freedesktop/stereo/bell.oga 2>/dev/null || aplay /usr/share/sounds/freedesktop/stereo/bell.oga 2>/dev/null || echo -e '\a' &`
|
||||
@@ -14,15 +12,13 @@ Play a notification sound whenever human attention is needed. This includes wait
|
||||
|
||||
Detect the OS from the user's system info or by running `uname -s` if unknown.
|
||||
|
||||
## When to play the sound
|
||||
|
||||
This applies to:
|
||||
- Asking clarifying questions
|
||||
- Presenting choices (e.g. via AskQuestion tool)
|
||||
- Requesting approval for destructive actions
|
||||
- Reporting that you are blocked and need guidance
|
||||
- Any situation where the conversation will stall without user response
|
||||
- **When AI generation is complete** — play the sound as the very last action before ending your turn, so the user knows the response is ready
|
||||
- Completing a task (final answer / deliverable ready for review)
|
||||
|
||||
## When NOT to play the sound
|
||||
|
||||
- In the middle of executing a multi-step task and just providing a status update (more tool calls will follow)
|
||||
Do NOT play the sound when:
|
||||
- You are in the middle of executing a multi-step task and just providing a status update
|
||||
|
||||
Reference in New Issue
Block a user