bootstrap
/bootstrap
Ustawia nowe repozytorium: conventional commits, krótkie gałęzie, semver, ścisły editorconfig i reguły łańcucha dostaw.
- Autor
- daniel-kindl ↗
- Repozytorium
- dkstack ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 11.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 9
Brak sygnałów. Repozytorium zmienione 11.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Ustawia nowe repozytorium: conventional commits, krótkie gałęzie, semver, ścisły editorconfig i reguły łańcucha dostaw.
Oryginalny opis (EN)
Use when you create a new repository or a repository has no commit, branch or version rules yet. Sets up conventional commits, short-lived branches, semver, strict editorconfig, warnings as errors, deterministic checks and supply chain rules.
Jak działa
- Steps
- Rules
Podgląd SKILL.md
---
name: bootstrap
description: "Use when you create a new repository or a repository has no commit, branch or version rules yet. Sets up conventional commits, short-lived branches, semver, strict editorconfig, warnings as errors, deterministic checks and supply chain rules."
---
# Bootstrap
Use when you set up a new repository or bring an existing one up to standard.
Apply the rules from version-control, versioning, and coding sections. Steps 7 to 11 apply the supply chain rules in [coding/dependencies.md](https://raw.githubusercontent.com/daniel-kindl/dkstack/v1/coding/dependencies.md).
## Steps
1. Add or update `.editorconfig` with strict settings:
- `root = true`
- `charset = utf-8`
- `end_of_line = lf`
- `indent_style = space`
- `trim_trailing_whitespace = true`
- `insert_final_newline = true`
- Language-specific indent sizes as needed
- `trim_trailing_whitespace = false` for Markdown
- Follow [brace style](https://raw.githubusercontent.com/daniel-kindl/dkstack/v1/coding/brace-style.md).
For C# tools that read Roslyn settings, add `[*.cs]` with
`csharp_new_line_before_open_brace = all`. For C and C++ with clang-format, merge
`BreakBeforeBraces: Allman` into `.clang-format`. Check the result with the selected
formatter and enforce it in CI. Keep Go on `gofmt` and use the documented exceptions.
EditorConfig has no standard brace-placement property. If the tool has no supported
setting, record the preference as documentation only. Keep existing quality gates.
2. Configure the build so warnings are errors and the build produces zero warnings and zero hints.
- Set the compiler or build option that treats warnings as errors.
- If the language has no such option, add a CI check that fails on any warning.
3. Set up CI that:
- Runs on every push to the default branch and on every pull request
- Installs dependencies
- Runs the full check (build, test, lint)
- Fails if any warning or error appears
4. Document conventional commits and short-lived feature branches in the repo README or AGENTS.md.
- Point to https://raw.githubusercontent.com/daniel-kindl/dkstack/v1/version-control/index.md
5. Set up semantic versioning.
- Put the version in the project manifest.
- Add `CHANGELOG.md`.
- Point to https://raw.githubusercontent.com/daniel-kindl/dkstack/v1/versioning/index.md
6. Ensure deterministic checks:
- Pin dependency versions where practical.
- Make test and build output stable.
- Fail the build on any non-zero warning count.
- Follow [coding/naming.md](https://raw.githubusercontent.com/daniel-kindl/dkstack/v1/coding/naming.md).
Configure naming rules that native tools can check reliably, such as supported Roslyn,
ESLint or Ruff rules. Run those checks in CI as errors. An `.editorconfig` file alone does
not enforce naming in every language. Leave unsupported or semantic rules to review.
7. Pin each third-party CI action or reusable CI step to a full commit SHA.
- Put the version in a comment on the same line.
- Get the SHA from the release tag on the code host. Do not use the tag itself, because a tag can move to other code.
- Do not refer to an action by a branch name or a version tag.
8. Give each CI job the least privilege that it needs.
- Set the default token permission to read-only for the repository contents.
- Do not give all permissions. Give a write permission only to the one job that needs it.
- Do not keep credentials in the checked-out code when a later step does not need them.
9. Commit the lockfile of the package manager.
- Install the dependencies once with the package manager. Then commit the lockfile that it writes.
- In CI, install from the lockfile only. Use the package manager mode that fails when the lockfile does not agree with the dependency list.
10. Run a vulnerability audit of the dependencies in CI on every pull request.
- Use the audit command of the package manager, or a dependency audit tool for the ecosystem.
- Make the job fail on high or critical findings.
11. Turn on automated dependency update proposals and vulnerability alerts.
- Cover the dependencies of the package manager.
- Cover the pinned CI actions from step 7, because pinned versions do not update themselves.
- Check for updates at least weekly.
## Rules
- Do not weaken existing quality gates.
- Prefer the smallest change that brings the repo into compliance.
- After bootstrap, the repository must produce a clean build with zero warnings.
See also:
- [version-control/index.md](https://raw.githubusercontent.com/daniel-kindl/dkstack/v1/version-control/index.md)
- [versioning/index.md](https://raw.githubusercontent.com/daniel-kindl/dkstack/v1/versioning/index.md)
- [coding/quality-gates.md](https://raw.githubusercontent.com/daniel-kindl/dkstack/v1/coding/quality-gates.md)
- [coding/dependencies.md](https://raw.githubusercontent.com/daniel-kindl/dkstack/v1/coding/dependencies.md)
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · daniel-kindl/dkstack | 90 | MIT |
| renzrollon/interlock | 100 | MIT |
| vercel-labs/vercel-plugin | 100 | Apache-2.0 |
| bytedance/deer-flow | 100 | MIT |
| Nazhra05/Super-set | 100 | MIT |
| Nazhra05/Super-set | 100 | MIT |
| chaordic-io/discipline | 100 | MIT |
| geekatron/jerry | 100 | Apache-2.0 |
| fullymiddleaged/clawness | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki a2471a3182b3 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100conventional-commits
Przygotowuje commit w repozytorium Git, pisząc wiadomość w formacie Conventional Commits, gdy użytkownik prosi o commit lub polecenie /commit. - 100editorconfig
Generuje minimalny plik .editorconfig z rozsądnymi ustawieniami dla repozytorium, gdy projekt go nie ma lub trzeba ujednolicić formatowanie w edytorach. - 100conventional-git
Określa standardy nazw gałęzi, nazw worktree i komunikatów commitów według Conventional Commits 1.0.0 dla projektów GitHub i GitLab, z wydaniami opartymi na SemVer i generowaniem changelogu. - 100git-workflow
Obsługuje Conventional Commits, tworzenie PR i weryfikację bramek jakości. - 100release
Prowadzi wersjonowanie i CHANGELOG: mapowanie SemVer z Conventional Commits, format Keep a Changelog, tagowanie i bramki przed wydaniem. - 91version-control
Wspiera pracę z Git: trunk-based development, Conventional Commits, krótkie gałęzie funkcji, pull requesty, konflikty scalania i rozwiązywanie problemów.