#!/usr/bin/env bash #MISE description="Prime AI context with key BlumeOps documentation (formerly zk-docs)" set -euo pipefail DOCS_DIR="$(cd "$(dirname "$0")/.." && pwd)/docs" # Key files for AI context priming, in order of importance FILES=( "$DOCS_DIR/tutorials/ai-assistance-guide.md" "$DOCS_DIR/how-to/agent-change-process.md" "$DOCS_DIR/index.md" "$DOCS_DIR/reference/reference.md" "$DOCS_DIR/how-to/how-to.md" "$DOCS_DIR/how-to/operations/troubleshooting.md" "$DOCS_DIR/explanation/explanation.md" "$DOCS_DIR/explanation/architecture.md" "$DOCS_DIR/tutorials/tutorials.md" "$DOCS_DIR/reference/tools/mise-tasks.md" ) # Concatenate files with headers showing paths # Defaults are tuned for AI consumption (plain text, file headers only) bat --style=header --color=never --decorations=always "$@" "${FILES[@]}"