agentleFS
LichAmnesiaLichAmnesia/GPT-Prompt-Hub/CLAUDE.md

GPT-Prompt-Hub

CLAUDE.md2.4k starsChanged 7 months agoMITView on GitHub

This repo is a curated hub of 222 prompts for Claude/GPT/Gemini, organized under prompts/ by category: Each prompt file uses frontmatter (title, category, tags, model, use_case) and a structured body (Role / Objective / Inputs / Output / Constraints / Example). Do not edit prompts without updating frontmatter. Root README.md is the source of truth for the full catalog; each category has its own README.md as a per-folder TOC. _analysis/popular-patterns.md holds the strategy analysis behind the 222-prompt curation — read…

The file

Show its rules and text

We split this CLAUDE.md into the rules it gives an agent

25 rules. About 0 are common, 24 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈24

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No clever tricks - choose the boring solution

    line 36
  2. Distinctive:

    If you need to explain it, it's too complex

    line 37
  3. Distinctive:

    Update status as you progress

    line 52
  4. Distinctive:

    Remove file when all stages are done

    line 53
  5. Distinctive:

    Test: - Write test first (red)

    line 58
  6. Distinctive:

    Remove abstraction instead of adding?

    line 84
  7. Distinctive:

    Composition over inheritance: - Use dependency injection

    line 90
  8. Distinctive:

    Test-driven when possible: - Never disable tests, fix them

    line 93
  9. Distinctive:

    Follow project formatting/linting

    line 101
  10. Distinctive:

    Ensure commit message explains "why"

    line 106
  11. Distinctive:

    Never silently swallow exceptions

    line 113
  12. Distinctive:

    When multiple valid approaches exist, choose based on:

    line 117
  13. Distinctive:

    Use same libraries/utilities when possible

    line 131
  14. Distinctive:

    Follow existing test patterns

    line 132
  15. Distinctive:

    Use project's existing build system

    line 136
  16. Distinctive:

    Use project's test framework

    line 137
  17. Distinctive:

    Use project's formatter/linter settings

    line 138
  18. Distinctive:

    Don't introduce new tools without strong justification

    line 139
  19. Distinctive:

    Test behavior, not implementation

    line 154
  20. Distinctive:

    Use existing test utilities/helpers

    line 157
  21. Very specific:

    Use --no-verify to bypass commit hooks

    line 163
  22. Distinctive:

    Commit code that doesn't compile

    line 165
  23. Distinctive:

    Commit working code incrementally

    line 169
  24. Distinctive:

    Update plan documentation as you go

    line 170
  25. Distinctive:

    Stop after 3 failed attempts and reassess

    line 172

≈ “Common” is an estimate: at least 1 in 5 of the 26,980 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

Repository Structure

This repo is a curated hub of 222 prompts for Claude/GPT/Gemini, organized under prompts/ by category:

  • prompts/business/ (25) — strategy, PRDs, venture plans, unit economics
  • prompts/career/ (15) — resume, cover letter, ATS, interview prep
  • prompts/creative/ (25) — music, visual, games, multimedia
  • prompts/engineering/ (25) — code review, architecture, simulators
  • prompts/health-life/ (7) — CBT, clinical reasoning, wellness (non-diagnostic)
  • prompts/learning/ (25) — tutoring, language coaching, mock interviews
  • prompts/marketing-seo/ (25) — paid media, SEO, landing pages, brand
  • prompts/productivity/ (25) — PRDs, planning, PR review, app specs
  • prompts/research/ (25) — literature review, market analysis, paper reading
  • prompts/writing/ (25) — editing, translation, long-form, screenplay
  • prompts/legacy/ (4) — original 2024 custom GPTs, kept for historical record

Each prompt file uses frontmatter (title, category, tags, model, use_case) and a structured body (Role / Objective / Inputs / Output / Constraints / Example). Do not edit prompts without updating frontmatter. Root README.md is the source of truth for the full catalog; each category has its own README.md as a per-folder TOC.

