dair-ai/Prompt-Engineering-Guide has 16,933 source lines of code out of 92,796 total lines across 1,337 files, counted with tokei from the main ref at commit 57673726396d on November 2, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
dair-ai/Prompt-Engineering-Guide: 16,933 code lines at commit 57673726396d, counted with tokei-15.0.0 on 2026-11-02. Saved result 83f523e701dba08fd321bac517a5380a284e6d1325fd91bada93444df64bdad1.
OctoCounts produced this report by resolving dair-ai/Prompt-Engineering-Guide to commit 57673726396d, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.
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. TSX is the largest programming language at 8.2% of counted code; data and prose formats such as JSON or YAML hold a larger share.
| 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 programming language: TSX 8.2%. Generated on .
dair-ai/Prompt-Engineering-Guide: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
dair-ai/Prompt-Engineering-Guide has 16,933 lines of code, plus 54,562 comment lines and 21,301 blank lines, for 92,796 total lines at commit 57673726396d on November 2, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
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 November 2, 2026.
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.