File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ lint: # Run linter to check code style and errors @Quality
2626
2727test : # Run all tests @Testing
2828 bash ./scripts/tests/apply.test.sh && echo " apply: ok"
29+ bash ./scripts/tests/import.test.sh && echo " import: ok"
2930
3031clone-rt : # Clone the repository template into .github/skills/repository-template @Operations
3132 .github/skills/repository-template/scripts/git-clone-repository-template.sh
@@ -38,6 +39,11 @@ apply: # Copy prompt files assets to a destination repository; mandatory: dest=[
3839 $(if $(ai ) ,,$(error ai is required. Usage: make apply dest=/path/to/destination ai=copilot|claude) )
3940 ./scripts/apply.sh " $( dest) " " $( ai) "
4041
42+ import : # Import changed prompt files from a destination repository; mandatory: dest=[path] ai=[copilot|claude]; optional: force|new=[true] @Operations
43+ $(if $(dest ) ,,$(error dest is required. Usage: make import dest=/path/to/destination ai=copilot|claude) )
44+ $(if $(ai ) ,,$(error ai is required. Usage: make import dest=/path/to/destination ai=copilot|claude) )
45+ ./scripts/import.sh " $( dest) " " $( ai) "
46+
4147count-tokens : # Count LLM tokens for key instruction packs; optional: args=[files/options] @Operations
4248 uv run --with tiktoken python scripts/count-tokens.py \
4349 $(if $(args ) ,$(args ) , \
@@ -74,6 +80,7 @@ ${VERBOSE}.SILENT: \
7480 config \
7581 count-tokens \
7682 format \
83+ import \
7784 lint \
7885 lint-file-format \
7986 lint-markdown-format \
You can’t perform that action at this time.
0 commit comments