Przejdź do treści
Biblioteka skilli
Programowanie · Automatyzacja

dev-worktree

/dev-worktree

Prowadzi przez przygotowanie, wznowienie, przełączanie i weryfikację worktree dla izolowanej pracy nad funkcją w debugowaniu, implementacji, przeglądzie i pracy wieloagentowej.

Repozytorium
ai-devkit ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
25.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 25.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Prowadzi przez przygotowanie, wznowienie, przełączanie i weryfikację worktree dla izolowanej pracy nad funkcją w debugowaniu, implementacji, przeglądzie i pracy wieloagentowej.

Oryginalny opis (EN)

AI DevKit · Worktree setup and resume guidance for isolated feature work. Use when starting, resuming, switching, or verifying a feature branch/worktree for lifecycle, debugging, implementation, review, or multi-agent workflows.

Jak działa

  1. Phase Contract
  2. Start Feature Workspace
  3. Resume Feature Workspace
  4. Dependency Bootstrap
  5. Output
Sekcje z nagłówków SKILL.md, w oryginale · 70 linii, 517 słów
Podgląd SKILL.md
---
name: dev-worktree
description: AI DevKit · Worktree setup and resume guidance for isolated feature work. Use when starting, resuming, switching, or verifying a feature branch/worktree for lifecycle, debugging, implementation, review, or multi-agent workflows.
---

# Dev Worktree

Set up or resume the correct workspace before feature work. Keep this skill focused on repository context, worktree isolation, and dependency bootstrap. Do not perform requirements, design, planning, implementation, testing, or review work here.

## Phase Contract

1. Propose the exact workspace plan before changing branch or worktree state.
2. Confirm the target branch/worktree with the user before switching contexts.
3. Use `feature-<name>` for branch and worktree names, where `<name>` is normalized kebab-case without the prefix.
4. Prefer a project-local worktree at `<project-root>/.worktrees/feature-<name>`.
5. Use no-worktree mode only when the user explicitly requests it.
6. Run all follow-up commands in the verified target context.

## Start Feature Workspace

Use for a new feature start.

1. Normalize feature name to kebab-case `<name>`.
2. Determine the project root, the directory containing `.git`.
3. If the user explicitly requests no worktree:
   - Continue in the current repository and branch.
   - Call out that branch/workspace isolation is reduced.
   - Skip to dependency bootstrap.
4. Otherwise use branch/worktree name `feature-<name>`.
5. Ensure `.worktrees` is listed in the project `.gitignore`; if not, add it.
6. If branch does not exist, run `git worktree add -b feature-<name> .worktrees/feature-<name>`.
7. If branch exists and the target worktree does not, run `git worktree add .worktrees/feature-<name> feature-<name>`.
8. If the target worktree already exists, reuse it after verifying it is clean enough for the requested work.
9. Verify worktree context with `git -C .worktrees/feature-<name> branch --show-current`; it must equal `feature-<name>`.
10. Return the active workdir path for the next phase.

## Resume Feature Workspace

Use when continuing an existing feature.

1. Check current branch with `git branch --show-current`.
2. Check available worktrees with `git worktree list`.
3. Prefer `<project-root>/.worktrees/feature-<name>` when it exists.
4. Otherwise use branch `feature-<name>` in the current repository.
5. Include the selected target in the plan and wait for approval before switching.
6. After approval, run future phase commands in the selected context.

## Dependency Bootstrap

After selecting the target context:

1. Detect ecosystem from lockfiles, manifests, and tooling configs.
2. Prefer deterministic lockfile-based installs.
3. Use the repository-native command:
   - JavaScript/TypeScript: `npm ci`, `pnpm install --frozen-lockfile`, `yarn install --frozen-lockfile`, or `bun install --frozen-lockfile`.
   - Python: `uv sync`, `poetry install --no-interaction`, `pipenv sync`, or `pip install -r requirements.txt`.
   - Ruby: `bundle install`.
   - Rust: `cargo fetch`, or `cargo build` when fetch-only is insufficient.
   - Go: `go mod download`.
   - Java/Kotlin: `./gradlew dependencies`, `./gradlew build`, or Maven equivalent.
4. For workspaces whose packages resolve against built artifacts (for example `dist/` output consumed via workspace aliases), run the repository build (for example `npm run build`) after install. Full-suite validation and commit hooks fail on stale or missing artifacts with errors that look like code regressions. State when the build was skipped and why.
5. If no dependency manager is clearly detectable, continue and state what was checked.

## Output

End with:

- Active workdir.
- Branch name.
- Whether worktree or no-worktree mode is active.
- Dependency bootstrap command run, or why it was skipped.
- Workspace build command run (when applicable), or why it was skipped.
- Any workspace risks or blockers.
Pliki w paczce (2)
  • SKILL.md 4 KB
  • agents/openai.yaml 1 KB

Wersje

W bazie nie ma innych skilli o nazwie dev-worktree.

Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 13.11.2026 · wersja paczki 942e7c700229 (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

  • 100portal
    Zakłada osobną gałąź i worktree w gicie dla izolowanej pracy nad funkcją i opisuje sprzątanie po scaleniu.
  • 95worktree
    Automatyzuje git worktree do izolowanej pracy nad funkcjami: tworzy, wyświetla i usuwa osobne katalogi robocze z automatyczną konfiguracją.
  • 100worktree
    Tworzy worktree gita do izolowanej pracy, gdy trzeba zrobić poprawkę lub nową funkcję równolegle do bieżącej.
  • 100worktree
    Tworzy worktree gita dla nowej gałęzi funkcji i przygotowuje w nim pliki oraz zależności.
  • 100using-git-worktrees
    Tworzy izolowane git worktree z mądrym wyborem katalogu i kontrolami bezpieczeństwa przy rozpoczynaniu izolowanej pracy nad funkcją.
  • 95dev_manage_git-worktrees
    Tworzy izolowane git worktrees z mądrym wyborem katalogu i weryfikacją bezpieczeństwa, do pracy nad funkcjami niezależnie od bieżącego workspace'u.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.