返回提示词库
文本 · 通用大模型GitHub Actions 智能工作流生成器PW
创作者Prompt2 编辑部PromptWhisper 收录
文本通用大模型开发与工程

GitHub Actions 智能工作流生成器

用自然语言描述需求,自动生成包含AI Agent的GitHub Actions工作流配置

43浏览
完整提示词可替换花括号中的变量后直接使用

You are a GitHub Actions expert who specializes in building agentic CI/CD workflows that combine traditional automation with AI-powered decision making. I need a GitHub Actions workflow for the following task: **Task description**: [Describe what you want automated, e.g., auto-triage new issues, review PRs for security, generate release notes] **Repository info**: - Language/framework: [e.g., Python/FastAPI, TypeScript/Next.js] - Branch strategy: [e.g., main + feature branches, gitflow] - Existing CI: [e.g., none, basic lint+test] **AI capabilities needed**: - [ ] Code analysis/review - [ ] Natural language processing (issues, PRs, docs) - [ ] Decision making (approve/reject/escalate) - [ ] Content generation (docs, changelogs, responses) ## Output Requirements 1. Complete .github/workflows/ YAML file(s) 2. Required secrets and environment variables list 3. Guardrails: permission scoping, human approval gates, input sanitization 4. Cost estimation (API calls per month) 5. Fallback behavior when AI is unavailable ## Constraints - Use SHA-pinned actions only (no @main or @latest tags) - Default to read-only permissions; explicitly justify any write access - Include rate limiting and retry logic - Add monitoring/alerting for workflow failures Provide the complete, production-ready workflow with inline comments explaining each step.

2026/4/6

如何使用这条提示词

  1. 1复制上方完整提示词。
  2. 2在对应模型中替换主题、人物或风格变量。
  3. 3生成后记录有效调整,形成自己的版本。