AGENT SKILL
before
Insert before a queued task.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 4
- Forks
- 1
01 前言 Front Matter
- name
- before
- description
- Insert before a queued task.
- allowed-tools
- []
- user-invocable
- true
03 SKILL.md 正文
before
/before <target> <instructions> inserts <instructions> into the queue
immediately before <target> — an existing queued task — instead of at a
fixed position.
It is the positional member of the queue family:
/first— head of queue; may pause in-progress work to run now./next— immediately after the current (in-progress) task./before <target>— immediately before the referenced queued task./also— tail of queue./last— sticky tail; stays last even as new/alsotasks arrive.
Resolving <target>
The word(s) right after /before name the task to insert ahead of:
that— the most recently added/queued task (the common case:/before that <instructions>).- A short description — match it against the queued tasks ("/before the render", "/before the spellcheck"). Pick the best match; if two are equally plausible, ask which.
- If no target resolves (nothing queued, or no match), treat it like
/next— do it right after the current task — and say so.
How to handle it
- Locate the target task in your working queue (the todo list).
- Insert the new task immediately before it, pushing the target and
everything after it back one slot.
Do not preempt the in-progress task (that is
/first). - Finish the current task, then work the queue in the new order — the inserted task now runs just before its target.
- Report the placement — note that you slotted it in before
<target>.
Edge cases
- Target is the in-progress task. "Before" something already running means
interrupting it — that is
/first, not/before. Point the user there, or treat it as/firstif they clearly mean "do this now." - Multiple
/before thatin a row. Eachthatrefers to the most recently added task at the moment it is issued, so they chain naturally in front of it. - Target already done. If the referenced task has completed, there is nothing
to go before — fall back to
/nextand say so.
What this is not
- Not head-of-queue (
/first) or tail (/also//last) — it is relative positioning before a named task. - Not an interrupt — the current in-progress task still finishes first.
04 同仓库更多 Skills
wrap-up
End-of-session verification and UMS.
★ 4
workaround-watcher
Watch upstream issue for fix.
★ 4
wn
→ whats-next.
★ 4
whats-next
Recommend concrete next step or action.
★ 4
wait-for-results
Wait for pipeline/CI results.
★ 4
wai
→ send-notes.
★ 4