feat(audit): address batch 4 and finalize script audit
- Implement nomarchy-skill, nomarchy-manual, nomarchy-backup, nomarchy-install - Implement nomarchy-install-docker-dbs (stub) - Port nomarchy-docs-keybindings and nomarchy-docs-scripts to packaged scripts - Add installerVm to flake.nix nixosConfigurations, packages, and apps - Update nomarchy-test-installer to use nix run .#installerVm - Add docker support to virtualization.nix and options.nix - Add glow to script dependencies - Finalize docs/SCRIPTS.md update
This commit is contained in:
23
features/scripts/utils/nomarchy-skill
Executable file
23
features/scripts/utils/nomarchy-skill
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Nomarchy Skill Script
|
||||
# Displays the Nomarchy Skill documentation for agents and power users.
|
||||
|
||||
SKILL_FILE="$HOME/.config/nomarchy-skill/SKILL.md"
|
||||
|
||||
if [[ ! -f "$SKILL_FILE" ]]; then
|
||||
# Fallback to repo location if managed by nix
|
||||
SKILL_FILE="/etc/nixos/nomarchy/core/home/config/nomarchy-skill/SKILL.md"
|
||||
fi
|
||||
|
||||
if [[ ! -f "$SKILL_FILE" ]]; then
|
||||
# Final fallback to standard config dir
|
||||
SKILL_FILE="$HOME/.config/nomarchy-skill/SKILL.md"
|
||||
fi
|
||||
|
||||
if [[ -f "$SKILL_FILE" ]]; then
|
||||
glow "$SKILL_FILE"
|
||||
else
|
||||
echo "Error: Nomarchy Skill documentation not found."
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user