_analysis/popular-patterns.md holds the strategy analysis behind the 222-prompt curation — read before adding new prompts.

Development Guidelines

Philosophy

Core Beliefs

  • Incremental progress over big bangs - Small changes that compile and pass tests
  • Learning from existing code - Study and plan before implementing
  • Pragmatic over dogmatic - Adapt to project reality
  • Clear intent over clever code - Be boring and obvious

Simplicity Means

  • Single responsibility per function/class
  • Avoid premature abstractions
  • No clever tricks - choose the boring solution
  • If you need to explain it, it's too complex

Process

1. Planning & Staging

Break complex work into 3-5 stages. Document in IMPLEMENTATION_PLAN.md:

## Stage N: [Name]
**Goal**: [Specific deliverable]
**Success Criteria**: [Testable outcomes]
**Tests**: [Specific test cases]
**Status**: [Not Started|In Progress|Complete]
  • Update status as you progress
  • Remove file when all stages are done

2. Implementation Flow

  1. Understand - Study existing patterns in codebase
  2. Test - Write test first (red)
  3. Implement - Minimal code to pass (green)
  4. Refactor - Clean up with tests passing
  5. Commit - With clear message linking to plan

3. When Stuck (After 3 Attempts)

CRITICAL: Maximum 3 attempts per issue, then STOP.

  1. Document what failed:
    • What you tried
    • Specific error messages
    • Why you think it failed
  2. Research alternatives:
    • Find 2-3 similar implementations
    • Note different approaches used
  3. Question fundamentals:
    • Is this the right abstraction level?
    • Can this be split into smaller problems?
    • Is there a simpler approach entirely?
  4. Try different angle:
    • Different library/framework feature?
    • Different architectural pattern?
    • Remove abstraction instead of adding?

Technical Standards

Architecture Principles

  • Composition over inheritance - Use dependency injection
  • Interfaces over singletons - Enable testing and flexibility
  • Explicit over implicit - Clear data flow and dependencies
  • Test-driven when possible - Never disable tests, fix them

Code Quality

  • Every commit must:
    • Compile successfully
    • Pass all existing tests
    • Include tests for new functionality
    • Follow project formatting/linting
  • Before committing:
    • Run formatters/linters
    • Self-review changes
    • Ensure commit message explains "why"

Error Handling

  • Fail fast with descriptive messages
  • Include context for debugging
  • Handle errors at appropriate level
  • Never silently swallow exceptions

Decision Framework

When multiple valid approaches exist, choose based on:

  1. Testability - Can I easily test this?
  2. Readability - Will someone understand this in 6 months?
  3. Consistency - Does this match project patterns?
  4. Simplicity - Is this the simplest solution that works?
  5. Reversibility - How hard to change later?

Project Integration

Learning the Codebase

  • Find 3 similar features/components
  • Identify common patterns and conventions
  • Use same libraries/utilities when possible
  • Follow existing test patterns

Tooling

  • Use project's existing build system
  • Use project's test framework
  • Use project's formatter/linter settings
  • Don't introduce new tools without strong justification

Quality Gates

Definition of Done

  • Tests written and passing
  • Code follows project conventions
  • No linter/formatter warnings
  • Commit messages are clear
  • Implementation matches plan
  • No TODOs without issue numbers

Test Guidelines

  • Test behavior, not implementation
  • One assertion per test when possible
  • Clear test names describing scenario
  • Use existing test utilities/helpers
  • Tests should be deterministic

Important Reminders

NEVER:

  • Use --no-verify to bypass commit hooks
  • Disable tests instead of fixing them
  • Commit code that doesn't compile
  • Make assumptions - verify with existing code

ALWAYS:

  • Commit working code incrementally
  • Update plan documentation as you go
  • Learn from existing implementations
  • Stop after 3 failed attempts and reassess

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.