background-terminals
Run and manage long-lived shell commands in background terminals. Use for dev servers, watchers, streaming builds, and other commands that should keep running while the agent continues working.
- License 许可
- MIT
- 最近更新
- 2026-11-03
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- background-terminals
- description
- Run and manage long-lived shell commands in background terminals. Use for dev servers, watchers, streaming builds, and other commands that should keep running while the agent continues working.
02 资源文件 1
- 许可证LICENSE1.0 KB
03 SKILL.md 正文
Background Terminals
Use bg_start for long-running commands; use regular bash for quick commands.
Start
Call bg_start with:
command: shell command to runtitle: short recognizable labelworking_dir: project directory when different from the current directory
Background commands receive no stdin. Never use them for interactive prompts.
After starting, continue useful work instead of polling. The terminal sends one completion message when it exits.
Inspect and stop
- Use
bg_statusonly when current output or status is needed. - Use
bg_listto inventory all tracked terminals. - Use
bg_killwhen a process is no longer needed or is stuck; termination continues even if the tool wait is aborted. - Tell the user they can open
/psto inspect live output and kill terminals interactively.
Prefer meaningful titles and avoid starting duplicate servers or watchers. Full output is captured to spill files; tool and completion output shows a concise tail. Terminals are session-scoped and are stopped during shutdown or reload.
04 同仓库更多 Skills
why
Investigates why code, a threshold, guard, workflow, or design decision exists. Use for historical rationale, regressions, postmortems, legacy removal, rejected alternatives, and product or operational constraints. Separates direct evidence from inference and reports unavailable sources. Use how for runtime mechanics.
show-me-your-work
Keeps a compact, reviewable TSV decision trail for long-running, multi-phase, delegated, or unattended work. Use when the user will review the work after a pause, when hypotheses or pivots must remain auditable, or when another skill needs a canonical evidence log.
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
vercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
typescript-best-practices
Applies concrete TypeScript type, boundary, API, and test rules when reading, writing, reviewing, or refactoring .ts and .tsx files. Use to model state honestly, remove unchecked casts, derive types from authoritative schemas, and keep external validation at boundaries.
prove-it-works
Verifies completed work against the real artifact and behavior rather than a build, cached representation, tool summary, or agent self-report. Use before declaring an implementation, fix, migration, generated artifact, configuration change, or delegated task complete.