rust-cli

Build, test, review, and release Rust command-line applications using Cargo and clap, focusing on reliable output, correct exit codes, clear help text, and including integration tests.

Last repository push
GitHub Stars
313
Forks
42
Issues / PRs
0

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "rust-cli" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-acba70949268be9a1a29ca817c6d31254040f867ddb5165408377509103b5e02. Verify the upstream source and version against https://github.com/ChrisTitusTech/titus-ai before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Build, test, review, and release Rust command-line applications using Cargo and clap, focusing on reliable output, correct exit codes, clear help text, and including integration tests.

0 Downloads

Introduction source: third_party · ChrisTitusTech · 0.0.1 Reference

SkillPi interpretation

Tasks
Build, test, review, and release Rust command-line applications using Cargo and clap, with reliable output, exit codes, help text, and integration tests.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: rust-cli
description: Build, test, review, and release Rust command-line applications using Cargo and clap, with reliable output, exit codes, help text, and integration tests.

rust-cli

Workflow

  1. Gather Cargo workspace, command, flag, and test context.
  2. Determine user-facing CLI behavior and compatibility impact.
  3. Create rollback by keeping changes scoped and tests focused.
  4. Implement the smallest parser, command, or library change.
  5. Validate formatting, linting, tests, help text, and exit codes.

Diagnostics

cargo metadata --no-deps
cargo fmt --check
cargo clippy -- -D warnings
cargo test
cargo run -- --help
cargo run -- <command> --help

Safety Rules

  • Keep parsing, command execution, and reusable logic separated.
  • Print normal output to stdout and diagnostics to stderr.
  • Never change CLI output formats casually if scripts may depend on them.
  • Return non-zero exit codes for failed operations.
  • Follow existing crate and workspace conventions before adding abstractions.

Validation

  • cargo fmt --check passes.
  • cargo clippy -- -D warnings passes when feasible.
  • Unit and integration tests pass.
  • --help and command help are accurate.
  • Success and failure paths return expected exit codes.

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 为Rust CLI开发者提供完整的构建、测试、审查、发布工作流
  • 涵盖从代码格式化到集成测试的全链路质量保障
Trigger Precision90/100

Highlights

  • 触发词精准覆盖Cargo和clap生态的核心操作场景
  • description位置正确且内容完整无截断
Structure and Standards95/100

Highlights

  • 五步工作流设计清晰,具备明确的阶段划分和出口条件
  • Diagnostics部分提供可直接执行的端到端命令示例
Execution Reliability90/100

Highlights

  • 所有工具调用均基于Rust官方生态,来源可靠
  • Safety Rules有效预防CLI输出格式破坏性变更
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.