dair-ai/Prompt-Engineering-Guide has 16,933 source lines of code out of 92,796 total lines across 1,337 files, counted from the main ref at commit 57673726396d by the OctoCounts tokei engine on 2026-09-24. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-09-24 (commit 57673726396d), dair-ai/Prompt-Engineering-Guide contains 92,796 total lines: 16,933 code, 54,562 comments, 21,301 blank, across 1,337 files in 12 languages (top: JSON 56.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving dair-ai/Prompt-Engineering-Guide to commit 57673726396d, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.
This is a medium-sized codebase by counted code lines. Code represents 18.2% of all lines, comments represent 58.8%, and the repository averages 13 code lines per file. JSON accounts for 56.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JSON | 155 | 9698 | 9643 | 0 | 55 |
| YAML | 1 | 5307 | 4158 | 0 | 1149 |
| TSX | 15 | 1534 | 1394 | 33 | 107 |
| Jupyter Notebooks | 12 | 1528 | 1082 | 242 | 204 |
| SVG | 31 | 358 | 358 | 0 | 0 |
| JavaScript | 4 | 99 | 80 | 5 | 14 |
| HTML | 1 | 81 | 72 | 2 | 7 |
| TypeScript | 3 | 91 | 72 | 9 | 10 |
| JSX | 2 | 72 | 62 | 3 | 7 |
| CSS | 2 | 15 | 12 | 2 | 1 |
| MDX | 1099 | 71970 | 0 | 52827 | 19143 |
| Markdown | 12 | 2043 | 0 | 1439 | 604 |
Top language (JSON 56.9%). Generated at .
dair-ai/Prompt-Engineering-Guide has 92,796 total lines, including 16,933 code lines, 54,562 comment lines, and 21,301 blank lines.
OctoCounts resolved the public GitHub repository to commit 57673726396d, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from main at commit 57673726396d on 2026-09-24T08:29:14.940013710+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for dair-ai/Prompt-Engineering-Guide on this page — 16,933 code lines across 12 languages, counted by tokei.