with one click
with one click
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | sparkgen-prompt |
| description | Validate, render, preview, and manage the 6-layer prompt system |
| user_invokable | true |
| auto_invokable | true |
| auto_invoke_hint | Invoke when the user discusses prompts, prompt templates, context files, or prompt variables |
| arguments | <validate|render|preview|variables|create|layers> [agent-name] |
Manage the 6-layer prompt system.
Before any action:
ls prompts/ls contexts/config/prompt_variables.yamlconfig/ai_workflow.yaml — prompts: and agents[].prompt sectionsprompts/<agent>.md (Jinja2 template)contexts/*.md injected into the promptconfig/prompt_variables.yaml + agent-level variablesprompt_suffix from workflow YAML/sparkgen-prompt validate)python -m app.prompts.validator --base-dir . --variables config/prompt_variables.yaml
Checks:
/sparkgen-prompt render <agent-name>)If server is running:
curl -s http://localhost:8000/v1/prompts/render?agent=<agent-name> \
-H "X-API-Key: ${API_KEY:-dev-local-key}"
Displays the fully rendered prompt with all 6 layers merged.
/sparkgen-prompt preview <agent-name>)Show each layer separately for the given agent:
prompts/<agent>.mdconfig/prompt_variables.yaml + agent-level overrides/sparkgen-prompt variables)Display all prompt variables from config/prompt_variables.yaml:
| Variable | Value | Used By |
For each variable, show which prompt files reference it.
/sparkgen-prompt create <agent-name>)Create a new prompt file prompts/<agent-name>.md with a template:
You are {% raw %}{{ agent_name }}{% endraw %}, a specialized AI assistant.
## Role
<describe the agent's role>
## Instructions
<specific instructions for this agent>
## Guidelines
- Be helpful and accurate
- Cite sources when available
Also add the prompt file reference to the agent's config in config/ai_workflow.yaml.
Run make validate-prompts after creation.
/sparkgen-prompt layers)Explain the 6-layer prompt architecture and show how each layer is configured for every agent. Display a matrix: Agent × Layer showing what's configured at each level.