惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Recent Announcements
Recent Announcements
雷峰网
雷峰网
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Hugging Face - Blog
Hugging Face - Blog
博客园 - 司徒正美
人人都是产品经理
人人都是产品经理
博客园 - 【当耐特】
量子位
有赞技术团队
有赞技术团队
博客园 - 三生石上(FineUI控件)
博客园 - Franky
M
MIT News - Artificial intelligence
U
Unit 42
Last Week in AI
Last Week in AI
酷 壳 – CoolShell
酷 壳 – CoolShell
The Cloudflare Blog
J
Java Code Geeks
V
Visual Studio Blog
Engineering at Meta
Engineering at Meta
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
MyScale Blog
MyScale Blog
T
Tailwind CSS Blog
T
The Blog of Author Tim Ferriss
V
V2EX

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
AI Agent Prompts Work Better When They Start From Workflows
Daniel R. Foster · 2026-06-01 · via DEV Community

Daniel R. Foster

AI prompts are more useful when they are tied to a real workflow.

Many prompt examples are written as one-off instructions: summarize this, write that, brainstorm these ideas. Those can help, but business work usually needs more structure.

A useful business prompt needs context, sources, output format, review rules, and a clear next action. Without that structure, AI output becomes hard to trust, hard to compare, and hard to turn into repeatable work.

That is the idea behind this AI Agent Prompt Library: reusable prompts organized around business workflows, not just isolated chat tasks.

Why Workflow Context Matters

Most teams do not only need a better answer. They need an answer that fits the way work actually moves.

A support workflow may need ticket history, product docs, account details, SLA rules, escalation criteria, and source-backed answers. A sales workflow may need CRM data, call notes, stakeholder context, pricing boundaries, and human review. A finance or security workflow needs even stronger guardrails because the cost of a wrong answer is higher.

The prompt is only useful if it asks for the information a person would need before doing the work themselves.

That is also why workflow prompts should be designed for supervised work. They should prepare useful output for a human or team to review, not make sensitive decisions on their own.

Common Workflow Areas

The library is organized by team and workflow type. That makes it easier to start from a realistic business pattern instead of a blank prompt.

Area Example workflows
Support Ticket summaries, source-backed replies, routing, escalation analysis
Sales CRM follow-up plans, inbound lead qualification, expansion research
Operations Weekly updates, workflow analysis, automation specs, task routing
Professional services Intake briefs, proposal checklists, delivery context
Healthcare administration Intake summaries and administrative document review
Ecommerce Order issue analysis, return responses, fulfillment context
Finance Vendor requests, contract deviation review, invoice context
Security Questionnaire answers, workflow risk assessment, evidence review
Marketing Launch page copy, campaign summaries, claim review
Engineering Incident summaries, pull request impact summaries, release context

The prompts are also grouped by output pattern:

  • Create
  • Summarize
  • Analyze
  • Search
  • Route
  • Onboard
  • Research

That structure matters because the same team may need different types of output. Sometimes the task is to summarize. Sometimes it is to route. Sometimes it is to search across sources and explain what was found.

How The Prompts Are Structured

Each prompt is more than a short instruction like "summarize this."

The prompts are built around a reusable workflow pattern:

You are a supervised AI workflow assistant for [team].

Task:
[The business task to complete]

Inputs to use:
- Relevant records
- Source documents
- Messages or tickets
- Policies or rules
- Prior examples

Output format:
1. Summary
2. Confirmed facts with source references
3. Open questions or missing context
4. Risks, blockers, or review needs
5. Recommended next action

Quality rules:
- Use only the supplied context.
- Cite source titles, record IDs, timestamps, or document sections when available.
- Separate confirmed facts, assumptions, and recommendations.
- Flag sensitive decisions for human review.

This pattern makes the expected result easier to review, compare, and improve. A vague prompt produces a vague answer. A workflow-ready prompt gives the model a job, a boundary, and a useful shape for the output.

Prompts Are A Starting Point, Not The Whole System

A prompt can help someone produce better work in a chat interface. But the larger opportunity is turning a repeated prompt into a supervised workflow.

For example, a team might start by copying a prompt that summarizes customer support tickets. Over time, that prompt can become a workflow that pulls in ticket history, product docs, account data, recent incidents, SLA policy, and past resolved examples. The agent can prepare a summary, recommend the owner, draft a reply, and flag what still needs human approval.

That is the difference between a prompt and an operating workflow.

A prompt is the draft. The workflow is where the value compounds.

Good Starting Points

This approach is useful when a team has repeated work that depends on company-specific context.

Good starting points include:

  • Summarizing support tickets before escalation
  • Drafting customer replies from approved knowledge
  • Preparing CRM follow-up after sales calls
  • Turning meeting notes into task updates
  • Creating weekly operations summaries
  • Reviewing document completeness
  • Finding risks in a workflow before automation
  • Preparing security questionnaire answers
  • Summarizing incidents for engineering and customer-facing teams

In each case, the prompt is not trying to replace the person responsible for the work. It helps prepare a cleaner first draft, a better handoff, or a more complete review package.

How To Use It

Start with one repeated workflow that already costs the team time every week.

Then pick a prompt from the library and test it with real context:

  1. Add source documents, records, messages, or examples.
  2. Check whether the output is reviewable and useful.
  3. Tighten the output format.
  4. Add rules for missing context, approvals, and exceptions.
  5. Decide whether the workflow is valuable enough to automate.

The best first workflow is usually not the most complex one. It is the one where the team already knows what good output looks like, but creating it manually takes too long.

Resource

The prompt library is here:

AI Agent Prompt Library for Business Workflows

Use it as a starting point, then adapt the prompt with your own company context, sources, review rules, and workflow expectations.