Skip to content
Skillv1.0.0

jest-stylelint-runner

See root `AGENTS.md` for monorepo-wide context.

by commercetools(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from commercetools/merchant-center-application-kit (packages/jest-stylelint-runner/AGENTS.md). Install upstream with npx skills add commercetools/merchant-center-application-kit --skill jest-stylelint-runner. Copyright stays with the author.

jest-stylelint-runner

See root AGENTS.md for monorepo-wide context.

Purpose

Custom Jest runner that transforms CSS through PostCSS before running stylelint, used by the monorepo's pnpm lint:css command.

How To Work Here

Root commands apply. The test file is run.spec.js, with fixtures in __fixtures__/ and mocks in __mocks__/.

Gotchas

  • This package is excluded from preconstructindex.js and run.js are plain JS consumed directly. There is no build step and no dist/ directory.
  • The runner loads PostCSS config from the project root via postcss-load-config — it depends on a valid PostCSS configuration existing at the consuming project's root.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/commercetools-merchant-center-application-kit-jest-style-e4cf0a/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

commercetools-merchant-center-application-kit-jest-style-e4cf0a.ocm.jsonjson
{
  "ocm": "1",
  "id": "commercetools-merchant-center-application-kit-jest-style-e4cf0a",
  "kind": "skill",
  "name": "jest-stylelint-runner",
  "description": "See root `AGENTS.md` for monorepo-wide context.",
  "publisher": "commercetools",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "github-agents"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "See root `AGENTS.md` for monorepo-wide context."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github-agents",
      "repository": "https://github.com/commercetools/merchant-center-application-kit",
      "path": "packages/jest-stylelint-runner/AGENTS.md",
      "ref": "1743846454818ad4784a3d573c36a75c6377ab03",
      "url": "https://github.com/commercetools/merchant-center-application-kit/blob/1743846454818ad4784a3d573c36a75c6377ab03/packages/jest-stylelint-runner/AGENTS.md",
      "key": "commercetools/merchant-center-application-kit/packages/jest-stylelint-runner/AGENTS.md"
    }
  },
  "instructions": "# jest-stylelint-runner\n\nSee root `AGENTS.md` for monorepo-wide context.\n\n## Purpose\n\nCustom Jest runner that transforms CSS through PostCSS before running stylelint, used by the monorepo's `pnpm lint:css` command.\n\n## How To Work Here\n\nRoot commands apply. The test file is `run.spec.js`, with fixtures in `__fixtures__/` and mocks in `__mocks__/`.\n\n## Gotchas\n\n- This package is **excluded from preconstruct** — `index.js` and `run.js` are plain JS consumed directly. There is no build step and no `dist/` directory.\n- The runner loads PostCSS config from the project root via `postcss-load-config`",
  "cost": {
    "context_tokens": 172
  }
}

Fetch it by URL: GET /api/v1/registry/commercetools-merchant-center-application-kit-jest-style-e4cf0a/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.