Skip to content

Conversation

@tashian
Copy link
Contributor

@tashian tashian commented Feb 11, 2026

Summary

  • Adds package.json with pnpm scripts for running Vale prose linting and markdown-link-check locally
  • pnpm check runs both checks on files changed vs origin/main — the pre-push sweet spot
  • Updates CONTRIBUTING.md with prerequisites, quick-reference script table, and corrected manual commands (adds missing --no-wrap --glob='!step-cli/reference/**' flags)

Scripts

Command Description
pnpm check Lint prose + check links on changed files
pnpm check:all Lint prose + check links on all files
pnpm vale Lint all prose
pnpm vale:changed Lint prose in changed files only
pnpm links Check links in all files
pnpm links:changed Check links in changed files only

Test plan

  • pnpm install succeeds (no dependencies)
  • pnpm vale runs vale on all files, excluding step-cli/reference
  • pnpm vale:changed lints only files changed vs origin/main
  • pnpm check runs both changed-file checks sequentially

🤖 Generated with Claude Code

Writers can now run `pnpm check` to lint prose and check links on
changed files before pushing, instead of remembering verbose shell
commands. Adds package.json with vale and markdown-link-check scripts,
and updates CONTRIBUTING.md with prerequisites and quick-reference usage.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@tashian tashian requested a review from a team as a code owner February 11, 2026 23:22
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