chore(makefile): add skills convenience targets

This commit is contained in:
William Valentin
2026-02-17 15:33:37 -08:00
parent be993146c0
commit 15f1db1101
2 changed files with 31 additions and 1 deletions
+20 -1
View File
@@ -1,7 +1,7 @@
# Flynn Makefile
# Self-hosted personal AI agent
.PHONY: build dev start stop restart status logs tui tui-fs tui-dev test test-run lint typecheck check help deps install daemon-start daemon-stop daemon-restart daemon-status daemon-logs enable disable llama-start llama-stop llama-restart llama-status llama-logs llama-enable llama-disable
.PHONY: build dev start stop restart status logs tui tui-fs tui-dev test test-run lint typecheck check help deps install daemon-start daemon-stop daemon-restart daemon-status daemon-logs enable disable llama-start llama-stop llama-restart llama-status llama-logs llama-enable llama-disable skills-list skills-info skills-install skills-uninstall skills-refresh
# Default target
.DEFAULT_GOAL := help
@@ -86,6 +86,25 @@ tui-fs: ## Run TUI in fullscreen mode (React/Ink)
tui-dev: ## Run TUI with watch mode
pnpm tui:dev
# Skills commands
skills-list: ## List all discovered skills
node dist/cli/index.js skills list
skills-info: ## Show skill details (usage: make skills-info SKILL=<name>)
@test -n "$(SKILL)" || (echo "Usage: make skills-info SKILL=<name>" && exit 1)
node dist/cli/index.js skills info "$(SKILL)"
skills-install: ## Install a skill (usage: make skills-install SKILL_PATH=<path>)
@test -n "$(SKILL_PATH)" || (echo "Usage: make skills-install SKILL_PATH=<path>" && exit 1)
node dist/cli/index.js skills install "$(SKILL_PATH)"
skills-uninstall: ## Uninstall a skill (usage: make skills-uninstall SKILL=<name>)
@test -n "$(SKILL)" || (echo "Usage: make skills-uninstall SKILL=<name>" && exit 1)
node dist/cli/index.js skills uninstall "$(SKILL)" --yes
skills-refresh: ## Refresh/discover skills from configured directories
node dist/cli/index.js skills refresh
# Testing
test: ## Run tests in watch mode
pnpm test