/yamlSame as /json, but YAML — for configs, GitHub Actions, Kubernetes manifests.
Category: Output Formatting
Before / After
Make me a yaml config.
/yaml A GitHub Actions workflow that runs tests on every PR.
What changes in Claude's response
Valid YAML, no Python-style indentation errors, no surrounding markdown fences. You can paste the output directly into `.github/workflows/test.yml`. /yaml is especially useful because YAML is whitespace-sensitive — getting it wrong breaks silently.
Full deep dive locked
The complete analysis for /yaml — including when NOT to use it, the failure modes, and the codes it stacks with — is in the full cheat sheet along with 119 other tested prefixes.
Lifetime updates · 7-day refund · 3 tiers
More Output Formatting codes
ARTIFACTSStructures the output as discrete numbered deliverables you can act on independently.
/tableForces a markdown table for comparable data — even when Claude wouldn't pick a table on its own.
/bulletsPure bulleted output, zero prose. Even the introduction is a bullet.
/tldrForces a one-line summary above the full answer so you can skim or read.
/jsonReturns a valid JSON object only — no surrounding text, no explanation.
Get new codes + workflows weekly
Join 30+ developers getting tested prompt codes, skill files, and Claude workflows. One email when there’s something worth sharing.