# square/spacecommander

Commit fully-formatted Objective-C as a team without even trying.

Repository: https://github.com/square/spacecommander
Canonical: https://ross.abutalabs.com/products/spacecommander
Language: Objective-C
License: NOASSERTION
License Family: other
Last push: 2025-08-26T17:04:25+00:00

## Health v2 (maintenance only)
Score: 52/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 38, release rhythm 44, longevity 100
- inputs: {"age_days": 4111, "days_push": 372, "days_rel": 372, "gap_med": 0, "n_releases_24m": 2}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1122, forks 171 (observed 2026-08-28T04:03:40.133154+00:00)

## What it is
Space Commander is a set of shell scripts and clang-format rules that enforce a unified Objective-C code style across a team via git pre-commit hooks. It can format individual files or whole repositories and fail builds when unformatted code lands on a branch.

## Use cases
- enforce objective-c code style on commit
- auto-format objective-c files in a repo
- fail ci build if code is unformatted
- set up pre-commit formatting hooks for ios team
- standardize objective-c formatting across pull requests

## When to choose
- your team writes Objective-C and wants consistent formatting without manual effort
- you want formatting enforced at commit time and in CI

## When to avoid
- your project is written in Swift or another language
- you need formatting for languages other than Objective-C

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: formatter, linter, developer-tools, ci-cd
- domain: developer-tools, version-control, mobile-development
- platform: cli
- tags: objective-c, clang-format, pre-commit-hook, code-style, ios-development, macos, git

## Member repositories
- square/spacecommander (main) score 52

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:40.133154+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:40:57.871822+00:00, confidence not recorded.
  - readme: https://github.com/square/spacecommander (fetched 2026-08-28T04:03:40.133154+00:00, sha aa917e98dd1d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
