AGENT SKILL

prompt-engineering

Design, audit, and optimize prompts as task contracts with evidence, constraints, tool policy, output schemas, and evals. Use when the user asks for prompts, system instructions, prompting strategy, prompt quality, prompt optimization, RAG instructions, tool-agent instructions, or asks to avoid identity-roleplay phrasing.

License 许可
MIT
最近更新
2026-11-14
Stars
★ 2
Forks
0

01 前言 Front Matter

name
prompt-engineering
scope
harness
invocation
ability
description
Design, audit, and optimize prompts as task contracts with evidence, constraints, tool policy, output schemas, and evals. Use when the user asks for prompts, system instructions, prompting strategy, prompt quality, prompt optimization, RAG instructions, tool-agent instructions, or asks to avoid identity-roleplay phrasing.

02 资源文件 1

03 SKILL.md 正文

Prompt Engineering

Rule

Prompts are task contracts, not performance scripts.

Do not use identity-simulation or pretend-role phrasing. Replace it with objective, responsibility, evidence, constraints, output schema, and pass criteria.

Quick Workflow

  1. Define the objective and user outcome.
  2. Name inputs and authority order.
  3. Separate trusted instructions from untrusted context.
  4. Add constraints, tool policy, and approval gates.
  5. Specify output schema.
  6. Add evidence rules and unknown/failure behavior.
  7. Add pass criteria or an eval checklist.

Default Template

# Task Contract

## Objective
[Concrete outcome]

## Context
[Relevant context]

## Inputs
- [files, URLs, data, messages]

## Authority Order
1. Explicit user instruction
2. Local evidence
3. Canonical project policy
4. Official/public source
5. Inference, labeled

## Constraints
- [scope and forbidden behavior]

## Tool Policy
- Allowed: [tools]
- Approval required: [actions]
- Forbidden: [actions]

## Required Checks
- [checks before final output]

## Output Schema
[exact sections, table, JSON, or Markdown]

## Evidence Rules
- Cite local paths for repo claims.
- Cite URLs for external claims.
- Mark unsupported claims as `UNKNOWN`.

## Pass Criteria
- [measurable success conditions]

Replacement Patterns

Avoid Use
Identity-roleplay setup Use these audit responsibilities
Pretend/performative setup Apply this operating contract
Think step by step Decompose internally; report concise rationale, checks, and evidence
Don't hallucinate Source-only mode; write UNKNOWN when unsupported
Be creative Generate options, then rank by evidence, risk, reversibility, and utility

Modes

  • Source-only: answer only from supplied/local sources; cite evidence; mark gaps.
  • Audit: findings, severity, evidence, remediation, exit test.
  • Build: read local patterns, scope edits, verify.
  • Strategy: separate ambition from proof; name buyer, wedge, competitor, proof.
  • Optimization: create variants, run evals, promote only measurable winners.

References

See REFERENCE.md for source-backed doctrine, security rules, and eval policy.

Session Notes

  • 2026-06-16 — Designs, audits, and optimizes prompts as task contracts with evidence, constraints, tool policy, output schemas, and evals. Use when the user asks for prompts, system instructions, prompting strategy, prompt quality, prompt optimization, RAG instructions, tool-agent instructions, or asks to avoid identity-roleplay phrasing.

04 同仓库更多 Skills

nexuslinkproductions
nexuslinkproductions/yuri-os

executing-plans

Use when you have a written implementation plan to execute in a separate session with review checkpoints

★ 2
nexuslinkproductions
nexuslinkproductions/yuri-os

using-git-worktrees

Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback

★ 2
nexuslinkproductions
nexuslinkproductions/yuri-os

triage

Triage issues through a state machine driven by triage roles. Use when user wants to create an issue, triage issues, review incoming bugs or feature requests, prepare issues for an AFK agent, or manage issue workflow.

★ 2
nexuslinkproductions
nexuslinkproductions/yuri-os

trade-edge-audit

The EDGE LENS for trading peers — recalls EVERY factor/indicator running from the live forecast ledger (no enumeration) and renders the whole pile through the edge arsenal off ONE call: multi-horizon scoring (the ladder) + deflated Sharpe (overfit) + Benjamini-Hochberg FDR (multiple-testing across the fleet) + spread-bounce + maker-fee falsification, then ranks only what survives ALL of it. Use when a peer must answer "does ANY running factor have real, overfit-corrected, multiple-testing-corrected, fee-surviving edge, and at which horizon" without hand-assembling 6 tools. The trade-engine analog of quantum-hypothesis-simulation.

★ 2
nexuslinkproductions
nexuslinkproductions/yuri-os

trade-decision-sim

The DECISION LENS for trading peers — recalls the CURRENT signal snapshot per market from the live ledger and renders it through the sim arsenal off ONE call: quantum factor-circuit order-optimal sequencing + decision-sim CVaR-robust sizing, sized against the MEASURED per-factor edge (from the edge-audit), correlation-aware. Emits an actionable call per market {side, sizePct, confidence, sequence}. Flat/zero-size when there is no measured edge after cost — the honest default. Sibling of trade-edge-audit (the EDGE lens); the trade-engine analog of quantum-hypothesis-simulation for a live decision.

★ 2
nexuslinkproductions
nexuslinkproductions/yuri-os

to-issues

Break a plan, spec, or PRD into independently-grabbable issues on the project issue tracker using tracer-bullet vertical slices. Use when user wants to convert a plan into issues, create implementation tickets, or break down work into issues.

★ 2