Skip to content
プロジェクト

mokevnin/agentic-coding-design-patterns

GitHubで見る

概要

AI SDLC PATTERNS

AI・機械学習

この数値の測り方

計測したスター増加

24時間
0
7日間
+3
15日間
+6
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

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.

関連プロジェクトを探す

読み込み中…