verification

GitHub

强制在任务完成前运行实际验证命令并提供证据,禁止无证明的断言。涵盖Schema、Java后端、Python摄入及前端变更的编译、测试和Lint流程。

skills/verification/SKILL.md open-metadata/OpenMetadata

Trigger Scenarios

代码修改后声称完成时 需要提交构建或测试结果作为依据时

Install

npx skills add open-metadata/OpenMetadata --skill verification -g -y
More Options

Use without installing

npx skills use open-metadata/OpenMetadata@verification

指定 Agent (Claude Code)

npx skills add open-metadata/OpenMetadata --skill verification -a claude-code -g -y

安装 repo 全部 skill

npx skills add open-metadata/OpenMetadata --all -g -y

预览 repo 内 skill

npx skills add open-metadata/OpenMetadata --list

SKILL.md

Frontmatter
{
    "name": "verification",
    "description": "Use before claiming any task is complete. Requires running actual verification commands and showing evidence — no \"should work\" claims without proof.",
    "user-invocable": true
}

Verification Before Completion

No completion claims without fresh verification evidence.

Core Rule

Never say "done", "should work", "looks correct", or "this fixes it" without running the verification commands and showing the output.

Verification by Change Type

Schema Changes (openmetadata-spec/)

# 1. Regenerate models
make generate

# 2. Verify Java compilation
mvn test-compile -pl openmetadata-spec,openmetadata-service

# 3. Verify Python models
source env/bin/activate && cd ingestion
python -c "from metadata.generated.schema.entity.services.connections.<module> import <Model>; print('OK')"

# 4. If connection schema: verify UI schema resolution
cd openmetadata-ui/src/main/resources/ui && yarn parse-schema

Java Backend Changes

# 1. Format
mvn spotless:apply

# 2. Compile
mvn test-compile -pl <module>

# 3. Run relevant tests
mvn test -pl <module> -Dtest=<TestClass>

# 4. For API changes: run integration tests
mvn verify -pl openmetadata-integration-tests -Dtest=<IntegrationTestClass>

Python Ingestion Changes

source env/bin/activate && cd ingestion

# 1. Format (apply) then lint check (verify)
make py_format
make py_format_check

# 2. Type check
make static-checks

# 3. Run unit tests
python -m pytest tests/unit/<relevant_test>.py -v

# 4. For connector changes: run connector-specific tests
python -m pytest tests/unit/topology/<service_type>/ -v

Frontend Changes

cd openmetadata-ui/src/main/resources/ui

# 1. Lint
yarn lint

# 2. Type check
npx tsc --noEmit

# 3. Run unit tests
yarn test <path/to/changed/component>

# 4. For significant UI changes: run Playwright tests
yarn playwright:run --grep "<relevant test>"

Evidence Format

When reporting completion, include:

## Verification Results

### Commands Run
1. `mvn spotless:apply` — completed, no formatting changes needed
2. `mvn test -pl openmetadata-service -Dtest=MyTest` — 5/5 tests passed
3. `yarn lint` — no errors

### Test Output
[paste relevant test output showing PASS]

What Counts as Evidence

  • Test runner output showing PASS
  • Build output showing SUCCESS
  • Lint/format output showing no errors
  • API response showing expected data
  • Screenshot or description of UI rendering correctly

What Does NOT Count as Evidence

  • "I reviewed the code and it looks correct"
  • "This follows the same pattern as X, so it should work"
  • "The logic is straightforward"
  • "I've made similar changes before"
  • No output at all — just claiming it's done

Version History

  • a1e7b7a Current 2026-07-24 20:48

Same Skill Collection

.agents/skills/java-checkstyle/SKILL.md
.agents/skills/ui-checkstyle/SKILL.md
.claude/skills/java-checkstyle/SKILL.md
.claude/skills/playwright-validation/SKILL.md
.claude/skills/playwright/SKILL.md
.claude/skills/writing-playwright-tests/SKILL.md
skills/code-review/SKILL.md
skills/connector-audit/SKILL.md
skills/connector-building/SKILL.md
skills/connector-review/SKILL.md
skills/connector-standards/SKILL.md
skills/dev-setup/SKILL.md
skills/java-checkstyle/SKILL.md
skills/openmetadata-workflow/SKILL.md
skills/planning/SKILL.md
skills/playwright-validation/SKILL.md
skills/playwright/SKILL.md
skills/pr-checklist/SKILL.md
skills/systematic-debugging/SKILL.md
skills/tdd/SKILL.md
skills/test-enforcement/SKILL.md
skills/test-locally/SKILL.md
skills/ui-checkstyle/SKILL.md
skills/writing-playwright-tests/SKILL.md
.claude/skills/ui-checkstyle/SKILL.md
.claude/skills/ui-core-components/SKILL.md
skills/ui-core-components/SKILL.md

Metadata

Files
0
Version
5ab32e5
Hash
a73370b7
Indexed
2026-07-24 20:48

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 09:37
浙ICP备14020137号-1 $Гость$