Skip to content

docs: rewrite the root README for AWS CDK Blocks - #1688

Merged
xyos merged 8 commits into
aws:mainfrom
xyos:docs/root-readme-cdk-blocks
Nov 20, 2026
Merged

xyos merged 8 commits into
aws:mainfrom
xyos:docs/root-readme-cdk-blocks

Conversation

@xyos

@xyos xyos commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Several statements in the root README do not match the code on main:

  • The scaffold installs dependencies, so the npm install step is redundant.
  • --template <name> does not reach the CLI through npm create unless it follows --. npm takes the flag for itself and the CLI stops with Unexpected argument.
  • "AWS Lambda runtime" is too narrow: Compute can also place a workload on a container.
  • "AWS CDK Blocks generates a CloudFormation template": the AWS CDK synthesizes it.

The introduction also describes the project as a backend toolkit, not as an expansion of the AWS CDK.

Issue #, if available: n/a

Changes

Rewrites the root README.md. Only this file changes.

  • Introduction. AWS CDK Blocks is an open-source expansion of the AWS CDK. The opening paragraph says what a CDK Block packages, what the Blocks cover, and that platform teams can publish custom CDK Blocks.
  • Facts. Fixes each item listed under Problem. The runtime bullet no longer names a compute service.
  • Clarity. Short sentences (18 words at most), lists for the parts of a Block and for the platforms, no semicolons or contractions.
  • New pointer. A link to packages/create-block/README.md for custom Blocks.

Differences from #1643

#1643 corrected the same file on main. This PR keeps the copy that was reviewed here, so it changes three of those corrections back:

  • The documentation line points to the Developer Guide only. The pointer to the Blocks README for the catalog and APIs is removed, and the sentence under the Blocks table that points to the Developer Guide for the full catalog is back.
  • The note that the auth template was formerly named auth-cognito is removed.
  • "npm 10 or later" is removed from Building from source. Getting started still states it.

The Compute row and the full repository layout from #1643 are unchanged.

Differences from #1724

#1724 also edited this file on main. The reviewed copy is kept, so two of its wordings do not carry over:

  • "How it works" opens with "AWS CDK Blocks uses…", where main says "CDK Blocks uses…".
  • The native clients paragraph says "your Blocks spec (blocks.spec.json)", where main says "your app's specification".

Not changed here

The Developer Guide that the README links to still uses the old name and lists Blocks that main no longer has.

Validation

Manual. No test reads the root README, so none was added. No changeset: the file is not part of a published package.

Merged main at 63e571ca4. The README is byte-identical to the reviewed copy at 88622314b. Every fact below was checked on the merged tree.

  • Both Developer Guide URLs return HTTP 200. The seven relative links resolve in this tree.
  • npm create @aws-cdk-blocks/blocks-app@latest -- --help runs the published 1.0.0-rc.0 CLI and lists the 14 templates.
  • --template forwarding, with npm 11.13.0 and the previously published @aws-blocks/create-blocks-app@0.4.0: npm create … my-app --template backend fails with Unexpected argument: backend. npm create … my-app -- --template backend scaffolds the app. Not repeated on 1.0.0-rc.0: the behaviour is npm's.
  • Checked against the source: the template names (packages/create-blocks-app/templates/), the install step (createFreshProject), the default port, the cdk-blocks/ backend folder, the docs and help scripts, the Amplify Gen 2 detection, every Block in the table (packages/blocks/src/index.ts, packages/core/src/hosting.ts), blocks.spec.json, and the three native clients.

Not verified in this repository: "npm 10 or later", and Vue and Angular support. Both come from the public Developer Guide.

Not run: build, lint and the test suites. The change is one Markdown file that no check reads.

Checklist

  • PR description included
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

xyos added 2 commits November 19, 2026 22:36
Use the product name AWS CDK Blocks and the package names from the
@aws-cdk-blocks rename: the unscoped aws-cdk-blocks umbrella and
@aws-cdk-blocks/create-blocks-app.

Correct statements that no longer match the code: the backend folder is
cdk-blocks/, the scaffold installs dependencies, npm create needs `--`
before --template, the template list lives in --help, Compute is a
Block, and the runtime is not only AWS Lambda.

Shorten the sentences and use one term for each thing.
A workload can run on AWS Lambda or on a container, so the bullet now
says only that the app runs on AWS.
@xyos
xyos force-pushed the docs/root-readme-cdk-blocks branch from b9cdbd4 to f94b532 Compare November 19, 2026 22:37
Comment thread README.md Resolved
Comment thread README.md Resolved
Comment thread README.md Resolved
Comment thread README.md Resolved
Comment thread README.md Resolved
Comment thread README.md Resolved
Replace the opening sentence with the reviewed introduction, and say
"CDK Block" on the lines the review marked.
@xyos
xyos marked this pull request as ready for review November 20, 2026 17:28
@xyos
xyos requested a review from a team as a code owner November 20, 2026 17:28
@xyos
xyos enabled auto-merge (squash) November 20, 2026 17:28
@xyos
xyos disabled auto-merge November 20, 2026 17:28
@xyos
xyos enabled auto-merge (squash) November 20, 2026 17:30
svidgen
svidgen previously approved these changes Nov 20, 2026
The merge with main changed four lines of the reviewed text. Put the
README back to the copy at 8862231.
svidgen
svidgen previously approved these changes Nov 20, 2026
@xyos
xyos disabled auto-merge November 20, 2026 18:28
@xyos
xyos enabled auto-merge (squash) November 20, 2026 18:30
@xyos
xyos merged commit a06db4b into aws:main Nov 20, 2026
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants