Skip to content

[refactoring] Extract noop-reminder prompt into shared/noop-reminder.md shared component #26622

@github-actions

Description

@github-actions

Skill Overview

The noop-reminder is a 6-line block of prompt text that appears copy-pasted in 142 out of 191 agentic workflows (74%). It instructs the AI agent that it must always call the noop safe-output tool if no other action was taken, with an exact JSON example. This is the single highest-impact deduplication opportunity in the entire workflow library.

The content is virtually identical across all 142 workflows:

**Important**: If no action is needed after completing your analysis, you **MUST** call the `noop` safe-output tool with a brief explanation. Failing to call any safe-output tool is the most common cause of safe-output workflow failures.

\`\`\`json
{"noop": {"message": "No action needed: [brief explanation of what was analyzed and why]"}}
\`\`\`

Current Usage

This skill appears verbatim in 142 workflows, including (representative sample):

  • daily-issues-report.md
  • daily-code-metrics.md
  • issue-triage-agent.md
  • pr-triage-agent.md
  • auto-triage-issues.md
  • deep-report.md
  • daily-team-status.md
  • daily-semgrep-scan.md
  • workflow-skill-extractor.md
  • (138 more workflows)

49 workflows currently lack this reminder (e.g., ace-editor.md, api-consumption-report.md, breaking-change-checker.md) — these would also benefit from the shared import once extracted.

Proposed Shared Component

File: .github/workflows/shared/noop-reminder.md

---
# Noop Reminder - Prompt skill reminding agents to always signal completion via safe-outputs.
# Without this reminder, missing safe-output calls are the #1 cause of workflow failures.
---

**Important**: If no action is needed after completing your analysis, you **MUST** call the `noop` safe-output tool with a brief explanation. Failing to call any safe-output tool is the most common cause of safe-output workflow failures.

\`\`\`json
{"noop": {"message": "No action needed: [brief explanation of what was analyzed and why]"}}
\`\`\`

Usage Example (in a workflow):

imports:
  - shared/noop-reminder.md
  - shared/reporting.md
  - shared/observability-otlp.md

Impact

  • Workflows affected: 142 workflows (plus 49 more that currently lack the reminder)
  • Lines saved: ~852 lines of duplicated content removed
  • Maintenance benefit: A single place to update the noop reminder (e.g., new safe-output tool names, updated JSON format, improved instructions)
  • Consistency: Ensures all 191 workflows have consistent noop guidance

Implementation Plan

  1. Create .github/workflows/shared/noop-reminder.md with the standard noop reminder text
  2. Update the top 20 highest-traffic workflows to use imports: - shared/noop-reminder.md instead of inline text
  3. Run make recompile to verify no regressions
  4. Gradually migrate remaining 122 workflows in batches
  5. Add shared/noop-reminder.md import to the 49 workflows that currently lack the reminder
  6. Update workflow templates/generators to include this import by default

Related Analysis

This recommendation comes from the Workflow Skill Extractor analysis run on 2026-04-16.

Quantitative Impact Summary:

Metric Value
Workflows with inline copy 142
Workflows missing reminder 49
Lines of duplicated text ~852
Maintenance single-point 1 file to update

Generated by Workflow Skill Extractor · ● 5M ·

  • expires on Apr 18, 2026, 11:48 AM UTC

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions