{"adoption": {"forks": 114, "observed_at": "2026-08-28T04:03:34.991164+00:00", "stars": 1099}, "canonical_url": "https://ross.abutalabs.com/products/sql-style-guide", "card": {"archived": false, "artifact_type": "learning-resource", "description": "An opinionated guide for writing clean, maintainable SQL.", "domain": ["developer-tools", "databases", "data-science", "tutorials"], "enriched": true, "function": ["documentation"], "health_score": 21, "homepage": null, "language": null, "license": null, "license_family": "other", "maturity": "stable", "member_repos": ["mattm/sql-style-guide"], "name": "mattm/sql-style-guide", "platform": ["cross-platform"], "pushed_at": "2025-01-14T18:02:57+00:00", "repo": "mattm/sql-style-guide", "stars": 1099, "tags": ["sql", "style-guide", "code-formatting", "best-practices", "data-analytics"], "topics": [], "urls": [], "use_cases": ["adopt a sql formatting standard for my analytics team", "learn how to write clean readable sql queries", "find best practices for formatting ctes and joins", "set up a sql style guide for my company", "review sql code style conventions", "improve maintainability of sql in dbt or looker projects"], "what_it_is": "An opinionated style guide for writing clean, readable, and maintainable SQL, authored by a data analyst. It documents formatting conventions such as lowercase keywords, CTE usage, and column alignment with annotated examples.", "when_to_avoid": ["your team already follows a different established SQL style (e.g., dbt Labs or GitLab guides)", "you need an automated formatter or linter rather than a written guide", "you need dialect-specific SQL standards beyond general formatting"], "when_to_choose": ["you or your team lack a SQL style guide and want a well-explained starting point", "you want opinionated, example-driven formatting conventions you can adapt", "you are a data analyst or analytics engineer standardizing query style"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/sql-style-guide", "repo": "mattm/sql-style-guide", "role": "main", "score": 33}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.991164+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:46:04.242904+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d1e4fa57ae453d148b4ac1881b796f6b3e4e727525ea8a27dd75a5cc65e2c88", "fetched_at": "2026-08-28T04:03:34.991164+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mattm/sql-style-guide"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.991164+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:46:04.242904+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d1e4fa57ae453d148b4ac1881b796f6b3e4e727525ea8a27dd75a5cc65e2c88", "fetched_at": "2026-08-28T04:03:34.991164+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mattm/sql-style-guide"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:46:04.242904+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d1e4fa57ae453d148b4ac1881b796f6b3e4e727525ea8a27dd75a5cc65e2c88", "fetched_at": "2026-08-28T04:03:34.991164+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mattm/sql-style-guide"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.991164+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.991164+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.991164+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:46:04.242904+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d1e4fa57ae453d148b4ac1881b796f6b3e4e727525ea8a27dd75a5cc65e2c88", "fetched_at": "2026-08-28T04:03:34.991164+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mattm/sql-style-guide"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.991164+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.991164+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:46:04.242904+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d1e4fa57ae453d148b4ac1881b796f6b3e4e727525ea8a27dd75a5cc65e2c88", "fetched_at": "2026-08-28T04:03:34.991164+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mattm/sql-style-guide"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.991164+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.991164+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.991164+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:46:04.242904+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d1e4fa57ae453d148b4ac1881b796f6b3e4e727525ea8a27dd75a5cc65e2c88", "fetched_at": "2026-08-28T04:03:34.991164+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mattm/sql-style-guide"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.991164+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.991164+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:46:04.242904+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d1e4fa57ae453d148b4ac1881b796f6b3e4e727525ea8a27dd75a5cc65e2c88", "fetched_at": "2026-08-28T04:03:34.991164+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mattm/sql-style-guide"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:46:04.242904+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d1e4fa57ae453d148b4ac1881b796f6b3e4e727525ea8a27dd75a5cc65e2c88", "fetched_at": "2026-08-28T04:03:34.991164+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mattm/sql-style-guide"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:46:04.242904+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d1e4fa57ae453d148b4ac1881b796f6b3e4e727525ea8a27dd75a5cc65e2c88", "fetched_at": "2026-08-28T04:03:34.991164+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mattm/sql-style-guide"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:46:04.242904+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d1e4fa57ae453d148b4ac1881b796f6b3e4e727525ea8a27dd75a5cc65e2c88", "fetched_at": "2026-08-28T04:03:34.991164+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mattm/sql-style-guide"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 1, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases", "no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2716, "days_push": 596, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 33, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}