본문으로 건너뛰기
Skillpedia
프롬프트 및 LLM29k · #9372

agent-prompt-quality-bar

하는 일

이 스킬은 AI 에이전트를 제어하는 지시문을 쓰기 위한 품질 체크리스트입니다. 에이전트가 실제 작업을 끝내도록 만들려는 사람을 위한 것입니다.

사용하는 경우

  • ✓새 AI 에이전트의 지시문을 쓰고 있고, 완전한지 확인하고 싶을 때.
  • ✓어떤 에이전트 템플릿이 내 요청에 맞는지 확실하지 않아서 일반적인 가이드가 필요할 때.
  • ✓사용하기 전에 에이전트 지시문을 최종 점검하고 싶을 때.

스킬 링크

https://github.com/mastra-ai/mastra/blob/main/packages/editor/src/ee/workspace/skills/agent-prompt-quality-bar/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/mastra-ai/mastra/blob/main/packages/editor/src/ee/workspace/skills/agent-prompt-quality-bar/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“내 AI 에이전트의 이 지시문을 확인하고, 사용하기 전에 빠진 것이 무엇인지 알려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 지시문을 확인할 필수 섹션과 흔한 실수의 목록을 에이전트에게 제공합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Universal Agent-Prompt Quality Bar

This is the builder's compile check. If no archetype skill matches the user's request, OR if you want a final review pass after picking an archetype, follow these rules to write a great agent system prompt.

A produced agent is good only when it can finish a real run, not when it merely sounds capable.

Required run contract

Before writing the produced system prompt, instantiate this contract for the user's request:

  1. Trigger / input — what starts the run: a user message, schedule, webhook, file, spreadsheet row, support ticket, document, or event.
  2. Owned outcome — the one concrete result the agent is responsible for finishing.
  3. Available capabilities — only the tools, data sources, workflows, agents, or stored skills actually attached or available.
  4. Missing-capability fallback — what the agent must do when a required integration, credential, workspace, permission, source, or input is absent.
  5. Done criteria — how the agent proves the job is complete, including tool confirmation, read-back, tests, citations, delivery receipt, or an explicit not-run reason.
  6. Final response format — the exact receipt, report, draft, diff summary, confirmation, or escalation note the user receives.

Non-negotiable sections

Every produced agent system prompt MUST contain these sections. If any is missing, the agent will underperform.

1. Role and outcome

  • One sentence: who the agent is and the single outcome it owns.
  • Bad: "You are a helpful AI assistant."
  • Good: "You are Acme's Tier-1 Email Triager. You reply to inbound billing and account tickets, or escalate cases that need a human."

2. Trigger and input

  • Name what starts a run and what data the agent expects.
  • Bad: implicit trigger.
  • Good: "A run starts when the user provides a support ticket or a scheduled inbox workflow passes unread tickets to you."

3. Decision rules

  • 3–6 bullets stating the defaults the agent uses when the request is ambiguous.
  • Replace broad "ask the user" language with explicit choices unless action is impossible or unsafe.
  • Bad: "If unsure, ask the user."
  • Good: "If the customer didn't specify a region, default to the account's billing country and state that assumption once."

4. Capability awareness

  • Describe capabilities only if they are attached or available.
  • Phrase them in outcome terms, not internal ids.
  • Bad: "Use sheetsTool and emailWorkflow."
  • Good: "You can read and update the connected leads sheet, and you can draft follow-up emails."

5. Missing-capability fallback

  • Include explicit behavior for missing integrations, credentials, workspace, permissions, or data.
  • Bad: agent silently invents success.
  • Good: "If spreadsheet access is missing, stop and say: 'I need access to the leads sheet before I can update rows.'"

6. Communication style and final response format

  • Tone, length, structure, and exact output shape.
  • Bad: "Be friendly and helpful."
  • Good: "Return a receipt with: action taken, affected records, status, verification, and next step if any."

7. Refusals and escalations

  • What the agent will not do, and what it does instead.
  • Always include out-of-scope and missing-capability refusals.
  • For real user data or external systems, include destructive-action and privacy/security boundaries.

8. Completion criteria

  • An explicit numbered list of conditions that MUST all be true before the agent stops.
  • This is the single most important section. It is the #1 reason agents stop mid-task or wander.
  • Good:

    Completion criteria — you are NOT done until:

    1. The action was attempted, not merely planned.
    2. The result was verified by read-back, status code, test output, citation, or tool confirmation.
    3. Failures are reported with the specific item and reason.
    4. The final response follows the required format. Stop only when all four are true.

9. Worked example

  • Include one short input → behavior → final output example.
  • The example must demonstrate a complete run, including verification or a clean fallback.
  • Do not leave placeholder names or vague "then respond" endings.

Mandatory final audit rubric

Before calling the tool that writes the produced system prompt, verify every item below is true:

  • Single concrete outcome: the role owns one job, not a vague domain.
  • Named trigger/input: the prompt says exactly what starts a run.
  • **Capabilities are a
자주 묻는 질문

완전한 에이전트 지시문에는 무엇이 들어 있나요?

트리거, 결과, 사용 가능한 도구, 무엇인가 없을 때의 대체 방법, 완료 기준, 최종 응답 형식을 명시합니다.

한 가지 유형의 에이전트에만 해당하나요?

아닙니다. 모든 에이전트에 적용되며, 다른 템플릿과 함께 사용할 수 있습니다.

지시문을 대신 써 주나요?

만들고 점검하는 것을 도와주므로, 만든 에이전트가 실제 실행을 끝낼 수 있습니다.

상세 정보

작성자의 원본 설명

Universal quality bar and final audit rubric for any agent system prompt. Activate this whenever you are unsure which archetype skill applies, or as a final review pass before writing the system prompt. It defines the required run contract, completion criteria, fallback paths, response format, and anti-patterns every produced agent prompt must satisfy.

repo: mastra-ai/mastra

인기도

GitHub 스타
29k
순위
#9372
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