Przejdź do treści
Biblioteka skilli
Programowanie · Planowanie

task-execution-protocol

/task-execution-protocol

Prowadzi wieloetapowe wdrożenie funkcji przechodzącej przez kilka warstw: wybór ścieżki, kontrakty, granice, realizację, walidację i dokumentację.

Repozytorium
mazarbul ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
31.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
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 31.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 wieloetapowe wdrożenie funkcji przechodzącej przez kilka warstw: wybór ścieżki, kontrakty, granice, realizację, walidację i dokumentację.

Oryginalny opis (EN)

Phased implementation protocol for non-trivial Mazarbul work. USE WHEN starting a feature that crosses several surfaces (kernel + CLI + MCP + TUI), before opening any non-bugfix PR, or when the user describes a multi-surface change. Phases: Route, Contracts, Boundaries, Implement, Validate, Document. NOT FOR typo fixes, single-file bug fixes, or pure refactors.

Jak działa

  1. Phase 0: Route
  2. Phase 1: Contracts
  3. Phase 2: Boundaries
  4. Phase 3: Implement
  5. Phase 4: Validate
  6. Phase 5: Document
  7. Gotchas
Sekcje z nagłówków SKILL.md, w oryginale · 91 linii, 521 słów
Podgląd SKILL.md
---
name: task-execution-protocol
description: Phased implementation protocol for non-trivial Mazarbul work. USE WHEN starting a feature that crosses several surfaces (kernel + CLI + MCP + TUI), before opening any non-bugfix PR, or when the user describes a multi-surface change. Phases: Route, Contracts, Boundaries, Implement, Validate, Document. NOT FOR typo fixes, single-file bug fixes, or pure refactors.
---

# Task Execution Protocol

The systematic approach for any non-trivial change. Follow the phases in order.

---

## Phase 0: Route

Identify the task type and read the matching docs before writing code.

| Task type | Read first |
|-----------|------------|
| Kernel / storage / event log | `agent-docs/synthesis.md`, `agent-docs/designs/storage.md`, `agent-docs/designs/event-log.md` |
| New MCP tool | `agent-docs/tech/mcp-go.md`, `agent-docs/designs/mcp-server.md`, `aip-naming` skill |
| New CLI command | `agent-docs/tech/cobra.md`, `agent-docs/lifecycle-theming.md` |
| TUI screen | `agent-docs/tui-design.md`, `tui-design` skill |
| Ingestion / connector | `agent-docs/ingestion.md`, `agent-docs/plugins.md` |
| Sync / team scope | `agent-docs/sync.md`, `agent-docs/team.md`, `agent-docs/privacy.md` |
| Bug fix | The package involved, plus `agent-docs/lessons-learned.md` |

Also read at least one existing file in every package you will modify, to match established patterns.

---

## Phase 1: Contracts

Map interfaces and dependencies before writing a line:

- Which Go interfaces in `internal/` will you implement or extend? Prefer existing ones over new ones.
- Which event kinds will you append? New kinds need a JSON Schema under `schemas/` and must be replayable by `maz rebuild`.
- Which existing helpers cover what you need? Search before writing a new one; no new `util`/`common`/`helpers` packages.
- Run `mise run test` on `main` first to establish a baseline, and note the tests covering adjacent behaviour.

---

## Phase 2: Boundaries

**Event log** (source of truth):
- Append-only. Never rewrite or delete events; supersede them.
- Every derived store (SQLite, LadybugDB, sqlite-vec, FTS5) must be rebuildable from the log. If your change adds derived state, verify `maz rebuild` reproduces it.

**Provenance**:
- Every new fact, entity, or relation carries source, confidence, and timestamp.

**Privacy and scopes**:
- Does the change read or write across scopes (personal, draft, team)? Check `agent-docs/privacy.md`.
- Never log secrets, tokens, or user content at info level. Ingested text goes through the scrubber.

**Public surfaces** (CLI flags, MCP tool schemas, config keys, env vars, error codes):
- Treat as API. Follow AIP naming. Breaking changes need an explicit decision from the user.

**External calls** (LLM providers, remote connectors):
- Respect budget gates, handle offline/degraded mode, and never block the hot path on the network.

---

## Phase 3: Implement

1. Types and JSON Schema (`schemas/`, Go structs with `json:` tags, AIP field names).
2. Kernel / storage changes in `internal/kernel/`, with table-driven tests.
3. Surface wiring: MCP tool (`internal/mcp/tools/`), CLI command (`internal/cli/`), TUI (`internal/tui/`).
4. Hot paths: add or update a `*_bench_test.go` and record the baseline in the PR.

---

## Phase 4: Validate

```bash
mise run fmt
mise run lint
mise run test
```

Do not open a PR until all three are green. For TUI changes also run `mise run tui:snap` and review the snapshot diff.

---

## Phase 5: Document

- User-facing change? Update the matching `agent-docs/*.md` and append to `agent-docs/mintlify-backlog.md` (AGENTS.md rule 11).
- New dependency? Add `agent-docs/tech/<lib>.md`.
- Architectural decision? Add an ADR under `agent-docs/adr/`.
- PR description follows `agent-docs/pr-description-template.md`; commits follow Conventional Commits.

## Gotchas

Concrete pitfalls encountered when using this skill. Add new ones as you hit them.

- _(empty, add the first real entry the next time you hit a non-obvious pitfall)_

Wersje

W bazie nie ma innych skilli o nazwie task-execution-protocol.

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

  • 100feature-workflow
    Prowadzi dostarczenie funkcji w Drupalu fazami: plan, implementacja, przegląd, testy i finalizacja, z warunkiem wyjścia każdej fazy, przy nowych modułach, trasach, formularzach i zmianach schematu.
  • 100implement
    Prowadzi wdrożenie poprawki, funkcji lub zmiany z planu albo zgłoszenia, wykrywając profil projektu, zależności i punkty przeglądu.
  • 90plan-first
    Podaje listę plików, testów i zmian poza zakresem, zanim powstanie kod w niebanalnym commicie, także przy zmianach schematu bazy.
  • 100code-flow-analysis
    Śledzi ścieżkę wykonania kodu z odwołaniami file:line i diagramem przed zmianą, przy naprawie błędu, nowej funkcji, refaktoryzacji lub cyklu TDD.
  • 90feature-flow
    Prowadzi funkcje i zmiany w repozytoriach pracy od rozpoznania przez plan z pytaniami, wdrożenie zgodnie z planem i weryfikację.
  • 100pudo
    Prowadzi nietrywialne zadania programistyczne przez cykl Plan, Zrozum, Rozwijaj, Optymalizuj, z bramką jakości i przekazaniem sesji.

Uwagi i zgłoszenia

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