ontology-design
ontology design — production knowledge graphs workflows for machine learning and AI systems.
Ontology Design
Build reliable knowledge graphs pipelines with industry-standard tools and practices.
Overview
This skill provides comprehensive guidance for ontology design in production machine learning systems. It covers the full workflow from experimentation through deployment, monitoring, and iteration.
Moving ML from notebooks to production is one of the biggest challenges in the industry. This skill bridges that gap with proven patterns for knowledge graphs that handle the complexity of real-world data, model management, and operational requirements.
The skill emphasizes reproducibility, observability, and reliability — the three pillars that separate successful ML systems from ones that degrade silently in production.
When to Use
Activate this skill when the user needs to:
Set up knowledge graphs infrastructure for ML projects
Implement knowledge graphs best practices in existing ML pipelines
Debug production ML issues related to knowledge graphs
Evaluate and select knowledge graphs tools for your team
Create automated knowledge graphs workflows
Document knowledge graphs processes for team onboarding
Core Capabilities
Pipeline Setup
Configures end-to-end knowledge graphs pipelines with proper orchestration, error handling, and logging. Integrates with popular ML frameworks and cloud platforms.
Monitoring & Alerting
Implements comprehensive monitoring for knowledge graphs metrics with automated alerting on anomalies. Tracks data quality, model performance, and infrastructure health.
Automation
Automates repetitive knowledge graphs tasks including data validation, model retraining, A/B test management, and deployment rollouts. Reduces manual intervention while maintaining safety.
Debugging & Troubleshooting
Provides systematic approaches to diagnosing knowledge graphs issues. Includes diagnostic scripts, common failure patterns, and resolution playbooks.
Example Prompts
Users might ask:
"Set up ontology design for our recommendation model"
"Implement data drift detection for the prediction service"
"Create an automated retraining pipeline triggered by performance degradation"
"Debug why the model's accuracy dropped after last week's deployment"
"Design the knowledge graphs architecture for our new ML platform"
Configuration
ParameterDefaultDescription
frameworkautoML framework (tensorflow, pytorch, sklearn, auto)
trackingUrihttp://localhost:5000Experiment tracking server URL
alertThreshold0.05Performance degradation threshold for alerts
Best Practices
Version everything — Track data, code, models, and configurations with version control — reproducibility is non-negotiable
Monitor data, not just models — Data quality issues cause most production ML failures — monitor inputs as carefully as outputs
Automate testing — Run automated tests on data quality, model performance, and infrastructure health on every change
Start simple — Begin with simple baselines and iterate — complex models with poor infrastructure lose to simple models with good infrastructure
Document assumptions — Record what your model assumes about the data, domain, and deployment environment
Common Pitfalls
⚠️ Deploying models without monitoring — silent model degradation is the norm, not the exception
⚠️ Training/serving skew — ensure feature engineering is identical in training and production
⚠️ Not testing with production data distributions — models trained on curated datasets fail on messy real-world data
⚠️ Ignoring feedback loops — deployed models change the data they receive, creating drift you must account for
Output Format
Generates pipeline configurations, monitoring dashboards, automation scripts, and operational documentation. Ready for integration with existing ML infrastructure.