Step-by-Step: Authoring Custom Slash Commands in aiFetchly
Description and use
Developers can create, configure, and execute custom slash commands in aiFetchly using Markdown files with YAML frontmatter, reducing prompt fatigue and automating complex workflows.
Problem
Prompt fatigue in advanced agentic development workflows causes engineers to repeatedly copy‑paste structured instructions and system constraints.
Outcome
Developers can author, configure, and execute custom slash commands that reduce prompt fatigue, eliminate namespace collisions, and automate multi‑turn guidance into single keystroke shortcuts.
Workflow
- Create a Markdown file with YAML frontmatter in the local commands directory (e.g., ~/.aifetchly/commands/audit.md).
- Define the command name, description, and required arguments in the frontmatter.
- Type the slash command (e.g., /audit) in the chat composer; aiFetchly autocompletes and prompts for arguments.
- Execute the command; aiFetchly resolves it through the four‑tier scope hierarchy (built‑in, workspace, user, plugin).
- For complex tasks, chain autonomous loops such as /goal or /loop within the command template to iterate until exit criteria are met.
Evidence
Power users author custom slash commands in aiFetchly by saving structured Markdown prompt templates with YAML frontmatter into a personal or workspace commands directory.
Each command requires YAML frontmatter defining its invocation trigger, human-readable description, and expected argument tokens.
aiFetchly evaluates slash commands through a strict hierarchical scope structure to eliminate namespace collisions across teams.
- Record date: 2026-10-14T16:41:22.716Z