prompt-engineering
Design and evaluate prompts or LLM workflows on representative tasks. Triggers on "prompt engineering", "提示词工程".
SKILL.mdskills/03-design/prompt-engineering/SKILL.md
GitHubPrompt Engineering
When to use
- Design and evaluate prompts or LLM workflows on representative tasks.
Not for: skill-authoring for skills; research for model comparisons.
Steps
Define inputs, expected outcomes, trust boundaries, failure costs and representative cases.
Establish the existing baseline; add minimal instructions addressing observed gaps and verify current provider behavior.
Specify output validation and actual tool permissions, budgets and termination; prompt text alone is not a security boundary.
Run representative and adversarial cases; compare quality, latency and cost and report limitations.
Output: Suggested paths, subject to human audit: docs/design/PROMPT.md for a maintained workflow.
Verify
- Revisions have a stated baseline and rubric; invalid output and untrusted input are handled and unrun cases are explicit.
References
- engineering-principles.md — shared decision boundaries, scope and verification.
- human-audit.md — document consent, readability and human review.
- references/prompt-architecture.md — prompt component breakdown, few-shot patterns, structured-output techniques, model selection matrix, eval-harness setup, guardrail catalog