What Jig is made of.
The code-stats skill measures a repository. It sorts every file git tracks by what the file is for, what it is, its language and its module, then counts its lines. These are the skill's dimensions. This page shows the skill's report on Jig's own repository.
The site's build runs the skill on the commit it builds, so the figures change with every deploy and no copy of them sits in the repository. The page shows totals only and names no single file. A team gets the same report on its own repository by running /jig:code-stats.
Counted at commit a49aeca on 28 Nov 2026.
- Files counted
- 5,920
- 62.4 MB, 1,274,051 lines in all
18 vendored files (1.1 MB), another project's code kept in this one, are left out of every figure.
By area: what each file is for
Jig's configuration names its areas, and the first area whose rule matches a file takes it. A file no rule places falls to the default area. Code and tests count the lines of code of the files that are code or tests. All counts every file, documents included.
| Area | What it holds | Files | Code | Tests | All | Share of all |
|---|---|---|---|---|---|---|
| scaffolding | Agent instructions and skills for working on this repository | 11 | 0 | 0 | 777 | <0.1% |
| productiondefault | What Jig ships, the plugin, the practice modules, the website and the template seeds | 5,099 | 396,760 | 429,128 | 934,615 | 89% |
| ci | Pipelines, workflows and the actions they share | 7 | 0 | 0 | 1,025 | <0.1% |
| repo-config | Repository settings, manifests, lockfiles and linter configuration | 39 | 0 | 0 | 3,966 | 0.4% |
| tools | Gates, scripts and test helpers that develop Jig and do not ship | 407 | 26,394 | 31,557 | 59,998 | 5.7% |
| design | Design records and the design prototypes | 297 | 6,747 | 0 | 34,002 | 3.2% |
| docs | Documents about Jig, its principles, decisions and how to adopt it | 60 | 0 | 0 | 21,101 | 2.0% |
By kind: what each file is
A kind says what a file is: code, a test, documentation or a fixture, among others. The skill detects it from the file itself, and the configuration corrects it where the detection is wrong.
| Kind | Files | Size | Lines of code | Share of lines of code |
|---|---|---|---|---|
| code | 2,117 | 21.6 MB | 429,901 | 41% |
| test | 1,626 | 17.5 MB | 460,685 | 44% |
| docs | 432 | 7.8 MB | 104,265 | 9.9% |
| config | 179 | 1.9 MB | 36,210 | 3.4% |
| generated | 31 | 3.2 MB | 9,745 | 0.9% |
| fixture | 1,325 | 637.2 KB | 14,666 | 1.4% |
| asset | 209 | 9.8 MB | 0 | 0% |
| other | 1 | 650 B | 12 | <0.1% |
By language
The languages with the most lines of code, of every kind. The skill reads a file's language from its extension or its first line.
| Language | Files | Lines of code | Share of lines of code |
|---|---|---|---|
| TypeScript | 3,662 | 864,329 | 82% |
| Markdown | 620 | 105,763 | 10% |
| JSON | 199 | 27,373 | 2.6% |
| YAML | 513 | 17,331 | 1.6% |
| HTML | 42 | 11,875 | 1.1% |
| TSX | 46 | 8,375 | 0.8% |
| Astro | 72 | 8,147 | 0.8% |
| JavaScript | 31 | 4,170 | 0.4% |
| CSS | 4 | 2,553 | 0.2% |
| Text | 219 | 1,228 | 0.1% |
| Python | 12 | 879 | <0.1% |
| License text | 6 | 835 | <0.1% |
| 42 other languages | 281 | 2,626 | 0.2% |
By module
A module is a part of the repository that is a unit of its own. Each skill of the plugin, each of its runtime parts, each practice module and each tool is one, and every other top-level folder is one. A module's lines of code count every file in it: its code, its tests, its documents and the data its tests read.
| Module | Files | All lines | Lines of code |
|---|---|---|---|
| plugin/skills/ | 754 | 276,286 | 210,230 |
| plugin/ | 789 | 202,376 | 172,626 |
| plugin/skills/ | 256 | 86,447 | 73,820 |
| plugin/ | 404 | 88,810 | 72,386 |
| plugin/skills/ | 131 | 43,168 | 36,989 |
| 158 | 37,436 | 33,153 | |
| plugin/skills/ | 78 | 30,639 | 23,038 |
| plugin/ | 57 | 22,165 | 21,689 |
| 207 | 24,306 | 21,181 | |
| plugin/skills/ | 90 | 25,168 | 20,704 |
| 202 | 23,600 | 20,041 | |
| 36 | 19,973 | 18,073 | |
| plugin/skills/ | 57 | 21,061 | 17,821 |
| Files at the root | 31 | 20,700 | 17,470 |
| plugin/ | 60 | 18,083 | 16,042 |
| design/ | 261 | 17,638 | 15,929 |
| plugin/skills/ | 59 | 18,362 | 15,458 |
| plugin/skills/ | 47 | 15,842 | 13,142 |
| plugin/skills/ | 100 | 12,880 | 11,033 |
| plugin/skills/ | 74 | 12,158 | 10,132 |
| plugin/ | 37 | 11,942 | 9,798 |
| plugin/skills/ | 73 | 11,644 | 9,786 |
| tools/ | 37 | 10,092 | 8,882 |
| plugin/ | 36 | 9,602 | 8,500 |
| 13 | 10,195 | 8,307 | |
| modules/ | 145 | 9,369 | 7,933 |
| 46 | 9,344 | 7,646 | |
| modules/ | 113 | 8,711 | 7,491 |
| plugin/ | 53 | 8,953 | 7,289 |
| modules/ | 76 | 8,763 | 7,198 |
| modules/ | 119 | 8,531 | 7,100 |
| tools/ | 34 | 7,742 | 6,851 |
| plugin/ | 32 | 7,733 | 6,729 |
| modules/ | 157 | 7,562 | 6,370 |
| tools/ | 28 | 7,374 | 6,134 |
| plugin/skills/ | 25 | 7,036 | 5,830 |
| modules/ | 36 | 6,342 | 5,107 |
| plugin/skills/ | 25 | 6,006 | 4,969 |
| tools/ | 16 | 5,519 | 4,512 |
| plugin/skills/ | 18 | 5,402 | 4,487 |
| plugin/skills/ | 25 | 5,006 | 4,404 |
| 33 | 4,936 | 4,203 | |
| modules/ | 46 | 4,851 | 4,067 |
| tools/ | 22 | 4,893 | 4,020 |
| modules/ | 40 | 4,350 | 3,765 |
| plugin/skills/ | 17 | 4,367 | 3,676 |
| plugin/skills/ | 14 | 3,938 | 3,625 |
| plugin/skills/ | 18 | 3,837 | 3,264 |
| modules/ | 200 | 4,181 | 3,159 |
| plugin/ | 10 | 3,637 | 3,145 |
| modules/ | 96 | 3,717 | 3,034 |
| 18 | 3,732 | 2,907 | |
| modules/ | 85 | 3,651 | 2,880 |
| plugin/skills/ | 17 | 3,306 | 2,818 |
| 9 | 2,815 | 2,105 | |
| modules/ | 71 | 2,585 | 2,018 |
| modules/ | 25 | 2,173 | 1,810 |
| plugin/skills/ | 6 | 1,982 | 1,674 |
| plugin/ | 6 | 1,720 | 1,415 |
| modules/ | 56 | 1,620 | 1,208 |
| plugin/skills/ | 6 | 1,428 | 1,164 |
| 13 | 1,601 | 1,124 | |
| plugin/skills/ | 8 | 1,283 | 1,098 |
| tools/ | 3 | 1,281 | 1,060 |
| plugin/skills/ | 9 | 1,276 | 1,014 |
| modules/ | 19 | 1,354 | 1,011 |
| plugin/skills/ | 5 | 1,068 | 916 |
| plugin/ | 3 | 1,125 | 862 |
| plugin/skills/ | 5 | 829 | 722 |
| modules/ | 6 | 955 | 706 |
| plugin/skills/ | 3 | 713 | 627 |
| plugin/skills/ | 2 | 570 | 451 |
| modules/ | 2 | 513 | 444 |
| tools/ | 16 | 496 | 418 |
| tools/ | 2 | 500 | 391 |
| plugin/skills/ | 4 | 428 | 384 |
| 2 | 332 | 289 | |
| plugin/skills/ | 1 | 343 | 267 |
| plugin/ | 1 | 286 | 261 |
| plugin/skills/ | 1 | 289 | 228 |
| plugin/ | 1 | 227 | 197 |
| 8 | 232 | 196 | |
| 2 | 169 | 144 | |
| 1 | 157 | 134 | |
| 3 | 140 | 123 | |
| 1 | 73 | 62 | |
| 1 | 50 | 43 | |
| plugin/ | 1 | 28 | 28 |
| plugin/ | 1 | 18 | 18 |
| 1 | 12 | 12 | |
| 1 | 11 | 11 | |
| 1 | 7 | 6 | |
| 2 | 0 | 0 | |
| plugin/ | 1 | 0 | 0 |
How the code-stats skill countsJig's code-stats configuration