anthropics / anthropics/claude-agent-sdk-typescript
Can't define custom slash commands/skills programmatically in SDK options
- Lingua principale
- Shell
- Stelle
- 1.8k
- Fork
- 226
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
## Problem
We cannot define custom slash commands/skills in `Options` in the SDK. This is inconsistent with other types of configurations, which we _can_ provide in `Options`:
- `agents?: Record;`
- `mcpServers?: Record;`
- `plugins?: SdkPluginConfig[];`
This prevents us from using custom slash commands and skills when using the SDK, and forces us to define them as project files in `.claude/`.
## Proposed Solution
We need a `commands` field in `Options` of type `SlashCommand` to pass in custom slash commands and skills.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.