template-engine-copier skill: initial import

Copier + Jinja template-repository design skill: reference architecture,
implementation workflow, validation checklist, and a full worked example
template (questionnaire, extensions, resolvers, wrapper-first .scripts).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-08-12 22:30:29 +03:00
co-authored by Claude Opus 5
commit 97991021ff
29 changed files with 932 additions and 0 deletions
@@ -0,0 +1,41 @@
#!/bin/bash
export HL_V1_COPIER_TARGET_DIR=""
export HL_V1_COPIER_FORCE_COPY=false
export HL_V1_COPIER_PARAMS_FILE=""
export HL_V1_COPIER_FILE_COPIER_ANSWERS="copier-answers.yml"
export HL_V1_COPIER_FILE_COPIER_ANSWERS_NEW="copier-answers-new.yml"
ALL_ARGS=("$@")
while [ "$#" -gt 0 ]; do
case "$1" in
--copier-target-dir=*)
export HL_V1_COPIER_TARGET_DIR="${1#*=}"
shift
;;
--copier-target-dir)
export HL_V1_COPIER_TARGET_DIR="$2"
shift 2
;;
--copier-force-copy=*)
export HL_V1_COPIER_FORCE_COPY="${1#*=}"
shift
;;
--copier-force-copy)
export HL_V1_COPIER_FORCE_COPY="$2"
shift 2
;;
--copier-params-file=*)
export HL_V1_COPIER_PARAMS_FILE="${1#*=}"
shift
;;
--copier-params-file)
export HL_V1_COPIER_PARAMS_FILE="$2"
shift 2
;;
*)
shift
;;
esac
done
set -- "${ALL_ARGS[@]}"