github/swift-style-guide resource
**Archived** Style guide & coding conventions for Swift projects observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4434
- days_rel: n/a
- days_push: 3220
- n_releases_24m: 0
Adoption not part of the score
4756 stars · 561 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A style guide and coding conventions document for Swift projects, originally maintained by GitHub. It covers conventions like whitespace, let-vs-var usage, early returns, and safe optional handling. The repository is archived and no longer maintained.
Use cases
- swift style guide recommendations
- swift coding conventions for teams
- best practices for swift optionals
- how to write cleaner swift code
- swift code review standards
- team swift formatting rules
When to choose
- you want a well-regarded baseline Swift style guide to adapt for your team
- you need rationale-backed conventions for optionals, guard statements, and let-vs-var usage
When to avoid
- you need an actively maintained style guide reflecting modern Swift versions
- you want automated linting rather than a written document
- you need community-updated conventions or a place to submit suggestions
Facets
learning-resource · maturity abandoned
documentation linter programming-languages developer-tools tutorials swift style-guide coding-conventions archived code-style ios macos
1 source
- readme: https://github.com/github/swift-style-guide · fetched 2026-08-28 · d8e15ae8c641
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| github/swift-style-guide | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="github/swift-style-guide")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem