Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

build-feature

/build-feature

Buduje nowe polecenie, podpolecenie lub flagę w cienkich krokach z testami, po uzgodnieniu z właścicielem otwartych decyzji.

Repozytorium
todoist-cli ↗
Licencja
MIT
Ostatnia zmiana repozytorium
12.11.2026

Ocena i bezpieczeństwo

95/ 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ść30 / 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 12.11.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

Buduje nowe polecenie, podpolecenie lub flagę w cienkich krokach z testami, po uzgodnieniu z właścicielem otwartych decyzji.

Wyzwalacze z opisu

addbuildimplementsupportcreate
Oryginalny opis (EN)

Builds a new command, flag or behaviour in thin test-first slices, after settling the open decisions with the owner. Use when asked to "add", "build", "implement", "support" or "create" something, such as a new command, subcommand or flag.

Jak działa

  1. 1. Read the closest existing feature
  2. 2. Settle decisions in one round
  3. 3. Write "done" as checkable behaviours
  4. 4. Build in thin slices, test first
  5. 5. Update everything the change touches
  6. 6. Verify and report
Sekcje z nagłówków SKILL.md, w oryginale · 37 linii, 426 słów
Podgląd SKILL.md
---
name: build-feature
description: Builds a new command, flag or behaviour in thin test-first slices, after settling the open decisions with the owner. Use when asked to "add", "build", "implement", "support" or "create" something, such as a new command, subcommand or flag.
---

# Build a feature

## 1. Read the closest existing feature

Find the command most like the one you are building and read it with its test: `src/commands/task/add.ts` for a write that returns an entity, `src/commands/today.ts` for a list, `src/commands/label/delete.ts` for a destructive write behind `--yes`. For a new command or subcommand, `add-command` is the checklist of every file to touch. Read the rules in `AGENTS.md`. Done when you can name the file you will copy patterns from.

## 2. Settle decisions in one round

List what the request leaves open: command and flag names (consistent verbs and flags across entities; see `docs/decisions/001-lenient-cli-ergonomics.md`), positional argument or named flag, the human and `--json` output, error codes, `--dry-run` and `--yes`, behaviour under a read-only token. Ask the owner all of them at once, each with your recommendation. Don't ask what the code can answer. Done when every decision has an answer.

## 3. Write "done" as checkable behaviours

Write each behaviour as a command and the expected result, for example: "`td label create --name work --json` calls `addLabel` with `{ name: 'work' }` and prints the label as JSON". Each becomes a test. Done when a test could pass or fail on every one.

## 4. Build in thin slices, test first

For each behaviour: write its test at the public interface (`program.parseAsync(['node', 'td', ...])`), see it fail, make it pass, run its test file. Follow `write-tests`. Done when every behaviour from step 3 has a passing test you saw fail.

## 5. Update everything the change touches

| You changed                               | Also update                                                                                                                                                                       |
| ----------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| A command, subcommand or flag             | `SKILL_CONTENT` in `src/lib/skills/content.ts`, then `npm run sync:skill`                                                                                                         |
| Called a new SDK method                   | `createMockApi()` in `src/test-support/mock-api.ts`, `API_SPINNER_MESSAGES` in `src/lib/api/core.ts`; a read-only one goes in `KNOWN_SAFE_API_METHODS` (`src/lib/permissions.ts`) |
| A mutation that returns an entity         | `--json` through `formatJson(result, '<entity>')`, and the list under "JSON Output for Mutating Commands" in `AGENTS.md`                                                          |
| A delete, complete or archive-style write | Its entry in `src/lib/mutation-json.ts`, so `--json` gets the success envelope                                                                                                    |
| Output that uses colour or symbols        | An `--accessible` alternative (`isAccessible()` from `src/lib/global-args.ts`); in lists, the name first and `(id:…)` after                                                       |
| A new error code                          | The `ErrorCode` type in `src/lib/errors.ts`                                                                                                                                       |
| Structure (new folder or helper)          | `CODEBASE.md`, by its "Keeping CODEBASE.md accurate" rules                                                                                                                        |

Done when each row that applies is handled.

## 6. Verify and report

Follow `verify`. If the feature needs restructuring first, do that as a separate change with `refactor`.

Wersje

RepozytoriumWynikLicencja
Ta strona · doist/todoist-cli95MIT
trihuynh-agilityio/workez100MIT
pantoosolutions/pantoo-ai100MIT
Cynnamoroll/factory-stack90MIT
Slama-Consulting/proofbench90MIT
Marcdaou/claude-plugins86MIT

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

  • 100add-command
    Dodaje nowe polecenie do CLI cx (Coralogix): implementuje podpolecenie, integruje API Coralogix i rozszerza CLI o nową funkcję.
  • 100n8nac-reference
    Opisuje każde polecenie, podpolecenie i flagę CLI n8nac w wersji 2.7.0, żeby nie zgadywać flag ani nie wymyślać nieistniejących poleceń.
  • 100add-cli-command
    Dodaje lub zmienia polecenie CLI, flagę albo format wyjścia zgodnie z konwencjami repozytorium dla argumentów, kodów wyjścia, JSON, pomocy i testów.
  • 86add-command
    Dodaje polecenie lub grupę poleceń do interfejsu CLI Typer, z ustawieniami, obsługą błędów, wynikiem i testami.
  • 96add-command
    Dodaje podkomendę do narzędzia CLI w Rust, z obsługą, błędami, wyjściem i testami.
  • 90launchdarkly-flag-command
    Obsługuje polecenie /flag w LaunchDarkly: szybko znajduje flagę po nazwie lub kluczu, podaje podsumowanie i rozróżnia podobne flagi.

Uwagi i zgłoszenia

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