User-defined skills (custom meta-commands) #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Inspired by Claude Code's
skills(custom slash commands like/review-pr,/deploy-staging).What: Discover and dispatch user-authored Lua files in
~/.config/aish/skills/*.lua. Each module exports{name, description, run(args, ctx)}. The REPL extends its meta-command table at startup with these and routes:<skill-name> [args]torun().Why: PHASE0.md §5.2 fixes the meta-command set at compile time. Skills let the user package repeatable workflows (build pipelines, project-specific queries, prompt templates) without forking aish.
Where it lands: Phase 2 or 3. Touches
repl.luadispatch table, no broker change. Optional:~/.config/aish/skills/discovery, optional::skillsmeta to list installed.Source: https://code.claude.com/docs/en/overview (skills)