用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Praveengovianalytics/SparkGen-AWS --skill sparkgen-template-dev命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 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