# Create Rust Greeting Tools

Developers need a small, predictable example for passing input into a Rust command-line skill. This skill compiles and runs a greeting tool from a name parameter.

## Install

```bash
npx skillstore add enactprotocol/enact-hello-rust
```

## Metadata

- Status: approved
- Slug: enactprotocol-enact-hello-rust
- Version: 1.0.1
- Author version: 1.0.1
- Skillstore revision: r1
- Version status: valid
- Tree hash: 2ddc2ca380f20dd28dafd1c358780d763bf0c208d2ee8f23c3cd23236cf93bbf
- Author: EnactProtocol
- GitHub username: EnactProtocol
- License: MIT
- Repository: https://github.com/EnactProtocol/enact/tree/main/examples/hello-rust
- Ref: 30c73eac2afe762f6aa9c4553158769369d47351
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands
- Quality score: 81
- Quality tier: silver
- Public page: https://skillstore.pages.dev/skills/enactprotocol-enact-hello-rust
- Manifest: https://skillstore.pages.dev/api/skills/enactprotocol-enact-hello-rust/manifest

## Capabilities

- Defines a single name input with a default value of World.
- Builds hello.rs with rustc in a Rust 1.83 slim image.
- Runs the compiled binary with the provided name value.
- Prints a greeting line for the supplied name.
- Shows a command-line usage example for Enact users.

## Use Cases

- Learn Enact Inputs: Run a minimal Rust skill to understand how a name parameter reaches a command-line program.
- Start A Rust Tool: Use the structure as a small reference before adding more Rust inputs and outputs.
- Review Build Behavior: Check how Enact compiles a Rust source file and runs the resulting binary.

## Prompt Templates

### Run Default Greeting

```
Run enact-hello-rust with the default input and report the greeting.
```

### Greet A Named User

```
Run enact-hello-rust for the name Alice and show the greeting result.
```

### Explain Build Flow

```
Explain how enact-hello-rust compiles hello.rs and passes the name argument to the binary.
```

### Adapt The Example

```
Use enact-hello-rust as a reference and outline changes for a Rust tool with two string inputs.
```

## Limitations

- It is a minimal example, not a reusable Rust project scaffold.
- It accepts one string argument and has no custom validation.
- It depends on the Enact runtime and a Rust build image.
- It does not provide tests, packaging steps, or error handling examples.

## Best Practices

- Use simple names when testing the example.
- Review the generated greeting before using this pattern in a larger workflow.
- Keep Rust tool inputs explicit when extending the example.

## Anti Patterns

- Do not use it as a production CLI framework.
- Do not pass secrets or sensitive values as the name input.
- Do not assume it validates or sanitizes user text.

## Security Audit

- Audited at: 2026-07-05T16:12:23.614\+00:00
- Summary: The static finding on SKILL.md line 33 is a false positive from a Markdown fenced bash example. The skill builds and runs a local Rust greeting program. No evidence found of malicious intent, network access, data exfiltration, or prompt injection.

## Stats

- Views: 174
- Downloads: 7
- Favorites: 0
- Popularity score: 0
