← Back to registry
Skill
senior-prompt-engineer
"Prompt engineering workflow for building reliable assistants and agents: task decomposition, instruction hierarchy, tool-use patterns, safety constraints, and evaluation design. Use when writing or refactoring system prompts, creating structured prompts, building prompt test suites, or debugging regressions in LLM behavior."
Install
One-line setup
Copy and run this in your terminal to install the skill. Re-run to reinstall and update an existing install.
npx codex-skills-registry@latest --skill=ai/senior-prompt-engineer --yesSenior Prompt Engineer
Treat prompts like products: versioned, tested, and measurable.
Quick Start
- Define the job: inputs, outputs, and the “definition of done”.
- Write the smallest prompt that:
- states constraints clearly
- defines output format
- includes edge-case handling
- Add examples only when needed (few-shot is expensive).
- Create an eval set: representative cases + adversarial cases.
- Iterate with diffs: change one thing, measure impact.
Optional tool: scaffold a prompt + eval harness
python ~/.codex/skills/senior-prompt-engineer/scripts/scaffold_prompt_eval.py . --out evals/prompt_eval
References
- Prompt review checklist:
references/prompt-review.md