Skip to content
Projetos

mokevnin/agentic-coding-design-patterns

Ver no GitHub

Sobre

AI SDLC PATTERNS

IA e aprendizado de máquina

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
0
em 7 dias
+3
em 15 dias
+6
em 1 mês
Coletando histórico

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

Agentic Coding Design Patterns

A catalog of patterns in the spirit of the "Gang of Four" (GoF) about how a developer works with an AI agent when writing code. It is a book written in Markdown and published as a website with VitePress.

📖 Online: https://mokevnin.github.io/agentic-coding-design-patterns/

Languages: Русский · English · Español

Repository layout

book/                 — the book root (VitePress source directory)
  .vitepress/         — site config: locales, sidebar, SEO, theme and Mermaid palette
  README.md           — language picker at the site root
  <locale>/
    SUMMARY.md        — table of contents: groups = headings, patterns = links; builds the sidebar
    README.md         — locale landing page
    <slug>.md         — a chapter (flat list, no group folders)
  assets/<slug>/      — diagrams and code samples shared across languages
templates/<locale>/   — localized pattern.md and anti-pattern.md skeletons

Patterns are grouped by area of working with an agent: task setting, working with context, verification, project organization. Anti-patterns live in a separate general chapter. There are no group folders in the tree: patterns are flat files, convenient to read right on GitHub. Grouping and order come from each locale's SUMMARY.md. Assets are shared in book/assets/ and referenced via ../assets/<slug>/....

One pattern = a file book/<locale>/<slug>.md. The file name (<slug>) is the same across all locales.

Development

mise run setup    # locked toolchain, dependencies and git hooks
mise run serve    # local preview with hot reload (VitePress dev server)
mise run check    # the same quality gates as CI
mise run build    # static build into ./dist
mise run preview  # serve the ./dist build locally
mise run update   # update project tools and dependencies

Use mise 2026.11.3 or newer; CI pins 2026.11.4. Node is pinned in mise.toml; mise reads pnpm from package.json. mise.lock records tool downloads and checksums for Linux x64 and macOS arm64. Both setup and CI install from the committed lockfiles. After updating hk, update the two versioned Pkl imports in hk.pkl as well.

The Dev Quality Gates checks run through hk.pkl: code lint and formatting, unit tests for the site config, dependency range consistency, Markdown, spelling, agent configuration, workflow security, secrets, local documentation links, conflict markers, filename case collisions and broken symlinks. Local links are checked offline so commits do not depend on external websites. Known dependency vulnerabilities are checked by the scheduled audit workflow.

  • How to add a pattern and how translations work — see CONTRIBUTING.md.
  • The canonical locale is ru: a pattern is first written in Russian, then translated to en/es.

License

Text and diagrams — CC BY-SA 4.0; code samples — CC0.

Explore projetos relacionados

Carregando…