Free Snippet Packs

Start with a library,
not a blank page.

Download curated collections for the tools and workflows you use every day. Every pack imports directly into SnippetCraft.

8 free packs 712 snippets Ready to customize

Choose your packs

Each download is a native .snp file with descriptions, tags, and editable variables included.

$_
60 snippets

Bash Essentials

Everyday terminal commands for navigation, files, permissions, processes, archives, networking, and shell scripts.

filesnetworkprocessesmacOS
Includes
ls -lahmkdir -p {{directory_name:new-folder}}curl -I {{url:https://example.com}}
JS
107 snippets

JavaScript

Modern JavaScript patterns for functions, arrays, objects, DOM work, Fetch, promises, modules, Node.js, and tests.

arraysasyncDOMNode.js
Includes
const {{name:value}} = {{value:'example'}};async function {{function_name:load}}()document.querySelector('{{selector:#app}}')
KT
89 snippets

Kotlin

Kotlin and Android building blocks covering collections, coroutines, Flow, Compose, ViewModel, Gradle, and testing.

AndroidcoroutinesFlowCompose
Includes
data class {{class_name:User}}(...)viewModelScope.launch { ... }@Composable fun {{screen_name:MainScreen}}()
MD
83 snippets

Markdown

Reusable Markdown for headings, links, lists, tables, code blocks, README files, GitHub alerts, and documentation.

READMEGitHubtablesdocs
Includes
[{{label:Link text}}]({{url:https://example.com}})```{{language:swift}}[!NOTE]
PY
102 snippets

Python

Typed Python patterns for functions, async code, files, JSON, HTTP, dataclasses, SQLite, exceptions, and pytest.

typingasyncpytestHTTP
Includes
def {{function_name:greet}}(...) -> str:async def {{function_name:fetch}}():@dataclass(slots=True)
SQL
115 snippets

SQL

Queries and database patterns for SELECT, joins, aggregates, windows, DDL, indexes, transactions, and migrations.

PostgreSQLSQLiteMySQLjoins
Includes
SELECT * FROM {{table_name:users}};CREATE INDEX {{index_name:idx_name}}BEGIN; ... COMMIT;
SW
78 snippets

Swift

Native Apple development patterns for Swift types, Codable, async networking, SwiftUI, UIKit, collections, and XCTest.

SwiftUICodableasyncXCTest
Includes
struct {{type_name:User}} { ... }Task { try await {{expression:loadData()}} }@StateObject private var viewModel
Import in seconds

From download to ready-to-use

01

Download a pack

Choose any collection above and save the .snp file to your Mac.

02

Open SnippetCraft

Use the import option in SnippetCraft and select the downloaded pack.

03

Make it yours

Search, edit, retag, or remove any snippet after importing it.

Before running code: Review terminal commands, SQL statements, and programming snippets for your environment. Packs are editable starting points, not a substitute for understanding the code you run.