{"adoption": {"forks": 296, "observed_at": "2026-08-28T04:07:56.074924+00:00", "stars": 3314}, "canonical_url": "https://ross.abutalabs.com/products/guardclauses", "card": {"archived": false, "artifact_type": "library", "description": "A simple package with guard clause extensions.", "domain": ["developer-tools", "programming-languages"], "enriched": true, "function": ["error-handling", "developer-tools"], "health_score": 89, "homepage": null, "language": "C#", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["ardalis/GuardClauses"], "name": "ardalis/GuardClauses", "platform": ["dotnet", "cross-platform"], "pushed_at": "2026-08-24T12:23:41+00:00", "repo": "ardalis/GuardClauses", "stars": 3314, "tags": ["guard-clauses", "clean-code", "design-patterns", "fail-fast", "input-validation", "nuget"], "topics": ["guard", "guard-clause", "guard-clauses", "clean-code", "dotnet", "dotnet-core", "clean-architecture", "pattern", "patterns", "design-patterns", "hacktoberfest"], "urls": [], "use_cases": ["validate method arguments in c#", "fail fast on null or empty inputs", "add guard clauses to dotnet constructors", "validate argument ranges and formats", "throw notfound exceptions for id lookups", "write cleaner code without verbose if-throw blocks"], "what_it_is": "A small, extensible C# library providing guard clause extension methods for fail-fast argument validation. It offers checks like null, empty, out-of-range, and format validation, and can be extended with custom guards.", "when_to_avoid": ["you need full data annotation or fluent validation of complex object graphs", "you are not working in the .NET ecosystem"], "when_to_choose": ["you write .NET code and want concise, expressive argument validation", "you follow clean architecture or clean code practices and want a lightweight dependency", "you need extensible guard clauses with custom checks"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/guardclauses", "repo": "ardalis/GuardClauses", "role": "main", "score": 67}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.074924+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:42:05.791312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "da9e9f1146d84e059278564786fe10ace22618cc2c448c883901204a3e52859b", "fetched_at": "2026-08-28T04:07:56.074924+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ardalis/GuardClauses"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.074924+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:42:05.791312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "da9e9f1146d84e059278564786fe10ace22618cc2c448c883901204a3e52859b", "fetched_at": "2026-08-28T04:07:56.074924+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ardalis/GuardClauses"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:42:05.791312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "da9e9f1146d84e059278564786fe10ace22618cc2c448c883901204a3e52859b", "fetched_at": "2026-08-28T04:07:56.074924+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ardalis/GuardClauses"}], "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:07:56.074924+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.074924+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.074924+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:42:05.791312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "da9e9f1146d84e059278564786fe10ace22618cc2c448c883901204a3e52859b", "fetched_at": "2026-08-28T04:07:56.074924+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ardalis/GuardClauses"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.074924+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.074924+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:42:05.791312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "da9e9f1146d84e059278564786fe10ace22618cc2c448c883901204a3e52859b", "fetched_at": "2026-08-28T04:07:56.074924+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ardalis/GuardClauses"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.074924+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.074924+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.074924+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:42:05.791312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "da9e9f1146d84e059278564786fe10ace22618cc2c448c883901204a3e52859b", "fetched_at": "2026-08-28T04:07:56.074924+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ardalis/GuardClauses"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.074924+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.074924+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:42:05.791312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "da9e9f1146d84e059278564786fe10ace22618cc2c448c883901204a3e52859b", "fetched_at": "2026-08-28T04:07:56.074924+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ardalis/GuardClauses"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:42:05.791312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "da9e9f1146d84e059278564786fe10ace22618cc2c448c883901204a3e52859b", "fetched_at": "2026-08-28T04:07:56.074924+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ardalis/GuardClauses"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:42:05.791312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "da9e9f1146d84e059278564786fe10ace22618cc2c448c883901204a3e52859b", "fetched_at": "2026-08-28T04:07:56.074924+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ardalis/GuardClauses"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:42:05.791312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "da9e9f1146d84e059278564786fe10ace22618cc2c448c883901204a3e52859b", "fetched_at": "2026-08-28T04:07:56.074924+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ardalis/GuardClauses"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3277, "days_push": 9, "days_rel": 702, "gap_med": null, "n_releases_24m": 1}, "score": 67, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}