{"id":19063231,"url":"https://github.com/delner/skeletron","last_synced_at":"2026-06-21T17:31:53.953Z","repository":{"id":56896014,"uuid":"121173071","full_name":"delner/skeletron","owner":"delner","description":"Library for building Ruby applications on Clean architecture.","archived":false,"fork":false,"pushed_at":"2018-04-28T17:05:37.000Z","size":192,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-06-07T00:06:12.375Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/delner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-11T22:19:35.000Z","updated_at":"2018-04-28T17:05:37.000Z","dependencies_parsed_at":"2022-08-20T17:10:24.762Z","dependency_job_id":null,"html_url":"https://github.com/delner/skeletron","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/delner/skeletron","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delner%2Fskeletron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delner%2Fskeletron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delner%2Fskeletron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delner%2Fskeletron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/delner","download_url":"https://codeload.github.com/delner/skeletron/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delner%2Fskeletron/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34620358,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-21T02:00:05.568Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T00:29:20.896Z","updated_at":"2026-06-21T17:31:53.933Z","avatar_url":"https://github.com/delner.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Skeletron\n\nSkeletron is library to aid the building of Ruby applications on Clean architecture.\n\n### What is Clean architecture?\n\n![Clean architecture](https://github.com/delner/skeletron/raw/master/architecture_diagram.png)\n\n**Robert Martin describes the architecture in his \"Architecture: The Lost Years\" lecture**:\n\n[![\"Architecture: The Lost Years\"](https://img.youtube.com/vi/WpkDN78P884/0.jpg)](https://www.youtube.com/watch?v=WpkDN78P884)\n\nhttps://www.youtube.com/watch?v=WpkDN78P884\n\n**This architecture aims to address some common problems in modern Ruby applications**:\n\n - Web-layer coupling with application-layer logic.\n - Application-layer coupling with  database implementation.\n - Complicated and expensive unit testing that results from this coupling.\n\n**And to this end, emphasizes a few key points**:\n\n - HTTP/Web/Rails is a delivery mechanism\n - Database is a detail; not any integral part of the intent of the applicaiton itself.\n - A good architecture allows major decisions to be deferred: e.g. choosing a database.\n - A good architecture maximizes the number of decisions *NOT* made.\n  - So you can decide those later and plug them in to fit business needs or respond to changes in business logic.\n\n#### Key components\n\n  - **Entities**\n    \n    Generic business objects \u0026 rules, agnostic to presentation or storage mechanisms (e.g. Order, Customer).\n\n  - **Interactors**\n\n    Application specific business rules; Manipulates the relevant data from the Request Model and interacts with the Entities.\n\n  - **Boundaries \u0026 Gateways**\n\n    Protocols or Interfaces for defining .\n\n  - **Models**\n\n    Dumb data structures representing input or output, without methods. e.g. Request Model, Response Model, View Model.\n\n  - **Controllers**\n\n    Convert the stuff submitted by the delivery mechanism into a delivery agnostic Request Model.\n\n  - **Presenters**\n\n    Turns the delivery agnostic Response Model into a prepared “viewified” data structure ready for easy manipulation by the view.\n\n### Mission statement\n\nSkeletron aims to:\n\n  - **Provide modules to aid implemention of Clean architecture**: They are optional and composable, so you can implement only what you want or need.\n  - **Favor simplicity over convention**: In order to promote extensibility and modularity, to give the author maximum freedom and control over their application.\n\nIt is **NOT**:\n\n  - **An application framework** e.g. like Rails. It does not provide an end-to-end application design solution. Your design decisions are yours to own.\n  - **\"Opinionated\"**: it's here to aid your architecture choices, not constrain.\n  - **A systems design solution**: focus is on application design, not systems.\n\n### Quickstart\n\n*TODO*\n\n#### Available features\n\n*TODO*\n\n### Contributing\n\n*TODO*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelner%2Fskeletron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdelner%2Fskeletron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelner%2Fskeletron/lists"}