{"id":13460062,"url":"https://github.com/RichardLitt/awesome-styleguides","last_synced_at":"2025-03-24T18:32:54.249Z","repository":{"id":20054711,"uuid":"23323231","full_name":"RichardLitt/awesome-styleguides","owner":"RichardLitt","description":":clipboard: A list of styleguides","archived":false,"fork":false,"pushed_at":"2019-04-18T07:14:56.000Z","size":80,"stargazers_count":710,"open_issues_count":2,"forks_count":60,"subscribers_count":39,"default_branch":"master","last_synced_at":"2024-05-02T01:09:31.946Z","etag":null,"topics":["awesome","awesome-list","best-practices","coding-conventions","list","styleguide"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RichardLitt.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":"contributing.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-25T17:59:21.000Z","updated_at":"2024-05-01T22:16:57.000Z","dependencies_parsed_at":"2022-08-07T09:15:50.308Z","dependency_job_id":null,"html_url":"https://github.com/RichardLitt/awesome-styleguides","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RichardLitt%2Fawesome-styleguides","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RichardLitt%2Fawesome-styleguides/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RichardLitt%2Fawesome-styleguides/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RichardLitt%2Fawesome-styleguides/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RichardLitt","download_url":"https://codeload.github.com/RichardLitt/awesome-styleguides/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245144962,"owners_count":20568056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["awesome","awesome-list","best-practices","coding-conventions","list","styleguide"],"created_at":"2024-07-31T10:00:34.884Z","updated_at":"2025-03-24T18:32:54.198Z","avatar_url":"https://github.com/RichardLitt.png","language":"Shell","funding_links":[],"categories":["Miscellaneous","Uncategorized","Technical","Shell","To Sort","General","Other Lists","awesome-list","杂项"],"sub_categories":["Uncategorized","awesome-*","TeX Lists"],"readme":"awesome-styleguides [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)\n===================\n\n_:clipboard: A list of styleguides_\n\n# Contents\n\n- [Contributing](#contributing)\n- [How to build a styleguide](#how-to-build-a-styleguide)\n- [Other Styleguide Lists](#other-styleguide-lists)\n- [Styleguides](#styleguides)\n\t- [Generic](#generic)\n\t- [CSS](#css)\n\t\t- [Sass](#sass)\n\t- [C++](#c)\n\t- [Shell Script](#shell-script)\n\t- [Git](#git)\n\t- [HTML](#html)\n\t- [Java](#java)\n\t- [JavaScript](#javascript)\n\t\t- [AngularJS](#angularjs)\n\t\t- [CoffeeScript](#coffeescript)\n\t\t- [HTTP Design](#http-design)\n\t\t- [JSON](#json)\n\t\t- [jQuery](#jquery)\n\t\t- [Modules](#modules)\n\t\t- [npm](#npm)\n\t\t- [React](#react)\n\t\t- [Riot](#riot)\n\t\t- [Vue](#vue)\n\t- [Lisp](#lisp)\n\t- [Objective-C](#objective-c)\n\t- [PHP](#php)\n\t- [Python](#python)\n\t- [Ruby](#ruby)\n\t\t- [Ruby on Rails](#ruby-on-rails)\n\t- [Rust](#rust)\n\t- [Swift](#swift)\n- [Non-Code](#non-code)\n\t- [Historical](#historical)\n- [License](#license)\n\n\n# Contributing\n\nIf you have used any of these styleguides, please add a comment if you can! The more information, the better. Please look at  the [contributing](https://github.com/RichardLitt/awesome-styleguides/blob/master/contributing.md) file. Thanks!\n\n# How to build a styleguide\n* [A Maintainable Style Guide](http://ianfeather.co.uk/a-maintainable-style-guide/) - By Ian Feather of Lonely Planet, advocates Style Guide Driven Development, which is pretty snazzy.\n* [Huge's Styleguide Tool](https://github.com/hugeinc/styleguide) - A tool to make creating and maintaining style guides easy. Looks pretty decent, with a few uses cases and a significant following on GitHub.\n* [An In-Depth Overview Of Living Style Guide Tools](http://www.smashingmagazine.com/2015/04/an-in-depth-overview-of-living-style-guide-tools/) - A good overview of what is out there.\n\n\n# Other Styleguide Lists\n* [Brand Style Guides](https://saijogeorge.com/brand-style-guide-examples/) - A beautiful website that lists where to find other styleguides. Maintained by [@SaijoGeorge](https://twitter.com/SaijoGeorge).\n* [Narkoz](https://github.com/narkoz/guides)\n* [paulmillr](https://github.com/paulmillr/code-style-guides)\n* [SalGnt](https://github.com/SalGnt/cscs)\n* [Styleguides.io](https://github.com/maban/styleguides)\n* [UI Styleguides](http://kevinwuhoo.github.io/ui-styleguides)\n\n# Styleguides\n\n## Generic\n* [frontend-guidelines](https://github.com/bendc/frontend-guidelines)\n* [isobar](https://isobar-idev.github.io/code-standards/)\n\n## CSS\n* [CSS Best Practices](https://github.com/sezgi/CSS-Best-Practices)\n* [CSSWizardry](http://cssguidelin.es/) - This is the best there is. Made by one guy who consults for a lot of companies, this document pretty much sets the standards for how CSS should be used. Highly suggested.\n* [GitHub](http://primercss.io)\n* [Google](https://google.github.io/styleguide/htmlcssguide.xml)\n* [Idiomatic-CSS](https://github.com/necolas/idiomatic-css)\n* [rscss](https://github.com/rstacruz/rscss) - Reasonable Standard for CSS Stylesheet Structure.\n* [Smashing Magazine](http://www.smashingmagazine.com/2008/05/improving-code-readability-with-css-styleguides/)\n* [Trello](https://gist.github.com/bobbygrace/9e961e8982f42eb91b80)\n* [Wordpress.org](https://make.wordpress.org/core/handbook/best-practices/coding-standards/css/)\n\n### Sass\n* [CSS-Tricks](https://css-tricks.com/sass-style-guide/)\n* [Sass Guidelines](http://sass-guidelin.es/)\n\n## C++\n* [Google](https://google.github.io/styleguide/cppguide.html)\n\n## Shell Script\n* [Google](https://google.github.io/styleguide/shell.xml)\n\n## Git\n* [agis-](https://github.com/agis-/git-style-guide)\n* [Udacity](https://udacity.github.io/git-styleguide/) - Git Commit Message Style Guide from Udacity.\n\n## HTML\n* [Google](https://google.github.io/styleguide/htmlcssguide.xml)\n* [THX](https://github.com/thx/html-code-guide) - Added because this is the first Chinese styleguide I have seen that has any significant amount of stars.\n\n## Java\n* [Android](http://source.android.com/source/code-style.html)\n* [Google](https://google.github.io/styleguide/javaguide.html)\n* [Sun](http://javascript.crockford.com/javacodeconventions.pdf)\n\n## JavaScript\n* [Airbnb](https://github.com/airbnb/javascript)\n* [bevacqua's JS sg](https://github.com/bevacqua/js)\n* [feross/standard](https://github.com/feross/standard)\n* [Google](https://google.github.io/styleguide/jsguide.html)\n* [hapi](http://hapijs.com/styleguide)\n* [Joyent](https://www.joyent.com/developers/node/design)\n* [jscs](https://github.com/jscs-dev/node-jscs)\n* [Khan](https://github.com/Khan/style-guides/blob/master/style/javascript.md)\n* [Mozilla/pdf.js](https://github.com/mozilla/pdf.js/wiki/Style-Guide)\n* [rsjs](https://github.com/rstacruz/rsjs) - Reasonable Standard for JavaScript Structure.\n\n### AngularJS\n* [gocardless](https://github.com/gocardless/angularjs-style-guide)\n* [Google](https://google.github.io/styleguide/angularjs-google-style.html)\n* [johnpapa's opinionated sg for  AngularJS](https://github.com/johnpapa/angular-styleguide)\n* [mgechev's community best practices](https://github.com/mgechev/angularjs-style-guide)\n* [srph's AngularJS structure sg](https://github.com/srph/angularjs-structure-styleguide)\n* [Todd Motto's for AngularJS](https://github.com/toddmotto/angularjs-styleguide)\n  * [jmcunningham's fork](https://github.com/jmcunningham/angularjs-styleguide)\n\n### CoffeeScript\n* [Polarmobile](https://github.com/polarmobile/coffeescript-style-guide)\n\n### HTTP Design\n* [http-api-design](https://github.com/interagent/http-api-design)\n* [http-api-guide](https://github.com/bolasblack/http-api-guide) - Chinese.\n\n### JSON\n* [Google](https://google.github.io/styleguide/jsoncstyleguide.xml)\n\n### jQuery\n* [Pragmatic jQuery](https://github.com/yuanyan/pragmatic-jquery)\n\n### Modules\n* [mattdesl](https://github.com/mattdesl/module-best-practices)\n\n### npm\n* [npm Style Guide](https://github.com/voorhoede/npm-style-guide#readme) - An opinionated collection of best practices for teams by [@deVoorhoede](https://twitter.com/devoorhoede).\n\n### React\n* [John Cobb](https://web-design-weekly.com/2015/01/29/opinionated-guide-react-js-best-practices-conventions/)\n* [Khan](https://github.com/Khan/style-guides/blob/master/style/react.md)\n\n### Riot\n* [RiotJS Style Guide](https://github.com/voorhoede/riotjs-style-guide#readme) - Opinionated RiotJS Style Guide for teams by [@deVoorhoede](https://twitter.com/devoorhoede).\n\n### Vue\n* [Vue Style Guide](https://vuejs.org/v2/style-guide/) - The official style guide for Vue-specific code.\n\n## Lisp\n* [emacs-lips-style-guide](https://github.com/bbatsov/emacs-lisp-style-guide)\n\n## Objective-C\n* [Dropbox Objective-C Style Guide](https://dl.dropboxusercontent.com/s/5utnlwhr18ax05c/style-guide.html?dl=0)\n* [Futurice iOS Good Practices](https://github.com/futurice/ios-good-practices) - iOS starting guide and good practices suggestions by [@futurice](https://github.com/futurice).\n* [GitHub - Style guide \u0026 coding conventions for Swift projects](https://github.com/github/swift-style-guide) A guide to our Swift style and conventions by @github.\n* [GitHub Objective-C Style Guide](https://github.com/github/objective-c-style-guide) - Style guide \u0026 coding conventions for Objective-C projects.\n* [Khan](https://github.com/Khan/objective-c-style-guide)\n* [NY Times - Objective C Style Guide](https://github.com/NYTimes/objective-c-style-guide) - The Objective-C Style Guide used by The New York Times.\n* [Objective-C Coding Convention and Best Practices](https://gist.github.com/soffes/812796) - Gist with coding conventions.\n* [raywenderlich Style Guide](https://github.com/raywenderlich/objective-c-style-guide) - A style guide that outlines the coding conventions for raywenderlich.com.\n* [Spotify Objective-C Coding Style](https://github.com/spotify/ios-style) - Guidelines for iOS development in use at Spotify.\n* [Swift Style Guide by @raywenderlich](https://github.com/raywenderlich/swift-style-guide) - The official Swift style guide for raywenderlich.com.\n\n## PHP\n* [PSR-1: Basic Coding Standard](http://www.php-fig.org/psr/psr-1/)\n* [PSR-2: Coding Style Guide](http://www.php-fig.org/psr/psr-2/)\n\n## Python\n* [Google](https://google.github.io/styleguide/pyguide.html)\n* [PEP 8 Offical Style Guide for Python](https://pep8.org/)\n* [PEP 257 - Docstring Conventions](http://legacy.python.org/dev/peps/pep-0257/)\n* [The Hitchhiker's Guide to Python](http://docs.python-guide.org/en/latest/writing/style/)\n* [wemake-python-styleguide](https://github.com/wemake-services/wemake-python-styleguide) - The strictest and most opinionated Python styleguide and linter ever.\n\n## Ruby\n* [Airbnb](https://github.com/airbnb/ruby)\n* [bbatsov](https://github.com/bbatsov/ruby-style-guide)\n* [GitHub](https://github.com/styleguide/ruby) - Based on bbatsov style guide.\n\n### Ruby on Rails\n* [bbastov's Ruby on Rails 4 styleguide](https://github.com/bbatsov/rails-style-guide)\n\n## Rust\n* [aturon](https://aturon.github.io)\n\n## Swift\n* [Airbnb](https://github.com/airbnb/swift)\n* [GitHub](https://github.com/github/swift-style-guide)\n* [raywenderlich](https://github.com/raywenderlich/swift-style-guide)\n* [SlideShareInc](https://github.com/SlideShareInc/swift-style-guide)\n\n# Non-Code\n\n* [BBC News Style Guide](https://www.bbc.co.uk/academy/en/collections/news-style-guide) - The guide for all BBC News output covers spelling, punctuation and grammar, as well as accuracy, fairness and impartiality.\n* [Bishop Fox Cybersecurity Style Guide](https://www.bishopfox.com/blog/2018/02/hello-world-introducing-the-bishop-fox-cybersecurity-style-guide/) - From malicious viruses to viral memes, for security researchers.\n* [BuzzFeed Style Guide](https://www.buzzfeed.com/emmyf/buzzfeed-style-guide) - An evolving set of standards for the internet and social media.\n* [Guardian and Observer Style Guide](https://www.theguardian.com/info/series/guardian-and-observer-style-guide) - The guide to writing, editing and English usage followed by journalists.\n* [Wikipedia Manual of Style](https://en.wikipedia.org/wiki/Wikipedia%3aManual_of_Style) - The style manual for all Wikipedia articles.\n\n## Historical\n\n* [Xerox Publishing Standards](https://archive.org/details/xeroxpublishingstan00xero) - The definitive reference to writing style and design for the business world. Provided courtesy of Xerox Corporation.\n\n# License\n\n[![CC0](http://mirrors.creativecommons.org/presskit/buttons/88x31/svg/cc-zero.svg)](https://creativecommons.org/publicdomain/zero/1.0/)\n\nTo the extent possible under law, [Richard Littauer](http://burntfen.com) has waived all copyright and related or neighboring rights to this work.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRichardLitt%2Fawesome-styleguides","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRichardLitt%2Fawesome-styleguides","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRichardLitt%2Fawesome-styleguides/lists"}