Skip to content

xiduzo/wtf / skills/wtf.refine

wtf.refine

Verified

Use when new insights change the scope, acceptance criteria, scenarios, domain language, or technical constraints of an existing Epic, Feature, or Trace β€” for example "refine epic

evals/fixtures/technical-constraint-added.json

View on GitHub
{
  "_note": "Feature (new Trace-model shape: canonical per-story Scenarios + Trace Plan) for settlement export (CSV). Insight adds a new technical constraint: multi-currency support with ISO 4217 formatting. Expected change map: new constraint yes, ACs changed yes, Scenarios changed yes (amount-format Then steps are canonical here), Edge Cases changed yes.",
  "issue": {
    "number": 38,
    "title": "πŸš€ Feature: Settlement CSV export",
    "labels": [{"name": "feature"}],
    "body": "## Bounded Context\nSettlement domain. Merchant actor. Reads from `settlements` table; no write side effects.\n\n## User Stories\n\n### Story 1: Export settlements as CSV\n\n- As a **Merchant**, I want **to export my settlement list as a CSV file** so that **I can use it in my accounting software**\n\n#### Acceptance Criteria\n\n- [ ] Merchants can click \"Export CSV\" to download all settlements matching the current filter\n- [ ] The CSV includes columns: date, reference, description, amount, status\n- [ ] Amounts are formatted as decimal numbers (e.g. 1234.56)\n- [ ] The export filename includes the date range (e.g. `settlements-2026-01-01-2026-03-31.csv`)\n- [ ] Exports of more than 10,000 rows are chunked and delivered as a ZIP archive\n\n#### Scenarios\n\n```gherkin\nScenario: Merchant exports the filtered settlement list\n  Given a Merchant applied a filter to the settlement list\n  When the Merchant clicks \"Export CSV\"\n  Then a CSV downloads with the columns date, reference, description, amount, status\n  And amounts are formatted as decimal numbers\n\nScenario: Large export is delivered as a ZIP archive\n  Given the current filter matches more than 10,000 settlements\n  When the Merchant clicks \"Export CSV\"\n  Then the export is chunked\n  And it is delivered as a ZIP archive\n\nScenario: Empty result set exports headers only\n  Given the current filter matches no settlements\n  When the Merchant clicks \"Export CSV\"\n  Then a CSV downloads with headers only\n  And no error is shown\n```\n\n## Edge Cases\n\n- Empty result set (no settlements in range) β†’ export a CSV with headers only, no error\n- Export triggered while filter is loading β†’ button is disabled until filter resolves\n- Network failure during download β†’ browser shows native download error; no partial file is saved\n\n## Domain Events\n\n- Emits: `SettlementExportRequested` β€” emitted when a Merchant triggers a CSV export\n- Emits: `SettlementExportReady` β€” emitted when the file is available for download\n- Consumes: β€”\n\n## Trace Plan\n\n1. [ ] β˜„οΈ Skeleton β€” Export settlements as CSV: proves the export path from button to downloaded file (claims: \"Merchant exports the filtered settlement list\")\n2. [ ] β˜„οΈ Deepening β€” export edge handling (claims: \"Large export is delivered as a ZIP archive\", \"Empty result set exports headers only\")"
  }
}
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall