Contributing to the STACKIT Cloud Framework means writing content, not running an application. The whole docs app ships as a prebuilt dev container image. Your clone of the content repository is mounted into it. This guide takes you from having nothing installed to an open pull request.
What You Need Before You Start
Section titled “What You Need Before You Start”Three things. Only the first two touch your machine:
-
A STACKIT account. It is the identity you log in with. It onboards you automatically.
-
A container runtime, an editor and git. Docker Desktop or podman, plus Visual Studio Code with the Dev Containers extension, plus git to clone your fork. No room for it on your laptop? A small VM in your own STACKIT project does the job, see Work on a VM Instead of Your Laptop.
-
An access token from the Git instance, which you create in a later step and use as your password for both cloning and pulling the image.
You never need access to the application repository. Everything the site needs to build, Node, the docs app, the diagram toolchain and the test browser, is already inside the image.
Creating a STACKIT Account
Section titled “Creating a STACKIT Account”If you do not have a STACKIT login yet, create one first at accounts.stackit.cloud , then come back to the next step.
Use a personal work address for it, in the form firstname.lastname@company.com. The Git instance builds your username from the part before the @. You cannot change that username later.
If the login works but the Git instance rejects you afterwards, your account is probably not in the STACKIT organization that hosts the instance. Contact Framework Core and we will sort it out.
Sign In Once to Get Onboarded
Section titled “Sign In Once to Get Onboarded”Log in once with the STACKIT login, the same one you use on portal.stackit.cloud, at scf-content.git.onstackit.cloud . That single login does two things:
- It creates your STACKIT Git user. Your username is the part of your mail address before the
@, so with a personal address it readsfirstname.lastname. - It queues you for the contributors team. A pipeline adds every user who logs in with the STACKIT login to the team every 15 minutes, so onboarding is self-service and nobody has to invite you.
How Your Name Appears
Section titled “How Your Name Appears”Contributing here is public. The site credits people by name in two places: the history timeline on every asset and trail plus the Maintainers block on the pages you are listed for. That is the point of the credit. You decide which name it is.
Three separate sources feed it:
| Where | Comes from | You change it in |
|---|---|---|
| History timeline | the author of your commits, shown as who and when | git config user.name in your clone |
| Maintainers credit | the Full name of your STACKIT Git profile, mirrored daily once you have declared it | your Git profile |
| The profile panel that opens on hover | your biography, website, address and contribution record | your Git profile, once you have declared them |
Your commit messages never appear on the site. The timeline names the author and the date and nothing else, because a commit message is written for the repository rather than for a reader.
Nothing is shown until you release it yourself, your name included. You do that once, in a declaration: open an issue in the content repository with the Contributor declaration template and tick the details you want shown. A pipeline turns it into a proposed change of docs/settings/contributor-members.json, which Framework Core or your framework owner approves. That file is the only place the site reads it from. You cannot edit that file yourself. That is deliberate.
Until the first daily mirror your username shows. After that, without a declaration recorded there, the daily pipeline publishes nothing about you, so a maintainer credit reads “Name not public”. Your commits still carry your name inside the repository, as they do in any repository, but the website does not repeat it. A detail you did not release is not merely hidden: it is never fetched from your profile and never written down anywhere. Writing role: true next to your name in an asset does nothing either. Only the person a field describes can release it. A content file is not that person.
Two details are worth knowing before you tick the boxes. Your address only appears if you also made it public in your Git profile, because otherwise the API hands out a no-reply placeholder, which is not a contact. Your contribution record is matched through the address on your commits, so it counts the commits you author under your own account. To change any of it later, file a new declaration. To withdraw everything, pick the Withdraw your declaration template.
A pseudonym, a short form or just your initials are all fine in either place. Emptying the Full name works too: after the next mirroring run the maintainers credit shows “Name not public”, it never falls back to your username. If you would rather not have your private address in the commit history, set a no-reply identity in the same breath:
git config user.name "Your display name"git config user.email "your-username@noreply.scf-content.git.onstackit.cloud"Your address is never shown unless you ask for it: it appears only when a page lists it explicitly, or when you released it in your declaration and made it public in your Git profile.
Prepare Your Machine
Section titled “Prepare Your Machine”No Docker on your laptop? Then install nothing here. Create the token in the next sections, fork and clone, then go on with Work on a VM Instead of Your Laptop.
Install these three, in any order:
- Docker Desktop or podman. Either works. With podman, do the two settings in the next section.
- Visual Studio Code with the Dev Containers extension. The extension is what turns the prebuilt image into your working environment.
- Git. You clone your fork with it. macOS and Linux usually have it already. On Windows it comes with the Linux distribution in WSL2.
Nothing else gets installed. No Node, no pnpm, no build tools on your host.
Podman: Two Settings to Get Right
Section titled “Podman: Two Settings to Get Right”With Docker Desktop you skip this section.
Point VS Code at podman. Open the settings (Ctrl + ,, on the Mac ⌘ + ,), search for dev containers path, change Dev > Containers: Docker Path from docker to podman, then restart VS Code. Without it the extension looks for a docker binary that is not there and the container never starts.
Give the machine memory and disk. The build and the test suite run inside the podman machine and the default one is too small for them. Set it up with room from the start:
podman machine init --memory 8192 --cpus 4 --disk-size 60podman machine startIf your machine already exists, adjust it afterwards:
podman machine stoppodman machine set --memory 8192 --cpus 4podman machine startWindows: Clone Into WSL2
Section titled “Windows: Clone Into WSL2”On Windows, do all of this inside WSL2 and clone into the Linux file system, for example ~/projects/scf-content.
A clone under /mnt/c/... looks like it works: the container starts, the site builds, the page loads. But file change events do not cross the Windows to Linux boundary reliably, so hot reload never fires and your edits appear to have no effect until you restart the server.
Create an Access Token
Section titled “Create an Access Token”On the Git instance, open Settings, then Applications, then Generate new token. Grant exactly these permissions:
| Permission | Level | Needed for |
|---|---|---|
repository | Read and Write | cloning the content repo, pushing branches |
package | Read | pulling the prebuilt dev container image |
user | Read | scf-tea, which asks who you are first |
issue | Read and Write | opening an issue from the command line |
Above the permission list sits a dropdown called Repository and Organization Access. Leave it on All (public, private and limited). On “Public only” the token cannot see the private content repository at all. Cloning as well as the registry login fail with a 403 even though every permission above is set correctly.
Log In to the Registry
Section titled “Log In to the Registry”Log in with your Git username and the token as the password, then pull the image:
docker login scf-content.git.onstackit.clouddocker image pull scf-content.git.onstackit.cloud/scf-core/scf-system:latestpodman is a drop-in replacement here: podman login and podman image pull take exactly the same arguments.
Pulling the image up front is optional, VS Code pulls it for you on the first container start. Doing it manually just makes the first start faster and shows you early whether the login worked.
The image is multi-arch: the same pull gives Intel and Windows machines the amd64 variant and Apple Silicon Macs the native arm64 variant, automatically. When you pull a newer image later, follow it with Rebuild Container in VS Code, because a plain reopen keeps the cached old container running. Superseded image versions pile up as untagged leftovers, so run docker image prune (or podman image prune) on your machine now and then to clear them out.
Fork, Clone and Reopen in the Container
Section titled “Fork, Clone and Reopen in the Container”The content repository grants read access only, so your fork is the place you push to. Everybody works this way, Framework Core included. Open scf-core/scf-content and press Fork, then clone your copy with your Git username and the token as credentials:
git clone https://scf-content.git.onstackit.cloud/<your-username>/scf-content.gitcd scf-contentgit remote add upstream https://scf-content.git.onstackit.cloud/scf-core/scf-content.gitThe upstream remote is how you pull later changes from the shared repository into your fork.
One thing to know before you branch: your fork copies every branch this repository has on the day you fork it, half-finished ones included. Start new work from upstream/main and from nothing else, which is also why a fork that has fallen behind cannot get in your way. When you do want it up to date, your fork’s page shows a green banner with a button that does it in one click. On our instance that button still carries its untranslated label repo.sync_fork.button, so go by the green banner rather than by the wording. A branch you have kept for weeks wants main merged into it before you open the next pull request.
Open the folder in VS Code. It detects the dev container configuration and offers Reopen in Container, which is also available from the command palette. The first start pulls the image and takes a few minutes; every later start is quick.
Your clone is mounted into the prebuilt app as its content, which is why you can preview the complete site without ever touching the application repository.
Work on a VM Instead of Your Laptop
Section titled “Work on a VM Instead of Your Laptop”Your laptop has only 8 GB, or you may not install Docker Desktop or podman? Then let a small VM in your own STACKIT project run the dev container. VS Code on your laptop connects to it. Your site still opens at http://localhost:4321.
On your laptop you need:
- The STACKIT CLI: installed, logged in and with your project set. The STACKIT CLI user guide shows how.
- git: to clone the content repository once.
- VS Code: with the extensions Remote-SSH and Dev Containers.
- Your token and your fork: from Create an Access Token and the first part of Fork, Clone and Reopen in the Container. Clone your fork, but do not reopen it in a container on the laptop. Skip the registry login.
-
Create the VM. In your clone on the laptop run
.devcontainer/vm/scf-vm-create. It first asks which addresses may connect by SSH. At home, take the address it suggests. In a company network, ask your IT for the range. Then it shows what it creates and what that costs. It asks once more before it starts. The VM is ready after about two minutes. -
Set it up. The script offers to run
scf-vm-setupon the VM. It asks for your username and your token, checks both, clones your fork and downloads the dev container. This takes about three minutes, most of it the download. It also asks whether to protect your tokens with a passphrase. Say yes, see below. -
Connect. In VS Code run Remote-SSH: Connect to Host and choose
cloud-framework-vm. If VS Code asks for the platform, choose Linux. Open the folder/home/ubuntu/scf-contentand confirm that you trust it. -
Open the container. With protected tokens, first run
scf-vm-unlockin a terminal on the VM. Then choose Reopen in Container. Then runhikein the terminal. The first start of the container takes longer. After thathikeis ready in about 20 seconds.
What it costs, at STACKIT list prices for region eu01 without VAT (October 2026):
| How you use it | Cost |
|---|---|
| Per hour while it runs | about 0.24 € |
| 8 hours on 20 days, deallocated in between | about 73 € |
| 4 hours a week | about 39 € |
| Deallocated all month | about 35 € |
| Never switched off | about 208 € |
The deallocated row is the fast disk and the public address. Both keep running, the VM does not.
Protect Your Tokens
Section titled “Protect Your Tokens”Anyone with rights on your STACKIT project can copy the disk of your VM. A token in a plain file travels with that copy. Protected, your STACKIT Git token and your STACKIT AI token are encrypted on the disk. Readable copies only exist in memory while you are logged in.
- Turn it on: answer
ywhenscf-vm-setupasks. Pick a passphrase and keep it in your password manager. You can runscf-vm-setupagain later to turn it on. Then rebuild the container once. - After every login on the VM: run
scf-vm-unlock. It asks for the passphrase and pulls a newer dev container image if there is one. - Your AI token: enter it in the container with
ai --setup. Then runscf-vm-saveon the VM, so it is stored encrypted. - Done for the day: logging out or
--stoplocks the tokens again.scf-vm-lockdoes it right away. - Lost the passphrase or replaced a token: create a new token. Then run
scf-vm-setup --new-tokenand enter your AI token again withai --setup.
The script, the VM template and a short README live in the content repository under .devcontainer/vm . Nothing is loaded from the web and run.
Where Your Logins Are Stored
Section titled “Where Your Logins Are Stored”You enter the token twice because two different tools remember it in two different places. Knowing where saves you a confusing afternoon later:
- Git asks once per Git host and then stores the login in your operating system’s credential store: the Keychain on macOS, the Credential Manager on Windows. Every later
git fetchandgit pushagainst that host replays it silently. - Docker and podman keep their own store (for example
~/.config/containers/auth.json). The two do not share anything, which is why the registry login is its own step.
There is no git logout. When you rotate a token, or signed in with the wrong account, git keeps replaying the stored login and never asks again. The fix is to clear the stored entry so the next fetch or push prompts fresh (in the VS Code terminal that prompt appears as an input box at the top of the window, not in the terminal):
printf "protocol=https\nhost=scf-content.git.onstackit.cloud\n\n" | git credential rejectOn Windows you can alternatively open the Credential Manager and remove the git:https://scf-content.git.onstackit.cloud entry there. To see which account macOS currently has stored for the host:
security find-internet-password -s scf-content.git.onstackit.cloud | grep acctYour commit identity is a separate thing entirely: git config user.name and user.email decide how your commits are labelled, the stored login only decides who you authenticate as when pushing.
Run hike and Open the Site
Section titled “Run hike and Open the Site”In the container terminal, run:
hikeThe same thing is available as the VS Code task 🥾 Hike, Start Dev Docs. The site is forwarded to http://localhost:4321 with hot reload, so every save shows up in the browser within a second.
Type help to see the full tool belt:
| Command | What it does |
|---|---|
hike | dev server with hot reload on http://localhost:4321 |
summit | full production build |
panorama | serve the built site |
patrol | build plus the complete UI test suite, the same gate as your PR |
scout | how to update the dev container image |
Five Traps Worth Knowing
Section titled “Five Traps Worth Knowing”Almost every failed setup comes down to one of these:
- The access token is shown exactly once. Save it before you close the dialog.
- The registry login belongs on your own machine. Inside the container there is no container runtime to log in with.
- On Windows, a clone under
/mnt/csilently breaks hot reload. Work inside WSL2 and clone into the Linux file system. - A token created with “Public only” access fails with 403, even though every permission looks right. Set the access dropdown to All when generating it.
- After rotating a token, git still replays the old one from your credential store and never prompts again. Clear the stored entry as shown in “Where Your Logins Are Stored”.
Author With the Studios
Section titled “Author With the Studios”Branch off upstream/main rather than off your own main, then write:
git fetch upstreamgit switch -c content/short-description upstream/mainYour fork’s main falls behind the moment somebody else contributes. A branch started on top of it drags that gap into your pull request. Fetching first costs a second and takes the question away entirely. When you do want the fork itself tidy, CONTRIBUTING has the commands for that.
For new pages, use the studios instead of copying frontmatter by hand:
- SCF Studio, at
http://localhost:4321/studio, writes a contributor profile, an asset, a trail or a framework page. It also loads an existing file and changes only what you edit, so everything you leave alone stays exactly as it was. - Diagram Studio, at
http://localhost:4321/diagrambuilder, draws a diagram in the SCF design and saves it next to your page.
Both run on your local dev server. The SCF Studio runs on the dev site as well. It writes frontmatter that already satisfies the pipeline’s rules: a real description in the rewarded 120 to 160 character window, a category from the allowed list and at most 10 tags.
The quickest way in needs no setup at all. Open the SCF Studio on the dev site and sign in with your STACKIT Git account. The studio creates the branch and opens the pull request for you. There is nothing to install. The dev site has its own login, which you ask for once by writing to framework@stackit.cloud. The studio lives at https://dev.framework.stackit.cloud/studio/.
For the authoring rules behind the generated files, see the asset integration guide and the trail setup guide.
Let Cline Help, on STACKIT AI
Section titled “Let Cline Help, on STACKIT AI”In the VS Code terminal of the container run:
ai --setupIt first explains what the assistant does: it drafts an asset or a trail from a few sentences of yours, knows the authoring rules and explains a red patrol. Nothing is written without your click. Then it shows how to get a token for STACKIT AI Model Serving from your own STACKIT project. The STACKIT guide to the shared models has the steps. Last, it checks the token, stores it next to your Git token and sets up Cline in VS Code with a STACKIT model. You do not click through any settings. Open Cline with its icon in the left bar.
Ask it in plain words, the way you would ask a colleague. A few things it does well here:
- A first draft: “Draft an asset about backing up PostgreSQL Flex from these notes.” It writes the frontmatter and the sections. You fill in what only you know.
- A red check: “patrol says the description is too short. Make it fit the 120 to 160 characters.” It reads the message and changes only that line.
- The rules: “Check my page against the authoring rules.” It reads
llms.txtandAGENTS.mdin your clone and lists what does not fit. - No duplicate: “Is there already an asset about Kubernetes backups?” It searches the content in your clone, so you can extend an existing page instead.
- A trail: “Build a trail with four steps from these existing assets.” It writes the steps with the right
assetIdand anchors. - A link: “Turn this reference into a LinkCard.” It knows which components the content may use.
Read every change before you accept it. Cline shows each one and writes nothing without your click.
You can say no and run ai --setup again later. Usage is billed to your STACKIT project. Cline runs on Qwen3.8: we benchmarked the shared models for this kind of work. It came out best.
Run patrol Before the Pull Request
Section titled “Run patrol Before the Pull Request”patrolpatrol reproduces what the pipeline runs: the production build, the UI test suite and a walkthrough of every asset, trail and profile your branch touched. It takes two to three minutes and saves you a review round, because a green patrol almost always means a green pull request.
Open Your Pull Request
Section titled “Open Your Pull Request”Push your branch to your fork. Then create the pull request with scf-tea in the container terminal. Do not use the web interface: scf-tea fills in the current template and asks for the required confirmations. Before your first pull request, run scf-tea-login once and give it your access token.
scf-tea pr create \ --base main \ --head <your-username>:content/short-description \ --title "Add network guidance" \ --description "Adds network guidance for the migration framework." \ --auto-mergescf-tea asks you to confirm three points:
- Rights: you hold the rights to what you contribute.
- Personal data: it carries nobody’s personal data and nothing confidential.
- Links: every link points at an official source.
A separate check reads them from the description and stays red until all three are ticked. So keep the prefilled text in place. scf-tea pr create --help lists every option, --preview and --confirm-all among them.
The pipeline then checks your pull request. Most checks look only at the files it touches:
- Guard: a pull request from a fork changes only
docs/and the guides in the repository root. - Frontmatter: a real description, a valid
category, at most 10 tags of at most 20 characters, a maintainer. A missing description, one under 90 characters or a placeholder stops the pull request. 120 to 160 characters earn a ranking bonus. - Reference links: a link on its own line is a
<LinkCard>or<LinkChip>. Its target on the site exists. See the asset integration guide. - Internal links: no broken links, anchors or relative links. No mix of English and German pages.
- External links: links into
docs.stackit.cloudstill work. Other dead links are only reported. This check runs across the whole repository. - Wording: no obscene or derogatory words.
- File size: no file above 1 MB.
- Secrets: no tokens or passwords in your files.
- Markup safety: no scripts, iframes, inline CSS or remote resources in a page.
- Trail integrity: every trail step points to a page or asset that exists, including its
#anchor. - Images: images sit in the right folder.
Did a check stop your pull request? You do not need to read the job log. The pipeline writes a comment that names the check, the file and what to change. After the checks it builds the full site, runs the UI tests and posts a report on your pull request.
A temporary preview site is optional. Pass --preview or tick the preview box. Your pages go up within fifteen minutes of the checks turning green. The preview follows every push and disappears when the pull request closes. It has its own username and password: mention @scf-core/Framework-Owner in your pull request and you get them in private. Never post a password in a comment, an issue or a file. Nothing depends on the preview, because patrol shows you the same result locally.
Automatic merge is the normal way. With --auto-merge or the ticked box, your pull request merges by itself as soon as Framework Core or a framework owner approves and every check is green. A job looks every ten minutes. This works for pull requests that change only files under docs/. Without the box nothing is blocked: Framework Core merges for you, which can take longer. The review decides on formal grounds only. Either way your content goes live with the next site deployment, which runs every two hours.
Where to Go Next
Section titled “Where to Go Next”Asset historyActive 7 of the last 12 weeksTMUpdatedNo updates · 1 bar = 1 week i
- TMTobias M.Head of STACKIT Cloud Framework · STACKITOwner
Tobias M.Head of STACKIT Cloud Framework · STACKITOwnerActive 11 of the last 12 weeks · 196 updateswww.linkedin.com/in/tobias-müller-011304172