Skip to content
Projetos

Sobre

Curated copy-paste AI prompts for developers - disciplined workflows for AI coding agents that verify, don't guess

IA e aprendizado de máquina

Como estes números são medidos

O que você pode fazer

  • A new prompt in a category folder that isn't already covered (the default)
  • A fix to an existing prompt: clearer instructions, a rule that no longer holds, structure that drifted from the repo's conventions
  • Repo hygiene: broken relative links, a stale ## [Unreleased] changelog, a mismatched Contents count
  • A bug report or feature request when something here is wrong or missing

Crescimento medido de estrelas

em 24 h
0
em 7 dias
+1
em 15 dias
+1
em 1 mês
+5

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

awesome-ai-prompts

diagnose-ci-gate skill in Awesome GitHub Copilot Build License: MIT Stars

Also listed in Awesome Vibe Coding and Awesome Prompt Engineering. The CI gate triage workflow here is packaged as the diagnose-ci-gate skill in Awesome GitHub Copilot (PR #6168, merged).

A curated list of copy-paste AI prompts for any developer who uses AI coding agents. Unlike most prompt lists, these aren't one-off hacks - they're disciplined, senior-engineer workflows that verify, don't guess: read the code before editing, small confirmed steps, and tests as guardrails. Paste one into Claude, ChatGPT, Copilot, Cursor, opencode, or any agent and it takes over.

Most list agents will happily hallucinate a solution. These prompts are built to stop that: every one demands evidence, the repo's own tooling, and a verifiable result before it calls the work done.

★ Star on GitHub

Asking an AI coding agent to "explain this repo to me" and getting a shrug. Then a prompt from this repo is copied and pasted into opencode, which reads the code and reports every claim with file:line evidence

The opening chat is staged. The rest is the real opencode run from prompt-in-action.mp4, sped up in places. Made with openvidstudio.

Starring is the hello; a merged PR is the handshake. Every merged prompt PR auto-appends its author to CONTRIBUTORS.md - the avatars above are the people who shaped this list.

Want it in video form? Download the MP4.

Why these are different {#quality-standards}

  • Tool-agnostic - works with Claude, ChatGPT, Copilot, Cursor, opencode, and anything else that reads a prompt. Nothing is tied to one vendor.
  • Verification-first - "never guess; run the commands and prove it." A prompt's whole job is to keep the agent honest.
  • Two formats - focused one-pagers for quick tasks, plus multi-section [spec] prompts with hard constraints and required verification for big, risky work. Spec prompts carry a light-blue badge in the index so you can spot them at a glance.
  • Self-contained - everything you need is in one copy-paste block.

Quick Start

  1. Browse a category below and pick a prompt.
  2. Open its *-prompt.md, then copy everything after the --- divider.
  3. Paste it into your AI coding agent along with your task - it handles the rest.

Using opencode? docs/opencode.md shows how to run a prompt as a slash command and keep the verification rules in AGENTS.md.

That's it. Here's the shape of it (from feature-implementation-prompt.md):

You are implementing a feature in this repository. Work end-to-end ...
1. Understand - Read the code this touches. Ask questions if ambiguous.
2. Plan - State your plan before writing code. Do not start until agreed.
3. Design to fit - Follow existing patterns. Prefer the boring option.
4. Implement - Smallest change that satisfies the requirement.
5. Test - Add tests that assert real behavior. Run the full suite.
6-8. Verify, document, self-review.
Rules: Never modify unrelated code. Verify before claiming. Small commits.

The agent handles the rest: reading code, planning, testing, and holding itself accountable at every step.

Staying in sync

Star this repo to get notified when new prompts land. Each addition goes under Unreleased in the changelog and ships in a tagged release, so a star is how you find out the list grew rather than a tip.

git clone https://github.com/shauryagangrade/awesome-ai-prompts.git
cd awesome-ai-prompts && git pull

If you already have the GitHub CLI authenticated, gh repo clone shauryagangrade/awesome-ai-prompts does the same in one step.

Contributing

Contributions welcome. This catalog stays small and disciplined on purpose, so the highest-value way to help is adding one good prompt to the right place, not a pile of near-duplicates. Most contributions are new prompts; fixing a broken link, a stale count, or a prompt whose instructions no longer hold is just as welcome. AI-assisted contributions are welcome too - provided you (not the agent) review the output, run the checks, and never let a claim stand without verification. Full rules live in CONTRIBUTING.md; the section below is the same workflow, self-contained.

What you can contribute

  • A new prompt in a category folder that isn't already covered (the default)
  • A fix to an existing prompt: clearer instructions, a rule that no longer holds, structure that drifted from the repo's conventions
  • Repo hygiene: broken relative links, a stale ## [Unreleased] changelog, a mismatched Contents count
  • A bug report or feature request when something here is wrong or missing

Newcomers should start by scanning the good first issue label. Beyond the raw files, every prompt here is also a workflow you can reuse, so issues often ask for new prompts, which is the fastest way to see your work used.

Usage in the wild

Real projects are the best proof these prompts work, so we collect short before/after stories from the people who actually used one: the task, the prompt used, what the agent did, and the verified result. Evidence only, no testimonials.

  • Removing an invalid data indicator - a data indicator proved to be a district dummy, and removing it cascaded through 83 files. Used code-review/secure-code-review-prompt.md.
  • IPv6 rate limiting bypass - a rate limiter keyed on the full IPv6 address, so rotating addresses bypassed it. No prompt from this repo was used here, so it is a case study rather than prompt evidence.

See docs/usage-stories/TEMPLATE.md for the template, and open a PR (or a discussion) with your story.


Translations

English is the source of truth and stays the only version that appears in the browsable catalog. Translated prompts live under i18n/<lang>/, mirroring the category folders, and each language keeps a README with its own status table.

We do not machine-translate these prompts. A prompt body is a set of instructions an agent follows literally, not prose: "delete the staging branch" and "never delete the staging branch" are one word apart and produce opposite actions, and no gate can tell afterwards that a translation inverted a rule. Every translation is written and tested by a person. See CONTRIBUTING.md if you want to add one.


Quick start with an AI agent

The four prompts in the Contributing to this repo category encode every rule below. Paste one into your agent and it takes the work from idea to a mergeable pull request without you memorizing the checklist:

Want a PR in under 10 minutes? Pick a good first issue, then paste resolve-open-issue-prompt.md into any agent with the issue number. It runs the whole pipeline itself - reading the conventions, drafting under the --- divider, syncing the index and changelog, and passing every gate - so the PR comes out mergeable on the first pass. External PRs get a maintainer response within 48 hours.

If you would rather do it by hand, the steps below are the same workflow.

Adding a new prompt, step by step

  1. Read the room - Read CONTRIBUTING.md, .github/PROMPT_TEMPLATE.md, and two or three existing prompts in the category you intend to use. Note the exact shape: an H1 title, a short copy-paste usage note, a --- divider, then the prompt body.

  2. Confirm the idea is new - Search the catalog and README for the closest existing prompts and say how yours differs. A contribution that duplicates an existing prompt will be bounced; bring a gap, not a copy.

  3. Fork and branch - Fork the repo, clone, and create a feature branch off the default branch such as git checkout -b docs/add-my-prompt.

  4. Write the file - Name it kebab-case-action-prompt.md and place it in the matching category folder (never the repo root). Structure:

    # Reusable prompt: <short action title>
    
    One or two lines explaining what to paste this into.
    
    ---
    
    The prompt body itself: numbered ## Steps with bold lead-ins, a ## Rules
    list, and a ## Verification section that names actual commands. Every
    claim must be checkable - "verify, don't guess".
    

    Style rules: tool-agnostic (Claude, ChatGPT, Copilot, Cursor, opencode, and others); self-contained (everything the user pastes lives below the divider); ASCII hyphens only - no em dashes anywhere in the file.

  5. Sync the index - Add a one-line entry in the matching README category section, format <name>.md link followed by a hyphen and a short description ending in a period. Bump that category's count in the Contents list. Add the same one-line entry to that folder's own README.md (every category folder has one). If the prompt takes on a big, risky task, mark its entry with the violet [spec] badge (<img src="docs/media/spec-badge.svg" alt="spec" style="vertical-align:-3px">) and bump the spec-count badge on the category's Contents line.

  6. Add a changelog entry - Under ## [Unreleased] in CHANGELOG.md, add a line naming the file in backticks, then a hyphen, then a short description.

  7. Run the gates locally - All three must pass before you push:

    bash scripts/check-links.sh
    bash scripts/check-consistency.sh
    npx --yes [email protected] <changed-files>
    

    The em-dash scan must also be clean:

    EM="$(python3 -c 'print("\u2014")')"
    git grep -I -l "$EM"
    

    Empty output means no em dashes. Actually run these and look at the output; saying "it passes" without running it is exactly the failure mode these prompts exist to stop.

  8. Commit and open a PR - Commit with a conventional message, for example docs: add <name> prompt, push the branch, and open a pull request against main using .github/PULL_REQUEST_TEMPLATE.md. Fill in the checklist honestly; the commit-checklist workflow checks it either way.

What CI enforces

One workflow, ci.yml, runs on every push to main and every pull request, split into parallel jobs: markdownlint + prettier, docs structure and em-dash checks, README/CHANGELOG consistency, typos + editorconfig, shellcheck + ruff, actionlint + zizmor, gitleaks secret scan, cffconvert validation, unit tests, and a PR-only check of newly added external links. The full gate list with the exact commands is in CONTRIBUTING.md.

The Commit checklist workflow separately enforces that the PR title follows Conventional Commits.

CI runs the same scripts you run locally, so a green local pass means a green CI pass.

Browsable catalog and prompt pages

website/index.html is the catalog: every prompt grouped by category, with its intro, its source file, and a link to its own page. The full copy-paste block lives on the prompt page, so each prompt has one canonical URL instead of being duplicated on the index. The same build generates the whole awesome-ai-prompts.vercel.app site in website/, one folder holding everything that gets deployed:

  • website/index.html - the catalog, served at the site root.
  • website/category/<cat>.html - one index page per category, at /category/<cat>.
  • website/prompt/<cat>/<slug>.html - one page per prompt, at /prompt/<cat>/<slug>, with the intro and the full prompt block behind a copy button.
  • website/sitemap.xml, website/robots.txt, and website/llms.txt - crawler and agent entry points (llms.txt is a Markdown index of the catalog per the llmstxt.org convention).

Every page carries a unique title, meta description, canonical URL, Open Graph and Twitter card tags, and JSON-LD structured data. To regenerate the whole site after the catalog changes:

python3 scripts/build-all.py

All pages are committed so static hosts can serve them directly - the repo's vercel.json rewrites the clean public URLs onto the files in website/. CI runs python3 scripts/build-all.py --check, which fails if the builder becomes non-deterministic or any committed page drifts out of sync.

Guidelines

  • One logical change per PR: one prompt, one fix, or one rename. Reviews stay reviewable and reverts stay simple.
  • Never claim a check passed without running it and seeing the output. These prompts are built on verified work, not asserted work.
  • Keep changes minimal: no unrelated wording edits, formatting churn, or dependency bumps mixed into a contribution.
  • If a rule is ambiguous, ask in the issue or PR instead of guessing.
  • Questions and discussion happen in GitHub Discussions.

Contents

Prompts tagged with the light-blue badge are the heavyweight [spec] prompts described above.

Contributing to this repo

Core coding

System design

Git & GitHub

Code review & quality

Testing & quality

Docs & delivery

Security & performance

DevOps & deploy

Career & learning

Frontend & UI

  • component-build-prompt.md - build a reusable, accessible UI component with props, variants, and stories.
  • responsive-design-prompt.md - audit and implement responsive layouts: breakpoints, fluid grids, mobile-first.
  • state-management-prompt.md - give every piece of client state one home; compute derived data, delete sync bugs.
  • web-performance-vitals-prompt.md - fix Core Web Vitals from measurements: LCP, INP, CLS with before/after proof.
  • i18n-localization-prompt.md - internationalize properly: extracted strings, ICU plurals, RTL, pseudo-locale testing.
  • website-seo-prompt.md - technical SEO audit: crawlability, canonicalization, metadata, structured data, redirects, and speed - with verification at every step.
  • instagram-carousel-prompt.md spec - turn this repo into a branded, swipeable Instagram carousel delivered as self-contained 1080x1080 HTML slides, mirroring the repo's brand identity.
  • ui-audit-prompt.md spec - audit UI for visual consistency, design system adherence, spacing, typography, and responsive behavior with concrete fixes and file:line evidence.
  • design-handoff-prompt.md - turn a mockup into token-aligned, responsive code with a screenshot comparison loop.
  • design-tokens-theming-prompt.md - theming that survives dark mode and a rebrand: token taxonomy, primitive to semantic to component layers, per-pair contrast, a migration off hardcoded values.
  • animation-performance-prompt.md - motion that stays smooth on a mid-range phone: only transform and opacity, long frames profiled, reduced motion respected, frame rate measured before and after.
  • browser-extension-development-prompt.md spec - build an extension that passes review: manifest v3, minimum permissions, background worker versus content script, CSP and no-remote-code, load-unpacked loop.
  • pwa-offline-support-prompt.md - offline-first done explicitly: service worker lifecycle, cache versioning, per-resource caching strategy, queued mutations, update-in-place, Lighthouse proof.

Mobile development

  • mobile-app-develop-prompt.md spec - build a mobile feature and prove it works on both platforms: offline, permissions, deep links, lifecycle, with a platform verification matrix.
  • mobile-performance-prompt.md - find and fix mobile performance from measurements: startup, frame rate, app size, memory, network.
  • mobile-ui-audit-prompt.md spec - audit a mobile UI against platform conventions: touch targets, safe areas, accessibility, states, theming, with file:line fixes.
  • mobile-ui-audit-fix-prompt.md spec - remediate every finding from a mobile UI audit (AUDIT.md) with evidence-backed fixes, verification matrix, and behavior guard.
  • mobile-ui-overhaul-prompt.md spec - overhaul a mobile UI end-to-end: target design spec, token layer, reimplemented screens, with before/after proof on every platform.
  • website-to-mobile-app-prompt.md spec - turn a website into a mobile app, choosing the adaptation strategy from the site's actual architecture: wrapper vs shared-logic vs native.
  • mobile-app-project-setup-prompt.md spec - bootstrap a new mobile app: argued stack choice, feature-based structure, navigation skeleton, both platforms building from a clean clone on CI.
  • push-notifications-deep-links-prompt.md - implement notifications and deep links with permission and routing verification.

Data & AI

System & Exploration

  • drive-space-investigator-prompt.md spec - Strictly read-only drive space investigator that scans near-capacity disks, finds largest files and waste/regenerable items, and produces a comprehensive, review-only report.
  • dead-code-detection-prompt.md - find dead code with proof: tool output as candidates only, reference search recorded, dynamic use ruled out before deletion.
  • entrypoints-discovery-prompt.md - discover runtime entrypoints: servers, CLIs, workers, scheduled jobs, environment/config requirements, connection mapping.
  • impact-analysis-prompt.md - evaluate change impact before applying: scope, affected paths, risk, verification plan, rollback criteria.
  • dependency-graph-prompt.md - build the internal dependency graph: Mermaid output, edges with file:line, cycle detection, layer violations, minimal decoupling fixes.

Research

Explore projetos relacionados

Carregando…