Awesome-Prompt-Engineering
CLAUDE.md115 starsChanged 4 months agoMITView on GitHub
Awesome-Prompt-Engineering is a curated awesome list for prompt engineering and context engineering for AI agents, published to GitHub Pages with Jekyll (just-the-docs remote theme) at https://natnew.github.io/Awesome-Prompt-Engineering/. README.md is the canonical artefact. Curation beats accumulation. AGENTS.md is the canonical operating protocol: scope, trust boundary, quality bar, link rules, decision matrix, review workflows, protected areas. Do not restate it here; read it before any review or README edit. Then load only what the task needs: .github/copilot-instructions.md mirrors these rules for Copilot. If…
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- documentationSkill
The file
We split this CLAUDE.md into the rules it gives an agent
8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 55
No build step is needed to validate content.
- Very specific: line 63
All Contributors: npx all-contributors-cli add USERNAME TYPE, then npx all-contributors-cli generate.
- Very specific: line 78
No broad sweeps: Do not reformat, reorder or re-case content the task does not touch, and do not "fix" rules disabled in …
- Distinctive: line 85
Read the issue or diff, then the target section and its neighbours.
- Distinctive: line 86
Run the duplicate search and verify the link before judging the entry.
- Distinctive: line 87
If scope, placement, credibility or maintainer intent is uncertain, recommend before editing.
- Distinctive: line 89
Before finishing: review git diff, confirm only intended files changed, and run the link check on edited files where lychee is available.
- Distinctive: line 92
Never merge, close, label or restructure on your own initiative.
≈ “Common” is an estimate: at least 1 in 5 of the 28,633 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Awesome-Prompt-Engineering is a curated awesome list for prompt engineering
and context engineering for AI agents, published to GitHub Pages with Jekyll
(just-the-docs remote theme) at https://natnew.github.io/Awesome-Prompt-Engineering/.
README.md is the canonical artefact. Curation beats accumulation.
Authority and routing
AGENTS.md is the canonical operating protocol: scope, trust boundary, quality
bar, link rules, decision matrix, review workflows, protected areas. Do not
restate it here; read it before any review or README edit. Then load only what
the task needs:
| Task | Read |
| README entry add/edit/remove | .github/instructions/readme-curation.instructions.md, link-and-source-quality.instructions.md |
| PR / issue review, contributor replies | .github/instructions/contribution-review.instructions.md |
| Typos, wording, small Markdown fixes | .github/instructions/repository-maintenance.instructions.md |
| Contributor requirements (≥60 stars, >30 days old) | Contributing.md, Workflow.md, .github/pull_request_template.md |
.github/copilot-instructions.md mirrors these rules for Copilot. If you change
a rule, change it in AGENTS.md or the relevant .instructions.md file, not here.
Repository layout
- Root
*.mdtopic pages (Basic_Prompting.md,AI_Tools.md,Articles.md,Resources.md, …) are linked from the README Contents table. EachFoo.mdrenders toFoo.html, so internal links point to.html; do not change them to.md. foundations/,patterns/,templates/,resources/: long-form learning material.projects/: worked case studies. Some include Python reference code and pytest suites (projects/core/01_rag_evaluation_pipeline/tests/). This is the only executable code in the repository.- Site machinery:
_config.yaml,_layouts/default.html,assets/css/. Protected. AI Glossary.csvis linked fromAI_Glossary.mdas a download; keep terms in step when editing either.
Commands
# Duplicate check: search the name AND the URL's host/path across all content
rg -n -i "<project name>|<host/path>" --glob "*.md" --glob "*.csv"
# Link check (same tool CI runs on PRs that touch *.md; skips go in .lychee-ignore)
lychee --exclude '*.png' --timeout 15 README.md
# Markdown lint (lenient config; not run in CI)
npx markdownlint-cli2 "README.md"
# Project tests (only when projects/ Python changes)
python -m pytest projects/core/01_rag_evaluation_pipeline/tests -qNo build step is needed to validate content. Jekyll builds on GitHub Pages.
Automation already in place
.github/workflows/link-check.yml: lychee on every PR that changes*.md..github/workflows/claude.yml: runs Claude Code on@claudementions in issues and PRs with read-only repository permissions. In that context, reply with a recommendation; do not attempt to push, label, merge or close.- All Contributors:
npx all-contributors-cli add USERNAME TYPE, thennpx all-contributors-cli generate. Never edit the generated table by hand.
Invariants easy to break
- Entry format follows the local section. README list sections use
- [Name](URL) — Description(em dash);Contributing.mdshows a hyphen; several topic pages use tables. Match neighbouring entries, including whether descriptions end with a full stop. New entries go at the bottom of the section unless it is ordered. - Case-insensitive checkout.
AGENTS.md(agent protocol) and the formerAgents.mdtopic page collide on Windows and macOS. Do not create a rootAgents.md; the README Contents link toAgents.htmlcurrently has no source page. - Protected areas are listed in
AGENTS.md(badges, Announcements, contributor block, cross-list navigation, licence, site machinery). Change.all-contributorsrconly through the CLI. - No broad sweeps. Do not reformat, reorder or re-case content the task does
not touch, and do not "fix" rules disabled in
.markdownlint-cli2.jsonc. - Verify, do not infer. Fetch the resource before describing it; check stars, age and canonical URL on the source itself.
Working method
- Read the issue or diff, then the target section and its neighbours.
- Run the duplicate search and verify the link before judging the entry.
- If scope, placement, credibility or maintainer intent is uncertain, recommend before editing. Otherwise make the smallest safe edit.
- Before finishing: review
git diff, confirm only intended files changed, and run the link check on edited files where lychee is available.
Never merge, close, label or restructure on your own initiative. For batches (several PRs or many links), independent verification can run in parallel; a single entry does not need subagents.
Output for reviews
- Decision: accept / maintainer edit / request changes / close / park
- Reason: 1–3 bullets, citing evidence checked (link, stars, duplicates)
- Suggested entry, in the target section's exact format
- Maintainer comment: short, warm, decision-oriented (style in
AGENTS.md) - Files changed, and any remaining uncertainty
Commits: one logical change, conventional prefix (docs:, feat:, chore:),
on a feature branch off main.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

