Skip to content
Skills Library
Programming · Planning

taste-cli-workflow

/taste-cli-workflow

Use when starting, finishing or shipping any change in the taste-cli repo. Covers branches and pull requests, the definition of done, the independent review, the credit rule for paid Taste Engine calls and how to ask for one, recording and scrubbing fixtures, the release workflow, and keeping TASTE-CLI.md, README, DESIGN.md and the skills in step with behaviour.

Author
mfbz ↗
Repository
taste-cli ↗
Licence
MIT
Last repository change
27.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when starting, finishing or shipping any change in the taste-cli repo. Covers branches and pull requests, the definition of done, the independent review, the credit rule for paid Taste Engine calls and how to ask for one, recording and scrubbing fixtures, the release workflow, and keeping TASTE-CLI.md, README, DESIGN.md and the skills in step with behaviour.

Original author description

Use when starting, finishing or shipping any change in the taste-cli repo. Covers branches and pull requests, the definition of done, the independent review, the credit rule for paid Taste Engine calls and how to ask for one, recording and scrubbing fixtures, the release workflow, and keeping TASTE-CLI.md, README, DESIGN.md and the skills in step with behaviour.

How it works

  1. Branches and pull requests
  2. Definition of done
  3. The independent review
  4. Credits: the paid-call rule
  5. Fixtures
  6. Releasing
Original SKILL.md headings · 48 lines, 824 words
SKILL.md preview
---
name: taste-cli-workflow
description: Use when starting, finishing or shipping any change in the taste-cli repo. Covers branches and pull requests, the definition of done, the independent review, the credit rule for paid Taste Engine calls and how to ask for one, recording and scrubbing fixtures, the release workflow, and keeping TASTE-CLI.md, README, DESIGN.md and the skills in step with behaviour.
---

# taste-cli workflow

## Branches and pull requests

- `main` is the only long-lived branch and is always green. Start every change on a short branch from an up-to-date `main`: `feat/…`, `fix/…`, `perf/…`, `docs/…`, `chore/…`, `ci/…`, `test/…`, `refactor/…`. One topic per branch; conventional commits (`feat(extract): …`).
- Open the pull request against `main` with the template filled in. Its title is a conventional commit and, with the description, becomes the one squash commit on `main` and the release note. CI checks both with the commit guards.
- The maintainer squash-merges. Agents never merge, never push to `main`, never force-push, never `--no-verify`. Behind `main`? Merge `main` into the branch.
- Never bump the version (`package.json` stays `0.0.0`), tag or publish.
- No AI attribution anywhere: no `Co-Authored-By` trailers for tools, no "Generated with" lines.

## Definition of done

1. The behaviour is in its `TASTE-CLI.md` section (flags, `--json` shape, error codes, acceptance checks), and every acceptance check is proven by a test or a named manual check.
2. Test first: the test was seen failing for the right reason, then passing.
3. `npm run check` is green, and its result is quoted in the pull request.
4. No key, token or personal data reaches any output, log, error or fixture.
5. Docs change with behaviour, in the same pull request: `TASTE-CLI.md`, `README.md` (only what exists, never what is planned), `DESIGN.md` for anything a person sees, and the skills (this one, `taste-cli-conventions`, and the user skill once it exists). Repo tests check that the README names only real commands, flags and scripts.

## The independent review

Before opening the pull request, get an adversarial review from a fresh context that didn't write the change: Claude Code `/code-review high`, plus `/security-review` for sign-in, stored credentials, downloads, the guards, settings or workflows; or `codex review`. Treat findings as claims: reproduce each one with a failing test or command before fixing it, or reject it with a reason. Record found, fixed and rejected in the pull request's Evidence.

## Credits: the paid-call rule

Credits are the maintainer's money. Every paid call is approved by the maintainer first and logged in the PR.

- Paid: extractions (full, selective, deep, map), brand kits, searches (deep costs more), similar brands, adherence checks, and treat prompt enhancement as paid until proven otherwise. Free: reading the account, history, results of finished jobs, manifests.
- Ask before each paid call, one call per question, in this shape:
  - **Call:** the exact command or request (`taste extract https://stripe.com/ --json`).
  - **Why:** what it proves or records, and why a fixture or the mock can't do it.
  - **Expected cost:** an estimate in credits, marked as an estimate (prices per operation aren't published).
- Wait for a yes. No answer is a no. Never batch several paid calls under one yes, never retry a paid call automatically, and never spend more than the budget the maintainer set.
- Log every call in the pull request's credit log table (call, why, credits before and after when known), refunded failures included.

## Fixtures

Tests never call the Taste Engine: they use the fake API (`src/api/fake-api.ts`, seeded from the fixtures with `fixtureState()` from `src/api/fixtures.ts`), recorded responses and the local mock (`npm run mock`, CONTRIBUTING "Fixtures and credits").

- Recording runs one named recipe per invocation (`npm run fixtures:record -- <recipe>`; `--list` shows them, paid or free, with what each calls), after the maintainer's yes, using the maintainer's own sign in. A paid recipe asks for `yes` at a terminal and refuses without one. A job recipe given `--id <job id>` picks up a posted job with free polling, so a timeout or Ctrl-C never costs a second call. `kit` uploads the committed sample `fixtures-input/sample-guidelines.pdf` (made-up Acme brand; `npm run fixtures:sample-pdf` rebuilds it). Raw output goes to the gitignored `tmp-fixtures/`, never into `src/` and never into Git.
- An agent never runs a paid recipe itself: it asks in the shape above, and the maintainer runs it. Develop and demo against the mock instead.
- Recipes record public content only; `me` and `history` fixtures are hand-written on purpose with fake values. Then `npm run fixtures:scrub` normalises (fake UUIDs for the recipes' ids, no query on signed links) and checks: it fails listing `file:path` if an email, JWT, key, Bearer token, unmapped UUID or credential URL parameter remains, and a person fixes it by hand. Read the files by eye, then commit.
- Log every recorded recipe in the pull request's credit log, free ones and refused ones included.

## Releasing

Nothing is published while the repository is private, and the release workflow refuses to run then. Once the maintainer opens the repository, a release is by hand only: Actions → Release → Run workflow on `main` with a version `x.y.z` (CONTRIBUTING.md, "Releasing" and "Repository settings"). It stamps the version, runs `npm run check`, packs, publishes with provenance through trusted publishing, and creates the GitHub release from the merged pull request titles.

Versions

The database has no other skills named taste-cli-workflow.

Database snapshot: 13.11.2026 · package version 14966deb902c (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100taste-cli-conventions
    Use when writing or reviewing code in the taste-cli repo. Covers the layout by layer, TypeScript rules, file order and exports, zod at boundaries, keeping API keys and tokens out of argv, logs and errors, the output contract (--json, exit codes, stderr), test style with Io seams…
  • 85design-taste-frontend-v1
    原始 v1 版 taste-skill,为依赖其精确行为的项目保留。目前缺省版本是 `design-taste-frontend`(v2 实验版),属于大幅改写。只有在需要完全向下兼容时才使用这个 v1 安装名称。
  • 100taste
    Use when a person asks you to extract a brand or design system from a website, find design references, check a page against a brand, turn a brand guidelines PDF into tokens, or write a DESIGN.md from a site, using the taste CLI.
  • 90setup
    Use when installing or refreshing sound taste rules in a project — an explicit "sound setup", starting work in a repo with no .claude/sound/, or a taste-not-defined nudge. Also use to re-run after a stack change (new framework, new package in a monorepo).
  • 95taste
    Show and manage learned coding preferences — what taste has learned, how confident it is, and whether learning is on. Use when the user runs /taste, asks what preferences you've learned about them, asks to turn taste learning on or off, or wants to add, edit, or share a preference.
  • 96code-review
    Use when reviewing GitHub CLI (gh) pull requests.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.