askill
domain-cli-and-daemons

domain-cli-and-daemonsSafety 55Repository

Use for Rust command-line interfaces (CLIs), workers, daemons, batch jobs, and services where process lifecycle, operator feedback, and shutdown rules matter.

0 stars
1.2k downloads
Updated 3/18/2026

Package Files

Loading files...
SKILL.md

Rust CLI and Daemon Work

Use this when the program is a process boundary first: command-line tool, worker, daemon, long-running job, or supervisor-managed service.

Working stance

  • Keep parsing, config loading, and reporting at the edge.
  • Make process lifetime explicit: startup, steady state, shutdown, exit code.
  • Write machine-readable output to stdout and diagnostics to stderr.
  • Long-running jobs need supervision, cancellation, and cleanup contracts.
  • Pair this skill with rust-errors; add rust-async-and-concurrency only if lifecycle or parallelism is the real pressure.

Domain pressure

  • Config precedence should be stable and unsurprising.
  • Exit codes are part of the interface.
  • Background workers must decide who owns retries, backoff, and shutdown.
  • Progress reporting should never corrupt data output.

Red flags

  • main contains business logic and retry loops,
  • shutdown depends on ad hoc signal handling spread across modules,
  • human output and machine output share the same channel,
  • daemon state is shared globally because ownership was never assigned.

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

62/100Analyzed 3/29/2026

Solid conceptual reference for Rust CLI and daemon development with clear structural organization. Lacks step-by-step procedures and code examples, but provides actionable principles around lifecycle management, output separation, and ownership. The red flags section adds practical safety awareness. Moderately complete but could benefit from more concrete examples.

55
78
72
50
45

Metadata

Licenseunknown
Version-
Updated3/18/2026
Publisherleynos

Tags

No tags yet.