Skip to content

chore: add Claude Code commands for checks, tests, e2e and new changes - #806

Merged
rubenvdlinde merged 1 commit into
developmentfrom
ai-ready/ai5-versioniq-commands
Nov 20, 2026
Merged

rubenvdlinde merged 1 commit into
developmentfrom
ai-ready/ai5-versioniq-commands

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Adds four short command files in .claude/commands/. Each one runs a workflow this repo already has:

  • check.md: composer check:strict, npm run lint, npm run stylelint, npm run check:l10n-js
  • test.md: composer test:unit-only and npm test, plus how to run a single test. It notes that composer test:unit needs a Nextcloud server checkout.
  • e2e.md: the Playwright suite (npm run test:e2e) against a disposable instance set up as described in docs/e2e.md
  • new-change.md: starts an OpenSpec change in openspec/changes/<name>/ with the files the existing changes have (proposal, design, tasks, screens and delta specs)

No git hooks are added.

Verified locally:

  • Every command exists in composer.json or package.json, and each was run once.
  • The single-test forms work: phpunit --filter PinStoreTest runs 12 tests and passes, and npx vitest run src/App.navigation.spec.ts runs 15 tests and passes.
  • The described OpenSpec file layout matches the 28 open changes.
  • No relative links are broken, and the hydra diff check is green.

Generated by Claude Code

@rubenvdlinde
rubenvdlinde merged commit 68dd7de into development Nov 20, 2026
1 check passed
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/versioniq @ 3605715

Check PHP Vue Security License Tests
lint ✅
phpcs ✅
phpmd ✅
psalm ❌
phpstan ✅
phpmetrics ✅
eslint ❌
stylelint ❌
build ✅
composer ✅ ✅ 58/58
npm ✅ ✅ 314/314
app:check-code ⏭️
info.xml ✅
REUSE ❌
lockfile sync ✅
PHPUnit ❌
Newman ⏭️
Playwright ⏭️ deferred: E2E runs locally and on the promotion path only. This pull request targets development, so the suite is asked once per promotion into beta and main rather than once per push per open pull request. Run it locally with npx playwright test, or from the Actions tab on a branch with no open pull request into development.
Hydra gates ❌

Quality workflow — 2026-11-20 19:29 UTC

Download the full PDF report from the workflow artifacts.

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