Skip to content

docs: yarn verify is the check before a pull request - #133

Merged
munchist merged 1 commit into
mainfrom
chore/lean-check
Oct 17, 2026
Merged

munchist merged 1 commit into
mainfrom
chore/lean-check

Conversation

@aflow-pr-agent

Copy link
Copy Markdown
Contributor

The publication check, scripts/verify-commit.mjs, already scopes a run to what a branch changed. It builds the packages the change reads, type-checks the touched workspaces, runs the tests a change can reach, and lints and formats the touched files. This gives it a command, yarn verify, and names it as the step before a pull request. The repository-wide build, lint and complete test run are left to CI.

Changes

  • package.json: yarn verify → node scripts/verify-commit.mjs.
  • CLAUDE.md: the command in Quality / pre-PR, and a paragraph after the test policy.
  • CONTRIBUTING.md, docs/dev/CONTRIBUTING.md: the before-a-PR steps are yarn format, commit, yarn verify.
  • /check skill (.claude and .agents), .cursor/rules/ci-and-workflow.mdc: yarn verify is the default; preflight is the full proof.

It measures commits on HEAD against origin/main, so the docs say to commit first. The commission, publish and review skills need no change: they run the folder's own declared check, which is this script.

Verification

node scripts/verify-commit.mjs on the Plan 319 branch (#132, which touches schemas and ai-client) passed in about 5 minutes. The full local gate took well over that before being stopped.

🤖 Generated with Claude Code

The publication check, scripts/verify-commit.mjs, already scopes a build,
type-check, tests, lint and format to what a branch changed. It gets a yarn
command, and CLAUDE.md, CONTRIBUTING, the /check skill and the Cursor rule
name it as the step before a pull request, leaving the repository-wide jobs
to CI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@aflow-pr-agent
aflow-pr-agent Bot requested a review from munchist October 17, 2026 18:35
@munchist
munchist merged commit 0e49a1f into main Oct 17, 2026
3 checks passed
@munchist
munchist deleted the chore/lean-check branch October 17, 2026 19:42
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.

1 participant