Create Block is the official command-line tool for building Gutenberg blocks. Running @wordpress/create-block in your terminal generates the PHP, JS, and SCSS files and code needed to register a new block type. Dig deeper into @wordpress/create-block in interactive mode here.
Resources