원클릭으로
validate
Pre-commit validation ensuring lint and tests pass
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Pre-commit validation ensuring lint and tests pass
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Post to Slack channels and manage Trello cards with natural language
Measure the barge-in pipeline (detection, latency, noise/echo rejection, command-vs-engagement) against the goal in .claude/goals/barge-in.json
Configure MCP session defaults for iOS development
Manage git worktrees for parallel Claude Code development sessions
| name | validate |
| description | Pre-commit validation ensuring lint and tests pass |
Enforces the "Definition of Done" mandate by running all quality checks before work is marked complete. This skill ensures that no code is considered "done" until it compiles, lints, and tests successfully.
Critical Rule: NO IMPLEMENTATION IS COMPLETE UNTIL THIS SKILL REPORTS PASS.
/validate # Run lint + quick tests (default)
/validate --full # Run lint + full test suite with coverage
./scripts/lint.sh
Default (quick):
./scripts/test-quick.sh
Full suite (--full):
./scripts/test-all.sh
Exit codes:
0 = All checks passed1 = One or more checks failedSuccessful validation:
User: /validate
Claude: Running pre-commit validation...
Lint Check: PASSED (0 violations)
Tests: PASSED (47/47 tests)
VALIDATION PASSED - Ready for commit
Failed validation (lint):
User: /validate
Claude: Running pre-commit validation...
Lint Check: FAILED (2 violations)
- UnaMentis/Services/AudioEngine.swift:42: Line length exceeds 120 characters
- UnaMentis/Views/SessionView.swift:18: Unused import 'Foundation'
VALIDATION FAILED - Fix lint violations before proceeding
Failed validation (tests):
User: /validate
Claude: Running pre-commit validation...
Lint Check: PASSED (0 violations)
Tests: FAILED (45/47 tests passed, 2 failed)
Failed tests:
- SessionManagerTests.testSessionTimeout
- AudioEngineTests.testBufferOverflow
VALIDATION FAILED - Fix failing tests before proceeding
The validation is designed to catch issues locally that would fail in CI:
SWIFT_STRICT_CONCURRENCY=complete to catch Sendable violationsIf CI fails with an issue that local validation missed, investigate and add the check to local validation.
This skill complements the pre-commit hook in .claude/hooks/pre-commit-check.sh.