IdeaCredIdeaCred

keystonejs/keystone

91

The superpowered headless CMS for Node.js — built with GraphQL and React

What's novel

The superpowered headless CMS for Node.js — built with GraphQL and React

Code Analysis

17 files read · 5 rounds

A full-featured CMS and app framework that generates a typed GraphQL API, Prisma database schema, and React admin UI from a declarative TypeScript schema definition, with a rich text editor built on Slate and a dynamic 'structure' field type that generates GraphQL types from user-defined schemas.

Strengths

Exceptionally deep type-level engineering — the DBField conditional type system, the recursive GraphQL type generation for structure fields, and the Slate-based document editor with normalization/validation all demonstrate genuine algorithmic complexity. The monorepo architecture with preconstruct, changesets, and pnpm workspaces is well-organized with clear package boundaries.

Weaknesses

The type system in next-fields.ts is extremely dense with several TODO/FIXME comments acknowledging known issues (e.g., 'this isn't right for create', 'i think this is broken because variance?'), and the group() function uses a module-level mutable counter (let i = 0) which is a subtle anti-pattern. Some error messages are generic (throw new Error('')) in edge cases.

Score Breakdown

Innovation
4 (25%)
Craft
90 (35%)
Traction
70 (15%)
Scope
93 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+1
Concept Novelty+0

Craft

Ci+5
Tests+8
Polish+5
Releases+4
Has License+5
Code Quality+26
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+5
Has Dependency Mgmt+5

Traction

Forks+20
Stars+30
Hn Points+5
Watchers+10
Early Traction+0
Devto Reactions+0
Community Contribs+5

Scope

Commits+8
Languages+5
Subsystems+15
Bloat Penalty+0
Completeness+7
Contributors+8
Authored Files+15
Readme Code Match+3
Architecture Depth+7
Implementation Depth+8

Evidence

Commits

160

Contributors

100

Files

1685

Active weeks

40

TestsCI/CDREADMELicenseContributing

Repository

Language

TypeScript

Stars

9857

Forks

1250

License

MIT