# Create Simple JavaScript Greetings

Developers need a minimal tool to test Enact JavaScript execution. This skill returns a greeting with timestamp and Node version details.

## Install

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

## Metadata

- Status: approved
- Slug: enactprotocol-enact-hello-js
- Version: 1.0.2
- Author version: 1.0.2
- Skillstore revision: r1
- Version status: valid
- Tree hash: 01c618d22224d95e5f295c479871710575578eb1a921d87c6bd27aebc3daa925
- Author: EnactProtocol
- GitHub username: EnactProtocol
- License: MIT
- Repository: https://github.com/EnactProtocol/enact/tree/main/examples/hello-js
- 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: 72
- Public page: https://skillstore.pages.dev/skills/enactprotocol-enact-hello-js
- Manifest: https://skillstore.pages.dev/api/skills/enactprotocol-enact-hello-js/manifest

## Capabilities

- Accepts an optional name parameter for a personalized greeting.
- Prints a default greeting when no name is provided.
- Shows the generation timestamp in ISO format.
- Displays the active Node.js runtime version.
- Demonstrates a small Enact tool backed by a JavaScript file.

## Use Cases

- Verify Tool Execution: Run a tiny JavaScript skill to confirm that Enact can execute Node.js tools correctly.
- Teach Skill Basics: Show new contributors how a parameter reaches a JavaScript command and appears in output.
- Check Runtime Context: Inspect the timestamp and Node.js version returned by a simple tool run.

## Prompt Templates

### Run Default Greeting

```
Use this skill with no name value and show the greeting it returns.
```

### Run Named Greeting

```
Use this skill with the name Jordan and summarize the greeting and runtime details.
```

### Compare Two Runs

```
Run this skill twice with different names and compare the greeting, timestamp, and Node.js version.
```

### Review Integration Behavior

```
Use this skill to verify parameter passing, default behavior, and runtime metadata in an Enact setup.
```

## Limitations

- Only produces greeting text and runtime metadata.
- Does not validate or normalize the provided name value.
- Does not call external services or store output.
- Requires a Node.js runtime in the execution environment.

## Best Practices

- Use simple name values when testing command parameter passing.
- Review timestamp and Node.js version output when comparing execution environments.
- Escape or structure user parameters before using this pattern in production tools.

## Anti Patterns

- Do not treat this example as a complete production command wrapper.
- Do not pass untrusted shell metacharacters as the name value.
- Do not expect persistence, network calls, or complex validation from this skill.

## Security Audit

- Audited at: 2026-07-05T16:01:35.985\+00:00
- Summary: The reported backtick findings are false positives from JavaScript template literals and Markdown formatting. A separate semantic review found unquoted user input in the Enact command template, which may allow command injection if the runner executes the command through a shell.

## Stats

- Views: 126
- Downloads: 10
- Favorites: 0
- Popularity score: 0
