cli-daemon-interface-design

Community

Design reliable CLIs and daemons users trust

Authormachenjie
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Prevents broken or unpredictable command-line, TUI, and daemon interfaces that confuse operators, fail automation, or mishandle signals, outputs, and config precedence.

Core Features & Use Cases

  • Deterministic interface contracts: Defines command models (commands/subcommands/flags/args), config precedence, stdout/stderr separation, machine-readable output modes, and stability guarantees.
  • Operational safety for real environments: Specifies exit-code taxonomy, dry-run behavior, confirmation/scoping for destructive actions, idempotency rules, and lock/lifecycle handling.
  • Signal- and lifecycle-aware daemons: Covers readiness vs liveness, shutdown/drain semantics for SIGINT/SIGTERM, and atomic config reload via SIGHUP.

Quick Start

Ask the agent to design a scriptable CLI and systemd daemon interface for your workflow with deterministic config precedence, JSON output, well-defined exit codes, SIGTERM/SIGHUP handling, and a verified dry-run boundary.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cli-daemon-interface-design
Download link: https://github.com/machenjie/rd-skills/archive/main.zip#cli-daemon-interface-design

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.