# phodal/prompt-patterns

Prompt 编写模式：如何将思维框架赋予机器，以设计模式的形式来思考 prompt

Repository: https://github.com/phodal/prompt-patterns
Canonical: https://ross.abutalabs.com/products/prompt-patterns
Homepage: https://prompt-patterns.phodal.com
License Family: other
Topics: chatgpt, github-copilot, prompt-engineering, stable-diffusion
Last push: 2023-03-22T03:39:19+00:00

## Health v2 (maintenance only)
Score: 31/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 92
- inputs: {"age_days": 1289, "days_push": 1260, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3094, forks 198 (observed 2026-08-28T04:07:42.453260+00:00)

## What it is
An open-source book (in Chinese) that catalogs prompt-writing patterns for AI models, applying design-pattern thinking to prompts for ChatGPT, GitHub Copilot, and Stable Diffusion. It includes a cheatsheet and pattern descriptions to help developers structure effective prompts.

## Use cases
- learn prompt engineering patterns
- write better chatgpt prompts
- structure prompts like design patterns
- improve stable diffusion prompt quality
- prompt writing guide for github copilot
- prompt engineering cheatsheet

## When to choose
- you want a structured, pattern-based approach to writing prompts
- you work with ChatGPT, Copilot, or Stable Diffusion and want reusable prompt templates
- you prefer learning from a book-style resource with examples

## When to avoid
- you need executable prompt tooling rather than documentation
- you need up-to-date coverage of the latest LLM techniques, as the project hasn't been updated since 2023
- you need English-language content, since the book is primarily in Chinese

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: prompt-engineering
- domain: large-language-models, artificial-intelligence, tutorials
- platform: -
- tags: prompt-patterns, chatgpt, stable-diffusion, github-copilot, ebook, design-patterns, web-server

## Member repositories
- phodal/prompt-patterns (main) score 31

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:42.453260+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:27:18.553204+00:00, confidence not recorded.
  - readme: https://github.com/phodal/prompt-patterns (fetched 2026-08-28T04:07:42.453260+00:00, sha fea805110cc7)
  - homepage: https://prompt-patterns.phodal.com (fetched 2026-08-29T09:42:51.848562+00:00, sha b36b7a168b67)
- Data as of 2026-08-30T08:39:29.467469+00:00.
