awesome-goal-prompts

agent
Guvenlik Denetimi
Basarisiz
Health Uyari
  • License — License: CC0-1.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 6 GitHub stars
Code Basarisiz
  • network request — Outbound network request in docs/app.js
  • exec() — Shell command execution in docs/docs-page.js
  • network request — Outbound network request in docs/docs-page.js
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

114 source-backed /goal contracts for coding agents, plus 200 separated seed patterns.

README.md

Awesome Goal Prompts — Coding Agent Rescue Contracts

Awesome

When Claude Code, Codex, Cursor, or another coding agent starts making broad edits, paste a contract that says exactly what to inspect, what not to touch, how to verify, and when to stop.

This repo keeps 314 runnable /goal contracts for engineering work. Start with the provenance-backed rescue prompts below; use seed patterns only when you need a raw shape to adapt.

Search the full catalog: https://majiayu000.github.io/awesome-goal-prompts/

A good goal is not a wish. It is a runnable contract: one goal, enough context to inspect, hard constraints, verifiable completion, and stop rules for uncertainty or risk. This repo turns that contract shape into a catalog you can search, inspect, adapt, and copy.

The public catalog starts with 114 source-backed examples drawn from official docs, public GitHub threads, tutorials, forum posts, and tool READMEs. The other 200 reusable seed patterns are kept in Seed Patterns so they do not dilute provenance-backed examples.

Awesome Goal Prompts — searchable prompt catalog for Claude Code, Codex, and Cursor coding agents

Why This Exists

Most prompt lists stop at catchy instructions. This catalog is for the moment after an agent starts drifting: the task is real, the repo has constraints, and "try harder" is not enough. Each contract gives the agent a narrow job, required context, explicit boundaries, proof, and stop rules.

  • Source-backed where possible: external examples keep a public URL, source type, evidence phrase, and generated evidence summary.
  • Runnable by design: every prompt includes GOAL, CONTEXT, CONSTRAINTS, DONE WHEN, VERIFY, OUTPUT, and STOP RULES.
  • Search quality is tested: representative user queries must retrieve the expected contract in CI.
  • Seed patterns are separated: reusable patterns stay available, but the main catalog leads with source-backed contracts.

Start With Ten Rescue Prompts

These are the front door. Each one is source-backed, tied to a common coding-agent failure mode, and links to the full copyable prompt.

If the agent is failing at... Copy this contract Before After
Auth tests and lint are both red Auth Tests And Lint Clean "Fix auth" invites API churn. Auth behavior is preserved; tests and lint prove the fix.
CI has mixed test, lint, and typecheck failures CI Pipeline Green The agent chases one log line at a time. Local and remote CI evidence define done.
A migration needs proof, not vibes Dev Database Migration Proof The agent edits schema without rollback evidence. Dev DB application and schema comparison are required.
A PR may have security bugs Security PR Review Review comments stay generic. File-level auth, injection, XSS, and secret risks are called out.
Checkout crashes from a stack trace Checkout Crash Regression Fix The agent patches the symptom. Reproduction, root cause, fix, and regression test are all required.
Users see an empty billing state Billing Empty State Root Cause The agent rewrites pricing or webhooks. The investigation is scoped to the empty-state cause.
A visual migration must not drift Visual Migration With Playwright "Looks close" becomes the acceptance test. Playwright checks preserve screen output.
Agent runs need traceability Agent Trace Observability Tool calls and handoffs disappear in logs. One representative run produces trace spans.
npm audit is red NPM Audit Clean Remediation The agent upgrades packages blindly. Audit and tests must both pass without public API breakage.
A plan may still have holes Review Plan Until No Gaps The agent accepts the first plausible plan. A fresh review must find no remaining gaps.

The provenance-backed library stays below as the primary reference catalog.

Contents

Source-Backed Catalog

The source-backed index lives in prompts/source-backed-goals.md, and the searchable UI defaults to source-backed examples in the GitHub Pages catalog.

Reusable patterns that are not backed by public sources live in Seed Patterns.

