Quick Start
This guide walks you through creating and updating a project using SKA.
Create a New Project
Use the create command with a blueprint URL to scaffold a new project:
ska create \ --blueprint https://github.com/gchiesa/ska-golang-cli-template@master \ --output ~/workspace/myNewAppWhat Happens
- SKA downloads the blueprint template
- If the template defines inputs, an interactive form appears
- SKA renders the template with your provided values
- A
.ska-config/folder is created to track state and upstream reference
Interactive Form
When a blueprint includes a .ska-upstream.yaml file, SKA displays a Terminal UI form to collect variables:
- Fill in each field as prompted
- Use the provided defaults when appropriate
- Validation ensures correct input format
To skip the interactive form (useful in CI/CD), use the --non-interactive flag with variables:
ska create \ --blueprint https://github.com/org/template@v1.0 \ --output ./my-project \ --non-interactive \ -v appName=myapp \ -v author="John Doe"Update Your Project
When the upstream template changes, update your project:
cd ~/workspace/myNewAppska update --path .SKA will:
- Fetch the latest template version
- Show the interactive form (pre-filled with current values)
- Apply changes while respecting partial management markers
Blueprint URL Formats
SKA supports multiple URL formats for blueprints:
| Format | Example |
|---|---|
| GitHub/GitLab HTTPS | https://github.com/org/repo@v1.0 |
| With subfolder | https://github.com/org/repo//templates/service@v1.0 |
| Local filesystem | file:///path/to/template |
Example Templates
Try these example templates to see SKA in action:
- Go CLI Template:
https://github.com/gchiesa/ska-golang-cli-template@master
Next Steps
Learn more about SKA’s core concepts:
- Upstream Blueprints - How templates are structured
- Template Language - Go Template syntax and Sprig functions
- Partial Sections - Managing specific file sections