How sharptoolbox/ontology-driven-dev works
This repository is an ontology-driven development skill: it guides an agent from confirmed business requirements, through seven-model YAML, to a runnable browser-based business system. Its included Python and Go techbases provide reusable runtime foundations, while code-app-example demonstrates a generated contract-management product. The README documents the methodology and example capabilities; sampled source confirms selected wiring, but does not expose the skill instructions or most feature implementations, so those links are documented rather than inferred from naming.
Main entry points: src Contract management UI · techbase Application construction · backend Python techbase · references Requirements exploration
Components 17
Development method
- Requirements exploration
references - Seven-model YAML
references - Application construction
techbase
Runtime foundation
- Python techbase
techbase/backend - Ontology registry
techbase/backend/ontology/registry.py - Python flow engine
techbase/backend/engine/flow_engine.py - Go techbase
go-techbase - SQLite database
techbase/backend/db.py
Contract application
- Contract management UI
code-app-example/frontend/src - Contract management
code-app-example/backend/services/contract_service.py - Invoice and receipt
code-app-example/backend/services/invoice_service.py - Business reports
code-app-example/backend/services/report_service.py - AI assistant
code-app-example/backend/ai
Workflow operations
- Approval workflows
code-app-example/backend/engine/flow_engine.py - Read-only SQL
code-app-example/backend/sql_readonly/query.py
Other components
- Business requester
- Contract-system user
Connections 17
- Business requester → Requirements exploration: describes needs
README.md - Requirements exploration → Seven-model YAML: confirms requirements
README.md - Seven-model YAML → Application construction: provides models
README.md - Application construction → Python techbase: copies foundation
README.md - Application construction → Go techbase: or selects
README.md - Application construction → Contract management UI: builds example
README.md - Contract-system user → Contract management UI: uses system
- Contract management UI → Contract management: supports contracts
README.md - Contract management UI → Invoice and receipt: supports billing
README.md - Contract management UI → Business reports: shows reports
README.md - Contract management UI → AI assistant: opens assistant
README.md - Contract management UI → Approval workflows: manages approvals
README.md - Python techbase → Ontology registry: loads models
techbase/backend/app.py - Python flow engine → SQLite database: queries and updates
techbase/backend/engine/flow_engine.py - Python techbase → Python flow engine: exposes workflow
techbase/backend/engine/flow_engine.py - Approval workflows → SQLite database: persists workflow
code-app-example/backend/engine/flow_engine.py - AI assistant → Read-only SQL: uses safe queries
README.md