A specialized architectural advisor that selects the optimal data access pattern for your persistence layer based on domain complexity and schema isomorphism.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install bookforge-data-source-pattern-selector
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install bookforge-data-source-pattern-selector using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Data Source Pattern Selector is a technical guidance tool designed to help developers and architects navigate the critical decision of how objects interact with a database. By analyzing your domain logic and schema structure, this skill identifies the most sustainable pattern among the four canonical options: Table Data Gateway, Row Data Gateway, Active Record, and Data Mapper. Using Openclaw Skills like this ensures that your persistence strategy scales with your application logic rather than becoming a bottleneck.
This skill bridges the gap between high-level architectural theory and practical framework implementation. It evaluates whether your database schema is isomorphic with your domain objects and determines if your business logic weight justifies the complexity of a full Data Mapper. By leveraging Openclaw Skills, teams can avoid common pitfalls like business logic creeping into gateway classes or the over-engineering of simple CRUD applications.
To get started with this architectural tool, install the pattern library via your terminal:
clawhub install bookforge-patterns-of-enterprise-application-architecture
Once installed, provide your AI agent with your current domain-logic pattern and a description of your database schema to begin the selection process.
The skill organizes its analysis into a structured Pattern Decision Record with the following taxonomy:
| Data Point | Description |
|---|---|
| Context | Summarizes the domain-logic pattern, schema isomorphism, and logic weight. |
| Recommendation | The selected pattern (e.g., Active Record or Data Mapper). |
| Rationale | Technical justification connecting constraints to the pattern choice. |
| Framework Mapping | Idiomatic guidance for tools like Rails, Hibernate, or EF Core. |
| Migration Path | Step-by-step instructions for refactoring from simpler to more complex patterns. |
| Anti-Patterns | A checklist of common failure modes to avoid during implementation. |
Loading
An automated persistence-layer auditor that detects N+1 queries, ORM mismatches, and database anti-patterns based on enterprise architecture standards.

A specialized architectural advisor that routes enterprise subsystems to the optimal domain logic pattern based on Martin Fowler's PEAA principles.

A sophisticated AI agent that automates video editing tasks like trimming pauses and adding transitions through a cloud GPU rendering pipeline.

A professional AI-powered video editing suite for Android that automates trimming, transitions, and text overlays using cloud GPU rendering.

A professional-grade lead generation machine that finds, qualifies, and nurtures leads while tracking unit economics at every step.

A comprehensive digital foreman agent designed to automate 40-50% of construction site management through automated documentation, safety audits, and scheduling.








































