원클릭으로
sparkgen-template-dev
Develop and modify the SparkGen-AWS cookiecutter template — variables, hooks, files
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Develop and modify the SparkGen-AWS cookiecutter template — variables, hooks, files
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | sparkgen-template-dev |
| description | Develop and modify the SparkGen-AWS cookiecutter template — variables, hooks, files |
| user_invokable | true |
| auto_invokable | true |
| auto_invoke_hint | Invoke when the user is editing template files, adding cookiecutter variables, or modifying the template structure |
| arguments | <add-variable|add-hook|update-template|validate> |
Guide template development for the SparkGen-AWS cookiecutter.
Before any action:
cookiecutter.json for current variableshooks/post_gen_project.py for post-generation logic{{cookiecutter.project_slug}}/ for template structure/sparkgen-template-dev add-variable <name> <default> [choices])cookiecutter.json:
"<name>": "<default>""<name>": ["<default>", "<option2>", ...]"_<section>_section": "=== Section Name ==="{{ cookiecutter.<name> }}hooks/post_gen_project.pybash test_cookiecutter_matrix.sh/sparkgen-template-dev add-hook <description>)Add conditional logic to hooks/post_gen_project.py:
remove_file(path) to remove files based on cookiecutter choicesremove_dir(path) to remove directoriesif "{{ cookiecutter.var_name }}" == "value": remove_file/dir(...)/sparkgen-template-dev update-template <file-path>)When editing files inside {{cookiecutter.project_slug}}/:
CRITICAL: Jinja2 Escaping Rules
{{ cookiecutter.* }} — renders the cookiecutter variable (DO NOT wrap){{ any_other_var }} — MUST wrap in {% raw %}...{% endraw %}${{ github.* }} in GitHub Actions — MUST wrap in {% raw %}...{% endraw %}{% raw %}...{% endraw %}Examples:
# Cookiecutter var (renders at generation time) — NO wrapping
provider: "{{ cookiecutter.llm_provider }}"
# Runtime Jinja2 var (renders at runtime) — MUST wrap
{% raw %}{{ context }}{% endraw %}
# GitHub Actions (renders in CI) — MUST wrap
{% raw %}${{ secrets.AWS_ACCESS_KEY }}{% endraw %}
/sparkgen-template-dev validate)Run full validation:
python -c "import json; json.load(open('cookiecutter.json'))" — JSON syntaxbash test_cookiecutter_matrix.sh — generate + compile all combos{{ }} in template files that aren't cookiecutter vars:
Search for {{ in template files and verify each is either a cookiecutter var or wrapped in raw tagscookiecutter.json ← 93+ variables with defaults
hooks/post_gen_project.py ← Conditional file removal
{{cookiecutter.project_slug}}/ ← Everything here is processed by Jinja2
app/ ← Python source (api.py, mcp_server.py, etc.)
config/ai_workflow.yaml ← Uses cookiecutter vars + {% raw %} for runtime vars
.github/workflows/ ← Uses {% raw %} for ${{ }} expressions
prompts/, contexts/, guardrails/ ← Markdown files (may use {% raw %})
Generate a new SparkGen-AWS project from the cookiecutter template
Run cookiecutter matrix tests to verify template generates correctly across all variable combinations
Add, modify, remove, list, or show agents in the workflow
Send a chat message to the running agent server and display the response
Switch LLM providers, deployment modes, and manage environment configuration
Diagnose issues with Ollama, Docker, AWS, endpoints, guardrails, RAG, or general health