# zh-google-styleguide/zh-google-styleguide

Google 开源项目风格指南 (中文版)

Repository: https://github.com/zh-google-styleguide/zh-google-styleguide
Canonical: https://ross.abutalabs.com/products/zh-google-styleguide
Homepage: http://zh-google-styleguide.readthedocs.org/
Language: Makefile
License Family: other
Last push: 2025-03-15T04:29:23+00:00

## Health v2 (maintenance only)
Score: 28/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 11, release rhythm 8, longevity 100
- inputs: {"age_days": 5158, "days_push": 536, "days_rel": 633, "gap_med": null, "n_releases_24m": 1}
- 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 10981, forks 2797 (observed 2026-08-28T04:10:44.968796+00:00)

## What it is
A community-maintained Chinese translation of Google's open-source project style guides, covering C++, Python, JavaScript, TypeScript, Java, Objective-C, Shell, and HTML/CSS. It is built with Sphinx from reStructuredText sources and published online via ReadTheDocs.

## Use cases
- read Google style guide in Chinese
- learn C++ coding conventions from Google
- set code style standards for a team
- understand Python style rules used at Google
- reference for code review style guidelines
- download offline copies of style guides

## When to choose
- you prefer reading style guides in Chinese
- you need consistent coding conventions aligned with Google's practices
- you want offline HTML/PDF/CHM versions of the guides

## When to avoid
- you need the authoritative English originals or latest updates
- you need cpplint or Emacs config tooling, which live in the upstream Google repo
- you need a linter that enforces the rules automatically

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: documentation
- domain: documentation, programming-languages, developer-tools, tutorials
- platform: cli
- tags: style-guide, code-style, chinese-translation, sphinx, coding-standards, google, web-server

## Member repositories
- zh-google-styleguide/zh-google-styleguide (main) score 28

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:44.968796+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-29T17:17:15.269995+00:00, confidence not recorded.
  - readme: https://github.com/zh-google-styleguide/zh-google-styleguide (fetched 2026-08-28T04:10:44.968796+00:00, sha 4de80a8ca457)
  - homepage: http://zh-google-styleguide.readthedocs.org/ (fetched 2026-08-29T08:15:47.162752+00:00, sha e23c44ccc7be)
- Data as of 2026-08-30T08:39:29.467469+00:00.
