writing-skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
agent-deploymentShips an agent to production — packaging, config and secrets, staged rollout, and the rollback plan — for a system whose failures are usually silent rather than loud. Use this whenever the user is deploying an agent or LLM feature, planning a rollout or canary, moving an agent from prototype to production, or asking how to release a prompt or model change s…
Independent GitHub snapshot · Automated classification · Original documentation governs
Input: an evaluated, hardened agent. Output: a running system, and a rollback you have tested.
Agent deployments differ from ordinary ones in a way that matters: failure is usually silent. A broken web service returns 500s and pages someone. A degraded agent keeps returning fluent, confident, wrong answers at exactly the normal rate, and nothing in your infrastructure notices.
That single fact drives everything below. You cannot rely on the system telling you it broke.
The prompt, the model ID, and the tool definitions are behaviour. Treat them as code:
If you cannot say which prompt produced a given output, you cannot debug production and you cannot roll back with confidence.
Done when: one version string identifies the whole behavioural configuration.
agent-hardening. A staging agent with production credentials is a production agent.Done when: you could disable the agent in under a minute without shipping code.
Never all at once. The staircase:
Define the promotion criteria and the abort criteria before starting, in numbers. "Looks good" is how a bad rollout continues. Abort on a regression against the eval baseline, a spike in refusals or fallbacks, a cost-per-request step change, or any irreversible action firing at an unexpected rate.
Done when: each stage has a numeric promote-or-abort rule written down in advance.
Rolling back a prompt should be as easy as rolling back code, because you will do it more often.
agent-hardening.Done when: you have executed a rollback in a real environment and timed it.
Agents fail: the API is down, rate-limited, slow, or the output does not validate. Decide the degraded behaviour before launch:
The one unacceptable option is failing invisibly: returning something worse without saying so. Users calibrate their trust on what they see, and a silent downgrade destroys that calibration.
Done when: the degraded path is implemented and tested by forcing the failure.
Before you start, you should be able to answer:
Done when: all four have named answers.
State the version deployed, the rollout stage and its criteria, the rollback procedure and when
you last tested it, the fallback behaviour, and what you are watching. Then hand to
agent-observability — deployment is not finished when it is live, it is finished when someone
would notice it degrading.