Przejdź do treści
Biblioteka skilli
Programowanie · Automatyzacja

makefile-workflow

/makefile-workflow

Projektuje lub aktualizuje Makefile ze spójnymi celami build, format, lint, test i check-* dla projektów w Go, Node, Bazel lub mieszanych.

Repozytorium
claude-toolbox ↗
Licencja
MIT
Ostatnia zmiana repozytorium
24.09.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
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

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

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Projektuje lub aktualizuje Makefile ze spójnymi celami build, format, lint, test i check-* dla projektów w Go, Node, Bazel lub mieszanych.

Oryginalny opis (EN)

Design or update Makefiles with consistent build, format, lint, test, and check-* targets. Use when a user asks for a Makefile, build automation, or project workflow targets for Go, Node, Bazel, or mixed stacks.

Jak działa

  1. Instructions
  2. Recommended target patterns
  3. Output expectations
Sekcje z nagłówków SKILL.md, w oryginale · 59 linii, 442 słów
Podgląd SKILL.md
---
name: makefile-workflow
description: Design or update Makefiles with consistent build, format, lint, test, and check-* targets. Use when a user asks for a Makefile, build automation, or project workflow targets for Go, Node, Bazel, or mixed stacks.
autouse: false
---

# Makefile Workflow

Create or refine Makefiles that encode a reliable developer workflow. Mirror the project's existing tooling (Go, Node, Bazel, Supabase, etc.) and use low-noise output for successful runs.

## Instructions

1. Ask for essentials if missing:
   - Primary language(s) and tooling (Go, Node, Bazel, Python, etc.)
   - Lint/format/test commands already in use
   - Whether the project wants `all`, `check`, and `fix` targets
2. Start with a clear, consistent target taxonomy:
   - `all`: full local workflow (format + fix + tests + build + check-* targets)
   - `check`: CI-friendly checks (no mutation), prefer `check-*` targets
   - `format` + `check-format`
   - `lint` + `fix`
   - `test`, `build`, `coverage`, `clean`
3. Use the stricter naming convention for non-mutating checks:
   - Prefer `check-*` over names like `type-check`, `bundle-check`
   - Example: `check-astro`, `check-bundle`
4. Reduce output noise for successful runs:
   - If the repo has `scripts/quiet-run.sh`, wrap commands like:
     `@./scripts/quiet-run.sh "Label" <command>`
   - Only use it where the project already does; don't invent a helper without asking.
5. Use `.PHONY` for non-file targets and group related sections with comments.
6. Keep shell-safe loops and cross-platform sed where needed:
   - Prefer `rg` for file lists.
   - Avoid scanning `node_modules` or vendor directories.
7. For Go projects, include `golangci-lint` verification hashes if `.golangci.yml` is present.
8. For frontend projects, prefer `npm run <task>` or `pnpm run <task>` to preserve project scripts.
9. If generation or formatting changes files, add `check-generated` or `check-format` that fails on a dirty git diff.
10. For large repos, consider stamp files to avoid repeated work.
11. Ensure Makefiles work correctly with `make -j` (parallel execution):
    - Targets that modify files (e.g., `format`, `fix`) must declare dependencies to prevent concurrent writes. For example, `fix` should depend on `format` since both write to the same files.
    - Validation or check targets that run after writes should depend on the write targets. For example, `validate-full` should depend on `fix`.
    - Read-only targets (e.g., `check-format`, `lint`, `test`) are safe to run in parallel and need no extra ordering.
    - If correct ordering cannot be expressed through dependencies, add `.NOTPARALLEL` to the Makefile.

## Recommended target patterns

### Minimal workflow
- `all`: `format fix test build`
- `check`: `check-format lint test build`
- Parallel-safety deps: `fix: format` (both mutate files)

### Go + linters
- `lint-golangci`, `fix-golangci`, `verify-golangci-config`
- `coverage`, `coverage-html`, `coverage-report`, `clean-coverage`

### Frontend + Supabase
- `check-astro`, `check-bundle`, `test-e2e`, `db-push`, `db-reset`, `db-status`, `db-gen-types`

## Output expectations

When asked to create or update a Makefile:
- Produce a ready-to-run Makefile tailored to the project.
- Preserve existing targets and semantics; only add or adjust as needed.
- Call out any assumptions (package manager, tools, coverage thresholds).

Wersje

W bazie nie ma innych skilli o nazwie makefile-workflow.

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

  • 100configure-makefile
    Konfiguruje Makefile ze standardowymi celami (help, test, build, clean, lint), audytuje brakujące cele i dodaje cele specyficzne dla języka.
  • 100makefile
    Tworzy lub aktualizuje Makefile projektu, zwłaszcza gdy brakuje standardowych celów (build, test, lint, format) albo zmieniane cele są już podpięte do innych narzędzi, bez diagnozowania błędów budowania.
  • 100makefile
    Tworzy lub aktualizuje Makefile projektu, zwłaszcza gdy brakuje standardowych celów (build, test, lint, format) albo zmieniane cele są już podpięte do innych narzędzi, bez diagnozowania błędów budowania.
  • 100makefile-generation
    Generuje Makefile z celami testowania, lintowania, formatowania i automatyzacji, przy starcie projektu lub standaryzacji automatyzacji budowania.
  • 100makefile-pro
    Generuje, szkicuje, waliduje i lintuje Makefile oraz pliki .mk: cele .PHONY, automatyzację budowania i typowe błędy.
  • 100makefile
    Podaje dobre praktyki pisania Makefile GNU Make, stosowane do plików Makefile, makefile, *.mk i GNUmakefile.

Uwagi i zgłoszenia

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