资源
1安装
npx skillscat add open-metadata/openmetadata/connector-standards 通过 SkillsCat registry 安装。
技能简介
加载OpenMetadata连接器开发标准,为构建或审查连接器提供一致的模式。
SKILL.md
Load OpenMetadata Connector Standards
When to Activate
When a user asks to "load standards", "show connector standards", or before starting any connector development or review work.
Behavior
Load All Standards
If no specific standard is requested, load all standards in this order:
${CLAUDE_SKILL_DIR}/standards/main.md— Architecture overview${CLAUDE_SKILL_DIR}/standards/patterns.md— Error handling, logging, pagination${CLAUDE_SKILL_DIR}/standards/code_style.md— Python and JSON Schema conventions${CLAUDE_SKILL_DIR}/standards/schema.md— Connection schema patterns${CLAUDE_SKILL_DIR}/standards/connection.md— Connection class patterns${CLAUDE_SKILL_DIR}/standards/service_spec.md— ServiceSpec registration${CLAUDE_SKILL_DIR}/standards/testing.md— Unit and integration test patterns${CLAUDE_SKILL_DIR}/standards/registration.md— How to register a connector${CLAUDE_SKILL_DIR}/standards/performance.md— Performance best practices${CLAUDE_SKILL_DIR}/standards/memory.md— Memory management and OOM prevention${CLAUDE_SKILL_DIR}/standards/lineage.md— Lineage extraction methods${CLAUDE_SKILL_DIR}/standards/sql.md— SQLAlchemy patterns and URL building
Then read all source-type standards:
${CLAUDE_SKILL_DIR}/standards/source_types/*.mdLoad Specific Standard
If a specific standard or service type is requested:
| Request | File to Load |
|---|---|
| "testing" | standards/testing.md |
| "patterns" | standards/patterns.md |
| "schema" | standards/schema.md |
| "lineage" | standards/lineage.md |
| "sql" | standards/sql.md |
| "memory" | standards/memory.md |
| "database" | standards/source_types/database.md |
| "sql databases" | standards/source_types/sql_databases.md |
| "data warehouses" | standards/source_types/data_warehouses.md |
| "nosql" | standards/source_types/nosql_databases.md |
| "dashboard" | standards/source_types/dashboard.md |
| "pipeline" | standards/source_types/pipeline.md |
| "messaging" | standards/source_types/messaging.md |
| "mlmodel" | standards/source_types/mlmodel.md |
| "storage" | standards/source_types/storage.md |
| "search" | standards/source_types/search.md |
| "api" | standards/source_types/api.md |
| etc. | standards/source_types/{name}.md |
After Loading
Confirm to the user which standards were loaded and summarize the key points. Example:
Loaded 12 core standards + 11 source-type standards. Key points:
- Schema-first: one JSON Schema → Python, Java, TypeScript, UI forms
- Use
BaseConnectionfor SQLAlchemy,get_connection()/test_connection()for others- Use pytest with plain
assert, no unittest.TestCase- Always include copyright header, use
ingestion_logger()- Lineage via query logs (database), SQL parsing (dashboard), or task metadata (pipeline)