/factory-kit:factory-prompt <rough ask — the messy one-liner or paragraph you want structured>from factory-kit
Transforms a rough, unstructured ask into a structured XML-tagged prompt using the factory-prompting vocabulary. Useful for clarifying vague requests before sending to an LLM.
Ships in factory-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You're rewriting a rough ask into a structured prompt. The goal is a ready-to-paste prompt that uses the canonical XML tag vocabulary from factory-prompting.md, with nothing decorative and nothing missing.
Invocation input: the rough ask. It may be a one-liner, a paragraph, or include literal input material. If empty, ask the user for it and stop.
Load the vocabulary. Load the canonical factory-prompting skill through the host's skill capability if it is not already active. The canonical tag set is: <role>, <instructions>, <context>, <input>, <examples>, <output_format>, <constraints>, <thinking>. Do not invent tags outside this set; for multiple inputs, nest descriptive child tags inside <input>.
Parse the rough ask. Identify which canonical roles are actually present:
Apply the minimum-tagging rule. Skip any tag whose content would be empty or trivially derivable. A one-line ask with no input, no constraints, and no shape needs no tags — say so and return the prose. Tags exist to disambiguate; if there's nothing to disambiguate, don't add them.
Decide literal vs template form.
{{snake_case_variable}} placeholders.Order the tags canonically. <role> → <instructions> → <context> → <input> → <examples> → <output_format> → <constraints> → <thinking>. Deviate only if the input is very long, in which case place <instructions> last and say why.
Emit the prompt. Put it in a single fenced code block, no preamble, ready to copy. Indentation: two spaces inside nested tags.
One-line rationale. After the code block, a single line of the form:
Tags: <list>. Skipped: <list, if any>, because <one reason>.
This is the learning aid — it shows which roles you saw in the ask and which you deliberately left out. Keep it to one line; no further commentary.
No narration. Don't explain what you're about to do, don't summarize the rough ask back, don't close with "let me know if you'd like changes." The code block plus the one-line rationale is the entire response.
User:
/prompt Summarize meeting notes from a Q3 vendor sync. Professional tone, bullets, 150 words max, bold the deadlines. Notes: vendor will ship API update by Aug 15, John asked for beta by Aug 1, pricing proposal due next Tuesday.
Output:
```xml
<instructions>
Summarize the meeting notes below. Focus on actionable items. Keep the tone professional.
</instructions>
<context>
The meeting was a Q3 sync with our primary software vendor.
</context>
<input>
<notes>
Vendor will ship the API update by August 15.
John asked if we could get beta access by August 1.
Vendor agreed to send a pricing proposal by next Tuesday.
</notes>
</input>
<output_format>
- Bullet points
- Maximum 150 words
- Bold all deadlines
</output_format>
```
Tags: instructions, context, input, output_format. Skipped: examples, constraints, role, thinking, because nothing in the ask warranted them.
Follow factory-voice.md. The output is a ready-to-paste artifact, not a conversation — that's why there's no preamble and no trailing pleasantries. The one-line rationale exists so the user learns the vocabulary by seeing which tags you picked and which you left out, not so you can show your work. If the rough ask is too thin to structure usefully (one short sentence, no input, no constraints), say so in one line and return the prose unchanged — refuse to decorate.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub nonlinear-xyz/factory-kit --plugin factory-kit47 skills in this plugin
/factory-animationMotion discipline distilled across builds. Attention as a fixed per-viewport budget, figure/ground separation (calm the ground, load motion into the figure), one focal point of motion per screen, diegetic-over-decorative test, trigger-on-intent-then-settle over perpetual loops, and the prefers-reduced-motion fallback. Recipe pairs Astro with a Remotion video kit (rendered assets in public/). Read whenever you add motion to a marketing surface or any page where movement competes with reading. Paired with factory-design, which owns the static visual vocabulary motion sits on top of./factory-apiAPI conventions for both server actions and tRPC builds. Covers the decision between them, per-mutation Zod input schemas, central router composition, pagination shape, multi-field search via Drizzle `ilike` + `or()`, mutation lifecycle hooks, conditional query enabling, stale-time defaults, error response shape and custom error class taxonomy, mutation-boundary audit logging, fetch adapter for tRPC routes. Read when designing or implementing any data-mutation endpoint./factory-api-route-engineerUse when designing or implementing API endpoints — server actions, tRPC procedures, REST routes for external consumers. Carries the factory's API conventions — the server actions vs tRPC decision, procedure tier stacking, per-mutation Zod schemas, central router composition with manual registration, pagination (limit/offset/orderBy default; cursor only when needed), multi-field search via `ilike` + `or()`, aggregated stats in list queries, mutation lifecycle hooks, stale-time defaults, custom error class taxonomy, fetch adapter for tRPC in App Router. Outputs endpoints that fit the house style — not bespoke per-route handlers.Other plugins' skills for the same job