Coding starter
@codify/coding-starter·Codify official·v1.0.0·Updated 12 h ago
Set up a new computer for coding: Git, GitHub with SSH, an editor and an AI assistant, plus any languages you pick.
3 appliesmacOS · Linux
Apply with CodifyCustomize a copyInstalls Codify first if you don’t have it.
Opens the template in the Codify dashboard. Applying doesn't create a setup; customizing makes a private copy you can edit.
Or from your terminal
curl -fsSL https://releases.codifycli.com/ensure.sh | bash && codify apply @codify/coding-starterThis template runs 6 scripts on your machine. The Codify CLI shows you the exact command and asks before anything runs. Read the scripts
Configuration
The exact file codify apply uses. Copy it into your own codify.jsonc, or download it.
codify.jsonc505 lines · 11.6 KB
[ { "type": "variable", "name": "gitName", "label": "Your name, as it should appear on your commits", "description": "Ex: Ada Lovelace" }, { "type": "variable", "name": "gitEmail", "label": "The email of your GitHub account", "description": "Commits made with this email are linked to your GitHub profile." }, { "type": "variable", "name": "languages", "valueType": "multiEnum", "label": "Which languages do you want to set up?", "description": "Pick any, or none to skip this. Each one gets its recommended version manager and editor support. You can add more later.", "options": [ "JavaScript", "Python", "Ruby", "Go", "Rust", "Java" ], "default": [] }, { "type": "variable", "name": "editor", "valueType": "enum", "label": "Which editor do you want?", "description": "VS Code is free and works for every language. JetBrains installs the IDE made for each language you picked (IntelliJ IDEA if you picked none). IntelliJ IDEA and PyCharm have free versions, WebStorm, RustRover and RubyMine are free for non-commercial use, GoLand is paid after a trial.", "options": [ "VS Code", "JetBrains" ], "default": "VS Code" }, { "type": "variable", "name": "aiAssistant", "valueType": "enum", "label": "Which AI coding assistant do you want?", "description": "Both run in your terminal and need an account the first time you start them.", "options": [ "Claude Code", "Codex", "None" ], "default": "Claude Code" }, { "type": "variable", "name": "cloneRepo", "valueType": "boolean", "label": "Clone a GitHub repository?", "default": false }, { "type": "variable", "name": "repoUrl", "label": "URL of the repository", "description": "Ex: git@github.com:you/my-project.git or https://github.com/you/my-project.git", "when": { "cloneRepo": true } }, { "type": "variable", "name": "projectsDirectory", "label": "Folder to clone it into", "default": "~/projects", "when": { "cloneRepo": true } }, { "type": "homebrew", "formulae": [ "git", "jq", "ripgrep", "tree" ], "os": [ "macOS" ] }, { "type": "apt", "install": [ "git", "curl", "build-essential", "jq", "ripgrep", "tree" ], "os": [ "linux" ], "distro": [ "debian-based" ] }, { "type": "git", "username": "${{ gitName }}", "email": "${{ gitEmail }}", "dependsOn": [ "homebrew", "apt" ] }, { "type": "github-cli", "gitProtocol": "ssh", "dependsOn": [ "homebrew", "apt" ] }, { "type": "github-cli-auth", "scopes": [ "admin:public_key" ], "dependsOn": [ "github-cli" ] }, { "type": "ssh-key", "keyType": "ed25519", "passphrase": "", "comment": "${{ gitEmail }}" }, { "type": "ssh-config", "hosts": [ { "Host": "github.com", "AddKeysToAgent": true, "UseKeychain": true, "IdentityFile": "~/.ssh/id_ed25519", "IgnoreUnknown": "UseKeychain" } ], "dependsOn": [ "ssh-key" ] }, { "type": "ssh-add", "name": "macos", "path": "~/.ssh/id_ed25519", "appleUseKeychain": true, "os": [ "macOS" ], "dependsOn": [ "ssh-config" ] }, { "type": "ssh-add", "name": "linux", "path": "~/.ssh/id_ed25519", "os": [ "linux" ], "dependsOn": [ "ssh-config" ] }, { "type": "github-cli-ssh-key", "title": "Codify coding starter", "keyFile": "~/.ssh/id_ed25519.pub", "dependsOn": [ "github-cli-auth", "ssh-key" ] }, { "type": "nvm", "nodeVersions": [ "lts" ], "global": "lts", "when": { "languages": "JavaScript" }, "dependsOn": [ "homebrew", "apt" ] }, { "type": "pnpm", "when": { "languages": "JavaScript" }, "dependsOn": [ "nvm" ] }, { "type": "uv", "pythonVersions": [ "3.14" ], "global": "3.14", "when": { "languages": "Python" }, "dependsOn": [ "homebrew", "apt" ] }, { "type": "rbenv", "rubyVersions": [ "latest" ], "global": "latest", "when": { "languages": "Ruby" }, "dependsOn": [ "homebrew", "apt" ] }, { "type": "goenv", "goVersions": [ "latest" ], "global": "latest", "when": { "languages": "Go" }, "dependsOn": [ "homebrew", "apt" ] }, { "type": "rust", "when": { "languages": "Rust" }, "dependsOn": [ "homebrew", "apt" ] }, { "type": "jenv", "add": [ "21" ], "global": "21", "when": { "languages": "Java" }, "dependsOn": [ "homebrew", "apt" ] }, { "type": "vscode", "extensions": [ "eamodio.gitlens", "editorconfig.editorconfig", "streetsidesoftware.code-spell-checker" ], "settings": { "editor.formatOnSave": true, "files.autoSave": "afterDelay", "files.trimTrailingWhitespace": true, "files.insertFinalNewline": true }, "when": { "editor": "VS Code" } }, { "type": "action",Runs a script · asks first "name": "vscode-javascript", "condition": "CODE=$(command -v code || echo '/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code'); \"$CODE\" --list-extensions | grep -qix 'dbaeumer.vscode-eslint' && \"$CODE\" --list-extensions | grep -qix 'esbenp.prettier-vscode'", "action": "CODE=$(command -v code || echo '/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code'); \"$CODE\" --install-extension dbaeumer.vscode-eslint && \"$CODE\" --install-extension esbenp.prettier-vscode", "when": { "editor": "VS Code", "languages": "JavaScript" }, "dependsOn": [ "vscode" ] }, { "type": "action",Runs a script · asks first "name": "vscode-python", "condition": "CODE=$(command -v code || echo '/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code'); \"$CODE\" --list-extensions | grep -qix 'ms-python.python' && \"$CODE\" --list-extensions | grep -qix 'charliermarsh.ruff'", "action": "CODE=$(command -v code || echo '/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code'); \"$CODE\" --install-extension ms-python.python && \"$CODE\" --install-extension charliermarsh.ruff", "when": { "editor": "VS Code", "languages": "Python" }, "dependsOn": [ "vscode" ] }, { "type": "action",Runs a script · asks first "name": "vscode-ruby", "condition": "CODE=$(command -v code || echo '/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code'); \"$CODE\" --list-extensions | grep -qix 'shopify.ruby-lsp'", "action": "CODE=$(command -v code || echo '/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code'); \"$CODE\" --install-extension shopify.ruby-lsp", "when": { "editor": "VS Code", "languages": "Ruby" }, "dependsOn": [ "vscode" ] }, { "type": "action",Runs a script · asks first "name": "vscode-go", "condition": "CODE=$(command -v code || echo '/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code'); \"$CODE\" --list-extensions | grep -qix 'golang.go'", "action": "CODE=$(command -v code || echo '/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code'); \"$CODE\" --install-extension golang.go", "when": { "editor": "VS Code", "languages": "Go" }, "dependsOn": [ "vscode" ] }, { "type": "action",Runs a script · asks first "name": "vscode-rust", "condition": "CODE=$(command -v code || echo '/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code'); \"$CODE\" --list-extensions | grep -qix 'rust-lang.rust-analyzer'", "action": "CODE=$(command -v code || echo '/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code'); \"$CODE\" --install-extension rust-lang.rust-analyzer", "when": { "editor": "VS Code", "languages": "Rust" }, "dependsOn": [ "vscode" ] }, { "type": "action",Runs a script · asks first "name": "vscode-java", "condition": "CODE=$(command -v code || echo '/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code'); \"$CODE\" --list-extensions | grep -qix 'vscjava.vscode-java-pack'", "action": "CODE=$(command -v code || echo '/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code'); \"$CODE\" --install-extension vscjava.vscode-java-pack", "when": { "editor": "VS Code", "languages": "Java" }, "dependsOn": [ "vscode" ] }, { "type": "webstorm", "when": { "editor": "JetBrains", "languages": "JavaScript" } }, { "type": "pycharm", "when": { "editor": "JetBrains", "languages": "Python" } }, { "type": "rubymine", "when": { "editor": "JetBrains", "languages": "Ruby" } }, { "type": "goland", "when": { "editor": "JetBrains", "languages": "Go" } }, { "type": "rustrover", "when": { "editor": "JetBrains", "languages": "Rust" } }, { "type": "intellij-idea", "when": { "editor": "JetBrains", "any": [ { "languages": "Java" }, { "languages": { "not": [ "JavaScript", "Python", "Ruby", "Go", "Rust", "Java" ] } } ] } }, { "type": "claude-code", "when": { "aiAssistant": "Claude Code" } }, { "type": "codex", "when": { "aiAssistant": "Codex" } }, { "type": "codex-app", "os": [ "macOS" ], "when": { "aiAssistant": "Codex" }, "dependsOn": [ "codex" ] }, { "type": "git-repository", "name": "project", "repository": "${{ repoUrl }}", "parentDirectory": "${{ projectsDirectory }}", "when": { "cloneRepo": true }, "dependsOn": [ "git", "ssh-config", "github-cli-ssh-key" ] }, { "type": "notice", "name": "ready", "level": "success", "title": "Your computer is ready for coding", "message": "Git, the GitHub CLI and your SSH key are set up, and the key is on your GitHub account.\n\nOpen a new terminal first so the new tools are found, then check that GitHub accepts your key:\n `ssh -T git@github.com`\n\nTo start a project: `mkdir -p ~/projects/hello && cd ~/projects/hello && git init`, then `gh repo create` to put it on GitHub." }, { "type": "notice", "name": "claude-code", "level": "info", "title": "Start Claude Code", "message": "Run `claude` inside a project folder and sign in with your Claude account the first time. Ask it to explain the code, fix a bug or build something new.", "when": { "aiAssistant": "Claude Code" } }, { "type": "notice", "name": "codex", "level": "info", "title": "Start Codex", "message": "Run `codex` inside a project folder and sign in with your ChatGPT account the first time. Ask it to explain the code, fix a bug or build something new.", "when": { "aiAssistant": "Codex" } }, { "type": "notice", "name": "project", "level": "info", "title": "Your repository is cloned", "message": "`${{ repoUrl }}` is in `${{ projectsDirectory }}`. Open the folder in your editor to get started.", "when": { "cloneRepo": true } }]