# Create Slash Commands for AI Workflows

Repeated AI workflows are slow when users rely on long natural language prompts. This skill helps define concise slash commands with routing, validation, chaining, and help text.

## Install

```bash
npx skillstore add dnyoussef/slash-command-encoder
```

## Metadata

- Status: approved
- Slug: dnyoussef-slash-command-encoder
- Version: 2.0.0
- Author version: 2.0.0
- Skillstore revision: r1
- Version status: valid
- Tree hash: 704f6a5e8953480f69430808f0072a221f8d83485df8a4fa4cf17599e1f9c0ae
- Author: DNYoussef
- GitHub username: DNYoussef
- License: MIT
- Repository: https://github.com/DNYoussef/ai-chrome-extension/tree/main/.claude/skills/slash-command-encoder
- Ref: c579efd02184f1128d6741d16e6c8d951d7d4208
- 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, filesystem
- Quality score: 82
- Quality tier: silver
- Public page: https://skillstore.pages.dev/skills/dnyoussef-slash-command-encoder
- Manifest: https://skillstore.pages.dev/api/skills/dnyoussef-slash-command-encoder/manifest

## Capabilities

- Designs slash command names using consistent verb-noun and model-prefix patterns.
- Defines command parameters, required inputs, flags, options, and validation rules.
- Maps commands to skills, cascades, agents, or model-specific routes.
- Describes chaining patterns for sequential, parallel, conditional, and multi-model workflows.
- Generates command catalog, help text, and completion guidance for discovered skills.
- Shows integration patterns for Claude Code command registration.

## Use Cases

- Create Team Command Shortcuts: Turn repeated AI tasks into named slash commands with clear inputs, defaults, and help text.
- Catalog Installed Skills: Organize available skills, cascades, and agents into a searchable command catalog.
- Design Multi-Model Workflows: Route research, implementation, review, and audit tasks across Claude, Codex, and other model tools.

## Prompt Templates

### Create One Command

```
Create a slash command for my repeated task. Include the command name, required input, optional flags, and short help text.
```

### Build a Small Catalog

```
Create a command catalog for these skills. Group commands by purpose and define parameters, examples, and routing targets.
```

### Add Validation and Help

```
Design slash commands with parameter validation, completion hints, defaults, and error messages for invalid inputs.
```

### Compose an Advanced Pipeline

```
Design a chained slash command workflow that routes tasks across skills, agents, and models. Include stages, inputs, outputs, and failure handling.
```

## Limitations

- It is a documentation skill and does not install a working CLI by itself.
- Generated commands depend on accurate metadata from installed skills and agents.
- Users must review generated commands before adding them to shared environments.
- It does not enforce runtime permissions or sandbox policy for routed tools.

## Best Practices

- Use short command names that follow a consistent verb-noun pattern.
- Define required inputs, defaults, and validation before adding workflow chaining.
- Review generated routing and permissions before sharing commands with a team.

## Anti Patterns

- Do not create commands for rare tasks that need open-ended discussion.
- Do not hide destructive actions behind short command names.
- Do not route sensitive files to tools without explicit user approval.

## Security Audit

- Audited at: 2026-07-05T12:58:48.433\+00:00
- Summary: The static findings are false positives caused by Markdown code fences, inline slash-command examples, and documented local skill discovery paths. I found no prompt injection, data exfiltration intent, arbitrary command execution, or unauthorized network behavior in SKILL.md.

## Stats

- Views: 171
- Downloads: 12
- Favorites: 0
- Popularity score: 0
