بنقرة واحدة
loop
// Schedule recurring tasks with notifications. Triggered by "/loop <interval> <prompt>" to set up periodic monitoring.
// Schedule recurring tasks with notifications. Triggered by "/loop <interval> <prompt>" to set up periodic monitoring.
| name | loop |
| description | Schedule recurring tasks with notifications. Triggered by "/loop <interval> <prompt>" to set up periodic monitoring. |
| tools | Bash |
Use when:
/loop <interval> <prompt>/loop <interval> <prompt>
Interval patterns:
| Pattern | Cron Expression |
|---|---|
Nm (N ≤ 59) | */N * * * * |
Nh (N ≤ 23) | 0 */N * * * |
Nd | 0 0 */N * * |
Round non-dividing intervals to nearest clean value.
Ask user:
Ask before creating:
x cron add \
--name "loop-$(date +%Y%m%d%H%M%S)" \
--desc "<description>" \
"<cron-expression>" \
"<full-command>"
Run the command now; do not wait for first cron fire.
Report to user:
x cron rm <name>Multi-phase project assessment with scoring. Triggered by "/assess" to evaluate project health across dimensions and generate a comprehensive report.
Comprehensive rule-based check. Triggered by "/check [target]" to evaluate all source files against project rules and report every violation.
Set and track project goals. Triggered by "/goal" to define objectives, track milestones, or review progress.
Review code for efficiency and performance. Triggered by "/optimize" when user wants to identify bottlenecks or improve performance.
Review pull requests or code changes. Triggered by "/review [pr_link]" or when user asks to review pending changes.
Quick greedy scan for critical violations. Triggered by "/scan [target]" to find the top 1-5 most severe issues and stop early.