dair-ai/Prompt-Engineering-Guide

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.

As of 2026-11-02 (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 programming language: TSX 8.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-02 (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 programming language: TSX 8.2%). Canonical public options (tests, docs and generated files 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 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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
JSON15596989643055
YAML15307415801149
TSX151534139433107
Jupyter Notebooks1215281082242204
SVG3135835800
JavaScript49980514
HTML1817227
TypeScript39172910
JSX2726237
CSS2151221
MDX10997197005282719143
Markdown12204301439604

Top programming language: TSX 8.2%. Generated on .

Counting rules and retention

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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does dair-ai/Prompt-Engineering-Guide have?

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.

How was the dair-ai/Prompt-Engineering-Guide line count measured?

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.

What commit was counted for dair-ai/Prompt-Engineering-Guide?

This OctoCounts report was generated from main at commit 57673726396d on November 2, 2026.

Play the growth animation for dair-ai/Prompt-Engineering-Guide on this page — 16,933 code lines across 12 languages, counted by tokei.