Skip to content

chore: Biome lint + coverage CI and frontend SEO/GEO#651

Merged
NagyVikt merged 1 commit into
mainfrom
claude/repo-auto-suggestions-1wppv0
Jun 18, 2026
Merged

chore: Biome lint + coverage CI and frontend SEO/GEO#651
NagyVikt merged 1 commit into
mainfrom
claude/repo-auto-suggestions-1wppv0

Conversation

@NagyVikt

Copy link
Copy Markdown
Collaborator

What

Implements three of the repo-improvement suggestions: lint guardrails, test coverage in CI, and frontend SEO/GEO.

CLI guardrails

  • Biome 1.9.4 added with a green-baseline config: all recommended correctness/suspicious rules stay on, while the rules currently violated by the existing 85 files are disabled. This is a ratchet — CI catches new issues without a risky 85-file reformat in a live multi-agent repo. Teams can later run npm run format and re-enable rules incrementally.
  • New scripts: lint, format, format:check, test:coverage.
  • CI (ci.yml) now runs a Lint (Biome) step and switches unit tests to test:coverage (node --experimental-test-coverage). Kept the repo's budget-friendly single-Node PR design intact (no matrix added — that stays in the weekly ci-full.yml).
  • Expanded npm keywords for package discoverability.

Frontend SEO/GEO (Next.js App Router)

  • app/layout.tsx: rich metadata — metadataBase, canonical, OpenGraph, Twitter card, robots directives, viewport, and SoftwareApplication JSON-LD structured data.
  • app/robots.ts + app/sitemap.ts metadata routes.
  • public/llms.txt for generative-engine optimization (GEO) — gives AI crawlers a clean project summary.
  • Site origin is overridable per-deployment via NEXT_PUBLIC_SITE_URL (defaults to the GitHub repo so URLs always resolve).

Verification

  • npm run lint → clean (171 files checked).
  • npx tsc --noEmit (frontend) → clean.
  • Coverage flag verified working; reporting only, no thresholds, so it doesn't change pass/fail.
  • ℹ️ 22 tests fail in this sandbox only — confirmed identical on the clean tree before any change (environment-specific: worktree/tmux/git-env deps). CI on GitHub Actions is green on main.

🤖 Generated with Claude Code

https://claude.ai/code/session_015Qyz9J4TivR9kJeAeETSUw


Generated by Claude Code

CLI guardrails:
- Add Biome 1.9.4 with a green-baseline config (recommended rules on,
  currently-violated stylistic rules disabled) so CI catches new issues
  without churning 85 existing files. Adds lint/format/format:check scripts.
- Add test:coverage script (node --experimental-test-coverage) and wire
  Lint + coverage steps into the PR CI workflow.
- Expand npm keywords for package discoverability.

Frontend SEO/GEO:
- Enrich root metadata: metadataBase, canonical, OpenGraph, Twitter card,
  robots directives, viewport, and SoftwareApplication JSON-LD.
- Add robots.ts and sitemap.ts metadata routes.
- Add public/llms.txt for generative-engine optimization.
- Site origin is overridable via NEXT_PUBLIC_SITE_URL.

Verified: biome lint clean, frontend tsc --noEmit clean. The 22 failing
tests are pre-existing in this sandbox (env-specific) and unrelated.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015Qyz9J4TivR9kJeAeETSUw
@NagyVikt NagyVikt marked this pull request as ready for review June 18, 2026 22:47
@NagyVikt NagyVikt merged commit 176e55c into main Jun 18, 2026
3 of 4 checks passed
@NagyVikt NagyVikt deleted the claude/repo-auto-suggestions-1wppv0 branch June 18, 2026 22:47
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.

2 participants