# dair-ai/Prompt-Engineering-Guide SLOC report

> 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.

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.

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.

## 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.

## 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.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JSON | 155 | 9,698 | 9,643 | 0 | 55 |
| YAML | 1 | 5,307 | 4,158 | 0 | 1,149 |
| TSX | 15 | 1,534 | 1,394 | 33 | 107 |
| Jupyter Notebooks | 12 | 1,528 | 1,082 | 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 | 1,099 | 71,970 | 0 | 52,827 | 19,143 |
| Markdown | 12 | 2,043 | 0 | 1,439 | 604 |

Top programming language: TSX 8.2%. Generated on November 2, 2026. Canonical report: https://octocounts.com/github/dair-ai/Prompt-Engineering-Guide/commit/57673726396dd94acb23bdb1e67f27c78ee85a8e?reportId=83f523e701dba08fd321bac517a5380a284e6d1325fd91bada93444df64bdad1&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/dair-ai/Prompt-Engineering-Guide/commit/57673726396dd94acb23bdb1e67f27c78ee85a8e?reportId=83f523e701dba08fd321bac517a5380a284e6d1325fd91bada93444df64bdad1&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## 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.

## Similar repository reports

- [JSB2010/seb-log-collector](https://octocounts.com/github/JSB2010/seb-log-collector) — JSON, 16,906 code lines
- [offpolicyinc/fruitless](https://octocounts.com/github/offpolicyinc/fruitless) — JSON, 17,042 code lines
- [ScoopInstaller/Games](https://octocounts.com/github/ScoopInstaller/Games) — JSON, 16,801 code lines
- [lackx741-tech/inv3](https://octocounts.com/github/lackx741-tech/inv3) — JSON, 17,098 code lines
- [EverMind-AI/Plugins](https://octocounts.com/github/EverMind-AI/Plugins) — JSON, 16,758 code lines
- [phishdestroy/Anti-Phishing-Research](https://octocounts.com/github/phishdestroy/Anti-Phishing-Research) — JSON, 16,736 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