workflow

migration

prototype

prompt-optimization

testing

docs

investigation

cli

  • EXIF Rename CLI - Build a small CLI that renames photos by EXIF date and test it on a photos folder.

refactor

security-ops

performance

greenfield-build

product

  • Design Doc Acceptance Complete - Implement a design document until every acceptance criterion is satisfied.
  • Feature Flag System - Implement boolean, percentage, and user-based feature flags with service logic, API middleware, a React hook, docs, and tests.
  • OKR Development From Vague Priorities - Turn vague strategic priorities into measurable OKRs with objectives, key results, alignment, scoring, guardrails, and a communication summary.

backlog

data-analytics

frontend

research

  • Read-Only Font Match - Research font matches in read-only mode and produce a report without purchasing or downloading assets.
  • Public Benchmark Table - Collect distinct public benchmarks and build a date-sorted comparison table.
  • Review Sentiment JSON Agent - Fetch reviews with browser automation, classify sentiment, and write structured JSON output.

maintenance

devops-ci

  • CI Pipeline Green - Repair CI test, lint, typecheck, and security scan failures until checks pass.

goal-maintenance

qa

orchestration

  • DAG Agent Dispatch - Split a goal into a dependency graph and dispatch independent agents into isolated worktrees.
  • DAG-Aware Semantic Merge Repair - Make orchestration merge failures repairable by using plan DAG context, conflict bundles, planner-mediated repair, and bounded retry.
  • Plan EventBus Live UX - Unify plan, fork, merge, and orchestrate around shared builders and a live plan event stream.

backend-api

  • API Integration Tests - Add end-to-end tests for product API endpoints with success and error cases.
  • User Preferences API - Add GET, PUT, and PATCH endpoints for user preferences with validation, service logic, OpenAPI docs, and tests.
  • SPARC Payment Processing Plan - Plan and implement payment processing through SPARC phases with requirements, pseudocode, architecture, TDD refinement, and integration.

backend-data

accessibility

design

  • Reference Layout Match - Build a settings page that follows an existing profile page layout instead of inventing a new pattern.

mobile

ai-evals

ai-ops

  • Agent Trace Observability - Instrument agent runs so LLM generations, tool calls, handoffs, guardrails, and custom events are traceable.

data-eng

  • CSV Processing Report - Create a data processing script that validates CSV input and generates an analysis report.
  • Rate-Limited Web Scraper - Build a scraper that extracts product data across paginated pages while respecting rate limits and logging progress.

devops-runtime

  • Remote Agent Server Smoke - Deploy an isolated remote agent server and prove event streaming, workspace access, and command execution work.

security-appsec

  • Tool Guardrails For AppSec - Add tool guardrails around high-risk agent tool calls and stop unsafe input or output before execution continues.
  • Security PR Review - Review a pull request for input validation, authentication, injection, XSS, and secrets risks with file-level fixes.

How To Write A Good Goal

Start with the tutorial: How To Write A Good /goal.

The short version: write one measurable goal, point at the real context, add hard constraints, define DONE WHEN, require fresh verification, and give the agent explicit stop rules for uncertainty or risk.

Catalog Health

The generated catalog health report tracks source-backed coverage, source types, and search evaluation results.

Templates

Quality Bar

  • One example should cover one measurable goal.
  • The prompt must include verification that can run in a real repository or produce a concrete artifact.
  • New externally sourced examples must include source_name, source_url, source_type, evidence, and generated evidence_summary in data/examples.json.
  • Do not add undocumented slash-command behavior, fake tool capabilities, or examples copied from private/non-verifiable sources.

Sources And Caveats

See SOURCES.md for public sources used by source-backed examples and notes about cross-tool differences.

This repository does not claim that /goal behaves identically across Codex, Claude Code, Hermes, or other tools.

Contributing

Read CONTRIBUTING.md before adding examples. Keep descriptions short, source-backed when based on external material, and scoped to verifiable engineering work.

Yorumlar (0)

Sonuc bulunamadi