Assemble
Skill baldaworks/promptkitty/plugins/promptkitty/skills/assemble
Discover and assemble a task-specific prompt from the embedded PromptKit catalog through the PromptKitty CLI. Use when the user wants to select a PromptKit template, compose a prompt for an engineering task, run an interactive PromptKit intake, write a requirements or design artifact, investigate a bug, review code, inspect templates, or prepare source material for persistent agent instructions.From its SKILL.md
npx -y skills add baldaworks/promptkitty --skill assembleAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 26 days oldThe repository was created 26 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
4.5 KB, 867 tokens by cl100k_base, as published. Nobody here has run it
PromptKitty Assemble
Use promptkitty when installed. Otherwise use the pinned fallback npx --yes @baldaworks/[email protected] for every command in the task. Resolve this once and keep the same command form throughout the workflow.
Use only the public PromptKitty CLI. Do not read PromptKit component source files or fetch PromptKit from the network.
Discover and inspect
-
Reduce the task to a short intent query and search templates:
promptkitty search "<intent>" --type template --jsonRetry with fewer domain-specific words when needed. Use
promptkitty list --type template --jsononly when search cannot identify a candidate. -
Select the best template from its name, description, and category. If two candidates imply materially different workflows, explain the difference briefly and ask the user to choose.
-
Inspect the selected template:
promptkitty show "<template>" --jsonTreat every key in
metadata.paramsas required. Reuse values supplied by the user or available in task context. Ask for missing values; never invent them. An empty value is valid only when the user intentionally leaves that parameter empty.
Assemble the source
Use --param "<name>=<value>" for short values and --param-file "<name>=<path>" for files or long multiline input. Quote assignments so shell metacharacters remain data. Add composition flags only when the user requests or confirms them.
promptkitty assemble "<template>" \
--param "<name>=<value>" \
--param-file "<name>=<path>"
Interactive templates
When metadata.mode is interactive:
- Resolve every declared parameter and run a provisional assembly without writing it to the target project.
- Read the provisional prompt only far enough to identify its first questioning, validation, and user-confirmation gate.
- Perform that first phase with the user. Read-only inspection is allowed when already authorized and necessary to answer the phase. Do not edit files, generate deliverables, run side-effectful commands, commit, or continue past the first confirmation gate.
- Fold confirmed answers into the matching declared parameters. Append a concise preflight decision summary to
contextwhen that parameter exists; otherwise refine only semantically matching declared parameters. Never add undeclared parameters. - Re-run
assemblewith the enriched values. This is the final source prompt. Do not execute its later phases.
Choose the result
Treat a missing metadata.mode as single-shot. For a single-shot template, ask which result the user wants:
- Raw prompt (default) — return the final assembled stdout unchanged.
- Project instructions — hand off to PromptKitty Author Agent Instructions with output type
instructions. - Subagent profile — hand off with output type
agent.
Do not offer this chooser automatically for an interactive template. Honor an explicit request to turn an interactive result into project instructions or a subagent profile after its preflight and final assembly.
For raw output, use stdout unless the user asks for --output. Never add --force without explicit permission. Do not wrap the prompt, add session headers, create role files, or execute it.
Authoring handoff
Load the installed PromptKitty Author Agent Instructions skill: author-agent-instructions in namespaced plugin hosts or promptkitty-author-agent-instructions in prefixed hosts. Pass this handoff in the current session:
- output type:
instructionsoragent - selected template name and
metadata.mode - resolved template metadata, including persona and protocols
- resolved parameter values and confirmed composition overrides
- final assembled source Markdown
- provider, slug, and target root when already supplied
When Author Agent Instructions requests source-only, skip the result chooser and return this handoff to that skill. Do not print the source as the final user response.
If PromptKitty reports unresolved parameters, inspect the template again, collect the missing values, and retry. Do not bypass validation.
What ships with it: 1 file
221 B alongside SKILL.md
agents/
- openai.yaml221 B